[Bug 196845] devinfo does not present vital info (compared to sysctl)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 18 19:34:28 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196845
Bug ID: 196845
Summary: devinfo does not present vital info (compared to
sysctl)
Product: Base System
Version: 10.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: uffe at uffe.org
devinfo does not present vital info (compared to sysctl)
Please observe this output from cmd: "sysctl dev.umodem"
The device in question appears as an USB-serial port to the system.
Please note the fields "ttyname" and "ttyports" in the "%pnpinfo" record
dev.umodem.%parent:
dev.umodem.0.%desc: Microchip Technology Inc. CDC RS-232 Emulation Demo, class
2/0, rev 2.00/1.00, addr 1
dev.umodem.0.%driver: umodem
dev.umodem.0.%location: bus=4 hubaddr=1 port=3 devaddr=2 interface=0
dev.umodem.0.%pnpinfo: vendor=0x04d8 product=0xfa95 devclass=0x02
devsubclass=0x00 sernum="Logic Pirate v1" release=0x0100 mode=host
intclass=0x02 intsubclass=0x02 intprotocol=0x01 ttyname=U0 ttyports=1
dev.umodem.0.%parent: uhub1
dev.umodem.0.ttyname: U0
dev.umodem.0.ttyports: 1
This is the output from devinfo for the same device:
umodem0 pnpinfo vendor=0x04d8 product=0xfa95 devclass=0x02 devsubclass=0x00
sernum="Logic Pirate v1" release=0x0100 mode=host intclass=0x02 int at bus=4
hubaddr=1 port=3 devaddr=2 interface=0
Note that the "ttyname" and "ttyports" entries are missing.
This makes it impossible to use devinfo in order to determine the mapping
between USB(-serial) devices and the /dev/cuaUx serial ports that the provide
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list