Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2010 07:10:02 +1100
From:      Peter Jeremy <peterjeremy@acm.org>
To:        Emanuel Haupt <ehaupt@FreeBSD.org>
Cc:        freebsd-usb@FreeBSD.org
Subject:   Re: static usb device configuration
Message-ID:  <20101213201002.GB61140@server.vk2pj.dyndns.org>
In-Reply-To: <20101213085651.43110117.ehaupt@FreeBSD.org>
References:  <20101212194924.b625d7ad.ehaupt@FreeBSD.org> <AANLkTim7agR-6RFBRyDJjybURw2pkgwhtX64jDpy61NN@mail.gmail.com> <20101213085651.43110117.ehaupt@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2010-Dec-13 08:56:51 +0100, Emanuel Haupt <ehaupt@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iEYEARECAAYFAk0GfZoACgkQ/opHv/APuIeh1ACeO/YVNBXObMv8KSDIMCvE9+Rh
A2oAn1SsDkIV9VbHlI2yqyFaO/4bYMbD
=8WTQ
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101213201002.GB61140>