On 08/13/2011 10:03 AM, Josua Dietze wrote:
> 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?

It was still present on the netbook for sure; I couldn't test the router
because it is still in my old apartment and I didn't want to push my
luck (Murphy's Law, etc).

But please scratch that about the desktop PC as well, this was a serious
error on my part. My shell history shows me *rebooting* instead of
powering off/booting to test, which of course meant every reboot going
from 1.1.4 to 1.1.9 was seeing the device already switched by 1.1.4 as
it never lost power. So my success, wasn't.

> 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.

Thanks for the info; I was wondering about that file. It does seem
obvious but it's good to have confirmation.

> 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.

Yeah, that sounds plausible.

> 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?

Yes, I tried all upgrades provided via squeeze-backports.

Currently, I have usb-modeswitch_1.1.8-1~bpo60+1 and
usb-modeswitch-data_20110714~bpo60+1 installed (I gave 1.1.9 and
20110805 from unstable a try, too).



-- 
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