Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-09-22 Thread Christian Kastner
Hi all, On 08/09/2011 03:50 PM, Didier Raboud wrote: > Christian: ping ? > > By the way, I just uploaded new upstream releases for usb-modeswitch{,-data} > to unstable, you might want to try them. I invested another couple of hours yesterday and still no clue for what might be causing this. So

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-08-17 Thread Josua Dietze
Am 17.08.2011 01:10, schrieb Christian Kastner: I did not yet have time to run the full battery of tests (eg [0]), but will do so as soon as I can. I am almost out of clues about what else is there to test. I'll try further to evoke the problem on my systems somehow. So far, this has failed.

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-08-16 Thread Christian Kastner
On 08/15/2011 05:36 PM, Josua Dietze wrote: > Am 13.08.2011 10:03, schrieb Josua Dietze: >> 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. > > Oddly enough,

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-08-16 Thread Christian Kastner
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

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-08-15 Thread Josua Dietze
Am 13.08.2011 10:03, schrieb Josua Dietze: 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. Oddly enough, I received a report by mail from someone at AltLinux. He enco

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-08-13 Thread Josua Dietze
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

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-08-10 Thread Christian Kastner
Hey again, On 06/18/2011 06:04 PM, Josua Dietze wrote: > Am 18.06.2011 16:11, schrieb Christian Kastner: >> I have attached a file with the following contents: >>1. output of lsusb when plugged in at boot, then removed, then plugged >> back in, and `diff -U 0` >> a) from boot to rem

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-08-09 Thread Christian Kastner
On 08/09/2011 03:50 PM, Didier Raboud wrote: > Christian: ping ? > > By the way, I just uploaded new upstream releases for usb-modeswitch{,-data} > to unstable, you might want to try them. Sorry about the delay -- moved to a new apartment, and underestimated the effort... I'll run a full batter

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-08-09 Thread Didier Raboud
tags 629371 +moreinfo thanks Le jeudi, 23 juin 2011 10.41:15, Josua Dietze a écrit : > Am 22.06.2011 09:56, schrieb Josua Dietze: > > If you want you can check for the other variables too; just before the > > "case" line, the values for v_id and p_id should be set. > > > > echo "ums variables: v_

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-23 Thread Josua Dietze
Am 22.06.2011 09:56, schrieb Josua Dietze: If you want you can check for the other variables too; just before the "case" line, the values for v_id and p_id should be set. echo "ums variables: v_id $v_id, p_id $p_id" >&2 I have to correct myself here; the variables mentioned are *not* relevant

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-22 Thread Josua Dietze
Am 22.06.2011 10:24, schrieb Didier Raboud: FYI, the logs also contained the following linces (twice): '/lib/udev/usb_modeswitch' (stderr) '/lib/udev/usb_modeswitch: 33:' '/lib/udev/usb_modeswitch' (stderr) 'arithmetic expression: expecting EOF: "0x"' '/lib/udev/usb_modeswitch' (stderr) '' This

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-22 Thread Didier Raboud
Hi, Le mercredi, 22 juin 2011 00.26:35, Christian Kastner a écrit : > Sorry for the delayed reply. You are kidding, right ? Your delays are optimal ! > FYI, the logs also contained the following linces (twice): > '/lib/udev/usb_modeswitch' (stderr) '/lib/udev/usb_modeswitch: 33: ' > '/lib/udev/u

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-21 Thread Christian Kastner
Hi, Sorry for the delayed reply. On 06/20/2011 05:28 PM, Josua Dietze wrote: > Two things to do (staying at version 1.1.8): > > 1. Edit /usr/sbin/usb_modeswitch_dispatcher, > 2. Edit (create if not present) /etc/udev/udev.conf, > > Now activate usb_modeswitch logging in /etc/usb_modeswitch.conf

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-20 Thread Josua Dietze
Am 20.06.2011 15:03, schrieb Christian Kastner: No luck, sorry... O.K., time to remove the velvet gloves and get really nasty. Two things to do (staying at version 1.1.8): 1. Edit /usr/sbin/usb_modeswitch_dispatcher, insert these lines in the {Log} procedure before line 616: --- snip ---

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-20 Thread Didier Raboud
reopen 629371 found 629371 1.1.8-1 retitle 629371 usb-modeswitch: Huawei E1750 not switched at boot-time thanks Le lundi, 20 juin 2011 16.03:38, Christian Kastner a écrit : > > What happens when you test with those packages installed ? > > No luck, sorry... Hence re-opening this bug. > To summ

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-20 Thread Christian Kastner
On 06/20/2011 10:57 AM, Didier Raboud wrote: > Le lundi, 20 juin 2011 00.16:49, Christian Kastner a écrit : >> On 06/18/2011 11:24 PM, Josua Dietze wrote: >>> I'm just now working on the next version, 1.1.8, which tries to use a >>> fallback in case of said quirks instead of bailing out. >>> >>> Do

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-20 Thread Didier Raboud
Le lundi, 20 juin 2011 00.16:49, Christian Kastner a écrit : > On 06/18/2011 11:24 PM, Josua Dietze wrote: > > I'm just now working on the next version, 1.1.8, which tries to use a > > fallback in case of said quirks instead of bailing out. > > > > Do you want to try it in the place of "usb_modesw

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-19 Thread Christian Kastner
On 06/18/2011 11:24 PM, Josua Dietze wrote: > I'm just now working on the next version, 1.1.8, which tries to use a > fallback in case of said quirks instead of bailing out. > > Do you want to try it in the place of "usb_modeswitch.c" in the source > folder? Just "make" and replace /usr/sbin/usb_m

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-19 Thread Josua Dietze
Am 18.06.2011 22:24, schrieb Josua Dietze: I'm just now working on the next version, 1.1.8, which tries to use a fallback in case of said quirks instead of bailing out. Now I have prepared a full test package of 1.1.8. I will release tonight if no quirks are reported. Get it here: http://ww

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-18 Thread Josua Dietze
Am 18.06.2011 22:11, schrieb Christian Kastner: With 1.1.4 and udev, dispatcher from 1.1.7, it still appears to be switching properly at boot: So it's most likely a problem with the binary C program. There has been a change regarding determining the current device configuration since 1.1.6. W

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-18 Thread Christian Kastner
On 06/18/2011 10:16 PM, Josua Dietze wrote: > Am 18.06.2011 19:09, schrieb Christian Kastner: >> On 06/18/2011 06:04 PM, Josua Dietze wrote: >>> >>> To circle in further, can you install version 1.1.4 and just swap the >>> little shell script "usb_modeswitch" in /lib/udev with the updated file >>>

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-18 Thread Josua Dietze
Am 18.06.2011 19:09, schrieb Christian Kastner: On 06/18/2011 06:04 PM, Josua Dietze wrote: To circle in further, can you install version 1.1.4 and just swap the little shell script "usb_modeswitch" in /lib/udev with the updated file from upstream 1.1.7 ? With the above configuration, it's sw

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-18 Thread Christian Kastner
On 06/18/2011 06:04 PM, Josua Dietze wrote: > Am 18.06.2011 16:11, schrieb Christian Kastner: >> I have attached a file with the following contents: >>1. output of lsusb when plugged in at boot, then removed, then plugged >> back in, and `diff -U 0` >> a) from boot to removed > > Th

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-18 Thread Josua Dietze
Am 18.06.2011 16:11, schrieb Christian Kastner: I have attached a file with the following contents: 1. output of lsusb when plugged in at boot, then removed, then plugged back in, and `diff -U 0` a) from boot to removed That output is enough to confirm that there was no switching

Bug#629371: Fwd: Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-18 Thread Christian Kastner
(I must have accidentally dropped the bug# from CC, so forwarding) On 06/15/2011 10:28 PM, Josua Dietze wrote: > Are you sure the switching itself is not happening? Did you check the > device ID after booting with the stick? I have attached a file with the following contents: 1. output of lsusb

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-15 Thread Josua Dietze
Am 07.06.2011 01:45, schrieb Christian Kastner: I rebuilt the package with (eventually) all patches dropped, unfortunately to no avail: /dev/ttyUSB[0-2] and /dev/gsmmodem are still not present at boot, and there is no log file in /var/log/ with EnableLogging=1. The main inconvenience is the pr

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-06 Thread Christian Kastner
On 06/06/2011 08:36 AM, Josua Dietze wrote: > Am 06.06.2011 00:59, schrieb Christian Kastner: >> usb-modeswitch no longer detects devices when the device is already >> plugged in >> at boot time. When the device is plugged later, into an already >> running system, >> everything works as expected. W

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-06 Thread Christian Kastner
On 06/06/2011 08:36 AM, Josua Dietze wrote: > Am 06.06.2011 00:59, schrieb Christian Kastner: >> usb-modeswitch no longer detects devices when the device is already >> plugged in >> at boot time. When the device is plugged later, into an already >> running system, >> everything works as expected. W

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-06 Thread Josua Dietze
Am 06.06.2011 00:59, schrieb Christian Kastner: usb-modeswitch no longer detects devices when the device is already plugged in at boot time. When the device is plugged later, into an already running system, everything works as expected. With version 1.1.4 from Squeeze, everything works fine in bo

Bug#629371: usb-modeswitch: Devices no longer detected when plugged in at boot-time

2011-06-05 Thread Christian Kastner
Package: usb-modeswitch Version: 1.1.7-1~bpo60+1 Severity: normal usb-modeswitch no longer detects devices when the device is already plugged in at boot time. When the device is plugged later, into an already running system, everything works as expected. With version 1.1.4 from Squeeze, everything