Hi Sophie, On Tue, Jan 10, 2023 at 02:33:17PM +0100, Sophie Friedrich wrote: > Hello, > > Yeah the link was broken before, but I already fixed it. I'm not > sure if my reply actually reached the mailing list (it accidentally > mixed up my sending adress). At least from the libcamera I got a > bounce, as I'm not a member. I've accepted both e-mails manually, and added the two addresses to the approved senders. > On 10/01/2023 14:13, Laurent Pinchart wrote: > > Sophie, could you please share the `lsusb -v` output for the device (you > > can limit it to a specific device with `-d VID:PID`), running as root > > (e.g. with `sudo`) if possible ? > > Note here that the idVendor and iManufacturer do not match. The > camera uses the same USB VID:PID as the Netchip "Gadget Zero", because > of course it does… Of course... Thank you for the descriptors, even if they make me want to cry... > $ sudo lsusb -v -d 0525:a4a0 > Bus 001 Device 019: ID 0525:a4a0 Netchip Technology, Inc. Linux-USB > "Gadget Zero" > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.01 > bDeviceClass 0 > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 64 > idVendor 0x0525 Netchip Technology, Inc. > idProduct 0xa4a0 Linux-USB "Gadget Zero" > bcdDevice 2.00 > iManufacturer 1 Wuhan Guide Infrared Co., Ltd. > iProduct 2 MobIR Air > iSerial 3 ZX01A19 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 0x0040 > bNumInterfaces 2 > bConfigurationValue 1 > iConfiguration 4 MFI Configure > bmAttributes 0xc0 > Self Powered > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 240 > bInterfaceProtocol 0 > iInterface 5 iAP Interface > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x82 EP 2 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 0 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 0 > bNumEndpoints 0 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 240 > bInterfaceProtocol 1 > iInterface 6 com.guidesensmart.mobir-air > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 1 > bNumEndpoints 2 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 240 > bInterfaceProtocol 1 > iInterface 6 com.guidesensmart.mobir-air > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x01 EP 1 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 0 > Binary Object Store Descriptor: > bLength 5 > bDescriptorType 15 > wTotalLength 0x000c > bNumDeviceCaps 1 > USB 2.0 Extension Device Capability: > bLength 7 > bDescriptorType 16 > bDevCapabilityType 2 > bmAttributes 0x00000002 > HIRD Link Power Management (LPM) Supported > Device Status: 0x0001 > Self Powered > -- Regards, Laurent Pinchart