static usb device configuration

Peter Jeremy peterjeremy at acm.org
Mon Dec 13 20:10:06 UTC 2010


On 2010-Dec-13 08:56:51 +0100, Emanuel Haupt <ehaupt at FreeBSD.org> wrote:
>Unfortunately the program in question uses libusb and the configuration
>only allows to define the device by specifying <busnum>:<devaddr> and
>there are multiple identical devices around with only iSerialNumber
>being different from each other. Somehow I need to make sure the
>devices in the USB hub are always recognized in the same order.

The standard approach seems to be to iterate through all available USB
devices until you find the one that matches your specifications.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20101213/12d9dae7/attachment.pgp


More information about the freebsd-usb mailing list