LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 06-05-2009, 09:08 PM   #1
martin.lonigro
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Genius Eye 312 not working


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.

linux-2.6.29.4/Documentation/video4linux/gspca.txt:
pac7311 093a:2622 Genius Eye 312

This camera is supported! What's wrong here? There is another (more reliable) software where I can probe this?

Thanks.
 
Old 06-07-2009, 01:33 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
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.
 
Old 06-07-2009, 08:43 PM   #3
martin.lonigro
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
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.


Here's the kernel package:

Code:
bash-3.1$ cat /var/log/packages/kernel-modules-2.6.29.4-i486-1 | grep "gspca_pac7311"
lib/modules/2.6.29.4/kernel/drivers/media/video/gspca/gspca_pac7311.ko

Here's the output of lsmod:

Code:
bash-3.1$ lsmod 
Module                  Size  Used by
snd_seq_dummy           2464  0 
snd_seq_oss            29792  0 
snd_seq_midi_event      5980  1 snd_seq_oss
snd_seq                47984  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            37728  0 
snd_mixer_oss          14300  1 snd_pcm_oss
bridge                 47344  0 
stp                     1984  1 bridge
bnep                   11964  2 
rfcomm                 35980  4 
l2cap                  21116  16 bnep,rfcomm
ipv6                  243508  26 
lp                      9316  0 
ppdev                   7200  0 
parport_pc             24004  0 
parport                30700  3 lp,ppdev,parport_pc
fuse                   54008  3 
nvidia               7227420  26 
snd_hda_codec_realtek   188544  1 
snd_usb_audio          80352  1 
snd_hda_intel          23624  8 
snd_usb_lib            15228  1 snd_usb_audio
rtl8180                28540  0 
snd_rawmidi            19040  1 snd_usb_lib
snd_hda_codec          53788  2 snd_hda_codec_realtek,snd_hda_intel
thermal                15096  0 
processor              38568  1 thermal
snd_seq_device          6088  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
thermal_sys            10756  2 thermal,processor
psmouse                41676  0 
gspca_pac7311          13276  0 
gspca_main             21564  1 gspca_pac7311
videodev               38688  1 gspca_main
i2c_piix4               8908  0 
snd_hwdep               6816  2 snd_usb_audio,snd_hda_codec
mac80211              155556  1 rtl8180
v4l1_compat            13184  1 videodev
snd_pcm                68128  6 snd_pcm_oss,snd_usb_audio,snd_hda_intel,snd_hda_codec
k8temp                  4156  0 
rtc_cmos               10124  0 
sg                     24912  0 
rtc_core               15992  1 rtc_cmos
hwmon                   2104  2 thermal_sys,k8temp
atl1                   30884  0 
ati_agp                 6632  0 
btusb                  11728  2 
rtc_lib                 2332  1 rtc_core
snd_timer              19108  4 snd_seq,snd_pcm
mii                     4380  1 atl1
snd                    50820  27 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_usb_audio,snd_hda_intel,snd_rawmidi,snd_hda_codec,snd_seq_device,snd_hwdep,snd_pcm,snd_timer
evdev                   9152  3 
bluetooth              52068  8 bnep,rfcomm,l2cap,btusb
serio_raw               5024  0 
eeprom_93cx6            1692  1 rtl8180
soundcore               5824  1 snd
agpgart                29256  2 nvidia,ati_agp
snd_page_alloc          7972  2 snd_hda_intel,snd_pcm
button                  5708  0 
cfg80211               36436  2 rtl8180,mac80211

Quote:
Originally Posted by H_TeXMeX_H View Post
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.
 
Old 06-07-2009, 09:44 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
Moved: moved at OPs request.
 
Old 06-08-2009, 03:05 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
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.
 
Old 06-09-2009, 07:42 PM   #6
martin.lonigro
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
So, you think compiling it by hand will make it work?

It seems that the package from:
http://mxhaard.free.fr/download.html
is not working with the new kernel version (2.6.29.4).

here is the output:
Code:
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 View Post
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.
 
Old 06-10-2009, 09:43 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Use the slackbuild by Alien Bob, I posted the link earlier:
http://www.slackware.com/~alien/slac...gspcav1/build/

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'.
 
Old 06-16-2009, 09:33 PM   #8
martin.lonigro
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, this is the status:

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)

I want to try with the kernel 2.6.30.

Thanks.


Quote:
Originally Posted by H_TeXMeX_H View Post
Use the slackbuild by Alien Bob, I posted the link earlier:
http://www.slackware.com/~alien/slac...gspcav1/build/

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'.
 
Old 06-17-2009, 02:58 AM   #9
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
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.
 
  


Reply

Tags
eye, genius


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Genius 312 webcam - compatible linux drivers? Nic Deane Linux - Newbie 4 05-29-2008 08:10 AM
LXer: Browser developers meet, see eye to eye on security LXer Syndicated Linux News 0 12-26-2005 02:31 PM
ADSL with ECI B-FOCuS 312+ under Slackware 9.1 ? diam0nd Linux - Networking 1 02-26-2005 12:10 PM
eci Router B-FOCus 312+ (Help!) Infernal211283 Linux - Networking 0 02-12-2005 02:56 PM
fa311, not 312 on RH72 PLEASE HELP myra Linux - Networking 4 07-28-2002 07:46 AM


All times are GMT -5. The time now is 07:05 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration