Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi! I'm having troubles with this webcam, the kernel module is working, but kopete shows the camera display all in black and skype shows it all in green.
Here goes the data:
Slackware-current
kernel: 2.6.29.4
lsusb:
Bus 006 Device 002: ID 093a:2622 Pixart Imaging, Inc.
Can you post the output of 'lsmod' ? I'm not sure the gspca module comes with Slackware by default, usually you have to install it: http://www.slackware.com/~alien/slackbuilds/gspcav1/
Since you're using current, you'll have to use the slackbuild there.
Hi! The module comes with the kernel package. The module name is "gspca_pac7311" according to the kernel documentation.
The /dev/video0 appears, the programs detects the camera, but nothing's shown.
I forgot to mention, the camera is working, I probed it.
Maybe this post has to go in the hardware forum, sorry about that.
Can you post the output of 'lsmod' ? I'm not sure the gspca module comes with Slackware by default, usually you have to install it: http://www.slackware.com/~alien/slackbuilds/gspcav1/
Since you're using current, you'll have to use the slackbuild there.
What I would do is blacklist those two modules: gspca_pac7311 and gspca_main. And install it from source via the slackbuild, it should be just the gspca module.
make -C /lib/modules/`uname -r`/build SUBDIRS=/tmp/build/tmp-gspcav1/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.29.4'
CC [M] /tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.o
In file included from /tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:845:
/tmp/build/tmp-gspcav1/gspcav1-20071224/utils/spcausb.h: In function 'spca_set_interface':
/tmp/build/tmp-gspcav1/gspcav1-20071224/utils/spcausb.h:278: error: implicit declaration of function 'warn'
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c: In function 'spca5xx_ioctl':
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2463: warning: passing argument 1 of 'video_usercopy' from incompatible pointer type
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2463: warning: passing argument 2 of 'video_usercopy' makes integer from pointer without a cast
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2463: warning: passing argument 4 of 'video_usercopy' makes pointer from integer without a cast
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2463: error: too many arguments to function 'video_usercopy'
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c: At top level:
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2615: warning: initialization from incompatible pointer type
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c: In function 'gspca_attach_bridge':
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2802: error: implicit declaration of function 'info'
make[2]: *** [/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/tmp/build/tmp-gspcav1/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29.4'
make: *** [default] Error 2
I keep trying.
Quote:
Originally Posted by H_TeXMeX_H
What I would do is blacklist those two modules: gspca_pac7311 and gspca_main. And install it from source via the slackbuild, it should be just the gspca module.
Download everything there, put it in a directory, make the Slackbuild executable, then run the Slackbuild as root, then install the resulting packages with 'installpkg'. I believe the module blacklist is at '/etc/modprobe.d/blacklist'.
The gspcav1 from http://mxhaard.free.fr/ works until the kernel 2.6.27.7. So, I downgrade to this kernel to test the module. I used the alien slackbuild to compile the module, only to find that my camera is not supported by this module. My camera is supported in the 2.6.29.4 version (the kernel documentation says that)
Download everything there, put it in a directory, make the Slackbuild executable, then run the Slackbuild as root, then install the resulting packages with 'installpkg'. I believe the module blacklist is at '/etc/modprobe.d/blacklist'.
It seems then that it just isn't supported well enough yet. Indeed you should try the latest kernel and see if it works there, other than that, there may be no solution so far.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.