Am 11.08.2011 00:34, schrieb Christian Kastner:
Strange thing: on my netbook the problem hasn't changed, but on my
desktop PC switching occurs with versions 1.1.4 to 1.1.9 (as confirmed
by lsusb and dmesg output), but the /dev/gsmmodem symlink does not get
set up in versions 1.1.7 and above.

So what you are saying that the main problem (no mode switch at boot) is now limited to your router, right?

Regarding the symlink, the logic has changed somewhat in 1.1.7; to avoid treating unrelated devices, a list of known USB IDs is checked before acting. This list is appended if you switch your device for the first time by plugging in. You will get the symlink from every following mode switch, but not on that first "encounter". So, to test this feature during a boot process, you would in advance have to 1. install, 2. plug in, 3. reboot (with or without a previous re-plug cycle).

The list of known devices is being deleted when uninstalling, so you have the same situation after each version testing. See /var/lib/usb_modeswitch/link_list if you want to check it out.

Resuming the earlier exchange, the error that you saw in the udev debug log should be gone with version 1.1.9 ('arithmetic expression: expecting EOF: "0x"'). Also, the shell script is not likely to be the culprit when it is not even being called during boot.

The main issue was that udev did not run usb_modeswitch _at all_ during boot on the router. That may shift the focus to the udev rules file, which is part of the data package.

Can you tell us which usb-modeswitch-data version is currently installed on your gateway router?
And did you install a new data package on your desktop machine at some point?

Regards,
Josh



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to