Ease testing on /dev/cdc-wdmX where X > 0

Aleksander Morgado aleksander at lanedo.com
Wed Apr 11 03:22:34 PDT 2012


> bjorn at nemi:~$ ls -l /sys/class/net/wwan*
> lrwxrwxrwx 1 root root 0 Mar 27 09:16 /sys/class/net/wwan0 ->  ../../devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.7/net/wwan0
> lrwxrwxrwx 1 root root 0 Mar 27 09:21 /sys/class/net/wwan1 ->  ../../devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.4/net/wwan1
> lrwxrwxrwx 1 root root 0 Mar 27 09:22 /sys/class/net/wwan2 ->  ../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.4/net/wwan2
> bjorn at nemi:~$ ls -l /sys/class/usb/cdc-wdm*
> lrwxrwxrwx 1 root root 0 Mar 27 09:17 /sys/class/usb/cdc-wdm0 ->  ../../devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.5/usb/cdc-wdm0
> lrwxrwxrwx 1 root root 0 Mar 27 09:17 /sys/class/usb/cdc-wdm1 ->  ../../devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.6/usb/cdc-wdm1
> lrwxrwxrwx 1 root root 0 Mar 27 09:21 /sys/class/usb/cdc-wdm2 ->  ../../devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.3/usb/cdc-wdm2
> lrwxrwxrwx 1 root root 0 Mar 27 09:22 /sys/class/usb/cdc-wdm3 ->  ../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.3/usb/cdc-wdm3
>
> Note that the mapping here is
>
> wwan0<=>  cdc-wdm0 _and_ cdc-wdm1

Out of the topic of the original email, but... just wondering, are those 
2 cdm-wdm interfaces in that device fully equivalent, or do they have 
different purposes?

-- 
Aleksander


More information about the libqmi-devel mailing list