LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-15-2009, 10:45 AM   #1
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Logitech Webcam not working


Kind of says it all..

lsusb:
Code:
bash-3.1$ /sbin/lsusb
Bus 001 Device 004: ID 03f0:7f11 Hewlett-Packard 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0fca:0001 Research In Motion, Ltd. Blackberry Handheld
Bus 002 Device 003: ID 046d:08d9 Logitech, Inc. QuickCam IM/Connect
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046e:5542 Behavior Tech. Computer Corp.
So device is 046d:08d9

lsmod ouput:
Code:
 bash-3.1$ /sbin/lsmod
Module                  Size  Used by
snd_seq_dummy           3172  0 
snd_seq_oss            33536  0 
snd_seq_midi_event      7264  1 snd_seq_oss
snd_seq                56320  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            42976  0 
snd_mixer_oss          16768  1 snd_pcm_oss
ipv6                  288704  18 
pcmcia                 36824  0 
pcmcia_core            36804  1 pcmcia
lp                     11972  0 
ppdev                   8488  0 
parport_pc             28200  0 
parport                36752  3 lp,ppdev,parport_pc
fuse                   60096  1 
snd_usb_audio          97408  1 
snd_usb_lib            17728  1 snd_usb_audio
snd_rawmidi            22784  1 snd_usb_lib
snd_seq_device          7188  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_hda_codec_realtek   253956  1 
nvidia              10314920  36 
gspca_zc3xx            51616  0 
snd_hda_intel          27176  2 
gspca_main             25344  1 gspca_zc3xx
snd_hda_codec          60192  2 snd_hda_codec_realtek,snd_hda_intel
videodev               43168  1 gspca_main
v4l1_compat            15364  1 videodev
v4l2_compat_ioctl32    10912  1 videodev
snd_hwdep               8456  2 snd_usb_audio,snd_hda_codec
snd_pcm                80872  4 snd_pcm_oss,snd_usb_audio,snd_hda_intel,snd_hda_codec
thermal                18880  0 
snd_timer              22256  2 snd_seq,snd_pcm
processor              43960  1 thermal
psmouse                46748  0 
i2c_nforce2             7496  0 
snd                    65000  19 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_rawmidi,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
rtc_cmos               11928  0 
thermal_sys            13088  2 thermal,processor
soundcore               7168  1 snd
rtc_core               19652  1 rtc_cmos
usblp                  13568  0 
k8temp                  5344  0 
snd_page_alloc          9616  2 snd_hda_intel,snd_pcm
serio_raw               6116  0 
rtc_lib                 2880  1 rtc_core
forcedeth              59696  0 
hwmon                   2728  2 thermal_sys,k8temp
evdev                  11392  8 
button                  7328  0
So it loads gspca_zc3xx, but it obviously doesn't work.

Runiing 13 64bit, full install, default kernel
 
Old 10-15-2009, 11:36 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,790
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
My Logitech webcams usually work well with the uvcvideo driver. Have you tried that?
 
Old 10-15-2009, 12:01 PM   #3
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
From what I understand, it's not a uvc cam.

What do I need to do (Step by step) to get this to work?

13 64bit, full, multilib, default kernel, skype 2.0
 
Old 10-15-2009, 12:10 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
Other threads mention libv4l1 compat.so. I d/l, slackbuilt it, and now it's in /usr/lib64/libv4l/v4l1compat.so

Using
Code:
LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so skype
does not work.

I'm assuming I have a 32-bit skype. How do I get the 32bit 4vl1compat.so?

Last edited by cwwilson721; 10-15-2009 at 12:11 PM.
 
Old 10-15-2009, 01:40 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I think we should try to diagnose Skype issues separately from webcam issues. Don't use skype to test if the camera works, because you may be working on the wrong solution. When you plug the camera in, if it works there should be a /dev/video0 or something like that.

I think you might want to try this slackbuild if it won't build properly:
http://connie.slackware.com/~alien/s...gspcav1/build/
 
Old 10-15-2009, 01:47 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
There is a /dev/video0, skype (Actually, ALL vid apps see the dev), but only output is a green, static filled screen.

It's a 'well known' issue, which is why I asked about the 32 bit compat lib. I can't find it. Ideas?
 
Old 10-15-2009, 02:00 PM   #7
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 49
http://slackware.org.uk/3rd-party/alien/multilib/README

Does that multi lib have any to do with what you seek?

BTW when yet more 'round to its befall onto me is when I'll do that multi lib on my 13.0 64 bit.

--
Alan.
 
Old 10-15-2009, 02:24 PM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
What's strange is that it is loading 'gspca_main' instead of just 'gspca', do try the slackbuild.
 
Old 10-15-2009, 02:56 PM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
Quote:
Originally Posted by acummings View Post
http://slackware.org.uk/3rd-party/alien/multilib/README

Does that multi lib have any to do with what you seek?

BTW when yet more 'round to its befall onto me is when I'll do that multi lib on my 13.0 64 bit.

--
Alan.
Well, if skype is 32bit, it need the 32bit compat lib

And, no, not really. I did follow his guide to make this multilib, tho.

I was figuring since the 64bit compat doesn't work, maybe the 32bit one will.

And it works MARVELOUS And was VERY easy
 
Old 10-15-2009, 02:57 PM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
Quote:
Originally Posted by H_TeXMeX_H View Post
What's strange is that it is loading 'gspca_main' instead of just 'gspca', do try the slackbuild.
What slackbuild?
 
Old 10-15-2009, 03:36 PM   #11
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I posted it in my earlier post:
http://connie.slackware.com/~alien/s...gspcav1/build/
 
Old 10-15-2009, 03:58 PM   #12
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
It fails miserably

SlackBuild modified with arch as x86_64
Code:
sh gsp*.SlackBuild                               
++                                                         
|| gspcav1-20071224                                        
++                                                         
Extracting the source archive(s) for gspcav1...            
gspcav1-20071224/                                          
gspcav1-20071224/decoder/                                  
gspcav1-20071224/decoder/gspcadecoder.c                    
gspcav1-20071224/decoder/gspcadecoder.h                    
gspcav1-20071224/decoder/gspcadecoder-OSX.c                
gspcav1-20071224/decoder/gspcadecoder-OSX.h                
gspcav1-20071224/Makefile                                  
gspcav1-20071224/Vimicro/                                  
gspcav1-20071224/Vimicro/vc032x_sensor.h                   
gspcav1-20071224/Vimicro/zc3xx.h                           
gspcav1-20071224/Vimicro/cs2102.h                          
gspcav1-20071224/Vimicro/vc032x.h                          
gspcav1-20071224/Vimicro/pas106b.h                         
gspcav1-20071224/Vimicro/icm105a.h                         
gspcav1-20071224/Vimicro/hv7131b.h                         
gspcav1-20071224/Vimicro/hv7131c.h                         
gspcav1-20071224/Vimicro/pb0330.h                          
gspcav1-20071224/Vimicro/ov7630c.h                         
gspcav1-20071224/Vimicro/mc501cb.h                         
gspcav1-20071224/Vimicro/tas5130c_vf0250.h                 
gspcav1-20071224/Vimicro/ov7620.h                          
gspcav1-20071224/Vimicro/tas5130c.h                        
gspcav1-20071224/Vimicro/hdcs2020.h                        
gspcav1-20071224/Etoms/                                    
gspcav1-20071224/Etoms/et61xx51.h                          
gspcav1-20071224/Sonix/                                    
gspcav1-20071224/Sonix/sn9cxxx.h                           
gspcav1-20071224/Sonix/sonix.h                             
gspcav1-20071224/utils/                                    
gspcav1-20071224/utils/spcagamma.h                         
gspcav1-20071224/utils/spcausb.h                           
gspcav1-20071224/utils/spcaCompat.h                        
gspcav1-20071224/Conexant/                                 
gspcav1-20071224/Conexant/cx11646.h                        
gspcav1-20071224/Conexant/cxlib.h                          
gspcav1-20071224/Pixart/                                   
gspcav1-20071224/Pixart/pac207-OSX.h                       
gspcav1-20071224/Pixart/pac7311.h                          
gspcav1-20071224/Pixart/pac207.h                           
gspcav1-20071224/changelog                                 
gspcav1-20071224/license                                   
gspcav1-20071224/gspca_core.c                              
gspcav1-20071224/Transvision/                              
gspcav1-20071224/Transvision/tv8532.h                      
gspcav1-20071224/Makefile.kld                              
gspcav1-20071224/gspca.h                                   
gspcav1-20071224/Sunplus/                                  
gspcav1-20071224/Sunplus/spca501.dat                       
gspcav1-20071224/Sunplus/spca505.dat                       
gspcav1-20071224/Sunplus/spca508.dat                       
gspcav1-20071224/Sunplus/spca561-OSX.h                     
gspcav1-20071224/Sunplus/spca506.h                         
gspcav1-20071224/Sunplus/spca561.h                         
gspcav1-20071224/Sunplus/spca501_init.h                    
gspcav1-20071224/Sunplus/spca508_init-OSX.h                
gspcav1-20071224/Sunplus/spca508_init.h                    
gspcav1-20071224/Sunplus/spca501_init-OSX.h                
gspcav1-20071224/Sunplus/spca505_init.h                    
gspcav1-20071224/Sunplus-jpeg/                             
gspcav1-20071224/Sunplus-jpeg/spca500.dat                  
gspcav1-20071224/Sunplus-jpeg/jpeg_qtables.h               
gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h                   
gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.dat                 
gspcav1-20071224/Sunplus-jpeg/spca500_init.h               
gspcav1-20071224/gspca_build                               
gspcav1-20071224/READ_AND_INSTALL                          
gspcav1-20071224/Mars-Semi/                                
gspcav1-20071224/Mars-Semi/mr97311.h                       
gspcav1-20071224/cutlog.py                                 
patching file gspca.h                                      
patching file gspca_core.c                                 
patching file Makefile
Building ...
make -C /lib/modules/2.6.29.6/build SUBDIRS=/tmp/build/tmp-gspcav1/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.29.6'
  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:2604: error: 'v4l_compat_ioctl32' undeclared here (not in a function)
/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.6'
make: *** [default] Error 2
install: cannot stat `gspca.ko': No such file or directory
gspcav1.SlackBuild FAILED at line 183!
With arch as -i486:Same failure

I figure it's because this is a 64bit kernel, and different versions

Last edited by cwwilson721; 10-15-2009 at 04:00 PM.
 
Old 10-15-2009, 05:33 PM   #13
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 496

Rep: Reputation: 81
think I found mine by 'vendor id' (not sure) based on some info posted here http://mxhaard.free.fr/spca5xx.html
 
Old 10-15-2009, 05:46 PM   #14
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
But IT DOESN'T WORK WITH CURRENT KERNEL IN 13/64
 
Old 10-15-2009, 06:25 PM   #15
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
Gave up. Installed VirtualBox, and it runs XP and the cam fine...

So, solved for now...
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanner not Working for HP C4480 - may be confused with Logitech webcam ed_homeLinux Linux - Hardware 5 01-12-2009 02:30 PM
Logitech webcam? BCarey Slackware 4 10-11-2006 04:14 PM
Logitech Webcam? carlosinfl Linux - Hardware 3 01-23-2006 02:58 PM
need help with my logitech webcam jordy22 Linux - Hardware 1 01-24-2005 07:33 PM
Logitech Webcam Angelis Linux - General 1 11-29-2003 06:26 AM


All times are GMT -5. The time now is 04:46 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration