Problem getting a Philips webcam working on Debian Lenny
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.
Having some problems with a webcam, Philips SPC 620NC running on Debian Lenny 2.6.26-1-amd64. It shows upp nicely with lsusb and dmesg gives me the company and model ID. It is suported by gspca. I have an Asus motherboard. Also of interest might be that I have an Asus tuner card in the computer (as this, too, shows up as a video capture device).
I've installed skype and ekiga and they both detect the webcam. In skype, I can see it working when I try the "test video" alternative but when I try a testcall a get "audio playback problems". In ekiga I can't get a video. (In both programs I've chosen the usb webcam as capture device).
I tried installing the gspc-module as source and compiled it successfully using module-assistant. I doesn't add the module but I've tried adding it manually and it adds fine. However, in skype and ekiga there isn't any difference in results with or without the module added.
I'm at a loss here. Video works in skype, clearly shows that the system finds and support at least video. I remember reading somewhere - maybe on this forum - that the sound module needed to be added after gspca module but now I can't find it. [slaps forehead hard] Still, in skype I can get a video *without* the gspca module loaded so I don't know it this is relevant.
I've tried to find extensive information on various forums and using google.com/linux but the conventional wisdom seem to be that if the cam is supported by the gspca package then you just compile, modprobe and are ready to go. I really don't know where to go and would appreciate any and all help I can get on this.
Here's some relevant output (maybe a bit much but I'm not sure what to look for):
lsusb: (Device 003 is the webcam)
Code:
Bus 002 Device 004: ID 059b:0277 Iomega Corp.
Bus 002 Device 003: ID 0471:0333 Philips
Bus 002 Device 002: ID 059b:005d Iomega Corp. Mass Storage Device
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0d8c:0201 C-Media Electronics, Inc. CM6501
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg | grep usb: (I guess the five last lines here is of importance but not sure how to solve this)
Code:
[ 0.229849] usbcore: registered new interface driver usbfs
[ 0.229907] usbcore: registered new interface driver hub
[ 0.229947] usbcore: registered new device driver usb
[ 1.526228] usb usb1: configuration #1 chosen from 1 choice
[ 1.628162] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.628166] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.628168] usb usb1: Product: OHCI Host Controller
[ 1.628170] usb usb1: Manufacturer: Linux 2.6.26-1-amd64 ohci_hcd
[ 1.628172] usb usb1: SerialNumber: 0000:00:02.0
[ 1.640143] usb usb2: configuration #1 chosen from 1 choice
[ 1.744206] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.744210] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.744212] usb usb2: Product: EHCI Host Controller
[ 1.744214] usb usb2: Manufacturer: Linux 2.6.26-1-amd64 ehci_hcd
[ 1.744216] usb usb2: SerialNumber: 0000:00:02.1
[ 2.380214] usb 2-1: new high speed USB device using ehci_hcd and address 2
[ 2.573676] usb 2-1: configuration #1 chosen from 1 choice
[ 2.573870] usb 2-1: New USB device found, idVendor=059b, idProduct=005d
[ 2.573872] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=2
[ 2.573874] usb 2-1: Product: USB 2.0 Storage Device
[ 2.573876] usb 2-1: SerialNumber: 01510482400000025121
[ 2.812008] usb 2-2: new high speed USB device using ehci_hcd and address 3
[ 2.950303] usb 2-2: configuration #1 chosen from 1 choice
[ 2.951832] usb 2-2: New USB device found, idVendor=0471, idProduct=0333
[ 2.951834] usb 2-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.951836] usb 2-2: Product: USB Video Camera
[ 3.188008] usb 2-4: new high speed USB device using ehci_hcd and address 4
[ 3.321678] usb 2-4: configuration #1 chosen from 1 choice
[ 3.322228] usb 2-4: New USB device found, idVendor=059b, idProduct=0277
[ 3.322231] usb 2-4: New USB device strings: Mfr=10, Product=11, SerialNumber=5
[ 3.322234] usb 2-4: Product: External HD
[ 3.322235] usb 2-4: Manufacturer: Iomega
[ 3.322237] usb 2-4: SerialNumber: 9F4FFFFFFFFF
[ 3.560695] usbcore: registered new interface driver usb-storage
[ 3.562913] usb-storage: device found at 2
[ 3.562916] usb-storage: waiting for device to settle before scanning
[ 3.562926] usb-storage: device found at 4
[ 3.562927] usb-storage: waiting for device to settle before scanning
[ 3.864006] usb 1-7: new full speed USB device using ohci_hcd and address 2
[ 4.072031] usb 1-7: configuration #1 chosen from 1 choice
[ 4.077232] usb 1-7: New USB device found, idVendor=0d8c, idProduct=0201
[ 4.077236] usb 1-7: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 4.077238] usb 1-7: Product: PnP Audio Device
[ 8.560180] usb-storage: device scan complete
[ 8.560910] usb-storage: device scan complete
[ 9.920302] usbcore: registered new interface driver uvcvideo
[ 10.247410] usbcore: registered new interface driver snd-usb-audio
[ 9918.872065] usb 2-4: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110
[ 9932.972112] usb 2-4: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110
[ 9947.684154] usb 2-4: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110
[10003.596085] usb 2-4: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110
[10042.892085] usb 2-4: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 4 ret -110
lsmod (saa7134 is the aforementioned Asus tuner card)
I see the uvcvideo dirver is loaded as well, which I'm going to guess is the module your USB Video camera is using.. since the camera was working before you compiled and install gspca.
2 Starting at version 2.6.22, the Linux kernel includes a USB audio bug fix which triggers a (possibly identical to the above) bug in first and second generation Logitech webcams. See the Linux UVC wiki for a workaround.
2 Starting at version 2.6.22, the Linux kernel includes a USB audio bug fix which triggers a (possibly identical to the above) bug in first and second generation Logitech webcams. See the Linux UVC wiki for a workaround.
Yay! That was the page I referred to in my first post, where I had read that the sound needed to get loaded first although Berlios lists my webcam as working. Still, it's was worth a shot and the workaround did the trick.
What I did was actually a variant of their work-around. I removed the uvcvideo and snd_usb_audio (simple modprobe) and then added snd_usb_audio again (it might have been sufficient to just let it remain but that's how I did it) and then re-pluggged the webcam and Viola! I have sound!
Thanks a bunch, I really appreciate the time and effort you took to help out.
Sound in flashplugin died. Couldn't for the life of me figure out why as it has worked flawless witth the plugin from the Debian Multimedia repository. I tried re-installing and I tried a bunch of them (media repository, nspluginwrapper and the alpha from adobe) but sound in flash was dead no matter what I used. Then I figured it might have something to do with the webcam, seeing that it adds a sound module and, well, sound in 64-bit flash plugins isn't the paragon of stability, When I unplugged the webcam and rebooted sound in flash was back on.
Also, my Xerox phaser 6110, which is connected via USB, also died on me at about the same time. It's still detected alright, I can see it in localhost:631 and the jobs get sent to it but they are never finished, just queued. This issue hasn't been solved by disconnecting the the webcam and rebooting but considering it stopped working when I was mucking about with the webcam, my guess is that the issues are connected, though I don't know how.
Anyway, I'm mainly posting this as a heads-up to anyone trouble-shooting the same webcam as I did but if/when I do find the solution I'll be sure to post it.
Needless to say, I'm sure, I'll gladly accept any and all ideas on how to solve this.
Best regards
/CZ
ps: On the upside, I now have a native 64-bit flash plugin. Yay. Things are shaping up on the 64-bit front. ds.
EDIT 12-01-09: I just reinstalled the printer and it seem to work just fine now. I'll try to reinstall the webcam in the comning days just to see if this weird effect is reproduced. I'll post back any findings.
Last edited by Count Zero; 01-12-2009 at 03:01 PM..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.