On 6/6/2011 10:40 AM, Karl Pielorz wrote:
> Is there any way of knowing which ugen devices map to which devices in
> /dev?  (The system has cuaU0 through cuaU8).

        RELENG_8 has a bit more info. Not sure when the change was in, but in
sysctl, I see things like

0(ich10)# usbconfig | grep -i ftd
ugen1.2: <usb serial converter ftdi> at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
ugen2.2: <usb serial converter ftdi> at usbus2, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
ugen2.3: <usb serial converter ftdi> at usbus2, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
0(ich10)# sysctl -a dev.uftdi
dev.uftdi.0.%desc: usb serial converter
dev.uftdi.0.%driver: uftdi
dev.uftdi.0.%location: bus=1 hubaddr=1 port=1 devaddr=2 interface=0
dev.uftdi.0.%pnpinfo: vendor=0x0403 product=0x6001 devclass=0x00
devsubclass=0x00 sernum="ftEG4Z0V" release=0x0400 intclass=0xff
intsubclass=0xff ttyname=U0 ttyports=1
dev.uftdi.0.%parent: uhub1
dev.uftdi.1.%desc: usb serial converter
dev.uftdi.1.%driver: uftdi
dev.uftdi.1.%location: bus=1 hubaddr=1 port=2 devaddr=2 interface=0
dev.uftdi.1.%pnpinfo: vendor=0x0403 product=0x6001 devclass=0x00
devsubclass=0x00 sernum="ftEG3NR6" release=0x0400 intclass=0xff
intsubclass=0xff ttyname=U1 ttyports=1
dev.uftdi.1.%parent: uhub2
dev.uftdi.2.%desc: usb serial converter
dev.uftdi.2.%driver: uftdi
dev.uftdi.2.%location: bus=1 hubaddr=2 port=2 devaddr=3 interface=0
dev.uftdi.2.%pnpinfo: vendor=0x0403 product=0x6001 devclass=0x00
devsubclass=0x00 sernum="ftEGY0XE" release=0x0400 intclass=0xff
intsubclass=0xff ttyname=U2 ttyports=1
dev.uftdi.2.%parent: uhub2

Same with umodem and u3g

# usbconfig
ugen0.1: <OHCI root HUB AMD> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
ugen1.1: <EHCI root HUB AMD> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
ugen1.2: <USB Modem U.S.Robotics> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
ugen0.2: <Globetrotter HSDPA Modem Option N.V.> at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON

# sysctl -a dev. | grep tty
dev.umodem.0.%pnpinfo: vendor=0x0baf product=0x0303 devclass=0x02
devsubclass=0x00 sernum="0000002" release=0x0200 intclass=0x02
intsubclass=0x02 ttyname=U0 ttyports=1
dev.u3g.0.%pnpinfo: vendor=0x0af0 product=0x6901 devclass=0xff
devsubclass=0xff sernum="Serial Number" release=0x0000 intclass=0xff
intsubclass=0xff ttyname=U1 ttyports=3

Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to