LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-08-2007, 12:10 AM   #1
kky
LQ Newbie
 
Registered: Nov 2005
Posts: 10

Rep: Reputation: 0
logitech webcam 5000pro and uvcvideo module


i'm having some problems with logitech webcam 5000pro and uvcvideo module.

$ dmesg |grep uvc
uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c5)
usbcore: registered new driver uvcvideo
uvcvideo: Failed to query (132) UVC control 4 (unit 2) : -32.

# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 04d9:0499 Holtek Semiconductor, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 046d:08c5 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000

this is the output of amsn when i go on configure webcam:
$ amsn
dlsym[./utils/linux/capture/libng/plugins/drv0-v4l2.so]: ./utils/linux/capture/libng/plugins/drv0-v4l2.so: undefined symbol: _ng_plugin_init
dlsym[./utils/linux/capture/libng/plugins/drv1-v4l.so]: ./utils/linux/capture/libng/plugins/drv1-v4l.so: undefined symbol: _ng_plugin_init
WARNING: no plugins found [/var/tmp/portage/amsn-0.95-r3/work/amsn-0.95]

and on configure webcam->change video settings-> v4l/v4l-2 i get the message: Error getting capabilities
ekiga dosnt give me any msg, the best i've reached is to get the light of the webcam on for a second with xawtv:

$ xawtv -c /dev/video0
This is xawtv-3.95, running on Linux/i686 (2.6.18-gentoo-r6)
WARNING: v4l-conf is compiled without DGA support.
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOC_QUERYCTRL(id=9963795;type=unknown;name="";minimum=0;maximum=0;step=0;default_value=0;flags=0) : Input/output error
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOC_G_STD(std=0xbffdb494 [PAL_G,PAL_I,PAL_K,PAL_Nc,NTSC_M,NTSC_M_JP,?,SECAM_B,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8 _VSB,ATSC_16_VSB,(null),(null),(null),(null),(null),(null)]): Invalid argument
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0 ;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Invalid argument
Segmentation fault



# v4l-conf
v4l-conf: using X11 display :0
WARNING: v4l-conf is compiled without DGA support.
mode: 1400x1050, depth=24, bpp=32, bpl=5600, base=unknown
/dev/video0 [v4l2]: no overlay support


# v4l-info

### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "uvcvideo"
card : "USB Video Class device"
bus_info : "0000:00:1d.7"
version : 0.1.0
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]

standards

inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Camera"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []

video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 1
description : "MJPEG"
pixelformat : 0x47504a4d [MJPG]
VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
index : 1
type : VIDEO_CAPTURE
flags : 0
description : "Uncompressed"
pixelformat : 0x56595559 [YUYV]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 360
fmt.pix.pixelformat : 0x56595559 [YUYV]
fmt.pix.field : NONE
fmt.pix.bytesperline : 10240
fmt.pix.sizeimage : 460800
fmt.pix.colorspace : SRGB
fmt.pix.priv : 0

controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 255
step : 1
default_value : 32
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 255
step : 1
default_value : 32
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+0)
id : 134217728
type : INTEGER
name : "Backlight Compensation"
minimum : 0
maximum : 2
step : 1
default_value : 1
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+1)
id : 134217729
type : MENU
name : "Power Line Frequency"
minimum : 0
maximum : 2
step : 1
default_value : 2
flags : 0
VIDIOC_QUERYCTRL(PRIVATE_BASE+2)
id : 134217730
type : INTEGER
name : "Sharpness"
minimum : 0
maximum : 255
step : 1
default_value : 50
flags : 0

### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "USB Video Class device"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 48
minheight : 32

channels
ioctl VIDIOCGCHAN: Invalid argument

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
VIDIOCGPICT
brightness : 32639
hue : 0
colour : 8224
contrast : 8224
whiteness : 65535
depth : 128
palette : YUYV

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 360
chromakey : 0
flags : 0

let me know if any of the error msg are familiar to you!
thx
 
Old 07-06-2007, 12:36 PM   #2
toodr
Member
 
Registered: Jul 2004
Location: Haskovo, Bulgaria
Distribution: Slackware64-current
Posts: 52

Rep: Reputation: 13
As far as I can see you have the uvc driver installed and it recognizes the device correctly. I have the same video camera and it is working ok with my distribution (slackware11). there is one thing - this camera is actually a v4l2 device and I managed to get it going with kdetv package. it gives a very good resolution and speed. the camera has a built in microphone which is recognized as well - so absolutely no problem. it works with ekiga as well but you have to configure ekiga to use v4l2 driver and not v4l.
make sure you have: v4l2_common, v4l1_compat, videodev, compat_ioctl32, uvcvideo, snd_hwdep, snd_usb_lib, snd_usb_audio drivers loaded. you can check that with lsmod in the konsole. if you have udev daemon running then all the above drivers should be loaded automatically. also make sure you have /dev/v4l/video0 and /dev/video0 created after you plug in the camera .these two files would have root as owner and group "video". I had a ready made package for slackware11 (from http://www.linuxpackages.net/)so I just installed it (didn't have to compile that). If you dont't find a package for your distribution you'll have to compile it from source. But you shouldn't worry - everything that comes out of kde compiles nicely.
 
  


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
trouble with Logitech webcam Ultra Vision using uvcvideo with VLC pisti Linux - Software 0 11-17-2006 01:49 AM
Logitech webcam? BCarey Slackware 4 10-11-2006 05:14 PM
Logitech Webcam? carlosinfl Linux - Hardware 3 01-23-2006 03:58 PM
need help with my logitech webcam jordy22 Linux - Hardware 1 01-24-2005 08:33 PM
Logitech Webcam Angelis Linux - General 1 11-29-2003 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:06 PM.

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