linux-uvc-devel Mailing List for linux-uvc (Page 7)
Linux UVC driver and tools
Brought to you by:
pinchartl
You can subscribe to this list here.
2006 |
Jan
(183) |
Feb
(152) |
Mar
(69) |
Apr
(65) |
May
(57) |
Jun
(38) |
Jul
(109) |
Aug
(77) |
Sep
(85) |
Oct
(72) |
Nov
(149) |
Dec
(68) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(183) |
Feb
(143) |
Mar
(84) |
Apr
(120) |
May
(109) |
Jun
(68) |
Jul
(88) |
Aug
(150) |
Sep
(124) |
Oct
(182) |
Nov
(131) |
Dec
(175) |
2008 |
Jan
(195) |
Feb
(260) |
Mar
(167) |
Apr
(150) |
May
(101) |
Jun
(129) |
Jul
(245) |
Aug
(64) |
Sep
(72) |
Oct
(75) |
Nov
(152) |
Dec
(135) |
2009 |
Jan
(72) |
Feb
(93) |
Mar
(107) |
Apr
(35) |
May
(59) |
Jun
(127) |
Jul
(91) |
Aug
(73) |
Sep
(79) |
Oct
(82) |
Nov
(84) |
Dec
(104) |
2010 |
Jan
(61) |
Feb
(44) |
Mar
(81) |
Apr
(74) |
May
(50) |
Jun
(58) |
Jul
(31) |
Aug
(66) |
Sep
(83) |
Oct
(68) |
Nov
(61) |
Dec
(23) |
2011 |
Jan
(88) |
Feb
(81) |
Mar
(101) |
Apr
(95) |
May
(21) |
Jun
(147) |
Jul
(56) |
Aug
(121) |
Sep
(66) |
Oct
(54) |
Nov
(119) |
Dec
(50) |
2012 |
Jan
(54) |
Feb
(67) |
Mar
(24) |
Apr
(72) |
May
(134) |
Jun
(64) |
Jul
(105) |
Aug
(50) |
Sep
(38) |
Oct
(38) |
Nov
(53) |
Dec
(43) |
2013 |
Jan
(69) |
Feb
(15) |
Mar
(25) |
Apr
(14) |
May
(10) |
Jun
(13) |
Jul
(31) |
Aug
(30) |
Sep
(44) |
Oct
(12) |
Nov
(29) |
Dec
(19) |
2014 |
Jan
(18) |
Feb
(42) |
Mar
(25) |
Apr
(11) |
May
(20) |
Jun
(15) |
Jul
(2) |
Aug
(3) |
Sep
(10) |
Oct
(22) |
Nov
(27) |
Dec
(18) |
2015 |
Jan
(19) |
Feb
(17) |
Mar
(12) |
Apr
(10) |
May
(12) |
Jun
(22) |
Jul
(7) |
Aug
(12) |
Sep
(2) |
Oct
(16) |
Nov
(3) |
Dec
(30) |
2016 |
Jan
(19) |
Feb
(10) |
Mar
(20) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(4) |
Aug
(5) |
Sep
(14) |
Oct
(1) |
Nov
(7) |
Dec
(19) |
2017 |
Jan
(4) |
Feb
(4) |
Mar
(5) |
Apr
(3) |
May
(1) |
Jun
(8) |
Jul
(4) |
Aug
(7) |
Sep
|
Oct
(4) |
Nov
(7) |
Dec
(2) |
2018 |
Jan
(11) |
Feb
(5) |
Mar
(4) |
Apr
(6) |
May
(6) |
Jun
(4) |
Jul
(6) |
Aug
(2) |
Sep
(3) |
Oct
(6) |
Nov
|
Dec
(2) |
2019 |
Jan
(2) |
Feb
(10) |
Mar
(6) |
Apr
|
May
(6) |
Jun
(6) |
Jul
(2) |
Aug
(4) |
Sep
(2) |
Oct
(11) |
Nov
(1) |
Dec
(1) |
2020 |
Jan
(4) |
Feb
(1) |
Mar
(5) |
Apr
(19) |
May
(18) |
Jun
(5) |
Jul
(13) |
Aug
(12) |
Sep
(7) |
Oct
(4) |
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
(1) |
May
(3) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(12) |
Dec
(1) |
2022 |
Jan
(2) |
Feb
(2) |
Mar
(6) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Heiri M. <ph...@gm...> - 2019-07-24 15:35:13
|
Hello, I bought some China USB 2.0 Camera (ARC International, TransDimension-NH LLC), that says, it has UVC support. Its USB ID is 0x5a3:0x9230. I am on a SMP Debian 4.9.168 kernel. The UVC drivers seem to be loaded: uvcvideo 90112 1 videobuf2_vmalloc 16384 1 uvcvideo videobuf2_v4l2 24576 2 uvcvideo,cx23885 videobuf2_core 40960 4 uvcvideo,videobuf2_dvb,cx23885,videobuf2_v4l2 videodev 180224 7 cx2341x,uvcvideo,v4l2_common,videobuf2_core,cx23885,videobuf2_v4l2 media 40960 3 uvcvideo,videodev,si2157 usbcore 253952 6 uvcvideo,ehci_hcd,xhci_pci,btusb,xhci_hcd,ehci_pci When I try to capture an image with Guvcview, the logs say: "V4L2_CORE: Could not grab image (select timeout): Resource temporarily unavailable”. I am a complete newbie with cameras on Linux, so please forgive, if the solution is obvious. Thanks for your help! |
From: Kieran B. <kie...@id...> - 2019-06-25 13:06:19
|
Hi Jerinho, On 25/06/2019 13:55, jerinho via Linux-uvc-devel wrote: > Hi. I just want to report on a missing device for support by USB Video > Class driver. Details is as below > > Device details > > 1. Vendor Id / Device Id : 0bda / 5751 > 2. Device name : Realtek Integrated Webcam > <https://devicehunt.com/view/type/usb/vendor/0BDA/device/5751> > 3. Vendor : Realtek Semiconductor Inc. > > My workstation details > > 1. Dell Venue 11 Pro 7140 > 2. Linux kernel where the last the device was known working : 4.4.0 > 3. Linux kernel where the device was known failed : 4.15.0-52-generic > 4. My operating system where the device failed : So you are reporting that it *was* working, and now fails? Could you please provide a full kernel dmesg log? Are any video nodes present? (ls -alh /dev/video*) What are you using to test this webcam, and what makes you believe it is now failing? Are you using guvcview? cheese? google-hangouts/skype or such? Please try to describe exactly what failure you are seeing. As you are using ubuntu, you might also want to log a bug with them. Regards -- Kieran > > > Ubuntu 18.10 (Cosmic Cuttlefish) > > <http://releases.ubuntu.com/18.10/> > > I hope your team can please fix the issue and include the device into > the supported list. Please let me know if your team need any extra > information regarding this. And thank you for your concern and support > for this. Looking forward to cooperate. > > > > _______________________________________________ > Linux-uvc-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel > |
From: jerinho <je...@ya...> - 2019-06-25 12:55:32
|
Hi. I just want to report on a missing device for support by USB Video Class driver. Details is as below Device details 1. Vendor Id / Device Id : 0bda / 5751 2. Device name : Realtek Integrated Webcam <https://devicehunt.com/view/type/usb/vendor/0BDA/device/5751> 3. Vendor : Realtek Semiconductor Inc. My workstation details 1. Dell Venue 11 Pro 7140 2. Linux kernel where the last the device was known working : 4.4.0 3. Linux kernel where the device was known failed : 4.15.0-52-generic 4. My operating system where the device failed : Ubuntu 18.10 (Cosmic Cuttlefish) <http://releases.ubuntu.com/18.10/> I hope your team can please fix the issue and include the device into the supported list. Please let me know if your team need any extra information regarding this. And thank you for your concern and support for this. Looking forward to cooperate. |
From: Kieran B. <kie...@id...> - 2019-06-18 11:22:53
|
Hi Andrej, On 17/06/2019 12:33, Andrej Pashnin wrote: > Dear developers, > > I would like to control (pan-tilt-zoom) the following conference camera: >> Bus 001 Device 005: ID 046d:0837 Logitech, Inc. BCC950 ConferenceCam > It's a PTZ (pan-tilt-zoom) camera and I can control all 3 parameters > with a remote control device. > > However, using the *v4l2-ctr* utility I can only change the ZOOM > parameter. It doesn't contain neither PAN nor TILT in the list of > controllable parameters. > > *Question #1. * > Why? Could you list the controls that are provided please? I.e. the output of : v4l2-ctl -d /dev/video0 -l (where /dev/video0 is your device, and updated if necessary) > > *Question #2.* > Is it possible to add this options to the driver? I don't mind writing > some linux kernel module if necessary. I just don't know where I should > start. It depends on how the camera exposes the controls. They could be custom properties or non-standard controls from the camera which the windows driver knows about specifically? > I also know that it can be controlled programmatically with DirectShow > under Windows. > > > Thank you in advance for any suggestions. > > Cheers, > Andrey > > > _______________________________________________ > Linux-uvc-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel > -- Regards -- Kieran |
From: Kieran B. <kie...@id...> - 2019-06-18 11:17:55
|
Hi Avinash On 15/06/2019 14:16, Avinash Gonsalves wrote: > Looking for some help here on how to configure an android device as a > UVC webcam (on Windows Host). Similar to the post here: > > https://forums.xilinx.com/t5/Embedded-Processor-System-Design/ZC702-as-UVC-Device-USB-Webcam/m-p/572017#M23722 > > The Linux Kernel version is 4.9 and I tried the following changes: > > /diff --git a/rootdir/init.usb.configfs.rc b/rootdir/init.usb.configfs.rc > index 72f31edd8..84a8f90d0 100644 > --- a/rootdir/init.usb.configfs.rc > +++ b/rootdir/init.usb.configfs.rc > @@ -218,3 +232,48 @@ on property:sys.usb.ffs.ready=1 && > property:sys.usb.config=rndis,adb && property > symlink /config/usb_gadget/g1/functions/ffs.adb > /config/usb_gadget/g1/configs/b.1/f2 > write /config/usb_gadget/g1/UDC ${sys.usb.controller} > setprop sys.usb.state ${sys.usb.config} > + > +on property:sys.usb.config=uvc && property:sys.usb.configfs=1 > + write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration > "uvc" > + rm /config/usb_gadget/g1/configs/b.1/f1 > + rm /config/usb_gadget/g1/configs/b.1/f2 > + rm /config/usb_gadget/g1/configs/b.1/f3 > + rm /config/usb_gadget/g1/configs/b.1/f4 > + rm /config/usb_gadget/g1/configs/b.1/f5 > + symlink /config/usb_gadget/g1/functions/uvc.0 > /config/usb_gadget/g1/configs/b.1/f1 > + write /config/usb_gadget/g1/UDC ${sys.usb.controller}/ > > > On shell >> setprop sys.usb.config uvc > > This does not enumerate the USB - UVC descriptors. So i made the > following change: > diff /--git a/drivers/usb/gadget/function/f_uvc.c > b/drivers/usb/gadget/function/f_uvc.c > index fbc942d7a484..eeb3496d62f6 100644 > --- a/drivers/usb/gadget/function/f_uvc.c > +++ b/drivers/usb/gadget/function/f_uvc.c > @@ -739,6 +742,9 @@ uvc_function_bind(struct usb_configuration *c, > struct usb_function *f) > goto error; > } > > + uvc_function_setup_continue(uvc); > + uvc_function_connect(uvc); I don't think you should be adding things here. > return 0;/ > > The driver now enumerates but is not recognised by windows, I have > probably missed a setup step (uvc_function_setup?) for correct > enumeration. Here's the output of the enumeration on windows application You must run the uvc-gadget application which controls actually processing frames to send to the host. http://git.ideasonboard.org/uvc-gadget.git -- Regards Kieran > USB-View: > /Device Descriptor: > bcdUSB: 0x0210 > bDeviceClass: 0x00 > bDeviceSubClass: 0x00 > bDeviceProtocol: 0x00 > bMaxPacketSize0: 0x40 (64) > idVendor: 0x05C6 (Qualcomm, Inc) > idProduct: 0x901D > bcdDevice: 0x0409 > iManufacturer: 0x01 > iProduct: 0x02 > iSerialNumber: 0x03 > bNumConfigurations: 0x01/ > /ConnectionStatus: DeviceConnected > Current Config Value: 0x00 > Device Bus Speed: High > Device Address: 0x09 > Open Pipes: 0/ > /Configuration Descriptor: > wTotalLength: 0x01CC > bNumInterfaces: 0x02 > bConfigurationValue: 0x01 > iConfiguration: 0x04 > bmAttributes: 0x80 (Bus Powered ) > MaxPower: 0xFA (500 Ma)/ > /Unknown Descriptor: > bDescriptorType: 0x0B > bLength: 0x08 > 08 0B 00 02 0E 03 00 05 / > /Interface Descriptor: > bInterfaceNumber: 0x00 > bAlternateSetting: 0x00 > bNumEndpoints: 0x01 > bInterfaceClass: 0x0E > bInterfaceSubClass: 0x01 > bInterfaceProtocol: 0x01 > iInterface: 0x05/ > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x0D > 0D 24 01 50 01 35 00 00 6C DC 02 01 01 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x12 > 12 24 02 01 01 02 00 00 00 00 00 00 00 00 03 02 > 00 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x0D > 0D 24 05 02 01 00 40 03 40 10 01 00 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x09 > 09 24 03 03 01 01 00 02 00 / > /Endpoint Descriptor: > bEndpointAddress: 0x81 IN > Transfer Type: Interrupt > wMaxPacketSize: 0x0010 (16) > bInterval: 0x08/ > /Unknown Descriptor: > bDescriptorType: 0x25 > bLength: 0x05 > 05 25 03 10 00 / > /Interface Descriptor: > bInterfaceNumber: 0x01 > bAlternateSetting: 0x00 > bNumEndpoints: 0x00 > bInterfaceClass: 0x0E > bInterfaceSubClass: 0x02 > bInterfaceProtocol: 0x00 > iInterface: 0x06/ > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x10 > 10 24 01 03 58 01 82 00 03 00 00 00 01 00 04 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x1B > 1B 24 04 01 02 59 55 59 32 00 00 10 00 80 00 00 > AA 00 38 9B 71 10 01 00 00 00 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x26 > 26 24 05 01 00 80 02 68 01 00 40 19 01 00 C0 4B > 03 00 08 07 00 2A 2C 0A 00 03 2A 2C 0A 00 40 42 > 0F 00 40 4B 4C 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x1E > 1E 24 05 02 00 D0 02 68 01 00 00 C2 01 00 00 C2 > 01 00 20 1C 00 40 4B 4C 00 01 40 4B 4C 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x0B > 0B 24 06 02 02 00 01 00 00 00 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x26 > 26 24 07 01 00 80 02 68 01 00 40 19 01 00 C0 4B > 03 00 08 07 00 2A 2C 0A 00 03 2A 2C 0A 00 40 42 > 0F 00 40 4B 4C 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x1E > 1E 24 07 02 00 D0 02 68 01 00 00 C2 01 00 00 C2 > 01 00 20 1C 00 40 4B 4C 00 01 40 4B 4C 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x34 > 34 24 13 03 02 01 04 00 76 00 00 3F CC 03 00 00 > 00 00 00 00 CC 03 00 00 00 00 00 00 CC 03 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x30 > 30 24 14 01 C0 03 C0 03 01 00 01 00 00 64 28 00 > 00 03 00 07 00 47 00 04 00 00 00 00 00 00 00 00 > 00 C2 01 00 E1 F5 05 63 17 05 00 01 63 17 05 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x30 > 30 24 14 02 80 07 C0 03 01 00 01 00 00 64 33 00 > 00 03 00 07 00 47 00 04 00 00 00 00 00 00 00 00 > 00 C2 01 00 E1 F5 05 63 17 05 00 01 63 17 05 00 / > /Unknown Descriptor: > bDescriptorType: 0x24 > bLength: 0x06 > 06 24 0D 01 01 04 / > /Interface Descriptor: > bInterfaceNumber: 0x01 > bAlternateSetting: 0x01 > bNumEndpoints: 0x01 > bInterfaceClass: 0x0E > bInterfaceSubClass: 0x02 > bInterfaceProtocol: 0x00 > iInterface: 0x06/ > /Endpoint Descriptor: > bEndpointAddress: 0x82 IN > Transfer Type: Isochronous > wMaxPacketSize: 0x1400 (5120) > bInterval: 0x01/ > > > _______________________________________________ > Linux-uvc-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel > -- Regards -- Kieran |
From: Andrej P. <ko...@gm...> - 2019-06-17 11:32:24
|
Dear developers, I would like to control (pan-tilt-zoom) the following conference camera: > Bus 001 Device 005: ID 046d:0837 Logitech, Inc. BCC950 ConferenceCam It's a PTZ (pan-tilt-zoom) camera and I can control all 3 parameters with a remote control device. However, using the v4l2-ctr utility I can only change the ZOOM parameter. It doesn't contain neither PAN nor TILT in the list of controllable parameters. Question #1. Why? Question #2. Is it possible to add this options to the driver? I don't mind writing some linux kernel module if necessary. I just don't know where I should start. I also know that it can be controlled programmatically with DirectShow under Windows. Thank you in advance for any suggestions. Cheers, Andrey |
From: Avinash G. <avi...@gm...> - 2019-06-15 13:17:15
|
Looking for some help here on how to configure an android device as a UVC webcam (on Windows Host). Similar to the post here: https://forums.xilinx.com/t5/Embedded-Processor-System-Design/ZC702-as-UVC-Device-USB-Webcam/m-p/572017#M23722 The Linux Kernel version is 4.9 and I tried the following changes: *diff --git a/rootdir/init.usb.configfs.rc b/rootdir/init.usb.configfs.rcindex 72f31edd8..84a8f90d0 100644--- a/rootdir/init.usb.configfs.rc+++ b/rootdir/init.usb.configfs.rc@@ -218,3 +232,48 @@ on property:sys.usb.ffs.ready=1 && property:sys.usb.config=rndis,adb && property symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 write /config/usb_gadget/g1/UDC ${sys.usb.controller} setprop sys.usb.state ${sys.usb.config}++on property:sys.usb.config=uvc && property:sys.usb.configfs=1+ write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "uvc"+ rm /config/usb_gadget/g1/configs/b.1/f1+ rm /config/usb_gadget/g1/configs/b.1/f2+ rm /config/usb_gadget/g1/configs/b.1/f3+ rm /config/usb_gadget/g1/configs/b.1/f4+ rm /config/usb_gadget/g1/configs/b.1/f5+ symlink /config/usb_gadget/g1/functions/uvc.0 /config/usb_gadget/g1/configs/b.1/f1+ write /config/usb_gadget/g1/UDC ${sys.usb.controller}* On shell > setprop sys.usb.config uvc This does not enumerate the USB - UVC descriptors. So i made the following change: diff *--git a/drivers/usb/gadget/function/f_uvc.c b/drivers/usb/gadget/function/f_uvc.cindex fbc942d7a484..eeb3496d62f6 100644--- a/drivers/usb/gadget/function/f_uvc.c+++ b/drivers/usb/gadget/function/f_uvc.c@@ -739,6 +742,9 @@ uvc_function_bind(struct usb_configuration *c, struct usb_function *f) goto error; } + uvc_function_setup_continue(uvc);+ uvc_function_connect(uvc); return 0;* The driver now enumerates but is not recognised by windows, I have probably missed a setup step (uvc_function_setup?) for correct enumeration. Here's the output of the enumeration on windows application USB-View: *Device Descriptor:bcdUSB: 0x0210bDeviceClass: 0x00bDeviceSubClass: 0x00bDeviceProtocol: 0x00bMaxPacketSize0: 0x40 (64)idVendor: 0x05C6 (Qualcomm, Inc)idProduct: 0x901DbcdDevice: 0x0409iManufacturer: 0x01iProduct: 0x02iSerialNumber: 0x03bNumConfigurations: 0x01* *ConnectionStatus: DeviceConnectedCurrent Config Value: 0x00Device Bus Speed: HighDevice Address: 0x09Open Pipes: 0* *Configuration Descriptor:wTotalLength: 0x01CCbNumInterfaces: 0x02bConfigurationValue: 0x01iConfiguration: 0x04bmAttributes: 0x80 (Bus Powered )MaxPower: 0xFA (500 Ma)* *Unknown Descriptor:bDescriptorType: 0x0BbLength: 0x0808 0B 00 02 0E 03 00 05 * *Interface Descriptor:bInterfaceNumber: 0x00bAlternateSetting: 0x00bNumEndpoints: 0x01bInterfaceClass: 0x0EbInterfaceSubClass: 0x01bInterfaceProtocol: 0x01iInterface: 0x05* *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x0D0D 24 01 50 01 35 00 00 6C DC 02 01 01 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x1212 24 02 01 01 02 00 00 00 00 00 00 00 00 03 02 00 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x0D0D 24 05 02 01 00 40 03 40 10 01 00 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x0909 24 03 03 01 01 00 02 00 * *Endpoint Descriptor:bEndpointAddress: 0x81 INTransfer Type: InterruptwMaxPacketSize: 0x0010 (16)bInterval: 0x08* *Unknown Descriptor:bDescriptorType: 0x25bLength: 0x0505 25 03 10 00 * *Interface Descriptor:bInterfaceNumber: 0x01bAlternateSetting: 0x00bNumEndpoints: 0x00bInterfaceClass: 0x0EbInterfaceSubClass: 0x02bInterfaceProtocol: 0x00iInterface: 0x06* *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x1010 24 01 03 58 01 82 00 03 00 00 00 01 00 04 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x1B1B 24 04 01 02 59 55 59 32 00 00 10 00 80 00 00 AA 00 38 9B 71 10 01 00 00 00 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x2626 24 05 01 00 80 02 68 01 00 40 19 01 00 C0 4B 03 00 08 07 00 2A 2C 0A 00 03 2A 2C 0A 00 40 42 0F 00 40 4B 4C 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x1E1E 24 05 02 00 D0 02 68 01 00 00 C2 01 00 00 C2 01 00 20 1C 00 40 4B 4C 00 01 40 4B 4C 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x0B0B 24 06 02 02 00 01 00 00 00 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x2626 24 07 01 00 80 02 68 01 00 40 19 01 00 C0 4B 03 00 08 07 00 2A 2C 0A 00 03 2A 2C 0A 00 40 42 0F 00 40 4B 4C 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x1E1E 24 07 02 00 D0 02 68 01 00 00 C2 01 00 00 C2 01 00 20 1C 00 40 4B 4C 00 01 40 4B 4C 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x3434 24 13 03 02 01 04 00 76 00 00 3F CC 03 00 00 00 00 00 00 CC 03 00 00 00 00 00 00 CC 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x3030 24 14 01 C0 03 C0 03 01 00 01 00 00 64 28 00 00 03 00 07 00 47 00 04 00 00 00 00 00 00 00 00 00 C2 01 00 E1 F5 05 63 17 05 00 01 63 17 05 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x3030 24 14 02 80 07 C0 03 01 00 01 00 00 64 33 00 00 03 00 07 00 47 00 04 00 00 00 00 00 00 00 00 00 C2 01 00 E1 F5 05 63 17 05 00 01 63 17 05 00 * *Unknown Descriptor:bDescriptorType: 0x24bLength: 0x0606 24 0D 01 01 04 * *Interface Descriptor:bInterfaceNumber: 0x01bAlternateSetting: 0x01bNumEndpoints: 0x01bInterfaceClass: 0x0EbInterfaceSubClass: 0x02bInterfaceProtocol: 0x00iInterface: 0x06* *Endpoint Descriptor:bEndpointAddress: 0x82 INTransfer Type: IsochronouswMaxPacketSize: 0x1400 (5120)bInterval: 0x01* |
From: Francoise D. s. <wat...@ym...> - 2019-05-23 16:51:53
|
Hello, my webcam is compatible =)But we don't know how to check nothing. Bus 002 Device 003: ID 046d:0836 Logitech, Inc. B525 HD Webcam Linux UVC driver & tools | | | | Linux UVC driver & tools | | | [résolu]Installation webcam Logitek B525 / Autres types de matériel / Forum Ubuntu-fr.org | | | | | | | | | | | [résolu]Installation webcam Logitek B525 / Autres types de matériel / Fo... | | | |
From: bw <bw...@gm...> - 2019-05-21 12:01:30
|
Hello, I have the following device: https://www.bresser.de/en/Astronomy/BRESSER-MikrOkular-Full-HD-eyepiece-camera.html lsusb gives: 053a:9230 PrehKeyTec GmbH It did work a while ago, then stopped working for a while after and only after adding "options usbcore use_both_schemes=y" to /etc/modprobe.d/options I can use it again. My problem is the resolution has always been low: I can only choose 640x480 while the MikroOkular should be able to use 1920x1080. How can I fix this? Attached a specs file. kind regards, Bastiaan |
From: Neil T <apr...@gm...> - 2019-05-12 15:00:21
|
Hello, I am posting to this list in the hope that I could get some advice. I apologise if this is not the etiquette. I’m a big fan of Hauppauge. I have been successfully using a Hauppauge HDPVR2 with Linux albeit with the ‘driver’. Recently I've noticed the Hauppauge HD PVR Pro 60 4K listed on Amazon and the Hauppauge website. The HD PVR Pro is better suited to my needs as it is bus powered and doesn’t need a driver. The Amazon listing offers this description : "Uvc driver using the latest USB 3 technology, USB Type-C. Compatible with video capture and streaming applications which use uvc Class drivers. Uvc drivers are supported in Windows, Mac and Linux". There is no mention of Linux compatibility on the Hauppauge website. http://www.hauppauge.com/pages/products/data_hdpvrpro60.html My requirements. I want to be able to capture from the HDMI source at the highest quality to a file, eg cat /dev/video >/path/to/some/file.ts or redirect to vlc with something like cat /dev/video >/usr/bin/vlc stream:///dev/stdin --sout "#standard{access=http,mux=ts,dst=192.168.0.1:8090}" I don’t want to buy one of these devices unless it is compatible with Linux. Are you able to give any advice? Do you own one? BTW I have sent an email to Hauppauge support but they haven’t replied. Many thanks. |
From: Hermen P. <hnp...@gm...> - 2019-05-08 00:33:23
|
WiFi Microscope, DEPSTECH 50X to 1000X $ lsusb -d *1b3f:2002* -v | grep "14 Video" Couldn't open device, some information will be missing bFunctionClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video bInterfaceClass 14 Video $ sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace bash: /sys/module/uvcvideo/parameters/trace: Permission denied $ sudo echo 0 > /sys/module/uvcvideo/parameters/tracebash: /sys/module/uvcvideo/parameters/trace: Permission denied hermen@hermen-ubuntu-1804:~$ dmesg > dmesg.log hermen@hermen-ubuntu-1804:~$ lsusb -d VID:PID -v > lsusb.log hermen@hermen-ubuntu-1804:~$ lsusb -d 1b3f:2002 -v > lsusb.log Couldn't open device, some information will be missing |
From: Moritz B. <bar...@gm...> - 2019-05-07 08:42:18
|
On Mon, May 06, 2019 at 20:52:14 -0700, Your Name wrote: (Is that really your name?) > I was wondering why in jpeg_decoder.c of guvcview(v2.0.6) there are 2 > functions called jpeg_decoder? > > Do the 2 functions serve 2 different purposes? They are two different implementations, depending on whether libavcodec is used or not. The first one is under #if MJPG_BUILTIN //use internal jpeg decoder the second one in the block #else //use libavcodec to decode mjpeg data Cheers, Moritz |
From: Your N. <hor...@gm...> - 2019-05-07 03:52:23
|
Hello, I was wondering why in jpeg_decoder.c of guvcview(v2.0.6) there are 2 functions called jpeg_decoder? Do the 2 functions serve 2 different purposes? Thanks |
From: Laurent P. <lau...@id...> - 2019-03-13 01:03:24
|
Hello Amila, On Tue, Mar 05, 2019 at 04:50:47PM +0100, Amila Manoj wrote: > Hi Laurent, > > Thank you very much for the reply. > > I tried it on a Windows 10 computer and it worked fine without > installing any additional software. > > Also managed to capture USB traffic on Linux (didn't capture on Windows yet). > I don't see a lot of traffic, most of the messages are USB and USBHID > protocol messages for GET_STATUS, SET_FEATURE, GET_DESCRIPTOR etc. > > There is only one USBVIDEO protocol message for GET_CUR (0x81). Seems > like this request fails the error "No such file or directory (-ENOENT) > (-2). Does this sound like a bug in firmware / cause for the error we > saw in dmesg output? Yes, that error corresponds to the error message printed by the driver. My guess is that Windows would send a different sequence of requests, and the camera firmware assumes this will always be the case. The order of the requests received from a Linux host doesn't match that, and the firmware gets confused. > Here's the full text of USBVIDEO request and response: > > REQUEST: > > Frame 86: 64 bytes on wire (512 bits), 64 bytes captured (512 bits) on > interface 0 > USB URB > [Source: host] > [Destination: 2.13.0] > URB id: 0xffff89299a435600 > URB type: URB_SUBMIT ('S') > URB transfer type: URB_CONTROL (0x02) > Endpoint: 0x80, Direction: IN > Device: 13 > URB bus id: 2 > Device setup request: relevant (0) > Data: not present ('<') > URB sec: 1551797452 > URB usec: 468271 > URB status: Operation now in progress (-EINPROGRESS) (-115) > URB length [bytes]: 34 > Data length [bytes]: 0 > [Response in: 87] > Interval: 0 > Start frame: 0 > Copy of Transfer Flags: 0x00000200 > Number of ISO descriptors: 0 > [bInterfaceClass: Video (0x0e)] > URB setup > bRequest: GET CUR (0x81) > Control Selector: Probe (0x01) > Interface: 0x01 > Entity: 0x00 > wLength: 34 > > RESPONSE: > > Frame 87: 64 bytes on wire (512 bits), 64 bytes captured (512 bits) on > interface 0 > USB URB > [Source: 2.13.0] > [Destination: host] > URB id: 0xffff89299a435600 > URB type: URB_COMPLETE ('C') > URB transfer type: URB_CONTROL (0x02) > Endpoint: 0x80, Direction: IN > Device: 13 > URB bus id: 2 > Device setup request: not relevant ('-') > Data: present (0) > URB sec: 1551797457 > URB usec: 587755 > URB status: No such file or directory (-ENOENT) (-2) > URB length [bytes]: 0 > Data length [bytes]: 0 > [Request in: 86] > [Time from request: 5.119484000 seconds] > Unused Setup Header > Interval: 0 > Start frame: 0 > Copy of Transfer Flags: 0x00000200 > Number of ISO descriptors: 0 > [bInterfaceClass: Video (0x0e)] > [Interface: 0x01] > [Entity: 0x00] > [Control Selector: Probe (0x01)] -- Regards, Laurent Pinchart |
From: James S. <st...@gm...> - 2019-03-08 08:09:03
|
The subject usb uvc device comes mounted internally with the Dell XPS A2010 All-In-One machine ( https://www.cnet.com/products/dell-xps-one-core-2-duo-e6550-2-33-ghz-monitor-lcd-20-series/) from 2007. Modern kernels do not immediately make it available, though lsusb and lspci recognize the device. Making use of a suggestion, whose origin I am not quite remembering, to create a file /etc/modprobe.d/uvcvideo.conf with just the line: options uvcvideo quirks=0x100 allows for the camera to be recognized by the system. root@XXX:/# dmesg | grep uvc [ 6.117030] uvcvideo: Found UVC 1.00 device Integrated Webcam (05a9:2642) [ 6.117032] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose. [ 6.117033] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list. [ 6.120909] uvcvideo 1-4:1.0: Entity type for entity Processing 5 was not initialized! [ 6.120912] uvcvideo 1-4:1.0: Entity type for entity Extension 6 was not initialized! [ 6.120914] uvcvideo 1-4:1.0: Entity type for entity Selector 4 was not initialized! [ 6.120917] uvcvideo 1-4:1.0: Entity type for entity Camera 1 was not initialized! [ 6.120919] uvcvideo 1-4:1.0: Entity type for entity Extension 7 was not initialized! [ 6.121119] usbcore: registered new interface driver uvcvideo Where there was previously no /dev/video* devices, there are now both a video0 and a video1. I am reporting due to the presence of a request there in the dmesg output. -- James Stroup, CPhT Arizona Notary Public (520) 345-8677 |
From: Amila M. <ami...@gm...> - 2019-03-05 15:51:21
|
Hi Laurent, Thank you very much for the reply. I tried it on a Windows 10 computer and it worked fine without installing any additional software. Also managed to capture USB traffic on Linux (didn't capture on Windows yet). I don't see a lot of traffic, most of the messages are USB and USBHID protocol messages for GET_STATUS, SET_FEATURE, GET_DESCRIPTOR etc. There is only one USBVIDEO protocol message for GET_CUR (0x81). Seems like this request fails the error "No such file or directory (-ENOENT) (-2). Does this sound like a bug in firmware / cause for the error we saw in dmesg output? Here's the full text of USBVIDEO request and response: REQUEST: Frame 86: 64 bytes on wire (512 bits), 64 bytes captured (512 bits) on interface 0 USB URB [Source: host] [Destination: 2.13.0] URB id: 0xffff89299a435600 URB type: URB_SUBMIT ('S') URB transfer type: URB_CONTROL (0x02) Endpoint: 0x80, Direction: IN Device: 13 URB bus id: 2 Device setup request: relevant (0) Data: not present ('<') URB sec: 1551797452 URB usec: 468271 URB status: Operation now in progress (-EINPROGRESS) (-115) URB length [bytes]: 34 Data length [bytes]: 0 [Response in: 87] Interval: 0 Start frame: 0 Copy of Transfer Flags: 0x00000200 Number of ISO descriptors: 0 [bInterfaceClass: Video (0x0e)] URB setup bRequest: GET CUR (0x81) Control Selector: Probe (0x01) Interface: 0x01 Entity: 0x00 wLength: 34 RESPONSE: Frame 87: 64 bytes on wire (512 bits), 64 bytes captured (512 bits) on interface 0 USB URB [Source: 2.13.0] [Destination: host] URB id: 0xffff89299a435600 URB type: URB_COMPLETE ('C') URB transfer type: URB_CONTROL (0x02) Endpoint: 0x80, Direction: IN Device: 13 URB bus id: 2 Device setup request: not relevant ('-') Data: present (0) URB sec: 1551797457 URB usec: 587755 URB status: No such file or directory (-ENOENT) (-2) URB length [bytes]: 0 Data length [bytes]: 0 [Request in: 86] [Time from request: 5.119484000 seconds] Unused Setup Header Interval: 0 Start frame: 0 Copy of Transfer Flags: 0x00000200 Number of ISO descriptors: 0 [bInterfaceClass: Video (0x0e)] [Interface: 0x01] [Entity: 0x00] [Control Selector: Probe (0x01)] Thank you! Best regards, Amila On Tue, Mar 5, 2019 at 2:46 PM Laurent Pinchart <lau...@id...> wrote: > > Hi Amila, > > On Mon, Mar 04, 2019 at 03:02:33PM +0100, Amila Manoj wrote: > > Hello Laurent and Kieran, > > > > Thank you very much for the information. > > > > I haven't tried other uvc cameras on the system. This is a fresh Ubuntu > > installation. > > > > Installed all available updates for Ubuntu and now the version is: Ubuntu > > 18.04.2 LTS (4.15.0-45-generic) > > > > I set the quirk as Laurent instructed but the error seems to be same. > > > > dmesg output: > > [ +9,015628] usb 2-2: new SuperSpeed USB device number 5 using xhci_hcd > > [ +0,020584] usb 2-2: LPM exit latency is zeroed, disabling LPM. > > [ +0,000620] usb 2-2: New USB device found, idVendor=4e45, idProduct=5501 > > [ +0,000006] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > > [ +0,000004] usb 2-2: Product: NSE-CAM > > [ +0,000004] usb 2-2: Manufacturer: NSE > > [ +0,001355] uvcvideo: Probing generic UVC device 2 > > [ +0,000010] uvcvideo: Found format YUV 4:2:2 (UYVY). > > [ +0,000005] uvcvideo: - 1920x1080 (30.0 fps) > > [ +0,000009] uvcvideo: Found a Status endpoint (addr 82). > > [ +0,000004] uvcvideo: Found UVC 1.10 device NSE-CAM (4e45:5501) > > [ +0,000003] uvcvideo: Forcing device quirks to 0x100 by module parameter for > > testing purpose. > > [ +0,000002] uvcvideo: Please report required quirks to the linux-uvc-devel > > mailing list. > > [ +0,000010] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to > > device 2 entity 2 > > [ +0,000005] uvcvideo: Adding mapping 'Brightness' to control > > 00000000-0000-0000-0000-000000000101/2. > > [ +0,000006] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to > > device 2 entity 2 > > [ +0,000003] uvcvideo: Adding mapping 'Contrast' to control > > 00000000-0000-0000-0000-000000000101/3. > > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to > > device 2 entity 2 > > [ +0,000004] uvcvideo: Adding mapping 'Hue' to control > > 00000000-0000-0000-0000-000000000101/6. > > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to > > device 2 entity 2 > > [ +0,000004] uvcvideo: Adding mapping 'Saturation' to control > > 00000000-0000-0000-0000-000000000101/7. > > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to > > device 2 entity 2 > > [ +0,000004] uvcvideo: Adding mapping 'Sharpness' to control > > 00000000-0000-0000-0000-000000000101/8. > > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 > > to device 2 entity 2 > > [ +0,000005] uvcvideo: Adding mapping 'White Balance Temperature' to control > > 00000000-0000-0000-0000-000000000101/10. > > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 > > to device 2 entity 2 > > [ +0,000004] uvcvideo: Adding mapping 'White Balance Temperature, Auto' to > > control 00000000-0000-0000-0000-000000000101/11. > > [ +0,000004] uvcvideo: Scanning UVC chain: OT 4 <- XU 3 <- PU 2 <- IT 1 > > [ +0,000014] uvcvideo: Found a valid video chain (1 -> 4). > > The GET_DEF(PROBE) is gone, this shows the quirk has been applied > correctly. > > > [ +10,161183] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. > > 34). > > But this error still occurs :-( > > > [ +0,000009] uvcvideo: Failed to initialize the device (-5). > > > > "modinfo uvcvideo" output: > > filename: /lib/modules/4.15.0-45-generic/kernel/drivers/media/usb/uvc/ > > uvcvideo.ko > > version: 1.1.1 > > license: GPL > > description: USB Video Class driver > > author: Laurent Pinchart <lau...@id...> > > srcversion: DBA8F055BDC0120170B3498 > > alias: usb:v*p*d*dc*dsc*dp*ic0Eisc01ip01in* > > alias: usb:v*p*d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v2833p0211d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v2833p0201d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v1C4Fp3000d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v1B3Bp2951d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v19ABp1000d00*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v19ABp1000d01[0-1]*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v19ABp1000d012[0-6]dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v199Ep8102d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v18ECp3290d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v18ECp3288d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v18ECp3188d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v18CDpCAFEd*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v1871p0516d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v1871p0306d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v17EFp480Bd*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v17DCp0202d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v174Fp8A34d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v174Fp8A33d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v174Fp8A31d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v174Fp8A12d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v174Fp5931d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v174Fp5212d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v152Dp0310d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v13D3p5103d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v0E8Dp0004d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v0BD3p0555d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v0AC8p3420d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v0AC8p3410d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v0AC8p332Dd*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v06F8p300Cd*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05E3p0505d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05C8p0403d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05ACp8600d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05ACp8501d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05A9p7670d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05A9p264Ad*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05A9p2643d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05A9p2641d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v05A9p2640d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v058Fp3820d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v04F2pB071d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v046Dp082Dd*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v046Dp08C7d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v046Dp08C6d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v046Dp08C5d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v046Dp08C3d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v046Dp08C2d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v046Dp08C1d*dc*dsc*dp*icFFisc01ip00in* > > alias: usb:v045Ep0723d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v045Ep0721d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v045Ep00F8d*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v0458p706Ed*dc*dsc*dp*ic0Eisc01ip00in* > > alias: usb:v0416pA91Ad*dc*dsc*dp*ic0Eisc01ip00in* > > depends: videodev,videobuf2-core,videobuf2-v4l2,videobuf2-vmalloc,media > > retpoline: Y > > intree: Y > > name: uvcvideo > > vermagic: 4.15.0-45-generic SMP mod_unload > > signat: PKCS#7 > > signer: > > sig_key: > > sig_hashalgo: md4 > > parm: clock:Video buffers timestamp clock > > parm: hwtimestamps:Use hardware timestamps (uint) > > parm: nodrop:Don't drop incomplete frames (uint) > > parm: quirks:Forced device quirks (uint) > > parm: trace:Trace level bitmask (uint) > > parm: timeout:Streaming control requests timeout (uint) > > > > In there anything else I could try? > > Have you tried connecting the camera to a Windows or Mac host to see if > it works there ? I'd like to rule out the option of a defective camera. > > If that works, at this stage I would usually try to capture USB trafic > when the camera is connected to a working host, and compare that with > the requests sent by the uvcvideo driver. I'm afraid I can't help you > with capturing USB trafic with Windows or Mac though. > > I would also recommend contacting the vendor to report the problem, just > in case. > > -- > Regards, > > Laurent Pinchart |
From: Laurent P. <lau...@id...> - 2019-03-05 13:46:23
|
Hi Amila, On Mon, Mar 04, 2019 at 03:02:33PM +0100, Amila Manoj wrote: > Hello Laurent and Kieran, > > Thank you very much for the information. > > I haven't tried other uvc cameras on the system. This is a fresh Ubuntu > installation. > > Installed all available updates for Ubuntu and now the version is: Ubuntu > 18.04.2 LTS (4.15.0-45-generic) > > I set the quirk as Laurent instructed but the error seems to be same. > > dmesg output: > [ +9,015628] usb 2-2: new SuperSpeed USB device number 5 using xhci_hcd > [ +0,020584] usb 2-2: LPM exit latency is zeroed, disabling LPM. > [ +0,000620] usb 2-2: New USB device found, idVendor=4e45, idProduct=5501 > [ +0,000006] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > [ +0,000004] usb 2-2: Product: NSE-CAM > [ +0,000004] usb 2-2: Manufacturer: NSE > [ +0,001355] uvcvideo: Probing generic UVC device 2 > [ +0,000010] uvcvideo: Found format YUV 4:2:2 (UYVY). > [ +0,000005] uvcvideo: - 1920x1080 (30.0 fps) > [ +0,000009] uvcvideo: Found a Status endpoint (addr 82). > [ +0,000004] uvcvideo: Found UVC 1.10 device NSE-CAM (4e45:5501) > [ +0,000003] uvcvideo: Forcing device quirks to 0x100 by module parameter for > testing purpose. > [ +0,000002] uvcvideo: Please report required quirks to the linux-uvc-devel > mailing list. > [ +0,000010] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to > device 2 entity 2 > [ +0,000005] uvcvideo: Adding mapping 'Brightness' to control > 00000000-0000-0000-0000-000000000101/2. > [ +0,000006] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to > device 2 entity 2 > [ +0,000003] uvcvideo: Adding mapping 'Contrast' to control > 00000000-0000-0000-0000-000000000101/3. > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to > device 2 entity 2 > [ +0,000004] uvcvideo: Adding mapping 'Hue' to control > 00000000-0000-0000-0000-000000000101/6. > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to > device 2 entity 2 > [ +0,000004] uvcvideo: Adding mapping 'Saturation' to control > 00000000-0000-0000-0000-000000000101/7. > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to > device 2 entity 2 > [ +0,000004] uvcvideo: Adding mapping 'Sharpness' to control > 00000000-0000-0000-0000-000000000101/8. > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 > to device 2 entity 2 > [ +0,000005] uvcvideo: Adding mapping 'White Balance Temperature' to control > 00000000-0000-0000-0000-000000000101/10. > [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 > to device 2 entity 2 > [ +0,000004] uvcvideo: Adding mapping 'White Balance Temperature, Auto' to > control 00000000-0000-0000-0000-000000000101/11. > [ +0,000004] uvcvideo: Scanning UVC chain: OT 4 <- XU 3 <- PU 2 <- IT 1 > [ +0,000014] uvcvideo: Found a valid video chain (1 -> 4). The GET_DEF(PROBE) is gone, this shows the quirk has been applied correctly. > [ +10,161183] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. > 34). But this error still occurs :-( > [ +0,000009] uvcvideo: Failed to initialize the device (-5). > > "modinfo uvcvideo" output: > filename: /lib/modules/4.15.0-45-generic/kernel/drivers/media/usb/uvc/ > uvcvideo.ko > version: 1.1.1 > license: GPL > description: USB Video Class driver > author: Laurent Pinchart <lau...@id...> > srcversion: DBA8F055BDC0120170B3498 > alias: usb:v*p*d*dc*dsc*dp*ic0Eisc01ip01in* > alias: usb:v*p*d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v2833p0211d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v2833p0201d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v1C4Fp3000d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v1B3Bp2951d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v19ABp1000d00*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v19ABp1000d01[0-1]*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v19ABp1000d012[0-6]dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v199Ep8102d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v18ECp3290d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v18ECp3288d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v18ECp3188d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v18CDpCAFEd*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v1871p0516d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v1871p0306d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v17EFp480Bd*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v17DCp0202d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v174Fp8A34d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v174Fp8A33d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v174Fp8A31d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v174Fp8A12d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v174Fp5931d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v174Fp5212d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v152Dp0310d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v13D3p5103d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v0E8Dp0004d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v0BD3p0555d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v0AC8p3420d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v0AC8p3410d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v0AC8p332Dd*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v06F8p300Cd*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05E3p0505d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05C8p0403d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05ACp8600d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05ACp8501d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05A9p7670d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05A9p264Ad*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05A9p2643d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05A9p2641d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v05A9p2640d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v058Fp3820d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v04F2pB071d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v046Dp082Dd*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v046Dp08C7d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v046Dp08C6d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v046Dp08C5d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v046Dp08C3d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v046Dp08C2d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v046Dp08C1d*dc*dsc*dp*icFFisc01ip00in* > alias: usb:v045Ep0723d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v045Ep0721d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v045Ep00F8d*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v0458p706Ed*dc*dsc*dp*ic0Eisc01ip00in* > alias: usb:v0416pA91Ad*dc*dsc*dp*ic0Eisc01ip00in* > depends: videodev,videobuf2-core,videobuf2-v4l2,videobuf2-vmalloc,media > retpoline: Y > intree: Y > name: uvcvideo > vermagic: 4.15.0-45-generic SMP mod_unload > signat: PKCS#7 > signer: > sig_key: > sig_hashalgo: md4 > parm: clock:Video buffers timestamp clock > parm: hwtimestamps:Use hardware timestamps (uint) > parm: nodrop:Don't drop incomplete frames (uint) > parm: quirks:Forced device quirks (uint) > parm: trace:Trace level bitmask (uint) > parm: timeout:Streaming control requests timeout (uint) > > In there anything else I could try? Have you tried connecting the camera to a Windows or Mac host to see if it works there ? I'd like to rule out the option of a defective camera. If that works, at this stage I would usually try to capture USB trafic when the camera is connected to a working host, and compare that with the requests sent by the uvcvideo driver. I'm afraid I can't help you with capturing USB trafic with Windows or Mac though. I would also recommend contacting the vendor to report the problem, just in case. -- Regards, Laurent Pinchart |
From: Amila M. <ami...@gm...> - 2019-03-04 14:03:09
|
Hello Laurent and Kieran, Thank you very much for the information. I haven't tried other uvc cameras on the system. This is a fresh Ubuntu installation. Installed all available updates for Ubuntu and now the version is: Ubuntu 18.04.2 LTS (4.15.0-45-generic) I set the quirk as Laurent instructed but the error seems to be same. dmesg output: [ +9,015628] usb 2-2: new SuperSpeed USB device number 5 using xhci_hcd [ +0,020584] usb 2-2: LPM exit latency is zeroed, disabling LPM. [ +0,000620] usb 2-2: New USB device found, idVendor=4e45, idProduct=5501 [ +0,000006] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ +0,000004] usb 2-2: Product: NSE-CAM [ +0,000004] usb 2-2: Manufacturer: NSE [ +0,001355] uvcvideo: Probing generic UVC device 2 [ +0,000010] uvcvideo: Found format YUV 4:2:2 (UYVY). [ +0,000005] uvcvideo: - 1920x1080 (30.0 fps) [ +0,000009] uvcvideo: Found a Status endpoint (addr 82). [ +0,000004] uvcvideo: Found UVC 1.10 device NSE-CAM (4e45:5501) [ +0,000003] uvcvideo: Forcing device quirks to 0x100 by module parameter for testing purpose. [ +0,000002] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list. [ +0,000010] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 2 entity 2 [ +0,000005] uvcvideo: Adding mapping 'Brightness' to control 00000000-0000-0000-0000-000000000101/2. [ +0,000006] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 2 entity 2 [ +0,000003] uvcvideo: Adding mapping 'Contrast' to control 00000000-0000-0000-0000-000000000101/3. [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 2 entity 2 [ +0,000004] uvcvideo: Adding mapping 'Hue' to control 00000000-0000-0000-0000-000000000101/6. [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 2 entity 2 [ +0,000004] uvcvideo: Adding mapping 'Saturation' to control 00000000-0000-0000-0000-000000000101/7. [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 2 entity 2 [ +0,000004] uvcvideo: Adding mapping 'Sharpness' to control 00000000-0000-0000-0000-000000000101/8. [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 2 entity 2 [ +0,000005] uvcvideo: Adding mapping 'White Balance Temperature' to control 00000000-0000-0000-0000-000000000101/10. [ +0,000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 2 entity 2 [ +0,000004] uvcvideo: Adding mapping 'White Balance Temperature, Auto' to control 00000000-0000-0000-0000-000000000101/11. [ +0,000004] uvcvideo: Scanning UVC chain: OT 4 <- XU 3 <- PU 2 <- IT 1 [ +0,000014] uvcvideo: Found a valid video chain (1 -> 4). [ +10,161183] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 34). [ +0,000009] uvcvideo: Failed to initialize the device (-5). "modinfo uvcvideo" output: filename: /lib/modules/4.15.0-45-generic/kernel/drivers/media/usb/uvc/uvcvideo.ko version: 1.1.1 license: GPL description: USB Video Class driver author: Laurent Pinchart <lau...@id...> srcversion: DBA8F055BDC0120170B3498 alias: usb:v*p*d*dc*dsc*dp*ic0Eisc01ip01in* alias: usb:v*p*d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v2833p0211d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v2833p0201d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v1C4Fp3000d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v1B3Bp2951d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v19ABp1000d00*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v19ABp1000d01[0-1]*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v19ABp1000d012[0-6]dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v199Ep8102d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v18ECp3290d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v18ECp3288d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v18ECp3188d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v18CDpCAFEd*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v1871p0516d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v1871p0306d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v17EFp480Bd*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v17DCp0202d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v174Fp8A34d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v174Fp8A33d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v174Fp8A31d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v174Fp8A12d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v174Fp5931d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v174Fp5212d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v152Dp0310d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v13D3p5103d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v0E8Dp0004d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v0BD3p0555d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v0AC8p3420d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v0AC8p3410d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v0AC8p332Dd*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v06F8p300Cd*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05E3p0505d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05C8p0403d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05ACp8600d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05ACp8501d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05A9p7670d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05A9p264Ad*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05A9p2643d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05A9p2641d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v05A9p2640d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v058Fp3820d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v04F2pB071d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v046Dp082Dd*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v046Dp08C7d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v046Dp08C6d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v046Dp08C5d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v046Dp08C3d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v046Dp08C2d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v046Dp08C1d*dc*dsc*dp*icFFisc01ip00in* alias: usb:v045Ep0723d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v045Ep0721d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v045Ep00F8d*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v0458p706Ed*dc*dsc*dp*ic0Eisc01ip00in* alias: usb:v0416pA91Ad*dc*dsc*dp*ic0Eisc01ip00in* depends: videodev,videobuf2-core,videobuf2-v4l2,videobuf2-vmalloc,media retpoline: Y intree: Y name: uvcvideo vermagic: 4.15.0-45-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 parm: clock:Video buffers timestamp clock parm: hwtimestamps:Use hardware timestamps (uint) parm: nodrop:Don't drop incomplete frames (uint) parm: quirks:Forced device quirks (uint) parm: trace:Trace level bitmask (uint) parm: timeout:Streaming control requests timeout (uint) In there anything else I could try? Thank you! Regards, Amila On Sat, Mar 2, 2019 at 5:34 PM Laurent Pinchart < lau...@id...> wrote: > Hello, > > On Thu, Feb 28, 2019 at 07:45:57PM +0000, Kieran Bingham wrote: > > Hi Amila, > > > > I believe this topic might get more attention on the linux-media mailing > > list (which I've added to Cc), but I have some comments below too: > > > > On 27/02/2019 16:41, Amila Manoj wrote: > > > Hello, > > > > > > I'm trying to get this camera working with Ubuntu 18 (4.15.0-20-generic > > > x86_64 GNU/Linux): > > > > > > http://www.nse-global.com/index.php?ac=article&at=read&did=445 > > > > > > This camera is not listed under supported devices in > > > http://www.ideasonboard.org/uvc/#devices > > > > > > Device initialization fails and it doesn't get listed under /dev/video* > > > > > > In lsusb, the device is listed with just the vendor and product id's. > > > > > > > > > "lsusb" output: > > > > > > Bus 002 Device 007: ID 4e45:5501 > > > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > > > Bus 001 Device 005: ID 8087:0a2b Intel Corp. > > > Bus 001 Device 004: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd > CBM209x Flash Drive (OEM) > > > Bus 001 Device 003: ID 04f2:0833 Chicony Electronics Co., Ltd > > > Bus 001 Device 009: ID 17ef:6019 Lenovo > > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > > > > > > > > "dmesg" output (with trace enabled): > > > > > > [Feb27 15:37] usb 2-1: new SuperSpeed USB device number 7 using > xhci_hcd > > > [ +0.024687] usb 2-1: LPM exit latency is zeroed, disabling LPM. > > > [ +0.000632] usb 2-1: New USB device found, idVendor=4e45, > idProduct=5501 > > > [ +0.000005] usb 2-1: New USB device strings: Mfr=1, Product=2, > SerialNumber=0 > > > [ +0.000003] usb 2-1: Product: NSE-CAM > > > [ +0.000003] usb 2-1: Manufacturer: NSE > > > [ +0.001181] uvcvideo: Probing generic UVC device 1 > > > [ +0.000009] uvcvideo: Found format YUV 4:2:2 (UYVY). > > > [ +0.000003] uvcvideo: - 1920x1080 (30.0 fps) > > > [ +0.000009] uvcvideo: Found a Status endpoint (addr 82). > > > [ +0.000003] uvcvideo: Found UVC 1.10 device NSE-CAM (4e45:5501) > > > [ +0.000009] uvcvideo: Added control > 00000000-0000-0000-0000-000000000101/2 to device 1 entity 2 > > > [ +0.000003] uvcvideo: Adding mapping 'Brightness' to control > 00000000-0000-0000-0000-000000000101/2. > > > [ +0.000005] uvcvideo: Added control > 00000000-0000-0000-0000-000000000101/3 to device 1 entity 2 > > > [ +0.000003] uvcvideo: Adding mapping 'Contrast' to control > 00000000-0000-0000-0000-000000000101/3. > > > [ +0.000003] uvcvideo: Added control > 00000000-0000-0000-0000-000000000101/6 to device 1 entity 2 > > > [ +0.000003] uvcvideo: Adding mapping 'Hue' to control > 00000000-0000-0000-0000-000000000101/6. > > > [ +0.000003] uvcvideo: Added control > 00000000-0000-0000-0000-000000000101/7 to device 1 entity 2 > > > [ +0.000003] uvcvideo: Adding mapping 'Saturation' to control > 00000000-0000-0000-0000-000000000101/7. > > > [ +0.000004] uvcvideo: Added control > 00000000-0000-0000-0000-000000000101/8 to device 1 entity 2 > > > [ +0.000003] uvcvideo: Adding mapping 'Sharpness' to control > 00000000-0000-0000-0000-000000000101/8. > > > [ +0.000003] uvcvideo: Added control > 00000000-0000-0000-0000-000000000101/10 to device 1 entity 2 > > > [ +0.000004] uvcvideo: Adding mapping 'White Balance Temperature' to > control 00000000-0000-0000-0000-000000000101/10. > > > [ +0.000003] uvcvideo: Added control > 00000000-0000-0000-0000-000000000101/11 to device 1 entity 2 > > > [ +0.000003] uvcvideo: Adding mapping 'White Balance Temperature, > Auto' to control 00000000-0000-0000-0000-000000000101/11. > > > [ +0.000003] uvcvideo: Scanning UVC chain: OT 4 <- XU 3 <- PU 2 <- IT > 1 > > > [ +0.000010] uvcvideo: Found a valid video chain (1 -> 4). > > > [ +0.709208] usb 1-2: new low-speed USB device number 9 using xhci_hcd > > > [ +0.151295] usb 1-2: New USB device found, idVendor=17ef, > idProduct=6019 > > > [ +0.000005] usb 1-2: New USB device strings: Mfr=0, Product=2, > SerialNumber=0 > > > [ +0.000003] usb 1-2: Product: Lenovo Optical USB Mouse > > > [ +4.165317] input: Lenovo Optical USB Mouse as > /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:17EF:6019.0006/input/input16 > > > [ +0.059888] hid-generic 0003:17EF:6019.0006: input,hidraw0: USB HID > v1.11 Mouse [Lenovo Optical USB Mouse] on usb-0000:00:14.0-2/input0 > > > [ +5.055435] uvcvideo: UVC non compliance - GET_DEF(PROBE) not > supported. Enabling workaround. > > > [ +5.119896] uvcvideo: Failed to query (129) UVC probe control : -110 > (exp. 34). > > > > Hrm ... that ^ 'looks' like a bug we fixed a while back I think ... > > The camera times out when the driver tries to get the current value of > the UVC probe control. I would suspect a bug in the camera firmware that > makes it crash when it received the previous GET_DEF(PROBE) request. > > GET_DEF(PROBE) can be skipped entirely by setting the > UVC_QUIRK_PROBE_DEF quirk. Amila, could you please try that ? The > easiest way to do so is to disconnect the camera, set the quirk with > > echo 0x100 > /sys/module/uvcvideo/parameters/quirks > > (running as root, or with sudo) and reconnect the camera. > > > Have you tried other UVC cameras on this system? > > Are you able to try a later kernel version just to be sure? > > > > > > > [ +0.000007] uvcvideo: Failed to initialize the device (-5). > > > [ +25.599651] usbhid 2-1:1.2: can't add hid device: -110 > > > [ +0.000031] usbhid: probe of 2-1:1.2 failed with error -110 > > > > > > > > > "lsusb -d 4e45:5501 -v" output: > > > > > > Bus 002 Device 006: ID 4e45:5501 > > > Device Descriptor: > > > bLength 18 > > > bDescriptorType 1 > > > bcdUSB 3.00 > > > bDeviceClass 239 Miscellaneous Device > > > bDeviceSubClass 2 ? > > > bDeviceProtocol 1 Interface Association > > > bMaxPacketSize0 9 > > > idVendor 0x4e45 > > > idProduct 0x5501 > > > bcdDevice 1.03 > > > iManufacturer 1 (error) > > > iProduct 2 (error) > > > > These (error)s might be a bit of a concern... > > > > > iSerial 0 > > > bNumConfigurations 1 > > > Configuration Descriptor: > > > bLength 9 > > > bDescriptorType 2 > > > wTotalLength 249 > > > bNumInterfaces 3 > > > bConfigurationValue 1 > > > iConfiguration 3 (error) > > > bmAttributes 0x80 > > > (Bus Powered) > > > MaxPower 100mA > > > Interface Association: > > > bLength 8 > > > bDescriptorType 11 > > > bFirstInterface 0 > > > bInterfaceCount 2 > > > bFunctionClass 14 Video > > > bFunctionSubClass 3 Video Interface Collection > > > bFunctionProtocol 0 > > > iFunction 0 > > > Interface Descriptor: > > > bLength 9 > > > bDescriptorType 4 > > > bInterfaceNumber 0 > > > bAlternateSetting 0 > > > bNumEndpoints 1 > > > bInterfaceClass 14 Video > > > bInterfaceSubClass 1 Video Control > > > bInterfaceProtocol 0 > > > iInterface 0 > > > VideoControl Interface Descriptor: > > > bLength 13 > > > bDescriptorType 36 > > > bDescriptorSubtype 1 (HEADER) > > > bcdUVC 1.10 > > > wTotalLength 81 > > > dwClockFrequency 48.000000MHz > > > bInCollection 1 > > > baInterfaceNr( 0) 1 > > > VideoControl Interface Descriptor: > > > bLength 18 > > > bDescriptorType 36 > > > bDescriptorSubtype 2 (INPUT_TERMINAL) > > > bTerminalID 1 > > > wTerminalType 0x0201 Camera Sensor > > > bAssocTerminal 0 > > > iTerminal 0 > > > wObjectiveFocalLengthMin 0 > > > wObjectiveFocalLengthMax 0 > > > wOcularFocalLength 0 > > > bControlSize 3 > > > bmControls 0x00000000 > > > VideoControl Interface Descriptor: > > > bLength 13 > > > bDescriptorType 36 > > > bDescriptorSubtype 5 (PROCESSING_UNIT) > > > bUnitID 2 > > > bSourceID 1 > > > wMaxMultiplier 16384 > > > bControlSize 3 > > > bmControls 0x0000105f > > > Brightness > > > Contrast > > > Hue > > > Saturation > > > Sharpness > > > White Balance Temperature > > > White Balance Temperature, Auto > > > iProcessing 0 > > > bmVideoStandards 0x 0 > > > VideoControl Interface Descriptor: > > > bLength 28 > > > bDescriptorType 36 > > > bDescriptorSubtype 6 (EXTENSION_UNIT) > > > bUnitID 3 > > > guidExtensionCode > {ffffffff-ffff-ffff-ffff-ffffffffffff} > > > > Hrm ... Laurent - is that suspicious? or ok? > > An extension unit with no controls and a GUID set to all 1s. Sloppy > firmware, really :-) It shouldn't cause any issue, but it shows the > level of quality to expect from the device. > > Ideally these issues should be reported to the device manufacturer, but > that's pretty hard to do in practice. > > > > bNumControl 0 > > > bNrPins 1 > > > baSourceID( 0) 2 > > > bControlSize 3 > > > bmControls( 0) 0x00 > > > bmControls( 1) 0x00 > > > bmControls( 2) 0x00 > > > iExtension 0 > > > VideoControl Interface Descriptor: > > > bLength 9 > > > bDescriptorType 36 > > > bDescriptorSubtype 3 (OUTPUT_TERMINAL) > > > bTerminalID 4 > > > wTerminalType 0x0101 USB Streaming > > > bAssocTerminal 0 > > > bSourceID 3 > > > iTerminal 0 > > > Endpoint Descriptor: > > > bLength 7 > > > bDescriptorType 5 > > > bEndpointAddress 0x82 EP 2 IN > > > bmAttributes 3 > > > Transfer Type Interrupt > > > Synch Type None > > > Usage Type Data > > > wMaxPacketSize 0x0040 1x 64 bytes > > > bInterval 1 > > > bMaxBurst 0 > > > Interface Descriptor: > > > bLength 9 > > > bDescriptorType 4 > > > bInterfaceNumber 1 > > > bAlternateSetting 0 > > > bNumEndpoints 1 > > > bInterfaceClass 14 Video > > > bInterfaceSubClass 2 Video Streaming > > > bInterfaceProtocol 0 > > > iInterface 0 > > > VideoStreaming Interface Descriptor: > > > bLength 14 > > > bDescriptorType 36 > > > bDescriptorSubtype 1 (INPUT_HEADER) > > > bNumFormats 1 > > > wTotalLength 71 > > > bEndPointAddress 131 > > > bmInfo 0 > > > bTerminalLink 4 > > > bStillCaptureMethod 1 > > > bTriggerSupport 0 > > > bTriggerUsage 0 > > > bControlSize 1 > > > bmaControls( 0) 27 > > > VideoStreaming Interface Descriptor: > > > bLength 27 > > > bDescriptorType 36 > > > bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) > > > bFormatIndex 1 > > > bNumFrameDescriptors 1 > > > guidFormat > {55595659-0000-1000-8000-00aa00389b71} > > > bBitsPerPixel 16 > > > bDefaultFrameIndex 1 > > > bAspectRatioX 0 > > > bAspectRatioY 0 > > > bmInterlaceFlags 0x00 > > > Interlaced stream or variable: No > > > Fields per frame: 2 fields > > > Field 1 first: No > > > Field pattern: Field 1 only > > > bCopyProtect 0 > > > VideoStreaming Interface Descriptor: > > > bLength 30 > > > bDescriptorType 36 > > > bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) > > > bFrameIndex 1 > > > bmCapabilities 0x03 > > > Still image supported > > > Fixed frame-rate > > > wWidth 1920 > > > wHeight 1080 > > > dwMinBitRate 995328000 > > > dwMaxBitRate 995328000 > > > dwMaxVideoFrameBufferSize 4147200 > > > dwDefaultFrameInterval 333333 > > > bFrameIntervalType 1 > > > dwFrameInterval( 0) 333333 > > > Endpoint Descriptor: > > > bLength 7 > > > bDescriptorType 5 > > > bEndpointAddress 0x83 EP 3 IN > > > bmAttributes 2 > > > Transfer Type Bulk > > > Synch Type None > > > Usage Type Data > > > wMaxPacketSize 0x0400 1x 1024 bytes > > > bInterval 0 > > > bMaxBurst 15 > > > Interface Descriptor: > > > bLength 9 > > > bDescriptorType 4 > > > bInterfaceNumber 2 > > > bAlternateSetting 0 > > > bNumEndpoints 1 > > > bInterfaceClass 3 Human Interface Device > > > bInterfaceSubClass 0 No Subclass > > > bInterfaceProtocol 0 None > > > iInterface 0 > > > HID Device Descriptor: > > > bLength 9 > > > bDescriptorType 33 > > > bcdHID 1.11 > > > bCountryCode 0 Not supported > > > bNumDescriptors 1 > > > bDescriptorType 34 Report > > > wDescriptorLength 29 > > > Warning: incomplete report descriptor > > > Report Descriptor: (length is 7) > > > Item(Main ): (null), data=none > > > Item(Main ): (null), data=none > > > Item(Main ): (null), data=none > > > Item(Main ): (null), data=none > > > Item(Main ): (null), data=none > > > Item(Main ): (null), data=none > > > Item(Main ): (null), data=none > > > Endpoint Descriptor: > > > bLength 7 > > > bDescriptorType 5 > > > bEndpointAddress 0x81 EP 1 IN > > > bmAttributes 3 > > > Transfer Type Interrupt > > > Synch Type None > > > Usage Type Data > > > wMaxPacketSize 0x0040 1x 64 bytes > > > bInterval 10 > > > bMaxBurst 0 > > > Device Status: 0x77e8 > > > (Bus Powered) > > > U2 Enabled > > > Debug Mode > > > > > > > > > I would appreciate any pointers to see if I can get this working. > > -- > Regards, > > Laurent Pinchart > |
From: Laurent P. <lau...@id...> - 2019-03-02 16:34:20
|
Hello, On Thu, Feb 28, 2019 at 07:45:57PM +0000, Kieran Bingham wrote: > Hi Amila, > > I believe this topic might get more attention on the linux-media mailing > list (which I've added to Cc), but I have some comments below too: > > On 27/02/2019 16:41, Amila Manoj wrote: > > Hello, > > > > I'm trying to get this camera working with Ubuntu 18 (4.15.0-20-generic > > x86_64 GNU/Linux): > > > > http://www.nse-global.com/index.php?ac=article&at=read&did=445 > > > > This camera is not listed under supported devices in > > http://www.ideasonboard.org/uvc/#devices > > > > Device initialization fails and it doesn't get listed under /dev/video* > > > > In lsusb, the device is listed with just the vendor and product id's. > > > > > > "lsusb" output: > > > > Bus 002 Device 007: ID 4e45:5501 > > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > > Bus 001 Device 005: ID 8087:0a2b Intel Corp. > > Bus 001 Device 004: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd CBM209x Flash Drive (OEM) > > Bus 001 Device 003: ID 04f2:0833 Chicony Electronics Co., Ltd > > Bus 001 Device 009: ID 17ef:6019 Lenovo > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > > > > > "dmesg" output (with trace enabled): > > > > [Feb27 15:37] usb 2-1: new SuperSpeed USB device number 7 using xhci_hcd > > [ +0.024687] usb 2-1: LPM exit latency is zeroed, disabling LPM. > > [ +0.000632] usb 2-1: New USB device found, idVendor=4e45, idProduct=5501 > > [ +0.000005] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > > [ +0.000003] usb 2-1: Product: NSE-CAM > > [ +0.000003] usb 2-1: Manufacturer: NSE > > [ +0.001181] uvcvideo: Probing generic UVC device 1 > > [ +0.000009] uvcvideo: Found format YUV 4:2:2 (UYVY). > > [ +0.000003] uvcvideo: - 1920x1080 (30.0 fps) > > [ +0.000009] uvcvideo: Found a Status endpoint (addr 82). > > [ +0.000003] uvcvideo: Found UVC 1.10 device NSE-CAM (4e45:5501) > > [ +0.000009] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 1 entity 2 > > [ +0.000003] uvcvideo: Adding mapping 'Brightness' to control 00000000-0000-0000-0000-000000000101/2. > > [ +0.000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 1 entity 2 > > [ +0.000003] uvcvideo: Adding mapping 'Contrast' to control 00000000-0000-0000-0000-000000000101/3. > > [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 1 entity 2 > > [ +0.000003] uvcvideo: Adding mapping 'Hue' to control 00000000-0000-0000-0000-000000000101/6. > > [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 1 entity 2 > > [ +0.000003] uvcvideo: Adding mapping 'Saturation' to control 00000000-0000-0000-0000-000000000101/7. > > [ +0.000004] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 1 entity 2 > > [ +0.000003] uvcvideo: Adding mapping 'Sharpness' to control 00000000-0000-0000-0000-000000000101/8. > > [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 1 entity 2 > > [ +0.000004] uvcvideo: Adding mapping 'White Balance Temperature' to control 00000000-0000-0000-0000-000000000101/10. > > [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 1 entity 2 > > [ +0.000003] uvcvideo: Adding mapping 'White Balance Temperature, Auto' to control 00000000-0000-0000-0000-000000000101/11. > > [ +0.000003] uvcvideo: Scanning UVC chain: OT 4 <- XU 3 <- PU 2 <- IT 1 > > [ +0.000010] uvcvideo: Found a valid video chain (1 -> 4). > > [ +0.709208] usb 1-2: new low-speed USB device number 9 using xhci_hcd > > [ +0.151295] usb 1-2: New USB device found, idVendor=17ef, idProduct=6019 > > [ +0.000005] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 > > [ +0.000003] usb 1-2: Product: Lenovo Optical USB Mouse > > [ +4.165317] input: Lenovo Optical USB Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:17EF:6019.0006/input/input16 > > [ +0.059888] hid-generic 0003:17EF:6019.0006: input,hidraw0: USB HID v1.11 Mouse [Lenovo Optical USB Mouse] on usb-0000:00:14.0-2/input0 > > [ +5.055435] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. > > [ +5.119896] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 34). > > Hrm ... that ^ 'looks' like a bug we fixed a while back I think ... The camera times out when the driver tries to get the current value of the UVC probe control. I would suspect a bug in the camera firmware that makes it crash when it received the previous GET_DEF(PROBE) request. GET_DEF(PROBE) can be skipped entirely by setting the UVC_QUIRK_PROBE_DEF quirk. Amila, could you please try that ? The easiest way to do so is to disconnect the camera, set the quirk with echo 0x100 > /sys/module/uvcvideo/parameters/quirks (running as root, or with sudo) and reconnect the camera. > Have you tried other UVC cameras on this system? > Are you able to try a later kernel version just to be sure? > > > > [ +0.000007] uvcvideo: Failed to initialize the device (-5). > > [ +25.599651] usbhid 2-1:1.2: can't add hid device: -110 > > [ +0.000031] usbhid: probe of 2-1:1.2 failed with error -110 > > > > > > "lsusb -d 4e45:5501 -v" output: > > > > Bus 002 Device 006: ID 4e45:5501 > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 3.00 > > bDeviceClass 239 Miscellaneous Device > > bDeviceSubClass 2 ? > > bDeviceProtocol 1 Interface Association > > bMaxPacketSize0 9 > > idVendor 0x4e45 > > idProduct 0x5501 > > bcdDevice 1.03 > > iManufacturer 1 (error) > > iProduct 2 (error) > > These (error)s might be a bit of a concern... > > > iSerial 0 > > bNumConfigurations 1 > > Configuration Descriptor: > > bLength 9 > > bDescriptorType 2 > > wTotalLength 249 > > bNumInterfaces 3 > > bConfigurationValue 1 > > iConfiguration 3 (error) > > bmAttributes 0x80 > > (Bus Powered) > > MaxPower 100mA > > Interface Association: > > bLength 8 > > bDescriptorType 11 > > bFirstInterface 0 > > bInterfaceCount 2 > > bFunctionClass 14 Video > > bFunctionSubClass 3 Video Interface Collection > > bFunctionProtocol 0 > > iFunction 0 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 0 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 14 Video > > bInterfaceSubClass 1 Video Control > > bInterfaceProtocol 0 > > iInterface 0 > > VideoControl Interface Descriptor: > > bLength 13 > > bDescriptorType 36 > > bDescriptorSubtype 1 (HEADER) > > bcdUVC 1.10 > > wTotalLength 81 > > dwClockFrequency 48.000000MHz > > bInCollection 1 > > baInterfaceNr( 0) 1 > > VideoControl Interface Descriptor: > > bLength 18 > > bDescriptorType 36 > > bDescriptorSubtype 2 (INPUT_TERMINAL) > > bTerminalID 1 > > wTerminalType 0x0201 Camera Sensor > > bAssocTerminal 0 > > iTerminal 0 > > wObjectiveFocalLengthMin 0 > > wObjectiveFocalLengthMax 0 > > wOcularFocalLength 0 > > bControlSize 3 > > bmControls 0x00000000 > > VideoControl Interface Descriptor: > > bLength 13 > > bDescriptorType 36 > > bDescriptorSubtype 5 (PROCESSING_UNIT) > > bUnitID 2 > > bSourceID 1 > > wMaxMultiplier 16384 > > bControlSize 3 > > bmControls 0x0000105f > > Brightness > > Contrast > > Hue > > Saturation > > Sharpness > > White Balance Temperature > > White Balance Temperature, Auto > > iProcessing 0 > > bmVideoStandards 0x 0 > > VideoControl Interface Descriptor: > > bLength 28 > > bDescriptorType 36 > > bDescriptorSubtype 6 (EXTENSION_UNIT) > > bUnitID 3 > > guidExtensionCode {ffffffff-ffff-ffff-ffff-ffffffffffff} > > Hrm ... Laurent - is that suspicious? or ok? An extension unit with no controls and a GUID set to all 1s. Sloppy firmware, really :-) It shouldn't cause any issue, but it shows the level of quality to expect from the device. Ideally these issues should be reported to the device manufacturer, but that's pretty hard to do in practice. > > bNumControl 0 > > bNrPins 1 > > baSourceID( 0) 2 > > bControlSize 3 > > bmControls( 0) 0x00 > > bmControls( 1) 0x00 > > bmControls( 2) 0x00 > > iExtension 0 > > VideoControl Interface Descriptor: > > bLength 9 > > bDescriptorType 36 > > bDescriptorSubtype 3 (OUTPUT_TERMINAL) > > bTerminalID 4 > > wTerminalType 0x0101 USB Streaming > > bAssocTerminal 0 > > bSourceID 3 > > iTerminal 0 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x82 EP 2 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0040 1x 64 bytes > > bInterval 1 > > bMaxBurst 0 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 1 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 14 Video > > bInterfaceSubClass 2 Video Streaming > > bInterfaceProtocol 0 > > iInterface 0 > > VideoStreaming Interface Descriptor: > > bLength 14 > > bDescriptorType 36 > > bDescriptorSubtype 1 (INPUT_HEADER) > > bNumFormats 1 > > wTotalLength 71 > > bEndPointAddress 131 > > bmInfo 0 > > bTerminalLink 4 > > bStillCaptureMethod 1 > > bTriggerSupport 0 > > bTriggerUsage 0 > > bControlSize 1 > > bmaControls( 0) 27 > > VideoStreaming Interface Descriptor: > > bLength 27 > > bDescriptorType 36 > > bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) > > bFormatIndex 1 > > bNumFrameDescriptors 1 > > guidFormat {55595659-0000-1000-8000-00aa00389b71} > > bBitsPerPixel 16 > > bDefaultFrameIndex 1 > > bAspectRatioX 0 > > bAspectRatioY 0 > > bmInterlaceFlags 0x00 > > Interlaced stream or variable: No > > Fields per frame: 2 fields > > Field 1 first: No > > Field pattern: Field 1 only > > bCopyProtect 0 > > VideoStreaming Interface Descriptor: > > bLength 30 > > bDescriptorType 36 > > bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) > > bFrameIndex 1 > > bmCapabilities 0x03 > > Still image supported > > Fixed frame-rate > > wWidth 1920 > > wHeight 1080 > > dwMinBitRate 995328000 > > dwMaxBitRate 995328000 > > dwMaxVideoFrameBufferSize 4147200 > > dwDefaultFrameInterval 333333 > > bFrameIntervalType 1 > > dwFrameInterval( 0) 333333 > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x83 EP 3 IN > > bmAttributes 2 > > Transfer Type Bulk > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0400 1x 1024 bytes > > bInterval 0 > > bMaxBurst 15 > > Interface Descriptor: > > bLength 9 > > bDescriptorType 4 > > bInterfaceNumber 2 > > bAlternateSetting 0 > > bNumEndpoints 1 > > bInterfaceClass 3 Human Interface Device > > bInterfaceSubClass 0 No Subclass > > bInterfaceProtocol 0 None > > iInterface 0 > > HID Device Descriptor: > > bLength 9 > > bDescriptorType 33 > > bcdHID 1.11 > > bCountryCode 0 Not supported > > bNumDescriptors 1 > > bDescriptorType 34 Report > > wDescriptorLength 29 > > Warning: incomplete report descriptor > > Report Descriptor: (length is 7) > > Item(Main ): (null), data=none > > Item(Main ): (null), data=none > > Item(Main ): (null), data=none > > Item(Main ): (null), data=none > > Item(Main ): (null), data=none > > Item(Main ): (null), data=none > > Item(Main ): (null), data=none > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes 3 > > Transfer Type Interrupt > > Synch Type None > > Usage Type Data > > wMaxPacketSize 0x0040 1x 64 bytes > > bInterval 10 > > bMaxBurst 0 > > Device Status: 0x77e8 > > (Bus Powered) > > U2 Enabled > > Debug Mode > > > > > > I would appreciate any pointers to see if I can get this working. -- Regards, Laurent Pinchart |
From: Kieran B. <kie...@id...> - 2019-02-28 20:02:30
|
Hi Amila, I believe this topic might get more attention on the linux-media mailing list (which I've added to Cc), but I have some comments below too: On 27/02/2019 16:41, Amila Manoj wrote: > Hello, > > > I'm trying to get this camera working with Ubuntu 18 (4.15.0-20-generic > x86_64 GNU/Linux): > > http://www.nse-global.com/index.php?ac=article&at=read&did=445 > > This camera is not listed under supported devices in > http://www.ideasonboard.org/uvc/#devices > > Device initialization fails and it doesn't get listed under /dev/video* > > In lsusb, the device is listed with just the vendor and product id's. > > > "lsusb" output: > > Bus 002 Device 007: ID 4e45:5501 > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 001 Device 005: ID 8087:0a2b Intel Corp. > Bus 001 Device 004: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd CBM209x Flash Drive (OEM) > Bus 001 Device 003: ID 04f2:0833 Chicony Electronics Co., Ltd > Bus 001 Device 009: ID 17ef:6019 Lenovo > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > > "dmesg" output (with trace enabled): > > [Feb27 15:37] usb 2-1: new SuperSpeed USB device number 7 using xhci_hcd > [ +0.024687] usb 2-1: LPM exit latency is zeroed, disabling LPM. > [ +0.000632] usb 2-1: New USB device found, idVendor=4e45, idProduct=5501 > [ +0.000005] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > [ +0.000003] usb 2-1: Product: NSE-CAM > [ +0.000003] usb 2-1: Manufacturer: NSE > [ +0.001181] uvcvideo: Probing generic UVC device 1 > [ +0.000009] uvcvideo: Found format YUV 4:2:2 (UYVY). > [ +0.000003] uvcvideo: - 1920x1080 (30.0 fps) > [ +0.000009] uvcvideo: Found a Status endpoint (addr 82). > [ +0.000003] uvcvideo: Found UVC 1.10 device NSE-CAM (4e45:5501) > [ +0.000009] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 1 entity 2 > [ +0.000003] uvcvideo: Adding mapping 'Brightness' to control 00000000-0000-0000-0000-000000000101/2. > [ +0.000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 1 entity 2 > [ +0.000003] uvcvideo: Adding mapping 'Contrast' to control 00000000-0000-0000-0000-000000000101/3. > [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 1 entity 2 > [ +0.000003] uvcvideo: Adding mapping 'Hue' to control 00000000-0000-0000-0000-000000000101/6. > [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 1 entity 2 > [ +0.000003] uvcvideo: Adding mapping 'Saturation' to control 00000000-0000-0000-0000-000000000101/7. > [ +0.000004] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 1 entity 2 > [ +0.000003] uvcvideo: Adding mapping 'Sharpness' to control 00000000-0000-0000-0000-000000000101/8. > [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 1 entity 2 > [ +0.000004] uvcvideo: Adding mapping 'White Balance Temperature' to control 00000000-0000-0000-0000-000000000101/10. > [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 1 entity 2 > [ +0.000003] uvcvideo: Adding mapping 'White Balance Temperature, Auto' to control 00000000-0000-0000-0000-000000000101/11. > [ +0.000003] uvcvideo: Scanning UVC chain: OT 4 <- XU 3 <- PU 2 <- IT 1 > [ +0.000010] uvcvideo: Found a valid video chain (1 -> 4). > [ +0.709208] usb 1-2: new low-speed USB device number 9 using xhci_hcd > [ +0.151295] usb 1-2: New USB device found, idVendor=17ef, idProduct=6019 > [ +0.000005] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 > [ +0.000003] usb 1-2: Product: Lenovo Optical USB Mouse > [ +4.165317] input: Lenovo Optical USB Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:17EF:6019.0006/input/input16 > [ +0.059888] hid-generic 0003:17EF:6019.0006: input,hidraw0: USB HID v1.11 Mouse [Lenovo Optical USB Mouse] on usb-0000:00:14.0-2/input0 > [ +5.055435] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. > [ +5.119896] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 34). Hrm ... that ^ 'looks' like a bug we fixed a while back I think ... Have you tried other UVC cameras on this system? Are you able to try a later kernel version just to be sure? > [ +0.000007] uvcvideo: Failed to initialize the device (-5). > [ +25.599651] usbhid 2-1:1.2: can't add hid device: -110 > [ +0.000031] usbhid: probe of 2-1:1.2 failed with error -110 > > > "lsusb -d 4e45:5501 -v" output: > > Bus 002 Device 006: ID 4e45:5501 > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 3.00 > bDeviceClass 239 Miscellaneous Device > bDeviceSubClass 2 ? > bDeviceProtocol 1 Interface Association > bMaxPacketSize0 9 > idVendor 0x4e45 > idProduct 0x5501 > bcdDevice 1.03 > iManufacturer 1 (error) > iProduct 2 (error) These (error)s might be a bit of a concern... > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 249 > bNumInterfaces 3 > bConfigurationValue 1 > iConfiguration 3 (error) > bmAttributes 0x80 > (Bus Powered) > MaxPower 100mA > Interface Association: > bLength 8 > bDescriptorType 11 > bFirstInterface 0 > bInterfaceCount 2 > bFunctionClass 14 Video > bFunctionSubClass 3 Video Interface Collection > bFunctionProtocol 0 > iFunction 0 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 14 Video > bInterfaceSubClass 1 Video Control > bInterfaceProtocol 0 > iInterface 0 > VideoControl Interface Descriptor: > bLength 13 > bDescriptorType 36 > bDescriptorSubtype 1 (HEADER) > bcdUVC 1.10 > wTotalLength 81 > dwClockFrequency 48.000000MHz > bInCollection 1 > baInterfaceNr( 0) 1 > VideoControl Interface Descriptor: > bLength 18 > bDescriptorType 36 > bDescriptorSubtype 2 (INPUT_TERMINAL) > bTerminalID 1 > wTerminalType 0x0201 Camera Sensor > bAssocTerminal 0 > iTerminal 0 > wObjectiveFocalLengthMin 0 > wObjectiveFocalLengthMax 0 > wOcularFocalLength 0 > bControlSize 3 > bmControls 0x00000000 > VideoControl Interface Descriptor: > bLength 13 > bDescriptorType 36 > bDescriptorSubtype 5 (PROCESSING_UNIT) > bUnitID 2 > bSourceID 1 > wMaxMultiplier 16384 > bControlSize 3 > bmControls 0x0000105f > Brightness > Contrast > Hue > Saturation > Sharpness > White Balance Temperature > White Balance Temperature, Auto > iProcessing 0 > bmVideoStandards 0x 0 > VideoControl Interface Descriptor: > bLength 28 > bDescriptorType 36 > bDescriptorSubtype 6 (EXTENSION_UNIT) > bUnitID 3 > guidExtensionCode {ffffffff-ffff-ffff-ffff-ffffffffffff} Hrm ... Laurent - is that suspicious? or ok? > bNumControl 0 > bNrPins 1 > baSourceID( 0) 2 > bControlSize 3 > bmControls( 0) 0x00 > bmControls( 1) 0x00 > bmControls( 2) 0x00 > iExtension 0 > VideoControl Interface Descriptor: > bLength 9 > bDescriptorType 36 > bDescriptorSubtype 3 (OUTPUT_TERMINAL) > bTerminalID 4 > wTerminalType 0x0101 USB Streaming > bAssocTerminal 0 > bSourceID 3 > iTerminal 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x82 EP 2 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 1 > bMaxBurst 0 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 14 Video > bInterfaceSubClass 2 Video Streaming > bInterfaceProtocol 0 > iInterface 0 > VideoStreaming Interface Descriptor: > bLength 14 > bDescriptorType 36 > bDescriptorSubtype 1 (INPUT_HEADER) > bNumFormats 1 > wTotalLength 71 > bEndPointAddress 131 > bmInfo 0 > bTerminalLink 4 > bStillCaptureMethod 1 > bTriggerSupport 0 > bTriggerUsage 0 > bControlSize 1 > bmaControls( 0) 27 > VideoStreaming Interface Descriptor: > bLength 27 > bDescriptorType 36 > bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) > bFormatIndex 1 > bNumFrameDescriptors 1 > guidFormat {55595659-0000-1000-8000-00aa00389b71} > bBitsPerPixel 16 > bDefaultFrameIndex 1 > bAspectRatioX 0 > bAspectRatioY 0 > bmInterlaceFlags 0x00 > Interlaced stream or variable: No > Fields per frame: 2 fields > Field 1 first: No > Field pattern: Field 1 only > bCopyProtect 0 > VideoStreaming Interface Descriptor: > bLength 30 > bDescriptorType 36 > bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) > bFrameIndex 1 > bmCapabilities 0x03 > Still image supported > Fixed frame-rate > wWidth 1920 > wHeight 1080 > dwMinBitRate 995328000 > dwMaxBitRate 995328000 > dwMaxVideoFrameBufferSize 4147200 > dwDefaultFrameInterval 333333 > bFrameIntervalType 1 > dwFrameInterval( 0) 333333 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0400 1x 1024 bytes > bInterval 0 > bMaxBurst 15 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 2 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 3 Human Interface Device > bInterfaceSubClass 0 No Subclass > bInterfaceProtocol 0 None > iInterface 0 > HID Device Descriptor: > bLength 9 > bDescriptorType 33 > bcdHID 1.11 > bCountryCode 0 Not supported > bNumDescriptors 1 > bDescriptorType 34 Report > wDescriptorLength 29 > Warning: incomplete report descriptor > Report Descriptor: (length is 7) > Item(Main ): (null), data=none > Item(Main ): (null), data=none > Item(Main ): (null), data=none > Item(Main ): (null), data=none > Item(Main ): (null), data=none > Item(Main ): (null), data=none > Item(Main ): (null), data=none > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 10 > bMaxBurst 0 > Device Status: 0x77e8 > (Bus Powered) > U2 Enabled > Debug Mode > > > I would appreciate any pointers to see if I can get this working. > > Thank you! > > > Regards, > > Amila > > > > _______________________________________________ > Linux-uvc-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel > -- Regards -- Kieran |
From: Amila M. <ami...@gm...> - 2019-02-27 16:41:35
|
Hello, I'm trying to get this camera working with Ubuntu 18 (4.15.0-20-generic x86_64 GNU/Linux): http://www.nse-global.com/index.php?ac=article&at=read&did=445 This camera is not listed under supported devices in http://www.ideasonboard.org/uvc/#devices Device initialization fails and it doesn't get listed under /dev/video* In lsusb, the device is listed with just the vendor and product id's. "lsusb" output: Bus 002 Device 007: ID 4e45:5501 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 005: ID 8087:0a2b Intel Corp. Bus 001 Device 004: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd CBM209x Flash Drive (OEM) Bus 001 Device 003: ID 04f2:0833 Chicony Electronics Co., Ltd Bus 001 Device 009: ID 17ef:6019 Lenovo Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub "dmesg" output (with trace enabled): [Feb27 15:37] usb 2-1: new SuperSpeed USB device number 7 using xhci_hcd [ +0.024687] usb 2-1: LPM exit latency is zeroed, disabling LPM. [ +0.000632] usb 2-1: New USB device found, idVendor=4e45, idProduct=5501 [ +0.000005] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ +0.000003] usb 2-1: Product: NSE-CAM [ +0.000003] usb 2-1: Manufacturer: NSE [ +0.001181] uvcvideo: Probing generic UVC device 1 [ +0.000009] uvcvideo: Found format YUV 4:2:2 (UYVY). [ +0.000003] uvcvideo: - 1920x1080 (30.0 fps) [ +0.000009] uvcvideo: Found a Status endpoint (addr 82). [ +0.000003] uvcvideo: Found UVC 1.10 device NSE-CAM (4e45:5501) [ +0.000009] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 1 entity 2 [ +0.000003] uvcvideo: Adding mapping 'Brightness' to control 00000000-0000-0000-0000-000000000101/2. [ +0.000005] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 1 entity 2 [ +0.000003] uvcvideo: Adding mapping 'Contrast' to control 00000000-0000-0000-0000-000000000101/3. [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 1 entity 2 [ +0.000003] uvcvideo: Adding mapping 'Hue' to control 00000000-0000-0000-0000-000000000101/6. [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 1 entity 2 [ +0.000003] uvcvideo: Adding mapping 'Saturation' to control 00000000-0000-0000-0000-000000000101/7. [ +0.000004] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 1 entity 2 [ +0.000003] uvcvideo: Adding mapping 'Sharpness' to control 00000000-0000-0000-0000-000000000101/8. [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 1 entity 2 [ +0.000004] uvcvideo: Adding mapping 'White Balance Temperature' to control 00000000-0000-0000-0000-000000000101/10. [ +0.000003] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/11 to device 1 entity 2 [ +0.000003] uvcvideo: Adding mapping 'White Balance Temperature, Auto' to control 00000000-0000-0000-0000-000000000101/11. [ +0.000003] uvcvideo: Scanning UVC chain: OT 4 <- XU 3 <- PU 2 <- IT 1 [ +0.000010] uvcvideo: Found a valid video chain (1 -> 4). [ +0.709208] usb 1-2: new low-speed USB device number 9 using xhci_hcd [ +0.151295] usb 1-2: New USB device found, idVendor=17ef, idProduct=6019 [ +0.000005] usb 1-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ +0.000003] usb 1-2: Product: Lenovo Optical USB Mouse [ +4.165317] input: Lenovo Optical USB Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:17EF:6019.0006/input/input16 [ +0.059888] hid-generic 0003:17EF:6019.0006: input,hidraw0: USB HID v1.11 Mouse [Lenovo Optical USB Mouse] on usb-0000:00:14.0-2/input0 [ +5.055435] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. [ +5.119896] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 34). [ +0.000007] uvcvideo: Failed to initialize the device (-5). [ +25.599651] usbhid 2-1:1.2: can't add hid device: -110 [ +0.000031] usbhid: probe of 2-1:1.2 failed with error -110 "lsusb -d 4e45:5501 -v" output: Bus 002 Device 006: ID 4e45:5501 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize0 9 idVendor 0x4e45 idProduct 0x5501 bcdDevice 1.03 iManufacturer 1 (error) iProduct 2 (error) iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 249 bNumInterfaces 3 bConfigurationValue 1 iConfiguration 3 (error) bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 14 Video bFunctionSubClass 3 Video Interface Collection bFunctionProtocol 0 iFunction 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 1 Video Control bInterfaceProtocol 0 iInterface 0 VideoControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdUVC 1.10 wTotalLength 81 dwClockFrequency 48.000000MHz bInCollection 1 baInterfaceNr( 0) 1 VideoControl Interface Descriptor: bLength 18 bDescriptorType 36 bDescriptorSubtype 2 (INPUT_TERMINAL) bTerminalID 1 wTerminalType 0x0201 Camera Sensor bAssocTerminal 0 iTerminal 0 wObjectiveFocalLengthMin 0 wObjectiveFocalLengthMax 0 wOcularFocalLength 0 bControlSize 3 bmControls 0x00000000 VideoControl Interface Descriptor: bLength 13 bDescriptorType 36 bDescriptorSubtype 5 (PROCESSING_UNIT) bUnitID 2 bSourceID 1 wMaxMultiplier 16384 bControlSize 3 bmControls 0x0000105f Brightness Contrast Hue Saturation Sharpness White Balance Temperature White Balance Temperature, Auto iProcessing 0 bmVideoStandards 0x 0 VideoControl Interface Descriptor: bLength 28 bDescriptorType 36 bDescriptorSubtype 6 (EXTENSION_UNIT) bUnitID 3 guidExtensionCode {ffffffff-ffff-ffff-ffff-ffffffffffff} bNumControl 0 bNrPins 1 baSourceID( 0) 2 bControlSize 3 bmControls( 0) 0x00 bmControls( 1) 0x00 bmControls( 2) 0x00 iExtension 0 VideoControl Interface Descriptor: bLength 9 bDescriptorType 36 bDescriptorSubtype 3 (OUTPUT_TERMINAL) bTerminalID 4 wTerminalType 0x0101 USB Streaming bAssocTerminal 0 bSourceID 3 iTerminal 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 bMaxBurst 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 14 Video bInterfaceSubClass 2 Video Streaming bInterfaceProtocol 0 iInterface 0 VideoStreaming Interface Descriptor: bLength 14 bDescriptorType 36 bDescriptorSubtype 1 (INPUT_HEADER) bNumFormats 1 wTotalLength 71 bEndPointAddress 131 bmInfo 0 bTerminalLink 4 bStillCaptureMethod 1 bTriggerSupport 0 bTriggerUsage 0 bControlSize 1 bmaControls( 0) 27 VideoStreaming Interface Descriptor: bLength 27 bDescriptorType 36 bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED) bFormatIndex 1 bNumFrameDescriptors 1 guidFormat {55595659-0000-1000-8000-00aa00389b71} bBitsPerPixel 16 bDefaultFrameIndex 1 bAspectRatioX 0 bAspectRatioY 0 bmInterlaceFlags 0x00 Interlaced stream or variable: No Fields per frame: 2 fields Field 1 first: No Field pattern: Field 1 only bCopyProtect 0 VideoStreaming Interface Descriptor: bLength 30 bDescriptorType 36 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED) bFrameIndex 1 bmCapabilities 0x03 Still image supported Fixed frame-rate wWidth 1920 wHeight 1080 dwMinBitRate 995328000 dwMaxBitRate 995328000 dwMaxVideoFrameBufferSize 4147200 dwDefaultFrameInterval 333333 bFrameIntervalType 1 dwFrameInterval( 0) 333333 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.11 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 29 Warning: incomplete report descriptor Report Descriptor: (length is 7) Item(Main ): (null), data=none Item(Main ): (null), data=none Item(Main ): (null), data=none Item(Main ): (null), data=none Item(Main ): (null), data=none Item(Main ): (null), data=none Item(Main ): (null), data=none Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 10 bMaxBurst 0 Device Status: 0x77e8 (Bus Powered) U2 Enabled Debug Mode I would appreciate any pointers to see if I can get this working. Thank you! Regards, Amila |
From: Fasai P. <fp...@ri...> - 2019-02-19 03:45:32
|
Hello Paul, Thank you so much for your response. I have tried all options listed under the FAQ. My solution ended up being putting the second camera on a different USB bus by using a USB3 - C adapter and plugging it into a USB-C port. All USB3 ports on my computer would assign all the cameras on the same bus for some reason. Best, Fasai On Tue, Feb 12, 2019 at 1:53 AM Elder, Paul Yang Li <pau...@pi...> wrote: > Hi Fasai, > > On Mon, Feb 11, 2019 at 08:54:42PM -0600, Fasai Phuathavornskul wrote: > > Hello, > > I am currently working on running two Logitech BRIOs on an Intel NUC. > > In the FAQ, under the question: > > > > I get a "No space left on device" (-28) error when trying to stream from > more > > than one camera simultaneously. > > > > I see that one of the solutions is to test out a bandwidth number in: > > ``` > > > > /* Isochronous endpoint, select the alternate setting. */ > > bandwidth = stream->ctrl.dwMaxPayloadTransferSize; > > > > ``` > > However, I'm pretty new to this, so I was wondering whether you would > > outline how this can be done or point me to sources that can help me > > learn. I've tried the quirk method, but I still cannot get two cameras > > running, even at super low resolution (160x120). My guess is the > webcam > > really requests much, much more bandwidth than it needs. > > From the same FAQ I see: > > ``` > You can find how how much bandwidth the device requests and which > alternate setting the driver selects by setting the uvcvideo module > trace parameter to 0x400. The driver will print bandwidth-related > information to the kernel log. > ``` > > Have you tried that? From what I gather, that can be done with > `modprobe uvcvideo trace=400`. > > > Paul > -- Fasai Phuathavornskul Rice University Class of 2019 Electrical and Computer Engineering 1601 Rice Blvd. Houston, TX 77005 fp...@ri... 424-227-1996 |
From: Moritz D. <mor...@pe...> - 2019-02-15 09:17:46
|
Hello Recently we updated the Kernel on our Ubuntu machines from 4.15 to 4.18 because the OS was randomly freezing. However with the new Kernel we ran into a problem regarding our two webcams. We had two /dev/video device files per camera of which only one seemed to work. The problem was that our application would just randomly open one of those two device files and then crashed if it opened the wrong one. After some search i figured out that the second device file is for meta data (which might not be provided by our camera i guess...). However i also found the line in the uvc_driver.c which generates the device file (https://elixir.bootlin.com/linux/v4.18/source/drivers/media/usb/uvc/uvc_driver.c#L2005) that line including the whole uvc_metadata.c was added when comparing 4.15 and 4.18 Kernel. I took that line out, recompiled the Kernel and ended up with having only one /dev/video device file per camera. I also found it is using the exact same function to register the device node that the uvc_driver.c is using and also using the same vfl_devnode_type (VFL_TYPE_GRABBER) and therefore ending up as a /dev/video device. Was that move on purpose? Why was it split up in two device files, or is that just added functionality? I would rather like this device file to have a different name because in this setup it is not easily decidable if a /dev/video device is the "real" webcam or just the meta data... So i would prefer that to end up as something like /dev/metavideo or so ( or maybe easier: change the type to VFL_TYPE_SUBDEV so it will end up as a v4l-subdev device, that sounds more suitable for me...) What are the plans for this in future kernel versions? Should it stay like it is now or are there plans to change/evolve the meta data handling again? Thanks very much. Best regards / Mit freundlichen Grüßen Moritz Dötterl Pentland Firth Software GmbH Hofmannstr. 61 81379 München, Germany Mobile: +49 17655389056 mor...@pe...<mailto:aro...@pe...> ---------------------------------------------------------------------------------------------------------------------------------- Pentland Firth is Microsoft Gold Partner Brands we own: www.whiz-cart.com<http://www.whiz-cart.com/> ---------------------------------------------------------------------------------------------------------------------------------- Sitz der Gesellschaft: München, Handelsregister München, HRB 155 786, Geschäftsführer: Frank Heinrich |
From: Dmitry M. <dm...@pa...> - 2019-02-14 02:40:36
|
Hello, I would like to offer a patch for git://git.ideasonboard.org/uvc-gadget.git to avoid possible removal of event callback while the events dispatch loop is iterating through the available callbacks. Kind regards, - Dmitry Mikushin. |
From: Dmitry M. <dm...@pa...> - 2019-02-14 02:38:46
|
Hello, I would like to offer a patch for git://git.ideasonboard.org/uvc-gadget.git to avoid possible removal of event callback while the events dispatch loop is iterating through the available callbacks. Kind regards, - Dmitry Mikushin. |