AnsweredAssumed Answered

Libusb get report descriptor error on imx6dl

Question asked by 铭恒 李 on Apr 6, 2020
Latest reply on Apr 7, 2020 by 铭恒 李


I want to check out the usb hotplug event and get the information of device on my program,so I usb libusb.

But when I use "libusb_get_descriptor" for the report descriptor, it returns LIBUSB_ERROR_PIPE.

I need to know what kinds of the device they are, I can get their string of product , device descriptor and so on but the report descriptor.


The author of libusb said "Descriptor access all happens over the control pipe. I think it's running on on linux but some system configurations are different."


Could you give me a hand about that? I'm using the 4.1.15 kernel.