Web lists-archives.com

Re: [Spca50x-devs] Logitech Orbicam (0x0892) module compiles butdoesn't load







From: Michel Xhaard <mxhaard@xxxxxxxx>
To: spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Spca50x-devs] Logitech Orbicam (0x0892) module compiles butdoesn't load
Date: Sun, 17 Dec 2006 17:30:56 +0100

Le Dimanche 17 Décembre 2006 17:19, |Fib @Italy| a écrit :
> Hi there!
>
> At first, I really need to thank  Michel for his great job he is
> doing...Thank you Michel!
>
> I was happy to see that the support to the Logitech Orbicam (0x0892) has
> been implemented, even if it is still on test.
>
> I can compile the module but I have errors when I try to load it (gspca).
> I guess it's a kind of incompatibility with v4l2
>
> Here it is some infos on my system.
>
> Kernel: 2.6.19.1
> V4L: Version 2 enabled (as a module) and compatibility version 1 enabled
> (as a module)
>
> lsusb confirms the device:
>
> Bus 005 Device 003: ID 046d:0892 Logitech, Inc.
>
> Compile is successful even if with warnings:
>
> make -C /lib/modules/`uname -r`/build
> SUBDIRS=/home.local/tony/Acer_Vimicro_Li nux_Drivers/gspcav1-20061216 CC=cc
> modules
> make[1]: Entering directory `/usr/src/kernel/linux-2.6.19.1'
>   CC [M]
> /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/gspca_c ore.o > /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/gspca_core.c:
> In function spca50x_create_sysfs:
> /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/gspca_core.c:2
>603
>
> : warning: ignoring return value of video_device_create_file, declared
>
> with at tribute warn_unused_result
> /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/gspca_core.c:2
>604
>
> : warning: ignoring return value of video_device_create_file, declared
>
> with at tribute warn_unused_result
> /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/gspca_core.c:2
>605
>
> : warning: ignoring return value of video_device_create_file, declared
>
> with at tribute warn_unused_result
>   CC [M]
> /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/decoder
> /gspcadecoder.o
>   LD [M]
> /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/gspca.o
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC
> /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/gspca.m od.o
>   LD [M]
> /home.local/tony/Acer_Vimicro_Linux_Drivers/gspcav1-20061216/gspca.k o
> make[1]: Leaving directory `/usr/src/kernel/linux-2.6.19.1'
>
> When I try to load the module, I have the following message:
>
> FATAL: Error inserting gspca
> (/lib/modules/2.6.19.1/kernel/drivers/usb/media/gspca.ko): Unknown symbol
> in module, or unknown parameter (see dmesg)
>
> And the dmesg give me the following:
>
> gspca: disagrees about version of symbol video_devdata
> gspca: Unknown symbol video_devdata
> gspca: disagrees about version of symbol video_unregister_device
> gspca: Unknown symbol video_unregister_device
> gspca: disagrees about version of symbol video_device_alloc
> gspca: Unknown symbol video_device_alloc
> gspca: disagrees about version of symbol video_register_device
> gspca: Unknown symbol video_register_device
> gspca: disagrees about version of symbol video_device_release
> gspca: Unknown symbol video_device_release
>
> If there is a trick to solve this problem, let me know...
>
> Thanks!!!
>
> Tony
>
> _________________________________________________________________
> Talk now to your Hotmail contacts with Windows Live Messenger.
> http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://ge
>t.live.com/messenger/overview
Are you sure v4l1 is set in your kernel ?
--
Michel Xhaard
http://mxhaard.free.fr


I included the support for both v1 and v2 of v4l in the kernel.

When I do an lsmod, this is what I have:

lsmod | grep v4l

v4l1_compat            14468  1 videodev
v4l2_common            23552  1 videodev

Can I have both the modules loaded at the same time?

Tony


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs

_________________________________________________________________
Type your favorite song.  Get a customized station.  Try MSN Radio powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs