Date: Mon, 15 Sep 2014 15:28:48 +0300 From: Vitaly Magerya <vmagerya@gmail.com> To: Hans Petter Selasky <hps@selasky.org>, freebsd-usb@freebsd.org Subject: Re: How to obtain the "ugen" that corresponds to an "ums", "uep" or "uhid"? Message-ID: <5416DB80.2050409@gmail.com> In-Reply-To: <5416D673.5010001@selasky.org> References: <5416D0E8.3030806@gmail.com> <5416D673.5010001@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-09-15 15:07, Hans Petter Selasky wrote: >> Hi, folks. Is there a way to obtain the name of an ugen device that >> corresponds to a particular ums/uep/uhid device? > > Have you tried: > > usbconfig show_ifdrv I haven't. It does look like a good solution though. Thank you. >> It seems that we have the correct <address> number in the "devaddr" >> variable, but the correct <unit> number is nowhere to be found. > > That might be a bug. We can easily add a unit=%d argument to the devd > events, if not already there. That would be great as well (although I won't be able to use this until the EoL of all FreeBSD versions without this feature, but it will simplify things afterwards).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5416DB80.2050409>