I dug a little deeper into this.
Before I this I didn't know how to set the trace level for a kernel
module, but now I think I do.
At least this
>sudo modprobe uvcvideo trace=0xffff
made the module very talkative:
The first messages seem to belong to the startup phase of the driver.
At [284.099774] i started luvcview
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790239] uvcvideo: Probing
generic UVC device 4.4
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790251] uvcvideo: Found
format MJPEG.
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790253] uvcvideo: - 160x120
(30.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790256] uvcvideo: - 176x144
(30.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790258] uvcvideo: - 320x240
(15.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790261] uvcvideo: - 352x288
(15.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790263] uvcvideo: - 640x480
(15.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790265] uvcvideo: Found
format Uncompressed.
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790267] uvcvideo: - 160x120
(30.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790269] uvcvideo: - 176x144
(30.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790272] uvcvideo: - 320x240
(15.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790274] uvcvideo: - 352x288
(15.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790276] uvcvideo: - 640x480
(15.0 fps)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790283] uvcvideo: Found a
Status endpoint (addr 87).
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790286] uvcvideo: Found UVC
1.00 device <unnamed> (046d:08ce)
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790288] uvcvideo: Scanning
UVC chain: OT 5 <- Unit 4 <- Unit 3 <- Unit 2 <- IT 1
Feb 14 23:54:47 fnk64-desktop kernel: [ 244.790293] uvcvideo: Found a
valid video chain (1 -> 5).
Feb 14 23:54:48 fnk64-desktop kernel: [ 244.799665] uvcvideo: UVC
device initialized.
Feb 14 23:54:48 fnk64-desktop kernel: [ 244.799725] usbcore: registered
new interface driver uvcvideo
Feb 14 23:54:48 fnk64-desktop kernel: [ 244.799797] USB Video Class
driver (v0.1.0-c)
Feb 14 23:54:48 fnk64-desktop NetworkManager: <debug
info>^I[1171493688.045799] nm_hal_device_added (): New device added (hal
udi is
'/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_video4linux').
Feb 14 23:55:14 fnk64-desktop kernel: [ 255.904563] usbcore:
deregistering interface driver uvcvideo
Feb 14 23:55:14 fnk64-desktop NetworkManager: <debug
info>^I[1171493714.727154] nm_hal_device_removed (): Device removed (hal
udi is
'/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_video4linux').
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.893769] Linux video capture
interface: v2.00
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895334] uvcvideo: Probing
generic UVC device 4.4
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895347] uvcvideo: Found
format MJPEG.
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895349] uvcvideo: - 160x120
(30.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895352] uvcvideo: - 176x144
(30.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895354] uvcvideo: - 320x240
(15.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895357] uvcvideo: - 352x288
(15.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895359] uvcvideo: - 640x480
(15.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895361] uvcvideo: Found
format Uncompressed.
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895363] uvcvideo: - 160x120
(30.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895365] uvcvideo: - 176x144
(30.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895368] uvcvideo: - 320x240
(15.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895370] uvcvideo: - 352x288
(15.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895372] uvcvideo: - 640x480
(15.0 fps)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895381] uvcvideo: Found a
Status endpoint (addr 87).
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895384] uvcvideo: Found UVC
1.00 device <unnamed> (046d:08ce)
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895387] uvcvideo: Scanning
UVC chain: OT 5 <- Unit 4 <- Unit 3 <- Unit 2 <- IT 1
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.895392] uvcvideo: Found a
valid video chain (1 -> 5).
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.904850] uvcvideo: UVC
device initialized.
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.904917] usbcore: registered
new interface driver uvcvideo
Feb 14 23:55:33 fnk64-desktop kernel: [ 263.904986] USB Video Class
driver (v0.1.0-c)
Feb 14 23:55:33 fnk64-desktop NetworkManager: <debug
info>^I[1171493733.983507] nm_hal_device_added (): New device added (hal
udi is
'/org/freedesktop/Hal/devices/usb_device_46d_8ce_DD8DC2A1_video4linux').
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.099774] uvcvideo: uvc_v4l2_open
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.099824] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.099827] v4l2 ioctl
VIDIOC_QUERYCAP, dir=r- (0x80685600)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.099918] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.099956] v4l2 ioctl
VIDIOC_S_FMT, dir=rw (0xc0d05605)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.099959] uvcvideo: Trying
format 0x47504a4d (MJPG): 320x240.
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.099962] uvcvideo: Using
default frame interval 66666.6 us (15.0 fps).
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.119175] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.119228] v4l2 ioctl
VIDIOC_S_PARM, dir=rw (0xc0cc5616)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.119231] uvcvideo: Setting
frame interval to 1/15 (666666).
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.135809] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.135812] v4l2 ioctl
VIDIOC_REQBUFS, dir=rw (0xc0145608)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.135925] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.135927] v4l2 ioctl
VIDIOC_QUERYBUF, dir=rw (0xc0585609)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136025] uvcvideo: uvc_v4l2_mmap
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136069] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136071] v4l2 ioctl
VIDIOC_QUERYBUF, dir=rw (0xc0585609)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136172] uvcvideo: uvc_v4l2_mmap
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136218] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136219] v4l2 ioctl
VIDIOC_QUERYBUF, dir=rw (0xc0585609)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136319] uvcvideo: uvc_v4l2_mmap
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136371] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136373] v4l2 ioctl
VIDIOC_QUERYBUF, dir=rw (0xc0585609)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136476] uvcvideo: uvc_v4l2_mmap
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136522] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136524] v4l2 ioctl
VIDIOC_QBUF, dir=rw (0xc058560f)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136525] uvcvideo: Queuing
buffer 0.
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136665] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136667] v4l2 ioctl
VIDIOC_QBUF, dir=rw (0xc058560f)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136669] uvcvideo: Queuing
buffer 1.
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136809] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136811] v4l2 ioctl
VIDIOC_QBUF, dir=rw (0xc058560f)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136812] uvcvideo: Queuing
buffer 2.
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136953] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136955] v4l2 ioctl
VIDIOC_QBUF, dir=rw (0xc058560f)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.136957] uvcvideo: Queuing
buffer 3.
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.165685] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.165691] v4l2 ioctl
VIDIOC_STREAMON, dir=-w (0x40045612)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.165967] uvcvideo:
uvc_v4l2_ioctl
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.165970] v4l2 ioctl
VIDIOC_DQBUF, dir=rw (0xc0585611)
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.166061] uvcvideo: Dequeuing
buffer 0.
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.171785] uvcvideo: Dropping
packet (out of sync).
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.171788] uvcvideo: Dropping
packet (out of sync).
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.171790] uvcvideo: Dropping
packet (out of sync).
Feb 14 23:56:19 fnk64-desktop kernel: [ 284.171791] uvcvideo: Dropping
packet (out of sync).
Martin Funk schrieb:
> Hi Laurent,
>
> >luvcview
>
> response with this on the shell:
>
> luvcview version 0.2.0
> Video driver: x11
> A window manager is available
> video /dev/video0
>
>
> a new window with the title "LUVCview(c)Laurent Pinchart && Michel Xhaard"
> is opened.
> The green light on the cam is turned on.
> There are no messages in any log file, but: No pictures to be seen
> nowhere :-(
>
> luvcview seems to see the device though, since:
> >luvcview -L
> luvcview version 0.2.0
> Video driver: x11
> A window manager is available
> video /dev/video0
> /dev/video0 does not support read i/o
> { pixelformat = 'MJPG', description = 'MJPEG' }
> { pixelformat = 'YUYV', description = 'Uncompressed' }
>
> Also uvcvideo seems to see something of the device, since a push on the
> cam button leads to this entry:
> Feb 14 10:41:52 fnk64-desktop kernel: [ 1505.024051] uvcvideo: Button
> event (1).
> Feb 14 10:41:52 fnk64-desktop kernel: [ 1505.123872] uvcvideo: Button
> event (0).
> in the syslog.
>
> The XWindow can't be closed either. luvcvideo responses with "Stop
> asked" but doesn't close the window.
> To close the window I do a kill -9 on luvcvideo.
>
> By the way Ekiga can't drive the video either, but it can drive the
> cam's microphone.
>
> Anything else, I can do to assist?
>
> Martin
>
> Laurent Pinchart schrieb:
>
>> Hi Martin,
>>
>>
>>
>>> I just got myself a QuickCam Pro 5000 046d:08ce
>>> it runs using Windows, but using Linux I have problems
>>>
>>> When I plug in the cam ist is recognized by lsusb:
>>> Bus 002 Device 019: ID 046d:08ce Logitech, Inc.
>>>
>>>
>>>
>> [...]
>>
>>
>>> Linux video capture interface: v2.00
>>> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08ce)
>>>
>>>
>> This line is good news, it means the driver recognised your webcam and
>> initialised it successfully.
>>
>>
>>
>>> usbcore: registered new interface driver uvcvideo
>>> USB Video Class driver (v0.1.0-c)
>>>
>>> and a
>>> crw-rw---- 1 root video 81, 0 2007-02-13 17:43 /dev/video0
>>> is created.
>>>
>>>
>> That's good too.
>>
>>
>>
>>> Unfortunately when I start
>>>
>>> >xawtv
>>>
>>> The little green lamp is turned on but I see this on the shell
>>>
>>>
>> xawtv is not known to work the the Linux UVC driver. Could you try luvcview
>> and see if you're more successful ?
>>
>> Best regards,
>>
>> Laurent Pinchart
>>
>>
>>
>
> _______________________________________________
> Linux-uvc-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>
>
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel