You are not logged in.

#1 2010-06-23 03:00:32

Meister
Member
From: USA
Registered: 2010-05-11
Posts: 47

Webcam help

I've followed everything regarded in the Wiki for webcams. I'm using a Quickcam Pro 4000, have the pwc in my rc.conf, etc.

dmesg | tail

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)

I've tried using emesene, it doesn't even recognize my webcam. I've also tried guvcview, and all I get is a black screen, but the light on my webcam lights up. Here's some output from it.

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

Not really sure what to make of this, any suggestions as to how I can get this working?

Offline

#2 2010-06-25 04:08:57

Revxx
Member
Registered: 2010-06-24
Posts: 3

Re: Webcam help

Did you try the LD_PRELOAD vars?

http://wiki.archlinux.org/index.php/Web … our_webcam

Last time i had problems with a webcam, those solved my problems.

Offline

#3 2010-06-25 22:23:49

Meister
Member
From: USA
Registered: 2010-05-11
Posts: 47

Re: Webcam help

Yep, I've tried those LD_PRELOAD vars, and it didn't help. Still a black screen on guvcview.

Offline

#4 2010-07-17 21:55:59

Meister
Member
From: USA
Registered: 2010-05-11
Posts: 47

Re: Webcam help

Sorry if bumping this is not allowed, but it's been quite a long time and unfortunatly I still can't figure out why my webcam won't run. Any more suggestions would be greatly appreciated.

Offline

#5 2010-07-17 23:43:37

awkwood
Member
From: .au <=> .ca
Registered: 2009-04-23
Posts: 91

Re: Webcam help

You could use MPlayer to test if the webcam works.

mplayer tv:// -tv driver=v4l2:device=/dev/video0 &

Offline

#6 2010-07-18 01:30:42

Meister
Member
From: USA
Registered: 2010-05-11
Posts: 47

Re: Webcam help

Well I just downloaded mplayer, but trying that gives me this:

[matt@LinuxElite ~]$ mplayer tv:// -tv driver=v4l2:device=/dev/video0 &
[1] 10045
[matt@LinuxElite ~]$ MPlayer SVN-r31630-4.5.0 (C) 2000-2010 MPlayer Team
156 audio & 340 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Idk if this has to do with just dling mplayer and not configuring it correctly, or if it's just another sign of my webcam not working.

Offline

#7 2010-07-18 01:43:35

awkwood
Member
From: .au <=> .ca
Registered: 2009-04-23
Posts: 91

Re: Webcam help

Not sure if it's a dependency of MPlayer, but do you have libv4l installed?
Also check to see if /dev/video0 exists on your machine.

Offline

#8 2010-07-18 03:51:20

Meister
Member
From: USA
Registered: 2010-05-11
Posts: 47

Re: Webcam help

Yep, libv4l is installed, and /dev/video0 exists.

[matt@LinuxElite dev]$ v4l-conf
v4l-conf: using X11 display :0.0
dga: version 2.0
WARNING: No DGA direct video mode for this display.
mode: 1280x1024, depth=24, bpp=32, bpl=5120, base=unknown
/dev/video0 [v4l2]: no overlay support

Offline

Board footer

Powered by FluxBB