Is extra USB event possible in FreeBSD 8?
Sagara Wijetunga
sagara at tomahawk.com.sg
Tue Jul 14 15:53:29 UTC 2009
Hi FreeBSD community
I want to identify the device created (eg. da0, da1, etc.) for an USB Mass
Storage device with its vendor and product identification numbers.
Currently, FreeBSD 8 send following events to the devd on attach of an USB
Mass Storage device:
!system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.3.0
!system=DEVFS subsystem=CDEV type=CREATE cdev=ugen4.3
!system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.3.1
!system=DEVFS subsystem=CDEV type=CREATE cdev=usb/4.3.2
+ugen4.3 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00
sernum="14925B00" at port=7 on ugen4.1
? at port=7 interface=0 vendor=0x0718 product=0x0081 devclass=0x00
devsubclass=0x00 sernum="14925B00" intclass=0x08 intsubclass=0x06 on uhub4
+umass1 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00
sernum="14925B00" intclass=0x08 intsubclass=0x06 at port=7 interface=0
vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00
sernum="14925B00" intclass=0x08 intsubclass=0x06 on uhub4
!system=DEVFS subsystem=CDEV type=CREATE cdev=pass4
!system=DEVFS subsystem=CDEV type=CREATE cdev=da4
!system=DEVFS subsystem=CDEV type=CREATE cdev=da4s1
!system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/
Is it possible to get an extra event to the devd with the device created
(eg. da0, da1, etc.) with its vendor and product identification numbers?
eg. +da0 vendor=0x0718 product=0x0081 ...
Kind regards
Sagara
More information about the freebsd-current
mailing list