Re: [MM] "usb" _class_ renamed to "usbmisc" in 3.6



And there I went straight for the confusion....  Sorry about that.  It's
of course the "usb" class has been renamed, not the subsystem.

Just to illustrate the implications:

bjorn@nemi:~$ ls -l /sys/class/usbmisc/
total 0
lrwxrwxrwx 1 root root 0 Jun 28 20:31 cdc-wdm0 -> ../../devices/pci0000:00/0000:00:1d.7/usb6/6-4/6-4:1.8/usbmisc/cdc-wdm0
lrwxrwxrwx 1 root root 0 Jun 28 20:31 cdc-wdm1 -> ../../devices/pci0000:00/0000:00:1d.7/usb6/6-4/6-4:1.19/usbmisc/cdc-wdm1

bjorn@nemi:~$ ls -ld /sys/bus/usb/devices/6-4\:*/{net,usb*}/*
drwxr-xr-x 5 root root 0 Jun 28 20:31 /sys/bus/usb/devices/6-4:1.19/net/wwan1
drwxr-xr-x 3 root root 0 Jun 28 20:31 /sys/bus/usb/devices/6-4:1.19/usbmisc/cdc-wdm1
drwxr-xr-x 5 root root 0 Jun 28 20:31 /sys/bus/usb/devices/6-4:1.8/net/wwan0
drwxr-xr-x 3 root root 0 Jun 28 20:31 /sys/bus/usb/devices/6-4:1.8/usbmisc/cdc-wdm0


So instead of seeing "usb" twice with different meaning in

   /sys/bus/usb/devices/6-4:1.8/usb/cdc-wdm0

you now still have "usb" for the subsystem, but "usbmisc" for the class:

  /sys/bus/usb/devices/6-4:1.8/usbmisc/cdc-wdm0



Bjørn


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]