Hello, i need a hand here with few questions.
I am writing device driver for the usb data aquisition device. When i plug the device in the ‘usb -vvv’ command returns three devices. USB hub, audio codec and FT232R. I know it should be visible as audio codec and serial port (ft232r) however, what for is the USB hub? That was first one.
The next thing, can you provide me any examples, or tutorials on usb programming in qnx? I
ve written simple program that should attach to found usb devices, however it returns "no such device" error code - so, no devices found. This is the error code when usbd_device_ident_t struct is filled with data specfific for pendrive ive plugged in. But when i filled that struct with data specefic for usb hub, the errror code was “device bussy”
The program lists usb controllers, but no reasonable number of devices currently connected is provided. It is 12 for every controller.
I`m attaching source code with its output and usb -vvv output