Forum Topic - usb source : (3 Items)
   
usb source  
Hello all 
     I am trying to porting the usb_modeswitch http://www.draisberghof.de/usb_modeswitch/ 

The qnx ddk package have the usb sample code  but it seems not suitable for a simple application , while the utility of 
usb seems does . 

Can I get source of libusbdi ? or where can I get a simple sample like "usb" tools ?

thanks and regards 
Re: usb source  
or , can you provide some tools like this ? it should be a general utility for common usb 3g modems

Thanks . 
Re: usb source  
Hello,

I took a quick look at the source code for usb_modeswitch it uses libusb
API. Note that there are direct equivalents for the libusb API in the
QNX USB DDK.

Unfortunately I don't have any samples that I can provide, but I suggest
you take a look at the libusb API reference and then compare that with
the USB DDK API reference to correctly translate the libusb API into the
proper QNX USB API.

Good luck with the porting effort and don't hesitate to post specific
questions if you run into any issues during the porting process.

Thanks!

On 03/17/11 04:17, Xiongwei Huang wrote:
>
> Hello all
>      I am trying to porting the usb_modeswitch
> http://www.draisberghof.de/usb_modeswitch/
>
> The qnx ddk package have the usb sample code  but it seems not
> suitable for a simple application , while the utility of usb seems does .
>
> Can I get source of libusbdi ? or where can I get a simple sample like
> "usb" tools ?
>
> thanks and regards
>
>
>
> _______________________________________________
>
> OSTech
> http://community.qnx.com/sf/go/post84054
>