public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] kernel sources location and gspca module version
@ 2008-10-16 19:09 Stefano Sabatini
  2008-10-19 14:20 ` [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module Stefano Sabatini
  0 siblings, 1 reply; 7+ messages in thread
From: Stefano Sabatini @ 2008-10-16 19:09 UTC (permalink / raw)
  To: linux-dvb Mailing List

Hi all,

I'm having this problem when trying to compile the modules for linux
2.6.26 on a Debian system:

|stefano@geppetto ~/s/v4l-dvb> make 
|make -C /home/stefano/src/v4l-dvb/v4l 
|make[1]: Entering directory `/home/stefano/src/v4l-dvb/v4l'
|No version yet, using 2.6.26-1-686
|make[1]: Leaving directory `/home/stefano/src/v4l-dvb/v4l'
|make[1]: Entering directory `/home/stefano/src/v4l-dvb/v4l'
|scripts/make_makefile.pl
|Updating/Creating .config
|Preparing to compile for kernel version 2.6.26
|
|***WARNING:*** You do not have the full kernel sources installed.
|This does not prevent you from building the v4l-dvb tree if you have the
|kernel headers, but the full kernel source may be required in order to use
|make menuconfig / xconfig / qconfig.
|
|If you are experiencing problems building the v4l-dvb tree, please try
|building against a vanilla kernel before reporting a bug.
|
|Vanilla kernels are available at http://kernel.org.
|On most distros, this will compile a newly downloaded kernel:

I'm on a Debian sytem with kernel and headers at version 2.6.26, so I
suppose it should find the complete kernel tree.

|stefano@geppetto /l/modules> uname -a
|Linux geppetto 2.6.26-1-686 #1 SMP Thu Oct 9 15:18:09 UTC 2008 i686 GNU/Linux
|stefano@geppetto /l/modules> ls -l /lib/modules/
|total 36
|drwxr-xr-x 2 root root 4096 2008-10-14 20:08 2.6.21-2-686/
|drwxr-xr-x 4 root root 4096 2008-08-23 13:04 2.6.22-2-686/
|drwxr-xr-x 5 root root 4096 2008-10-13 08:57 2.6.22-3-486/
|drwxr-xr-x 3 root root 4096 2008-10-13 08:57 2.6.22-3-686/
|drwxr-xr-x 2 root root 4096 2008-09-24 20:11 2.6.24-etchnhalf.1-686/
|drwxr-xr-x 2 root root 4096 2008-09-24 20:12 2.6.25-2-486/
|drwxr-xr-x 3 root root 4096 2008-09-24 20:12 2.6.25-2-686/
|drwxr-xr-x 3 root root 4096 2008-10-15 11:29 2.6.26-1-486/
|drwxr-xr-x 4 root root 4096 2008-10-16 20:50 2.6.26-1-686/

Then when I attach a gspca webcam I get this output in dmesg:
|[43518.309407] usb 2-2: USB disconnect, address 10
|[43520.040151] usb 2-2: new full speed USB device using uhci_hcd and address 11
|[43520.231991] usb 2-2: configuration #1 chosen from 1 choice
|[43520.256243] usb 2-2: New USB device found, idVendor=046d, idProduct=08d9
|[43520.256243] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
|[43520.290979] Linux video capture interface: v2.00
|[43520.292764] gspca: disagrees about version of symbol video_devdata
|[43520.292773] gspca: Unknown symbol video_devdata
|[43520.293829] gspca: disagrees about version of symbol video_unregister_device
|[43520.293829] gspca: Unknown symbol video_unregister_device
|[43520.293829] gspca: disagrees about version of symbol video_device_alloc
|[43520.293829] gspca: Unknown symbol video_device_alloc
|[43520.293829] gspca: disagrees about version of symbol video_register_device
|[43520.293829] gspca: Unknown symbol video_register_device
|[43520.293829] gspca: disagrees about version of symbol video_usercopy
|[43520.293829] gspca: Unknown symbol video_usercopy
|[43520.293829] gspca: disagrees about version of symbol video_device_release
|[43520.293829] gspca: Unknown symbol video_device_release
|[43520.301833] gspca: main v2.3.0 registered
|[43520.301833] gspca: disagrees about version of symbol video_devdata
|[43520.301833] gspca: Unknown symbol video_devdata
|[43520.301833] gspca: disagrees about version of symbol video_unregister_device
|[43520.301833] gspca: Unknown symbol video_unregister_device
|[43520.301833] gspca: disagrees about version of symbol video_device_alloc
|[43520.301833] gspca: Unknown symbol video_device_alloc
|[43520.301833] gspca: disagrees about version of symbol video_register_device
|[43520.301833] gspca: Unknown symbol video_register_device
|[43520.301833] gspca: disagrees about version of symbol video_usercopy
|[43520.301833] gspca: Unknown symbol video_usercopy
|[43520.301833] gspca: disagrees about version of symbol video_device_release
|[43520.301833] gspca: Unknown symbol video_device_release
|[43520.307220] gspca: probing 046d:08d9
|[43521.944222] zc3xx: probe 2wr ov vga 0x0000
|[43521.987916] zc3xx: probe sensor -> 11
|[43521.987916] zc3xx: Find Sensor HV7131R(c)
|[43521.992836] gspca: probe ok
|[43521.992836] usbcore: registered new interface driver zc3xx
|[43521.992836] zc3xx: registered

Strangely enough I don't have the same problem when I try to load
another module from the same v4l-dvb source.

I'm using 4vl-dvb mercurial.

I'll be grateful for any help you can provide.

Regards.

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module
  2008-10-16 19:09 [linux-dvb] kernel sources location and gspca module version Stefano Sabatini
@ 2008-10-19 14:20 ` Stefano Sabatini
  2008-10-19 20:25   ` Román
  0 siblings, 1 reply; 7+ messages in thread
From: Stefano Sabatini @ 2008-10-19 14:20 UTC (permalink / raw)
  To: linux-dvb

On date Thursday 2008-10-16 21:09:46 +0200, Stefano Sabatini wrote:
> Hi all,
> 
> I'm having this problem when trying to compile the modules for linux
> 2.6.26 on a Debian system:
> 
> |stefano@geppetto ~/s/v4l-dvb> make 
> |make -C /home/stefano/src/v4l-dvb/v4l 
> |make[1]: Entering directory `/home/stefano/src/v4l-dvb/v4l'
> |No version yet, using 2.6.26-1-686
> |make[1]: Leaving directory `/home/stefano/src/v4l-dvb/v4l'
> |make[1]: Entering directory `/home/stefano/src/v4l-dvb/v4l'
> |scripts/make_makefile.pl
> |Updating/Creating .config
> |Preparing to compile for kernel version 2.6.26
> |
> |***WARNING:*** You do not have the full kernel sources installed.
> |This does not prevent you from building the v4l-dvb tree if you have the
> |kernel headers, but the full kernel source may be required in order to use
> |make menuconfig / xconfig / qconfig.
> |
> |If you are experiencing problems building the v4l-dvb tree, please try
> |building against a vanilla kernel before reporting a bug.
> |
> |Vanilla kernels are available at http://kernel.org.
> |On most distros, this will compile a newly downloaded kernel:
> 
> I'm on a Debian sytem with kernel and headers at version 2.6.26, so I
> suppose it should find the complete kernel tree.
> 
> |stefano@geppetto /l/modules> uname -a
> |Linux geppetto 2.6.26-1-686 #1 SMP Thu Oct 9 15:18:09 UTC 2008 i686 GNU/Linux
> |stefano@geppetto /l/modules> ls -l /lib/modules/
> |total 36
> |drwxr-xr-x 2 root root 4096 2008-10-14 20:08 2.6.21-2-686/
> |drwxr-xr-x 4 root root 4096 2008-08-23 13:04 2.6.22-2-686/
> |drwxr-xr-x 5 root root 4096 2008-10-13 08:57 2.6.22-3-486/
> |drwxr-xr-x 3 root root 4096 2008-10-13 08:57 2.6.22-3-686/
> |drwxr-xr-x 2 root root 4096 2008-09-24 20:11 2.6.24-etchnhalf.1-686/
> |drwxr-xr-x 2 root root 4096 2008-09-24 20:12 2.6.25-2-486/
> |drwxr-xr-x 3 root root 4096 2008-09-24 20:12 2.6.25-2-686/
> |drwxr-xr-x 3 root root 4096 2008-10-15 11:29 2.6.26-1-486/
> |drwxr-xr-x 4 root root 4096 2008-10-16 20:50 2.6.26-1-686/
> 
> Then when I attach a gspca webcam I get this output in dmesg:
> |[43518.309407] usb 2-2: USB disconnect, address 10
> |[43520.040151] usb 2-2: new full speed USB device using uhci_hcd and address 11
> |[43520.231991] usb 2-2: configuration #1 chosen from 1 choice
> |[43520.256243] usb 2-2: New USB device found, idVendor=046d, idProduct=08d9
> |[43520.256243] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> |[43520.290979] Linux video capture interface: v2.00
> |[43520.292764] gspca: disagrees about version of symbol video_devdata
> |[43520.292773] gspca: Unknown symbol video_devdata
> |[43520.293829] gspca: disagrees about version of symbol video_unregister_device
> |[43520.293829] gspca: Unknown symbol video_unregister_device
> |[43520.293829] gspca: disagrees about version of symbol video_device_alloc
> |[43520.293829] gspca: Unknown symbol video_device_alloc
> |[43520.293829] gspca: disagrees about version of symbol video_register_device
> |[43520.293829] gspca: Unknown symbol video_register_device
> |[43520.293829] gspca: disagrees about version of symbol video_usercopy
> |[43520.293829] gspca: Unknown symbol video_usercopy
> |[43520.293829] gspca: disagrees about version of symbol video_device_release
> |[43520.293829] gspca: Unknown symbol video_device_release
> |[43520.301833] gspca: main v2.3.0 registered
> |[43520.301833] gspca: disagrees about version of symbol video_devdata
> |[43520.301833] gspca: Unknown symbol video_devdata
> |[43520.301833] gspca: disagrees about version of symbol video_unregister_device
> |[43520.301833] gspca: Unknown symbol video_unregister_device
> |[43520.301833] gspca: disagrees about version of symbol video_device_alloc
> |[43520.301833] gspca: Unknown symbol video_device_alloc
> |[43520.301833] gspca: disagrees about version of symbol video_register_device
> |[43520.301833] gspca: Unknown symbol video_register_device
> |[43520.301833] gspca: disagrees about version of symbol video_usercopy
> |[43520.301833] gspca: Unknown symbol video_usercopy
> |[43520.301833] gspca: disagrees about version of symbol video_device_release
> |[43520.301833] gspca: Unknown symbol video_device_release
> |[43520.307220] gspca: probing 046d:08d9
> |[43521.944222] zc3xx: probe 2wr ov vga 0x0000
> |[43521.987916] zc3xx: probe sensor -> 11
> |[43521.987916] zc3xx: Find Sensor HV7131R(c)
> |[43521.992836] gspca: probe ok
> |[43521.992836] usbcore: registered new interface driver zc3xx
> |[43521.992836] zc3xx: registered
> 
> Strangely enough I don't have the same problem when I try to load
> another module from the same v4l-dvb source.
> 
> I'm using 4vl-dvb mercurial.
> 
> I'll be grateful for any help you can provide.

The problem seems to stem from some conflicts with the previous
installation of a standalone gspca kernel already installed.

On debian I previously installed the gspca module using the usual
module-assistant procedure (m-a a-i gspca), which generetes just one
gspca.ko file.

When installing the v4l-dv package it install many gscpa related
modules, which issue the "Unknown symbol" problem if the previous
gspca modules hasn't been removed.

So removing the old gspca.ko module seems to be the right fix.

BTW I wonder why v4l-dvb includes the gspca modules, which seem to be
related more to the gspca cameras than to DVB devices

Regards.

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module
  2008-10-19 14:20 ` [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module Stefano Sabatini
@ 2008-10-19 20:25   ` Román
  2008-10-20 19:36     ` Stefano Sabatini
  0 siblings, 1 reply; 7+ messages in thread
From: Román @ 2008-10-19 20:25 UTC (permalink / raw)
  To: linux-dvb

2008/10/19 Stefano Sabatini <stefano.sabatini-lala@poste.it>:
>
> BTW I wonder why v4l-dvb includes the gspca modules, which seem to be
> related more to the gspca cameras than to DVB devices
>
> Regards.
>

I wonder as well. The standalone driver works with my webcam, but the
v4l-dvb one provokes a kernel panic on my system, after a short period
of using it (or it used to; admittedly it's been quite a while -a few
months- since I last tried).

-- 
           Román

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module
  2008-10-19 20:25   ` Román
@ 2008-10-20 19:36     ` Stefano Sabatini
  2008-10-20 20:28       ` Thomas Kaiser
  0 siblings, 1 reply; 7+ messages in thread
From: Stefano Sabatini @ 2008-10-20 19:36 UTC (permalink / raw)
  To: linux-dvb

On date Sunday 2008-10-19 22:25:29 +0200, Román wrote:
> 2008/10/19 Stefano Sabatini <stefano.sabatini-lala@poste.it>:
> >
> > BTW I wonder why v4l-dvb includes the gspca modules, which seem to be
> > related more to the gspca cameras than to DVB devices
[...]
> I wonder as well. The standalone driver works with my webcam, but the
> v4l-dvb one provokes a kernel panic on my system, after a short period
> of using it (or it used to; admittedly it's been quite a while -a few
> months- since I last tried).

For the archive: gspca based cameras finally stopped to work with the
v4l-dvb modules on linux-2.6.26, reinstalling the kernel and the
standalone module fixed it.

Please could the core devs clarify the situation for what regards
gscpa modules in v4l-dvb?

Thanks, regards.

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module
  2008-10-20 19:36     ` Stefano Sabatini
@ 2008-10-20 20:28       ` Thomas Kaiser
  2008-10-21  7:28         ` Matthias Schwarzott
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Kaiser @ 2008-10-20 20:28 UTC (permalink / raw)
  To: linux-dvb

Stefano Sabatini wrote:
> On date Sunday 2008-10-19 22:25:29 +0200, Román wrote:
>> 2008/10/19 Stefano Sabatini <stefano.sabatini-lala@poste.it>:
>>> BTW I wonder why v4l-dvb includes the gspca modules, which seem to be
>>> related more to the gspca cameras than to DVB devices
> [...]
>> I wonder as well. The standalone driver works with my webcam, but the
>> v4l-dvb one provokes a kernel panic on my system, after a short period
>> of using it (or it used to; admittedly it's been quite a while -a few
>> months- since I last tried).
> 
> For the archive: gspca based cameras finally stopped to work with the
> v4l-dvb modules on linux-2.6.26, reinstalling the kernel and the
> standalone module fixed it.
> 
> Please could the core devs clarify the situation for what regards
> gscpa modules in v4l-dvb?
> 
> Thanks, regards.
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Hello Stefano

The gspca module V1 was developed outside of the kernel tree. Therefor, 
it was possible to add "in kernel" video decompression/decoding, which 
is not allowed and not good to do in kernel space. But this was a great 
success to add more than 220 webcams to the Linux World.

Now, gspca V1 is moving to gspca V2 to support V4L2. Jean-Francois Moine 
(moinejf@free.fr) did a rewrite to support V4L2 with gspca. Thus, its 
called gspca V2. He removed all the not allowed decoding process which 
was done in kernel space with the old gspca.

Now, gspca V2 got included into the kernel! (Big step forward)

Hans de Goede (j.w.r.degoede@hhs.nl) is writing a user space lib to 
convert/decode all the stuff which was done in the old gspca in kernel 
space, his lib does it now in user space. That's the way to go!

The development of this is rather new and I think it is not included in 
any distro at the moment. But it will be soon.

So, please drop the the old gspca V1 and help testing gspca V2!

BTW: gspca is in v4l-dvb because v4l is for analogue deceives and dvb is 
for digital devices. gspca fits perfect into v4l!

Thomas

PS: Pixart, but now free time to do more, sorry.


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module
  2008-10-20 20:28       ` Thomas Kaiser
@ 2008-10-21  7:28         ` Matthias Schwarzott
  0 siblings, 0 replies; 7+ messages in thread
From: Matthias Schwarzott @ 2008-10-21  7:28 UTC (permalink / raw)
  To: linux-dvb

On Montag, 20. Oktober 2008, Thomas Kaiser wrote:

>
> Hans de Goede (j.w.r.degoede@hhs.nl) is writing a user space lib to
> convert/decode all the stuff which was done in the old gspca in kernel
> space, his lib does it now in user space. That's the way to go!
>
> The development of this is rather new and I think it is not included in
> any distro at the moment. But it will be soon.
>

Well, gentoo already has it since october, 18th :)

Regards
Matthias

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module
@ 2008-10-21 10:16 Eduard Huguet
  0 siblings, 0 replies; 7+ messages in thread
From: Eduard Huguet @ 2008-10-21 10:16 UTC (permalink / raw)
  To: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 1545 bytes --]

Hi, Matthias
   That's an interesting thing to know :D. Last week I upgraded to 2.6.26
and noticed that my webcam stopped working for some unknown reason, even if
I reemerged gspcav package to recompile the drivers. The webcam appears in
Kopete (KDE4) devices list, but I get no image from it.

Do you think it might be related to this (i.e. I need to emerge that new
library they were talking about)? I initially thought it was KDE4 Kopete's
fault, but maybe it's not.

Best regards,
  Eduard

PS: BTW, the drivers you wrote for the AverMedia DVB-S Pro (A700) work
rock-solid for me. Any hope they get merged into the DVB tree anytime soon?



>
> ---------- Missatge reenviat ----------
> From: Matthias Schwarzott <zzam@gentoo.org>
> To: linux-dvb@linuxtv.org
> Date: Tue, 21 Oct 2008 09:28:02 +0200
> Subject: Re: [linux-dvb] v4l-dvb gspca modules conflict with standalone
> gspca module
> On Montag, 20. Oktober 2008, Thomas Kaiser wrote:
>
> >
> > Hans de Goede (j.w.r.degoede@hhs.nl) is writing a user space lib to
> > convert/decode all the stuff which was done in the old gspca in kernel
> > space, his lib does it now in user space. That's the way to go!
> >
> > The development of this is rather new and I think it is not included in
> > any distro at the moment. But it will be soon.
> >
>
> Well, gentoo already has it since october, 18th :)
>
> Regards
> Matthias
>
>
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>

[-- Attachment #1.2: Type: text/html, Size: 2287 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-21 10:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-16 19:09 [linux-dvb] kernel sources location and gspca module version Stefano Sabatini
2008-10-19 14:20 ` [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module Stefano Sabatini
2008-10-19 20:25   ` Román
2008-10-20 19:36     ` Stefano Sabatini
2008-10-20 20:28       ` Thomas Kaiser
2008-10-21  7:28         ` Matthias Schwarzott
  -- strict thread matches above, loose matches on Subject: below --
2008-10-21 10:16 Eduard Huguet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox