On Sunday 04 March 2012 04:05:55 Németh Márton wrote: > Mike Frysinger wrote: > > On Sunday 11 December 2011 17:42:26 Németh Márton wrote: > >> Add "cable list" command. > >> > >> This is more or less a draft to be reviewed. > >> > >> I'm not really sure what types shall be selected for parameters of > >> FT_*() functions. > > > > this looks like it still creates a parallel API to the existing probe > > code. the usb cable drivers all declare the expected VID/PID for their > > cables, so it should be a simple matter of walking all the usb buses and > > comparing their VID/PID combos to the database of usb cable drivers that > > are registered. > > Do you have any example in the UrJTAG source code where you already walk > through all the USB buses looking for VID/PID values? How can you do that > in a platform-independent way?
tap/usbconn/libusb.c walks all devices on all buses and checks their vid/pid -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ UrJTAG-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/urjtag-development
