O.K., here is a suggestion about how to test the new Huawei udev rule.
Obviously the new versions of usb-modeswitch and usb_modeswitch-data should be
installed.
1. Disable mode-switching (edit /etc/usb_modeswitch.conf) just to be on the
safe side, run this command:
"udevadm monitor"
and plug your Huawei modem in.
2. From the monitor output, pick the path to interface 0. In my setup, this was:
"/devices/pci0000:00/0000:00:12.2/usb5/5-3/5-3:1.0". Note that your values
will be different.
This is the specific device that is supposed to trigger the mode-switch rule.
3. Run
"udevadm info -a -p <your-path-from above>"
You will get the full attribute tree that can be checked by a rule entry. In
my setup, it contained these lines which are relevant:
ATTR{bInterfaceClass}=="08"
...
ATTR{bInterfaceNumber}=="00"
...
ATTRS{idVendor}=="12d1"
If one of these is missing in your setup, there may be an issue with the
specific udevd version.
4. Run
"udevadm test --action=add <your-path-from above>"
This is a simulation and should clearly name usb_modeswitch as being run.
Josh
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org