Skip to contentSkip to conversation

soc_camera_open() not called

DISCUSSION Darius Augulis 4 participants 8 messages Apr 1, 2009 – Apr 2, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver does not change situation.

#1 lore raw
Quoted 12 lines · Darius Augulis

Hi,

I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver does not change situation.

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

actually I thought about soc_camera_probe(), not soc_camera_open(). But the problem still the same. video_probe in my driver is not called.

#2 lore raw
Quoted 8 lines · Darius Augulis
Quoted 7 lines · Darius Augulis

Hi,

I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver does not change situation.

Are you by any chance using last 2.6.29 kernel ?
If so, would [1] be the answer to your question ?

Cheers

--
Robert

[1] http://lkml.org/lkml/2009/3/24/625

#3 lore raw
Quoted 14 lines · Robert Jarzmik
Quoted 10 lines · Darius Augulis
Quoted 8 lines · Darius Augulis

Hi,

I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver does not change situation.

Quoted 3 lines

Are you by any chance using last 2.6.29 kernel ?
If so, would [1] be the answer to your question ?

thanks. it means we should expect soc-camera fix for this? I'm using 2.6.29-git8, but seems it's not fixed yet.

Quoted 8 lines

Cheers

--
Robert

[1] http://lkml.org/lkml/2009/3/24/625

#4 lore raw
Quoted 11 lines · Darius Augulis
Quoted 11 lines
Quoted 10 lines
Quoted 8 lines · Darius Augulis

Hi,

I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver does not change situation.

Quoted 7 lines
Quoted 4 lines

Are you by any chance using last 2.6.29 kernel ?
If so, would [1] be the answer to your question ?

[1] http://lkml.org/lkml/2009/3/24/625

thanks. it means we should expect soc-camera fix for this? I'm using 2.6.29-git8, but seems it's not fixed yet.

No, I don't think so.

The last time I checked there had to be an amendement to the patch which introduced the driver core regression, as it touches other areas as well (sound/soc and mtd from memory).

I think Guennadi can confirm this, as he's the one who raised the issue in the first place.

Cheers.

--
Robert

#5 lore raw
Quoted 13 lines · Robert Jarzmik
Quoted 11 lines · Darius Augulis
Quoted 11 lines
Quoted 10 lines
Quoted 8 lines · Darius Augulis

Hi,

I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver does not change situation.

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

Are you by any chance using last 2.6.29 kernel ?
If so, would [1] be the answer to your question ?

[1] http://lkml.org/lkml/2009/3/24/625

thanks. it means we should expect soc-camera fix for this? I'm using 2.6.29-git8, but seems it's not fixed yet.

No, I don't think so.

You're right.

Quoted 6 lines

The last time I checked there had to be an amendement to the patch which introduced the driver core regression, as it touches other areas as well (sound/soc and mtd from memory).

I think Guennadi can confirm this, as he's the one who raised the issue in the first place.

If Darius had followed the thread you referred to he would have come down to this message

http://lkml.org/lkml/2009/3/26/202

which provides a reply as to "what should be fixed," and yes, Ming Lei has already provided a patch to fix this, it should hit mainstream... some time before -rc1.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer

#6 lore raw
Quoted 28 lines · Guennadi Liakhovetski
Quoted 12 lines · Robert Jarzmik
Quoted 10 lines · Darius Augulis
Quoted 10 lines
Quoted 10 lines
Quoted 8 lines · Darius Augulis

Hi,

I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called. In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver does not change situation.

Quoted 7 lines
Quoted 6 lines
Quoted 4 lines

Are you by any chance using last 2.6.29 kernel ?
If so, would [1] be the answer to your question ?

[1] http://lkml.org/lkml/2009/3/24/625

thanks. it means we should expect soc-camera fix for this? I'm using 2.6.29-git8, but seems it's not fixed yet.

No, I don't think so.

You're right.

Quoted 4 lines

The last time I checked there had to be an amendement to the patch which introduced the driver core regression, as it touches other areas as well (sound/soc and mtd from memory).

Quoted 8 lines
Quoted 2 lines

I think Guennadi can confirm this, as he's the one who raised the issue in the first place.

If Darius had followed the thread you referred to he would have come down to this message

http://lkml.org/lkml/2009/3/26/202

which provides a reply as to "what should be fixed," and yes, Ming Lei has already provided a patch to fix this, it should hit mainstream... some time before -rc1.

could you please send me this patch or show where is it available?

Quoted 11 lines

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw

2009/4/2 Darius Augulis <[email protected]>:

Quoted 42 lines
Quoted 41 lines · Guennadi Liakhovetski
Quoted 18 lines · Robert Jarzmik
Quoted 16 lines · Darius Augulis
Quoted 16 lines
Quoted 5 lines
Quoted 3 lines · Darius Augulis

Hi,

Quoted 7 lines
Quoted 7 lines

I'm trying to launch mx1_camera based on new v4l and soc-camera tree. After loading mx1_camera module, I see that .add callback is not called.
In debug log I see that soc_camera_open() is not called too. What should call this function? Is this my driver problem? p.s. loading sensor driver does not change situation.

Are you by any chance using last 2.6.29 kernel ?
If so, would [1] be the answer to your question ?

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

[1] http://lkml.org/lkml/2009/3/24/625

thanks. it means we should expect soc-camera fix for this? I'm using 2.6.29-git8, but seems it's not fixed yet.

No, I don't think so.

You're right.

Quoted 7 lines

The last time I checked there had to be an amendement to the patch which introduced the driver core regression, as it touches other areas as well (sound/soc and mtd from memory).

I think Guennadi can confirm this, as he's the one who raised the issue in the
first place.

If Darius had followed the thread you referred to he would have come down to this message

Quoted 7 lines
Quoted 5 lines

http://lkml.org/lkml/2009/3/26/202

which provides a reply as to "what should be fixed," and yes, Ming Lei has already provided a patch to fix this, it should hit mainstream... some time before -rc1.

could you please send me this patch or show where is it available?

http://marc.info/?l=linux-kernel&m=123816184309698&w=2

Thanks!

Quoted 14 lines
Quoted 12 lines

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Lei Ming