s s
|
QNX 4.25 USB DDK usbd_urb_status EBUSY
|
s s
07/18/2008 9:57 AM
post10712
|
QNX 4.25 USB DDK usbd_urb_status EBUSY
hello I am creating a driver for moxa usb to serial adapter
i use usb ddk got from www.qnx.com->Prerelease Software->QNX 4 Beta Software->QNX4 USB 1.0 Host Controller and class
driver support->QNX USB DDK QNX 4.25
I have written a drier similar to printer example. In the insertion function after obtainnig configuration, i send some
firmware data to the device, but after first packed usd_urb_status returns EBUSY and this state is not changing even
after few minutes.
None of open pipe urb_alloc or usbd_io functions returned any errors.
I checkd usbd_urb_status just before usbd_io and its still returning EBUSY. I made same test with usb mass storage and
it is EBUSY also.
Mass storage works properly using io-usb and umass.
Can I use bulk transer inside insertion function?
Can I use usbd_status instead of urb_status? What are the parameters for this function? the help pages doesn't
descriptits clearl, I tried obtainnig something of usbd_descriptors_t size but it returns EMSGSIZE.
|
|
|