Web lists-archives.com

Re: [Spca50x-devs] problem installing Logitech quickcam chat




vender/product id 046d:092e
I checked the supported chart and it lists 3 entries for chat where the vender 
matches 046d.
http://mxhaard.free.fr/spca5xx.html

uname -a
Linux swordfish 2.6.18-gentoo-r2 #2 SMP PREEMPT Wed Jan 10 13:35:08 EST 2007 
i686 Pentium II (Deschutes) GenuineIntel GNU/Linux

lspci -v | grep HCI
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) 
(prog-if 00 [UHCI])

lsusb
Bus 001 Device 004: ID 046d:092e Logitech, Inc. 
Bus 001 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 001 Device 001: ID 0000:0000  
Bus 001 Device 002: ID 050d:0414 Belkin Components 

swordfish ~ # lsmod
Module                  Size  Used by
snd_ens1370            15460  0 
snd_rawmidi            18656  1 snd_ens1370
snd_pcm                75748  1 snd_ens1370
snd_timer              21764  1 snd_pcm
snd_ak4531_codec        7808  1 snd_ens1370
snd                    41720  5 
snd_ens1370,snd_rawmidi,snd_pcm,snd_timer,snd_ak4531_codec
snd_page_alloc          8168  2 snd_ens1370,snd_pcm
dm_mod                 54232  11 
spca5xx               689232  0 
tuner                  62728  0 
bttv                  170804  0 
video_buf              20580  1 bttv
firmware_class          8320  1 bttv
ir_common              24420  1 bttv
compat_ioctl32          1216  1 bttv
i2c_algo_bit            8680  1 bttv
btcx_risc               4200  1 bttv
tveeprom               14128  1 bttv
i2c_core               17920  4 tuner,bttv,i2c_algo_bit,tveeprom
videodev               24288  2 spca5xx,bttv
v4l1_compat            13668  1 videodev
v4l2_common            21184  3 tuner,bttv,videodev


dmesg end excerpt (at point cam activates)
hub 1-2:1.0: debounce: port 3: total 100ms stable 100ms status 0x100
hub 1-2:1.0: state 7 ports 4 chg 0000 evt 0008
hub 1-2:1.0: port 3, status 0101, change 0001, 12 Mb/s
hub 1-2:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
usb 1-2.3: new full speed USB device using uhci_hcd and address 5
usb 1-2.3: ep0 maxpacket = 8
usb 1-2.3: default language 0x0409
usb 1-2.3: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2.3: Product: Camera
usb 1-2.3: Manufacturer:         
usb 1-2.3: uevent
usb 1-2.3: configuration #1 chosen from 1 choice
usb 1-2.3: adding 1-2.3:1.0 (config #1, interface 0)
usb 1-2.3:1.0: uevent
drivers/usb/core/inode.c: creating file '005'
hub 1-2:1.0: state 7 ports 4 chg 0000 evt 0008

no devices appear to be new in /dev
I already have 2 cams video0 and video1 from bt848 interface controller cards
Do I have to manaually do a mknode? and map some USB dev to video?

swordfish ~ # ls -la /dev/vid*
lrwxrwxrwx 1 root root 10 Jan 10 10:13 /dev/video0 -> v4l/video0
lrwxrwxrwx 1 root root 10 Jan 10 10:13 /dev/video1 -> v4l/video1
swordfish ~ # ls -la /dev/v4l
total 0
drwxr-xr-x  2 root root      120 Jan 10 10:13 .
drwxr-xr-x 16 root root    13160 Jan 10 15:59 ..
crw-rw----  1 root video 81, 224 Jan 10 10:13 vbi0
crw-rw----  1 root video 81, 225 Jan 10 10:13 vbi1
crw-rw----  1 root video 81,   0 Jan 10 10:13 video0
crw-rw----  1 root video 81,   1 Jan 10 10:13 video1


I have emerged the spca5xx driver per some install instructions at the wiki.
The URL at top shows that (chat) does appear to have some of the product ids 
working.
92C, E, F (mine obviously being the 'E' or olive supported by spca561a.
exact driver emerged is most current in portage tree
spca5xx-20060501.ebuild
I compiled the special kernel obviously to get this far. At first I was not 
seeing much when I plugged in the cam but now I uncluded the verbose option 
so I am not sure if I am getting the proper response in dmesg or just seeing 
the verbose effect.

I did however note a solid issue in the emerge process.
Initially it would end in some error related to V4L2 support being needed. 
Noting it was there 
I actually just compiled the kernel with V4L in the kernel and then again back 
to modular.
After that the emerge appeared to work not sure why.
There was also some complaining about finding source when in fact
/usr/src/linux was pointing to the correct kernel version source.
I know this because to do compiles I cd to the symlink linux.

I am also not convinced I might be missing some obtuse setting in the kernel 
configuration.
It seems to know there is a camera there. But where I go next is a big 
question.

Thanks for any leads.
-Walt

-------------------------------------------------------------------------
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