* MERIGHI Marcus <mcmer-open...@tor.at> [121227 22:30]: > just a reminder, in case someone with the necessary skills cares... > > Bye, Marcus > > mcmer-open...@tor.at (MERIGHI Marcus), 2012.06.13 (Wed) 14:17 (CEST): > > hello misc-ers, > > > > while reworking my /etc/hotplug/* scripts I noticed, that I get > > ucom* devices as class 0 = generic: > > > > dmesg snip: > > uftdi1 at uhub6 port 4 "ELV AG ELV FHZ 1000 PC" rev 1.10/2.00 addr 4 > > ucom1 at uftdi1 portno 1 > > > > syslog snip: > > hotplugd[10633]: ucom1 attached, class 0 > > hotplugd[10633]: uftdi1 attached, class 0 > > > > (yes, it's in reversed order in hotplugd syslog output) > > > > I think ucom1 is a class 5, serial line interface. > > > > (I can easily work around this, just thought I'd say a word about it.) > > > > bye, Marcus
Index: ucom.c =================================================================== RCS file: /cvs/src/sys/dev/usb/ucom.c,v retrieving revision 1.55 diff -u -p -u -r1.55 ucom.c --- ucom.c 29 Nov 2011 17:15:44 -0000 1.55 +++ ucom.c 27 Dec 2012 19:34:43 -0000 @@ -147,7 +147,7 @@ int ucom_detach(struct device *, int); int ucom_activate(struct device *, int); struct cfdriver ucom_cd = { - NULL, "ucom", DV_DULL + NULL, "ucom", DV_TTY }; const struct cfattach ucom_ca = { -- Alexander Polakov | plhk.ru