[Pkg-utopia-maintainers] Bug#588867: Bug#588867: manually solved
Michael Biebl
biebl at debian.org
Sun May 15 13:18:29 UTC 2011
reassign 588867 usb-modeswitch
thanks
Am 15.05.2011 14:51, schrieb Carlo Marchiori:
> By putting usb_modeswitch in verbose mode (flag EnableLogging in
> /etc/usb_modeswitch.conf), I was able to see that, when plugging the key
> after boot, usb_modeswitch gets the configuration file from the entry
> 12d1:1446 in /usr/share/usb_modeswitch/configPack.tar.gz.
>
> USB_ModeSwitch log from Sun May 15 10:48:53 CEST 2011
> raw args from udev: /2-1.2:1.0
> Using global config file: /etc/usb_modeswitch.conf
> Bus ID for device not given by udev.
> Trying to determine it from kernel name (2-1.2:1.0) ...
> USB dir exists: /sys/bus/usb/devices/2-1.2
> Warning: USB attribute "serial" not found.
> ----------------
> USB values from sysfs:
> manufacturer HUAWEI Technology
> product HUAWEI Mobile
> serial
> ----------------
> Found packed config collection /usr/share/usb_modeswitch/configPack.tar.gz
> Searching overriding entries named: /etc/usb_modeswitch.d/12d1:1446*
> SCSI attributes not needed, moving on
> checking config: 12d1:1446
> Extracting config 12d1:1446 from collection
> /usr/share/usb_modeswitch/configPack.tar.gz
> ! matched, now switching
> (running command: /usr/sbin/usb_modeswitch -I -W -c
> /var/lib/usb_modeswitch/current_cfg)
>
>
>
> So I unpacked the entry in /etc/usb_modeswitch.d/ and put the following line
> in /etc/rc.local
>
> /usr/sbin/usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1\:1446
>
>
> This way the key works is correctly initialized at boot. What I don't
> understand is why usb_modeswitch is called by udev ("raw args from udev:
> /2-1.2:1.0") when the key is plugged in after boot while it doesn't appear
> to be called at boot.
Thanks for the analysis.
I'm reassigning the bug to usb-modeswitch.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20110515/f57d25b1/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list