* zc3xx: "Creative Webcam Live!" never worked with in-tree driver
@ 2009-02-24 21:06 Auke Kok
2009-02-25 0:00 ` Auke Kok
0 siblings, 1 reply; 8+ messages in thread
From: Auke Kok @ 2009-02-24 21:06 UTC (permalink / raw)
To: moinejf, rossi.f, mchehab; +Cc: linux-media
All,
I have a "Creative Technology, Ltd Webcam Live!/Live! Pro" that until
recently worked fine with the out-of-tree gspcav1 driver
(gspcav1-20071224.tar.gz is the latest version I used unti 2.6.26).
Since this driver (basically) got merged in the kernel I got my hopes up
that the in-kernel gspca_zc3xx drivers would work. However, that does
not provide a usable video0 device - mplayer tv:// crashes with 'No
stream found.' for instance:
Playing tv://.
Cache fill: 0.00% (0 bytes)
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: WebCam Live!
Capabilites: video capture read/write streaming
supported norms:
inputs: 0 = zc3xx;
Current input: 0
Current format: unknown (0x4745504a)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
FPS not specified in the header or invalid, use the -fps option.
No stream found.
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
Exiting... (End of file)
I've regressed back to the original import of the spca driver in the
kernel tree and this doesn't fix it, so I'm assuming that the driver
were not merged correctly for my particular device.
Basically the driver probes and load fine as is right now, no unusual
message in dmesg as far as I can see:
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
usbcore: registered new interface driver zc0301
usbcore: deregistering interface driver zc0301
gspca: probing 041e:4036
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 can post the output of the gspcav1 module with debug=5 for the
register writes/reads if that is interesting, or anything else for that
matter - I'd really like to keep this webcam working and staying at
kernel 2.6.25 is not an option.
is there a way to get the gspca_zc3xx driver dump register read/writes?
this would be a quick way to compare the two drivers and look at the
differences.
Cheers,
Auke
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: zc3xx: "Creative Webcam Live!" never worked with in-tree driver
2009-02-24 21:06 zc3xx: "Creative Webcam Live!" never worked with in-tree driver Auke Kok
@ 2009-02-25 0:00 ` Auke Kok
2009-02-25 0:19 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 8+ messages in thread
From: Auke Kok @ 2009-02-25 0:00 UTC (permalink / raw)
To: moinejf, rossi.f, mchehab; +Cc: linux-media
Auke Kok wrote:
>
> All,
>
> I have a "Creative Technology, Ltd Webcam Live!/Live! Pro" that until
> recently worked fine with the out-of-tree gspcav1 driver
> (gspcav1-20071224.tar.gz is the latest version I used unti 2.6.26).
>
> Since this driver (basically) got merged in the kernel I got my hopes up
> that the in-kernel gspca_zc3xx drivers would work. However, that does
> not provide a usable video0 device - mplayer tv:// crashes with 'No
> stream found.' for instance:
>
> Playing tv://.
> Cache fill: 0.00% (0 bytes)
> TV file format detected.
> Selected driver: v4l2
> name: Video 4 Linux 2 input
> author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
> comment: first try, more to come ;-)
> Selected device: WebCam Live!
> Capabilites: video capture read/write streaming
> supported norms:
> inputs: 0 = zc3xx;
> Current input: 0
> Current format: unknown (0x4745504a)
> tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
> v4l2: ioctl enum norm failed: Invalid argument
> Error: Cannot set norm!
> Selected input hasn't got a tuner!
> v4l2: ioctl set mute failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> v4l2: ioctl query control failed: Invalid argument
> FPS not specified in the header or invalid, use the -fps option.
> No stream found.
>
> v4l2: ioctl set mute failed: Invalid argument
> v4l2: 0 frames successfully processed, 0 frames dropped.
>
> Exiting... (End of file)
>
>
> I've regressed back to the original import of the spca driver in the
> kernel tree and this doesn't fix it, so I'm assuming that the driver
> were not merged correctly for my particular device.
>
> Basically the driver probes and load fine as is right now, no unusual
> message in dmesg as far as I can see:
>
> zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
> usbcore: registered new interface driver zc0301
> usbcore: deregistering interface driver zc0301
> gspca: probing 041e:4036
> 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 can post the output of the gspcav1 module with debug=5 for the
> register writes/reads if that is interesting, or anything else for that
> matter - I'd really like to keep this webcam working and staying at
> kernel 2.6.25 is not an option.
>
> is there a way to get the gspca_zc3xx driver dump register read/writes?
> this would be a quick way to compare the two drivers and look at the
> differences.
>
> Cheers,
>
> Auke
>
>
seems I just found the v4lcompat.so stuff, which (apart from being a
pain in the rear) makes the webcam work again...
Cheers,
Auke
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: zc3xx: "Creative Webcam Live!" never worked with in-tree driver
2009-02-25 0:00 ` Auke Kok
@ 2009-02-25 0:19 ` Mauro Carvalho Chehab
2009-02-25 18:38 ` Auke Kok
2009-02-26 8:20 ` Jean-Francois Moine
0 siblings, 2 replies; 8+ messages in thread
From: Mauro Carvalho Chehab @ 2009-02-25 0:19 UTC (permalink / raw)
To: moinejf; +Cc: Auke Kok, rossi.f, linux-media
On Tue, 24 Feb 2009 16:00:59 -0800
Auke Kok <auke@foo-projects.org> wrote:
> Auke Kok wrote:
> >
> > All,
> >
> > I have a "Creative Technology, Ltd Webcam Live!/Live! Pro" that until
> > recently worked fine with the out-of-tree gspcav1 driver
> > (gspcav1-20071224.tar.gz is the latest version I used unti 2.6.26).
> >
> > Since this driver (basically) got merged in the kernel I got my hopes up
> > that the in-kernel gspca_zc3xx drivers would work. However, that does
> > not provide a usable video0 device - mplayer tv:// crashes with 'No
> > stream found.' for instance:
> >
> > Playing tv://.
> > Cache fill: 0.00% (0 bytes)
> > TV file format detected.
> > Selected driver: v4l2
> > name: Video 4 Linux 2 input
> > author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
> > comment: first try, more to come ;-)
> > Selected device: WebCam Live!
> > Capabilites: video capture read/write streaming
> > supported norms:
> > inputs: 0 = zc3xx;
> > Current input: 0
> > Current format: unknown (0x4745504a)
> > tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
> > v4l2: ioctl enum norm failed: Invalid argument
> > Error: Cannot set norm!
> > Selected input hasn't got a tuner!
> > v4l2: ioctl set mute failed: Invalid argument
> > v4l2: ioctl query control failed: Invalid argument
> > v4l2: ioctl query control failed: Invalid argument
> > FPS not specified in the header or invalid, use the -fps option.
> > No stream found.
> >
> > v4l2: ioctl set mute failed: Invalid argument
> > v4l2: 0 frames successfully processed, 0 frames dropped.
> >
> > Exiting... (End of file)
> >
> >
> > I've regressed back to the original import of the spca driver in the
> > kernel tree and this doesn't fix it, so I'm assuming that the driver
> > were not merged correctly for my particular device.
> >
> > Basically the driver probes and load fine as is right now, no unusual
> > message in dmesg as far as I can see:
> >
> > zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
> > usbcore: registered new interface driver zc0301
> > usbcore: deregistering interface driver zc0301
> > gspca: probing 041e:4036
> > 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 can post the output of the gspcav1 module with debug=5 for the
> > register writes/reads if that is interesting, or anything else for that
> > matter - I'd really like to keep this webcam working and staying at
> > kernel 2.6.25 is not an option.
> >
> > is there a way to get the gspca_zc3xx driver dump register read/writes?
> > this would be a quick way to compare the two drivers and look at the
> > differences.
> >
> > Cheers,
> >
> > Auke
> >
> >
>
>
> seems I just found the v4lcompat.so stuff, which (apart from being a
> pain in the rear) makes the webcam work again...
This seems to be a very common error. IMO, we should write message when loading
a gspca that would require libv4l in order to work.
Cheers,
Mauro
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: zc3xx: "Creative Webcam Live!" never worked with in-tree driver
2009-02-25 0:19 ` Mauro Carvalho Chehab
@ 2009-02-25 18:38 ` Auke Kok
2009-02-26 8:20 ` Jean-Francois Moine
1 sibling, 0 replies; 8+ messages in thread
From: Auke Kok @ 2009-02-25 18:38 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: moinejf, rossi.f, linux-media
Mauro Carvalho Chehab wrote:
> On Tue, 24 Feb 2009 16:00:59 -0800
> Auke Kok <auke@foo-projects.org> wrote:
>
>> Auke Kok wrote:
>>> All,
>>>
>>> I have a "Creative Technology, Ltd Webcam Live!/Live! Pro" that until
>>> recently worked fine with the out-of-tree gspcav1 driver
>>> (gspcav1-20071224.tar.gz is the latest version I used unti 2.6.26).
>>>
>>> Since this driver (basically) got merged in the kernel I got my hopes up
>>> that the in-kernel gspca_zc3xx drivers would work. However, that does
>>> not provide a usable video0 device - mplayer tv:// crashes with 'No
>>> stream found.' for instance:
<snip>
>> seems I just found the v4lcompat.so stuff, which (apart from being a
>> pain in the rear) makes the webcam work again...
>
> This seems to be a very common error. IMO, we should write message when loading
> a gspca that would require libv4l in order to work.
it would be wonderful if the v4l stack itself can warn when an
application uses the wrong method on the device node... would such a
thing be possible?
Auke
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: zc3xx: "Creative Webcam Live!" never worked with in-tree driver
2009-02-25 0:19 ` Mauro Carvalho Chehab
2009-02-25 18:38 ` Auke Kok
@ 2009-02-26 8:20 ` Jean-Francois Moine
2009-02-26 8:51 ` Auke Kok
1 sibling, 1 reply; 8+ messages in thread
From: Jean-Francois Moine @ 2009-02-26 8:20 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: Auke Kok, rossi.f, linux-media
On Tue, 24 Feb 2009 21:19:16 -0300
Mauro Carvalho Chehab <mchehab@redhat.com> wrote:
>
> On Tue, 24 Feb 2009 16:00:59 -0800
> Auke Kok <auke@foo-projects.org> wrote:
>
> > Auke Kok wrote:
> > >
> > > All,
> > >
> > > I have a "Creative Technology, Ltd Webcam Live!/Live! Pro" that
> > > until recently worked fine with the out-of-tree gspcav1 driver
> > > (gspcav1-20071224.tar.gz is the latest version I used unti
> > > 2.6.26).
> > >
> > > Since this driver (basically) got merged in the kernel I got my
> > > hopes up that the in-kernel gspca_zc3xx drivers would work.
> > > However, that does not provide a usable video0 device - mplayer
> > > tv:// crashes with 'No stream found.' for instance:
> > >
> > > Playing tv://.
> > > Cache fill: 0.00% (0 bytes)
> > > TV file format detected.
> > > Selected driver: v4l2
> > > name: Video 4 Linux 2 input
> > > author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
> > > comment: first try, more to come ;-)
> > > Selected device: WebCam Live!
> > > Capabilites: video capture read/write streaming
> > > supported norms:
> > > inputs: 0 = zc3xx;
> > > Current input: 0
> > > Current format: unknown (0x4745504a)
> > > tv.c: norm_from_string(pal): Bogus norm parameter, setting
> > > default. v4l2: ioctl enum norm failed: Invalid argument
> > > Error: Cannot set norm!
> > > Selected input hasn't got a tuner!
> > > v4l2: ioctl set mute failed: Invalid argument
> > > v4l2: ioctl query control failed: Invalid argument
> > > v4l2: ioctl query control failed: Invalid argument
> > > FPS not specified in the header or invalid, use the -fps option.
> > > No stream found.
> > >
> > > v4l2: ioctl set mute failed: Invalid argument
> > > v4l2: 0 frames successfully processed, 0 frames dropped.
> > >
> > > Exiting... (End of file)
> > >
> > >
> > > I've regressed back to the original import of the spca driver in
> > > the kernel tree and this doesn't fix it, so I'm assuming that the
> > > driver were not merged correctly for my particular device.
> > >
> > > Basically the driver probes and load fine as is right now, no
> > > unusual message in dmesg as far as I can see:
> > >
> > > zc0301: V4L2 driver for ZC0301[P] Image Processor and Control
> > > Chip v1:1.10 usbcore: registered new interface driver zc0301
> > > usbcore: deregistering interface driver zc0301
> > > gspca: probing 041e:4036
> > > 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 can post the output of the gspcav1 module with debug=5 for the
> > > register writes/reads if that is interesting, or anything else
> > > for that matter - I'd really like to keep this webcam working and
> > > staying at kernel 2.6.25 is not an option.
> > >
> > > is there a way to get the gspca_zc3xx driver dump register
> > > read/writes? this would be a quick way to compare the two drivers
> > > and look at the differences.
> > >
> >
> > seems I just found the v4lcompat.so stuff, which (apart from being
> > a pain in the rear) makes the webcam work again...
>
> This seems to be a very common error. IMO, we should write message
> when loading a gspca that would require libv4l in order to work.
First, it is strange that mplayer does not work: the v4l2 interface
seems recognized, but why does it say:
Current format: unknown (0x4745504a)
while this is JPEG and it knows well how to handle it?
Then, at probe time, there is:
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control
This means that an other driver wants to handle the webcam. This may
raise problems.
Eventually, the v4l library is needed when using any v4l2 driver, not
only gspca. Hopefully, many popular applications now use it natively,
as vlc 0.9.x.
Cheers.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: zc3xx: "Creative Webcam Live!" never worked with in-tree driver
2009-02-26 8:20 ` Jean-Francois Moine
@ 2009-02-26 8:51 ` Auke Kok
2009-02-26 9:16 ` Catimimi
2009-02-26 11:01 ` Jean-Francois Moine
0 siblings, 2 replies; 8+ messages in thread
From: Auke Kok @ 2009-02-26 8:51 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: Mauro Carvalho Chehab, rossi.f, linux-media
Jean-Francois Moine wrote:
> On Tue, 24 Feb 2009 21:19:16 -0300
> Mauro Carvalho Chehab <mchehab@redhat.com> wrote:
>> On Tue, 24 Feb 2009 16:00:59 -0800
>> Auke Kok <auke@foo-projects.org> wrote:
>>
>>> Auke Kok wrote:
>>>> All,
>>>>
>>>> I have a "Creative Technology, Ltd Webcam Live!/Live! Pro" that
>>>> until recently worked fine with the out-of-tree gspcav1 driver
>>>> (gspcav1-20071224.tar.gz is the latest version I used unti
>>>> 2.6.26).
>>>>
>>>> Since this driver (basically) got merged in the kernel I got my
>>>> hopes up that the in-kernel gspca_zc3xx drivers would work.
>>>> However, that does not provide a usable video0 device - mplayer
>>>> tv:// crashes with 'No stream found.' for instance:
>>>>
>>>> Playing tv://.
>>>> Cache fill: 0.00% (0 bytes)
>>>> TV file format detected.
>>>> Selected driver: v4l2
>>>> name: Video 4 Linux 2 input
>>>> author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
>>>> comment: first try, more to come ;-)
>>>> Selected device: WebCam Live!
>>>> Capabilites: video capture read/write streaming
>>>> supported norms:
>>>> inputs: 0 = zc3xx;
>>>> Current input: 0
>>>> Current format: unknown (0x4745504a)
>>>> tv.c: norm_from_string(pal): Bogus norm parameter, setting
>>>> default. v4l2: ioctl enum norm failed: Invalid argument
>>>> Error: Cannot set norm!
>>>> Selected input hasn't got a tuner!
>>>> v4l2: ioctl set mute failed: Invalid argument
>>>> v4l2: ioctl query control failed: Invalid argument
>>>> v4l2: ioctl query control failed: Invalid argument
>>>> FPS not specified in the header or invalid, use the -fps option.
>>>> No stream found.
>>>>
>>>> v4l2: ioctl set mute failed: Invalid argument
>>>> v4l2: 0 frames successfully processed, 0 frames dropped.
>>>>
>>>> Exiting... (End of file)
>>>>
>>>>
>>>> I've regressed back to the original import of the spca driver in
>>>> the kernel tree and this doesn't fix it, so I'm assuming that the
>>>> driver were not merged correctly for my particular device.
>>>>
>>>> Basically the driver probes and load fine as is right now, no
>>>> unusual message in dmesg as far as I can see:
>>>>
>>>> zc0301: V4L2 driver for ZC0301[P] Image Processor and Control
>>>> Chip v1:1.10 usbcore: registered new interface driver zc0301
>>>> usbcore: deregistering interface driver zc0301
>>>> gspca: probing 041e:4036
>>>> 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 can post the output of the gspcav1 module with debug=5 for the
>>>> register writes/reads if that is interesting, or anything else
>>>> for that matter - I'd really like to keep this webcam working and
>>>> staying at kernel 2.6.25 is not an option.
>>>>
>>>> is there a way to get the gspca_zc3xx driver dump register
>>>> read/writes? this would be a quick way to compare the two drivers
>>>> and look at the differences.
>>>>
>>> seems I just found the v4lcompat.so stuff, which (apart from being
>>> a pain in the rear) makes the webcam work again...
>> This seems to be a very common error. IMO, we should write message
>> when loading a gspca that would require libv4l in order to work.
>
> First, it is strange that mplayer does not work: the v4l2 interface
> seems recognized, but why does it say:
>
> Current format: unknown (0x4745504a)
>
> while this is JPEG and it knows well how to handle it?
>
> Then, at probe time, there is:
>
> zc0301: V4L2 driver for ZC0301[P] Image Processor and Control
I pasted too much there, as you can see below I unloaded that driver:
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control
Chip v1:1.10 usbcore: registered new interface driver zc0301
usbcore: deregistering interface driver zc0301
>
> This means that an other driver wants to handle the webcam. This may
> raise problems.
>
> Eventually, the v4l library is needed when using any v4l2 driver, not
> only gspca. Hopefully, many popular applications now use it natively,
> as vlc 0.9.x.
interesting, but I can't get vlc to understand either tv:// or
/dev/video0... any hints?
Auke
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: zc3xx: "Creative Webcam Live!" never worked with in-tree driver
2009-02-26 8:51 ` Auke Kok
@ 2009-02-26 9:16 ` Catimimi
2009-02-26 11:01 ` Jean-Francois Moine
1 sibling, 0 replies; 8+ messages in thread
From: Catimimi @ 2009-02-26 9:16 UTC (permalink / raw)
To: linux-media
Auke Kok a écrit :
> Jean-Francois Moine wrote:
>> On Tue, 24 Feb 2009 21:19:16 -0300
>> Mauro Carvalho Chehab <mchehab@redhat.com> wrote:
>>> On Tue, 24 Feb 2009 16:00:59 -0800
>>> Auke Kok <auke@foo-projects.org> wrote:
>>>
>>>> Auke Kok wrote:
>>>>> All,
>>>>>
>>>>> I have a "Creative Technology, Ltd Webcam Live!/Live! Pro" that
>>>>> until recently worked fine with the out-of-tree gspcav1 driver
>>>>> (gspcav1-20071224.tar.gz is the latest version I used unti
>>>>> 2.6.26).
>>>>>
>>>>> Since this driver (basically) got merged in the kernel I got my
>>>>> hopes up that the in-kernel gspca_zc3xx drivers would work.
>>>>> However, that does not provide a usable video0 device - mplayer
>>>>> tv:// crashes with 'No stream found.' for instance:
>>>>>
>>>>> Playing tv://.
>>>>> Cache fill: 0.00% (0 bytes)
>>>>> TV file format detected.
>>>>> Selected driver: v4l2
>>>>> name: Video 4 Linux 2 input
>>>>> author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
>>>>> comment: first try, more to come ;-)
>>>>> Selected device: WebCam Live!
>>>>> Capabilites: video capture read/write streaming
>>>>> supported norms:
>>>>> inputs: 0 = zc3xx;
>>>>> Current input: 0
>>>>> Current format: unknown (0x4745504a)
>>>>> tv.c: norm_from_string(pal): Bogus norm parameter, setting
>>>>> default. v4l2: ioctl enum norm failed: Invalid argument
>>>>> Error: Cannot set norm!
>>>>> Selected input hasn't got a tuner!
>>>>> v4l2: ioctl set mute failed: Invalid argument
>>>>> v4l2: ioctl query control failed: Invalid argument
>>>>> v4l2: ioctl query control failed: Invalid argument
>>>>> FPS not specified in the header or invalid, use the -fps option.
>>>>> No stream found.
>>>>>
>>>>> v4l2: ioctl set mute failed: Invalid argument
>>>>> v4l2: 0 frames successfully processed, 0 frames dropped.
>>>>>
>>>>> Exiting... (End of file)
>>>>>
>>>>>
>>>>> I've regressed back to the original import of the spca driver in
>>>>> the kernel tree and this doesn't fix it, so I'm assuming that the
>>>>> driver were not merged correctly for my particular device.
>>>>>
>>>>> Basically the driver probes and load fine as is right now, no
>>>>> unusual message in dmesg as far as I can see:
>>>>>
>>>>> zc0301: V4L2 driver for ZC0301[P] Image Processor and Control
>>>>> Chip v1:1.10 usbcore: registered new interface driver zc0301
>>>>> usbcore: deregistering interface driver zc0301
>>>>> gspca: probing 041e:4036
>>>>> 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 can post the output of the gspcav1 module with debug=5 for the
>>>>> register writes/reads if that is interesting, or anything else
>>>>> for that matter - I'd really like to keep this webcam working and
>>>>> staying at kernel 2.6.25 is not an option.
>>>>>
>>>>> is there a way to get the gspca_zc3xx driver dump register
>>>>> read/writes? this would be a quick way to compare the two drivers
>>>>> and look at the differences.
>>>>>
>>>> seems I just found the v4lcompat.so stuff, which (apart from being
>>>> a pain in the rear) makes the webcam work again...
>>> This seems to be a very common error. IMO, we should write message
>>> when loading a gspca that would require libv4l in order to work.
>>
>> First, it is strange that mplayer does not work: the v4l2 interface
>> seems recognized, but why does it say:
>>
>> Current format: unknown (0x4745504a)
>>
>> while this is JPEG and it knows well how to handle it?
>>
>> Then, at probe time, there is:
>>
>> zc0301: V4L2 driver for ZC0301[P] Image Processor and Control
>
> I pasted too much there, as you can see below I unloaded that driver:
>
> zc0301: V4L2 driver for ZC0301[P] Image Processor and Control
> Chip v1:1.10 usbcore: registered new interface driver zc0301
> usbcore: deregistering interface driver zc0301
>
>
>>
>> This means that an other driver wants to handle the webcam. This may
>> raise problems.
>>
>> Eventually, the v4l library is needed when using any v4l2 driver, not
>> only gspca. Hopefully, many popular applications now use it natively,
>> as vlc 0.9.x.
>
> interesting, but I can't get vlc to understand either tv:// or
> /dev/video0... any hints?
Hi,
With mplayer I use :
mplayer -fps 30 -tv driver=v4l2:width=640:height=480:device=/dev/video0
tv://
and it works well with my Labtec webcam Pro : zc3xx
Michel.
>
> Auke
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: zc3xx: "Creative Webcam Live!" never worked with in-tree driver
2009-02-26 8:51 ` Auke Kok
2009-02-26 9:16 ` Catimimi
@ 2009-02-26 11:01 ` Jean-Francois Moine
1 sibling, 0 replies; 8+ messages in thread
From: Jean-Francois Moine @ 2009-02-26 11:01 UTC (permalink / raw)
To: Auke Kok; +Cc: Mauro Carvalho Chehab, rossi.f, linux-media
On Thu, 26 Feb 2009 00:51:51 -0800
Auke Kok <auke@foo-projects.org> wrote:
> > Eventually, the v4l library is needed when using any v4l2 driver,
> > not only gspca. Hopefully, many popular applications now use it
> > natively, as vlc 0.9.x.
>
> interesting, but I can't get vlc to understand either tv:// or
> /dev/video0... any hints?
You may find the command line syntax opening the device/file/network
flow with the GUI. For webcams, I found:
vlc v4l2:// :v4l2-dev=/dev/video0 :v4l2-standard=0
You may also start the webcam from a playlist with:
#EXTINF:0,webcam
#EXTVLCOPT:v4l2-dev=/dev/video0
#EXTVLCOPT:v4l2-standard=0
v4l2://
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-02-26 11:10 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-24 21:06 zc3xx: "Creative Webcam Live!" never worked with in-tree driver Auke Kok
2009-02-25 0:00 ` Auke Kok
2009-02-25 0:19 ` Mauro Carvalho Chehab
2009-02-25 18:38 ` Auke Kok
2009-02-26 8:20 ` Jean-Francois Moine
2009-02-26 8:51 ` Auke Kok
2009-02-26 9:16 ` Catimimi
2009-02-26 11:01 ` Jean-Francois Moine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox