Tim Small
2015-06-01 13:59:30 UTC
Hi,
I'm trying to use the hardware h264 encode on an HP Webcam HD 5210 (HP
LR374AA rev 1.0).
Not having any luck so far, using the 3.16 kernel on Debian Jessie
(uvcvideo 1.1.1) - guvcview (2.0.1) locks up when switching to h264
mode, and I get this in the kernel messages when running "guvcview -u h264":
[365423.303745] usb 2-1.8: new high-speed USB device number 65 using
ehci-pci
[365423.589234] usb 2-1.8: New USB device found, idVendor=03f0,
idProduct=cf07
[365423.589239] usb 2-1.8: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[365423.589242] usb 2-1.8: Product: HP Webcam HD 5210
[365423.589243] usb 2-1.8: Manufacturer: HP
[365423.752118] uvcvideo: Found UVC 1.00 device HP Webcam HD 5210
(03f0:cf07)
[365423.763599] input: HP Webcam HD 5210 as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/input/input100
[365423.763779] usbcore: registered new interface driver uvcvideo
[365423.763783] USB Video Class driver (1.1.1)
[365423.862111] retire_capture_urb: 2494 callbacks suppressed
[365428.869135] retire_capture_urb: 2492 callbacks suppressed
[365431.283896] uvcvideo: Failed to query (SET_CUR) UVC control 11 on
unit 8: -110 (exp. 2).
[365431.284222] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.284577] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.284939] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.285313] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.285694] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.286085] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.286421] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.286794] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.296432] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[365431.296794] uvcvideo: Failed to query (GET_LEN) UVC control 11 on
unit 8: -32 (exp. 2).
[365431.297168] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.297561] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.297927] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.298295] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.298675] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.299051] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.299503] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.299799] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.575213] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.575818] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.575954] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.576328] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.576702] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.577076] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.577454] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.577829] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.578207] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.578582] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.579460] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.579837] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.580255] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.580644] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.580968] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.581334] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.581723] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.582093] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.610628] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[365431.610992] uvcvideo: Failed to query (GET_LEN) UVC control 11 on
unit 8: -32 (exp. 2).
[365431.611365] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.611746] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.612116] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.612492] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.612867] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.613244] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.613616] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.613992] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.844729] uvcvideo: Failed to set UVC commit control : -32 (exp. 26).
[365431.844735] ------------[ cut here ]------------
[365431.844743] WARNING: CPU: 4 PID: 20262 at
/build/linux-RGM_Ed/linux-3.16.7-ckt9/drivers/media/v4l2-core/videobuf2-core.c:2123
__vb2_queue_cancel+0x10b/0x170 [videobuf2_core]()
[365431.844899] CPU: 4 PID: 20262 Comm: guvcview Tainted: G W
3.16.0-4-amd64 #1 Debian 3.16.7-ckt9-3~deb8u1
[365431.844901] Hardware name: Dell Inc. Studio XPS 8100/0T568R, BIOS
A03 12/09/2009
[365431.844903] 0000000000000009 ffffffff8150ac96 0000000000000000
ffffffff81067747
[365431.844907] 0000000000000000 ffff8802f2f49af0 0000000000000000
ffff8802f2f498d8
[365431.844910] ffff8802ed4b5c00 ffffffffa0ca75fb ffff8802f2f498d8
ffff8802f2f49af0
[365431.844913] Call Trace:
[365431.844920] [<ffffffff8150ac96>] ? dump_stack+0x41/0x51
[365431.844924] [<ffffffff81067747>] ? warn_slowpath_common+0x77/0x90
[365431.844928] [<ffffffffa0ca75fb>] ? __vb2_queue_cancel+0x10b/0x170
[videobuf2_core]
[365431.844931] [<ffffffffa0ca8c45>] ? vb2_internal_streamoff+0x35/0xd0
[videobuf2_core]
[365431.844934] [<ffffffffa0ce71bd>] ? uvc_queue_enable+0x5d/0xa0
[uvcvideo]
[365431.844938] [<ffffffffa0cebfe5>] ? uvc_video_enable+0x135/0x1a0
[uvcvideo]
[365431.844941] [<ffffffffa0ce91f3>] ? uvc_v4l2_do_ioctl+0x1103/0x15f0
[uvcvideo]
[365431.844945] [<ffffffff81187c68>] ? alloc_pages_vma+0x98/0x160
[365431.844948] [<ffffffffa0ce80f0>] ? uvc_v4l2_open+0x140/0x140 [uvcvideo]
[365431.844953] [<ffffffffa0c8b16e>] ? video_usercopy+0x1fe/0x540
[videodev]
[365431.844957] [<ffffffff8116f79f>] ? mmap_region+0x15f/0x650
[365431.844961] [<ffffffff810572c1>] ? __do_page_fault+0x1d1/0x4f0
[365431.844966] [<ffffffffa0c8667b>] ? v4l2_ioctl+0x10b/0x150 [videodev]
[365431.844969] [<ffffffff811ba2ff>] ? do_vfs_ioctl+0x2cf/0x4b0
[365431.844971] [<ffffffff811ba561>] ? SyS_ioctl+0x81/0xa0
[365431.844974] [<ffffffff81512e68>] ? page_fault+0x28/0x30
[365431.844977] [<ffffffff81510e4d>] ?
system_call_fast_compare_end+0x10/0x15
[365431.844979] ---[ end trace c8f39f37a6fef801 ]---
[365431.845097] uvcvideo: Failed to query (GET_LEN) UVC control 9 on
unit 8: -32 (exp. 2).
[365431.845474] uvcvideo: Failed to query (GET_LEN) UVC control 9 on
unit 8: -32 (exp. 2).
[... repeats until guvcview is killed]
Is it worth trying newer versions of any of the involved software, or is
the behaviour likely to be the same?
lsusb output for the device is here:
http://buttersideup.com/files/hp-5210-lsusb.txt
Cheers,
Tim.
------------------------------------------------------------------------------
I'm trying to use the hardware h264 encode on an HP Webcam HD 5210 (HP
LR374AA rev 1.0).
Not having any luck so far, using the 3.16 kernel on Debian Jessie
(uvcvideo 1.1.1) - guvcview (2.0.1) locks up when switching to h264
mode, and I get this in the kernel messages when running "guvcview -u h264":
[365423.303745] usb 2-1.8: new high-speed USB device number 65 using
ehci-pci
[365423.589234] usb 2-1.8: New USB device found, idVendor=03f0,
idProduct=cf07
[365423.589239] usb 2-1.8: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[365423.589242] usb 2-1.8: Product: HP Webcam HD 5210
[365423.589243] usb 2-1.8: Manufacturer: HP
[365423.752118] uvcvideo: Found UVC 1.00 device HP Webcam HD 5210
(03f0:cf07)
[365423.763599] input: HP Webcam HD 5210 as
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/input/input100
[365423.763779] usbcore: registered new interface driver uvcvideo
[365423.763783] USB Video Class driver (1.1.1)
[365423.862111] retire_capture_urb: 2494 callbacks suppressed
[365428.869135] retire_capture_urb: 2492 callbacks suppressed
[365431.283896] uvcvideo: Failed to query (SET_CUR) UVC control 11 on
unit 8: -110 (exp. 2).
[365431.284222] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.284577] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.284939] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.285313] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.285694] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.286085] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.286421] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.286794] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.296432] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[365431.296794] uvcvideo: Failed to query (GET_LEN) UVC control 11 on
unit 8: -32 (exp. 2).
[365431.297168] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.297561] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.297927] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.298295] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.298675] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.299051] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.299503] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.299799] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.575213] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.575818] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.575954] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.576328] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.576702] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.577076] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.577454] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.577829] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.578207] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.578582] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.579460] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.579837] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.580255] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.580644] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.580968] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.581334] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.581723] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.582093] uvcvideo: Failed to query (GET_LEN) UVC control 3 on
unit 8: -32 (exp. 2).
[365431.610628] uvcvideo: Failed to set UVC probe control : -32 (exp. 26).
[365431.610992] uvcvideo: Failed to query (GET_LEN) UVC control 11 on
unit 8: -32 (exp. 2).
[365431.611365] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.611746] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.612116] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.612492] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.612867] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.613244] uvcvideo: Failed to query (GET_LEN) UVC control 1 on
unit 8: -32 (exp. 2).
[365431.613616] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.613992] uvcvideo: Failed to query (GET_LEN) UVC control 2 on
unit 8: -32 (exp. 2).
[365431.844729] uvcvideo: Failed to set UVC commit control : -32 (exp. 26).
[365431.844735] ------------[ cut here ]------------
[365431.844743] WARNING: CPU: 4 PID: 20262 at
/build/linux-RGM_Ed/linux-3.16.7-ckt9/drivers/media/v4l2-core/videobuf2-core.c:2123
__vb2_queue_cancel+0x10b/0x170 [videobuf2_core]()
[365431.844899] CPU: 4 PID: 20262 Comm: guvcview Tainted: G W
3.16.0-4-amd64 #1 Debian 3.16.7-ckt9-3~deb8u1
[365431.844901] Hardware name: Dell Inc. Studio XPS 8100/0T568R, BIOS
A03 12/09/2009
[365431.844903] 0000000000000009 ffffffff8150ac96 0000000000000000
ffffffff81067747
[365431.844907] 0000000000000000 ffff8802f2f49af0 0000000000000000
ffff8802f2f498d8
[365431.844910] ffff8802ed4b5c00 ffffffffa0ca75fb ffff8802f2f498d8
ffff8802f2f49af0
[365431.844913] Call Trace:
[365431.844920] [<ffffffff8150ac96>] ? dump_stack+0x41/0x51
[365431.844924] [<ffffffff81067747>] ? warn_slowpath_common+0x77/0x90
[365431.844928] [<ffffffffa0ca75fb>] ? __vb2_queue_cancel+0x10b/0x170
[videobuf2_core]
[365431.844931] [<ffffffffa0ca8c45>] ? vb2_internal_streamoff+0x35/0xd0
[videobuf2_core]
[365431.844934] [<ffffffffa0ce71bd>] ? uvc_queue_enable+0x5d/0xa0
[uvcvideo]
[365431.844938] [<ffffffffa0cebfe5>] ? uvc_video_enable+0x135/0x1a0
[uvcvideo]
[365431.844941] [<ffffffffa0ce91f3>] ? uvc_v4l2_do_ioctl+0x1103/0x15f0
[uvcvideo]
[365431.844945] [<ffffffff81187c68>] ? alloc_pages_vma+0x98/0x160
[365431.844948] [<ffffffffa0ce80f0>] ? uvc_v4l2_open+0x140/0x140 [uvcvideo]
[365431.844953] [<ffffffffa0c8b16e>] ? video_usercopy+0x1fe/0x540
[videodev]
[365431.844957] [<ffffffff8116f79f>] ? mmap_region+0x15f/0x650
[365431.844961] [<ffffffff810572c1>] ? __do_page_fault+0x1d1/0x4f0
[365431.844966] [<ffffffffa0c8667b>] ? v4l2_ioctl+0x10b/0x150 [videodev]
[365431.844969] [<ffffffff811ba2ff>] ? do_vfs_ioctl+0x2cf/0x4b0
[365431.844971] [<ffffffff811ba561>] ? SyS_ioctl+0x81/0xa0
[365431.844974] [<ffffffff81512e68>] ? page_fault+0x28/0x30
[365431.844977] [<ffffffff81510e4d>] ?
system_call_fast_compare_end+0x10/0x15
[365431.844979] ---[ end trace c8f39f37a6fef801 ]---
[365431.845097] uvcvideo: Failed to query (GET_LEN) UVC control 9 on
unit 8: -32 (exp. 2).
[365431.845474] uvcvideo: Failed to query (GET_LEN) UVC control 9 on
unit 8: -32 (exp. 2).
[... repeats until guvcview is killed]
Is it worth trying newer versions of any of the involved software, or is
the behaviour likely to be the same?
lsusb output for the device is here:
http://buttersideup.com/files/hp-5210-lsusb.txt
Cheers,
Tim.
------------------------------------------------------------------------------