* Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
@ 2009-06-28 13:14 Peter Hüwe
2009-06-28 18:14 ` Jean-Francois Moine
[not found] ` <200906291322.05379.PeterHuewe@gmx.de>
0 siblings, 2 replies; 10+ messages in thread
From: Peter Hüwe @ 2009-06-28 13:14 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: linux-media
Hi,
I just tried out the in-kernel gspca drivers for my 046d:08af Logitech, Inc.
QuickCam Easy/Cool, however I don't get any picture with cheese and only
green noise with skype.
Before using the in-kernel drivers the webcam used to work quite well with the
old out-of-kernel gspcav1 drivers.
I compared both drivers and the old ones used the SENSOR_HV7131B, whereas the
new driver detects the HV7131R(c)
snippet old driver:
case 0x08af:
spca50x->desc = LogitechQCCool;
spca50x->bridge = BRIDGE_ZC3XX;
spca50x->sensor = SENSOR_HV7131B;
output dmesg after plugin camera in
usb 4-2: new full speed USB device using uhci_hcd and address 6
usb 4-2: configuration #1 chosen from 1 choice
gspca: probing 046d:08af
zc3xx: probe 2wr ov vga 0x0000
zc3xx: probe sensor -> 11
zc3xx: Find Sensor HV7131R(c)
gspca: probe ok
usbcore: registered new interface driver zc3xx
zc3xx: registered
I already tried out the module_param force_sensor for the values 4,5,6 - but
neither gave an appropriate result.
I hope you can help me resolve this issue - I would be glad if I could help
testing/debugging the problem.
Best Regards,
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
2009-06-28 13:14 Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1 Peter Hüwe
@ 2009-06-28 18:14 ` Jean-Francois Moine
2009-06-28 20:30 ` Peter Hüwe
2009-06-28 20:50 ` Peter Hüwe
[not found] ` <200906291322.05379.PeterHuewe@gmx.de>
1 sibling, 2 replies; 10+ messages in thread
From: Jean-Francois Moine @ 2009-06-28 18:14 UTC (permalink / raw)
To: Peter Hüwe; +Cc: linux-media
On Sun, 28 Jun 2009 15:14:10 +0200
Peter Hüwe <PeterHuewe@gmx.de> wrote:
> I just tried out the in-kernel gspca drivers for my 046d:08af
> Logitech, Inc. QuickCam Easy/Cool, however I don't get any picture
> with cheese and only green noise with skype.
>
> Before using the in-kernel drivers the webcam used to work quite well
> with the old out-of-kernel gspcav1 drivers.
>
> I compared both drivers and the old ones used the SENSOR_HV7131B,
> whereas the new driver detects the HV7131R(c)
>
> snippet old driver:
> case 0x08af:
> spca50x->desc = LogitechQCCool;
> spca50x->bridge = BRIDGE_ZC3XX;
> spca50x->sensor = SENSOR_HV7131B;
>
>
> output dmesg after plugin camera in
> usb 4-2: new full speed USB device using uhci_hcd and address
> 6 usb 4-2: configuration #1 chosen from 1 choice
> gspca: probing 046d:08af
> zc3xx: probe 2wr ov vga 0x0000
> zc3xx: probe sensor -> 11
> zc3xx: Find Sensor HV7131R(c)
> gspca: probe ok
> usbcore: registered new interface driver zc3xx
> zc3xx: registered
>
> I already tried out the module_param force_sensor for the values
> 4,5,6 - but neither gave an appropriate result.
>
> I hope you can help me resolve this issue - I would be glad if I
> could help testing/debugging the problem.
Hi Peter,
Did you use the v4l2 wrapper when running the applications? (look in my
page for more information)
Otherwise, the sensor value set in the old gspcav1 driver was not used:
the sensor was and is still found by probing the webcam hardware.
Best regards.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
2009-06-28 18:14 ` Jean-Francois Moine
@ 2009-06-28 20:30 ` Peter Hüwe
2009-06-28 20:50 ` Peter Hüwe
1 sibling, 0 replies; 10+ messages in thread
From: Peter Hüwe @ 2009-06-28 20:30 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: linux-media
> Did you use the v4l2 wrapper when running the applications? (look in my
> page for more information)
Not that I know - atleast not explicitly.
> Otherwise, the sensor value set in the old gspcav1 driver was not used:
> the sensor was and is still found by probing the webcam hardware.
Yeah - you're right, i'm sorry - I enabled debug messages on the old gspcav1
driver and it says
gspca: [zc3xx_config:669] Find Sensor HV7131R(c)
so you're right - mea culpa :)
However I created an usbmon output for both and they seem to differ a bit (not
only in the usb-enum)
You can find the files here:
http://www.hs-augsburg.de/~phuewe/usbmon-output.tar.gz
Would be very nice if we could find the source of my problem and fix it.
Best Regards,
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
2009-06-28 18:14 ` Jean-Francois Moine
2009-06-28 20:30 ` Peter Hüwe
@ 2009-06-28 20:50 ` Peter Hüwe
2009-06-29 7:25 ` Jean-Francois Moine
1 sibling, 1 reply; 10+ messages in thread
From: Peter Hüwe @ 2009-06-28 20:50 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: linux-media
> Did you use the v4l2 wrapper when running the applications? (look in my
> page for more information)
Hi,
I tried using cheese with
LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so - and it works!
However this does not work with skype :/ (skype does not allow preloading)
Any suggestions how I get skype to use the compat wrapper?
Thank you,
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
2009-06-28 20:50 ` Peter Hüwe
@ 2009-06-29 7:25 ` Jean-Francois Moine
2009-06-29 10:30 ` Peter Hüwe
0 siblings, 1 reply; 10+ messages in thread
From: Jean-Francois Moine @ 2009-06-29 7:25 UTC (permalink / raw)
To: Peter Hüwe; +Cc: linux-media
On Sun, 28 Jun 2009 22:50:58 +0200
Peter Hüwe <PeterHuewe@gmx.de> wrote:
> I tried using cheese with
> LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so - and it works!
>
> However this does not work with skype :/ (skype does not allow
> preloading)
>
> Any suggestions how I get skype to use the compat wrapper?
Hi Peter,
You must export LD_PRELOAD. I use a simple script:
#!/bin/sh
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
exec /usr/bin/skype
Cheers.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
2009-06-29 7:25 ` Jean-Francois Moine
@ 2009-06-29 10:30 ` Peter Hüwe
2009-06-29 10:40 ` Jean-Francois Moine
0 siblings, 1 reply; 10+ messages in thread
From: Peter Hüwe @ 2009-06-29 10:30 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: linux-media
Am Montag 29 Juni 2009 09:25:41 schrieb Jean-Francois Moine:
> > Any suggestions how I get skype to use the compat wrapper?
> You must export LD_PRELOAD. I use a simple script:
>
> #!/bin/sh
> export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
> exec /usr/bin/skype
Hi,
unfortunately this doesn't work with skype :/
~ $ cat startskype.sh
#!/bin/sh
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
exec /usr/bin/skype
~ $ ./startskype.sh
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be
preloaded: ignored.
seems that I have to stick with my old kernel :/
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
2009-06-29 10:30 ` Peter Hüwe
@ 2009-06-29 10:40 ` Jean-Francois Moine
2009-06-29 10:54 ` Peter Hüwe
0 siblings, 1 reply; 10+ messages in thread
From: Jean-Francois Moine @ 2009-06-29 10:40 UTC (permalink / raw)
To: Peter Hüwe; +Cc: linux-media
On Mon, 29 Jun 2009 12:30:09 +0200
Peter Hüwe <PeterHuewe@gmx.de> wrote:
> unfortunately this doesn't work with skype :/
>
> ~ $ cat startskype.sh
> #!/bin/sh
> export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
> exec /usr/bin/skype
> ~ $ ./startskype.sh
> ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD
> cannot be preloaded: ignored.
Hi Peter,
Indeed, you are running a 64bits application:
#!/bin/sh
export LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so
exec /usr/bin/skype
Cheers.
--
Ken ar c'hentan | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
2009-06-29 10:40 ` Jean-Francois Moine
@ 2009-06-29 10:54 ` Peter Hüwe
2009-06-29 11:10 ` Jean-Francois Moine
0 siblings, 1 reply; 10+ messages in thread
From: Peter Hüwe @ 2009-06-29 10:54 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: linux-media
Am Montag 29 Juni 2009 12:40:34 schrieb Jean-Francois Moine:
> Hi Peter,
>
> Indeed, you are running a 64bits application:
>
> #!/bin/sh
> export LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so
> exec /usr/bin/skype
>
> Cheers.
Hi :)
/usr/lib is just a link to /usr/lib64 -
$ ls -lahd /usr/lib
lrwxrwxrwx 1 root root 5 20. Dez 2008 /usr/lib -> lib64
but I tried it explicitly with both versions:
ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from LD_PRELOAD cannot
be preloaded: ignored.
ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from LD_PRELOAD cannot
be preloaded: ignored.
ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from LD_PRELOAD cannot
be preloaded: ignored.
Seems I have to wait till skype releases a v4l2 compatible skype binary - but
regarding the development cycle of skype this will be ... ahem ... never :)
Thanks!
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
2009-06-29 10:54 ` Peter Hüwe
@ 2009-06-29 11:10 ` Jean-Francois Moine
0 siblings, 0 replies; 10+ messages in thread
From: Jean-Francois Moine @ 2009-06-29 11:10 UTC (permalink / raw)
To: Peter Hüwe; +Cc: linux-media
On Mon, 29 Jun 2009 12:54:34 +0200
Peter Hüwe <PeterHuewe@gmx.de> wrote:
> /usr/lib is just a link to /usr/lib64 -
> $ ls -lahd /usr/lib
> lrwxrwxrwx 1 root root 5 20. Dez 2008 /usr/lib -> lib64
>
> but I tried it explicitly with both versions:
> ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from
> LD_PRELOAD cannot be preloaded: ignored.
> ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from
> LD_PRELOAD cannot be preloaded: ignored.
>
> ERROR: ld.so: object '/usr/lib64/libv4l/v4l1compat.so' from
> LD_PRELOAD cannot be preloaded: ignored.
>
> Seems I have to wait till skype releases a v4l2 compatible skype
> binary - but regarding the development cycle of skype this will
> be ... ahem ... never :)
It is not a skype problem but a loader problem. If you have both the 32
and 64 bits libraries, it means that your skype is statically linked
(you may check it by 'file /usr/bin/skype'). Then, get a dynamically
linked version.
Cheers.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1
[not found] ` <20090630122611.108b4106@free.fr>
@ 2009-06-30 11:03 ` Peter Hüwe
0 siblings, 0 replies; 10+ messages in thread
From: Peter Hüwe @ 2009-06-30 11:03 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: linux-media
Am Dienstag 30 Juni 2009 12:26:11 schrieben Sie:
> What is sure is that skype has no problem. It is a loader problem.
>
> May you check the type of /usr/lib32/libv4l/v4l1compat.so?
>
> And, also, what gives 'ldd /opt/skype/skype'?
>
> Cheers.
Hi,
d'oh :) -
file /usr/lib32/libv4l/v4l1compat.so -> No such file or directory
After I compiled the v4l in 32 bit mode for my machine, skype _WORKS_ again
and it seems the picture is _even better_ than before!
Unfortunately gentoo did not built the 32 bit version itself, which is usually
the case.
I'm really sorry for blaming the driver, skype while it was only my fault -
mea culpa.
Thank you very much for your support and your great work - you made my day :)
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-06-30 11:03 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-28 13:14 Problem with 046d:08af Logitech Quickcam Easy/Cool - broken with in-kernel drivers, works with gspcav1 Peter Hüwe
2009-06-28 18:14 ` Jean-Francois Moine
2009-06-28 20:30 ` Peter Hüwe
2009-06-28 20:50 ` Peter Hüwe
2009-06-29 7:25 ` Jean-Francois Moine
2009-06-29 10:30 ` Peter Hüwe
2009-06-29 10:40 ` Jean-Francois Moine
2009-06-29 10:54 ` Peter Hüwe
2009-06-29 11:10 ` Jean-Francois Moine
[not found] ` <200906291322.05379.PeterHuewe@gmx.de>
[not found] ` <20090630122611.108b4106@free.fr>
2009-06-30 11:03 ` Peter Hüwe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox