[Pcsclite-cvs-commit] r6357 - /trunk/PCSC/src/PCSC/ifdhandler.h

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Mon Jun 25 13:53:30 UTC 2012


Author: rousseau
Date: Mon Jun 25 13:53:30 2012
New Revision: 6357

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6357
Log:
Update Doxygen: document "libusb-1.0" scheme

the "libusb" (for libusb-0.1) scheme has been updated to a "libusb-1.0"
scheme (for libusb-1.0).
The device name now contains the interface number. The bus and device
are now integers instead of paths.

The change has been done in revision 5044 (June 2010) but the API was
not updated at the same time.

Modified:
    trunk/PCSC/src/PCSC/ifdhandler.h

Modified: trunk/PCSC/src/PCSC/ifdhandler.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/PCSC/ifdhandler.h?rev=6357&op=diff
==============================================================================
--- trunk/PCSC/src/PCSC/ifdhandler.h (original)
+++ trunk/PCSC/src/PCSC/ifdhandler.h Mon Jun 25 13:53:30 2012
@@ -414,16 +414,15 @@
 
 - libusb
 
-  For USB drivers using libusb http://libusb.sourceforge.net/ for USB
+  For USB drivers using libusb-1.0 http://libusb.sourceforge.net/ for USB
   abstraction the @p DeviceName the string may be generated by:
 
   @code
-  printf("usb:%04x/%04x:libusb:%s:%s",
-    idVendor, idProduct,
-    bus->dirname, dev->filename)
+  printf("usb:%04x/%04x:libusb-1.0:%d:%d:%d",
+    idVendor, idProduct, bus_number, device_address, interface)
   @endcode
 
-  So it is something like: <tt>usb:08e6/3437:libusb:001:042</tt> under
+  So it is something like: <tt>usb:08e6/3437:libusb-1.0:7:99:0</tt> under
   GNU/Linux.
 
 - libudev




More information about the Pcsclite-cvs-commit mailing list