LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Webcam issues (http://www.linuxquestions.org/questions/linux-hardware-18/webcam-issues-816700/)

Darkestfilth 06-27-2010 08:13 PM

Webcam issues
 
I've been having issues getting my webcam to work ever since I installed Arch Linux. It did work in Ubuntu/Kubuntu. Now, when trying to view it in guvcview, all I get is a black screen, but the light on the camera is on. I've also tried emesene, but it doesn't even recognize my webcam.

I'm using a Logitech Quickcam 4000, and I've got the right driver to load on boot.

dmesg | tail

Code:

pwc: Logitech QuickCam 4000 Pro USB webcam detected.
pwc: Registered as video0.
input: PWC snapshot button as /devices/pci0000:00/0000:00:0b.0/usb2/2-4/input/input7
usbcore: registered new interface driver snd-usb-audio
r8169 0000:05:00.0: eth0: link up
r8169 0000:05:00.0: eth0: link up
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present
fuse init (API version 7.13)

Output from guvcview:

Code:

guvcview 1.3.1

(guvcview:12284): Gtk-WARNING **: Unable to locate theme engine in module_path: "mist",

(guvcview:12284): Gtk-WARNING **: Unable to locate theme engine in module_path: "mist",
video device: /dev/video0
/dev/video0 - device 1
Init. Logitech QuickCam Pro 4000 (location: usb-0000:00:0b.0-4)
{ pixelformat = 'PWC2', description = 'Raw Philips Webcam' }
  { not supported - request format(843274064) support at http://guvcview.berlios.de }
{ pixelformat = 'YU12', description = '4:2:0, planar, Y-Cb-Cr' }
{ discrete: width = 160, height = 120 }
    Time interval between frame: 1/5, 1/10, 1/15, 1/20, 1/25, 1/30,
{ discrete: width = 320, height = 240 }
    Time interval between frame: 1/5, 1/10, 1/15, 1/20, 1/25, 1/30,
{ discrete: width = 640, height = 480 }
    Time interval between frame: 1/5, 1/10, 1/15,
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 160, height = 120 }
    Time interval between frame: 1/5, 1/10, 1/15, 1/20, 1/25, 1/30,
{ discrete: width = 320, height = 240 }
    Time interval between frame: 1/5, 1/10, 1/15, 1/20, 1/25, 1/30,
{ discrete: width = 640, height = 480 }
    Time interval between frame: 1/5, 1/10, 1/15,
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 160, height = 120 }
    Time interval between frame: 1/5, 1/10, 1/15, 1/20, 1/25, 1/30,
{ discrete: width = 320, height = 240 }
    Time interval between frame: 1/5, 1/10, 1/15, 1/20, 1/25, 1/30,
{ discrete: width = 640, height = 480 }
    Time interval between frame: 1/5, 1/10, 1/15,
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 160, height = 120 }
    Time interval between frame: 1/5, 1/10, 1/15, 1/20, 1/25, 1/30,
{ discrete: width = 320, height = 240 }
    Time interval between frame: 1/5, 1/10, 1/15, 1/20, 1/25, 1/30,
{ discrete: width = 640, height = 480 }
    Time interval between frame: 1/5, 1/10, 1/15,
vid:046d
pid:08b2
driver:pwc
checking format: 842093913
Unable to set 1/5 fps
VIDIOC_S_PARM error: Invalid argument
VIDIOC_G_PARM - Unable to get timeperframe: Invalid argument
fps is set to 1/5
V4L2_CTRL_FLAG_NEXT_CTRL not supported
fps is set to 1/5
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable
 Could not grab image (select timeout): Resource temporarily unavailable

Any help or suggestions would be GREATLY appreciated. Thanks!

H_TeXMeX_H 06-28-2010 04:24 AM

Can you post the output of 'lsusb', because this camera isn't listed anywhere.

Darkestfilth 06-28-2010 01:59 PM

Sure

Code:

Bus 002 Device 003: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 002 Device 002: ID 046d:c317 Logitech, Inc. Wave Corded Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


H_TeXMeX_H 06-28-2010 02:14 PM

I see, so then it does use the pwc driver.

Hmm, have you tried different format options like 'guvcview --format=jpeg' or something.

Darkestfilth 06-28-2010 10:07 PM

Nope, just tried and it's still a black screen. Also, as was said it's not just guvcview's fault. I can't even get the webcam to be recognized in instant messenger programs like emesense. Guvcview atleast recognizes the webcam, but alas no picture.


All times are GMT -5. The time now is 09:49 PM.