[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#864604: usb-modeswitch: USB 3G modem is detected twice as "USB Mass Storage"



Josua Dietze [2017-06-11 16:31:16+02] wrote:

> Bottom line:
> The product ID 0x9801 needs to be added to the serial driver of the kernel.
>
> For a quick fix you can do what usb_modeswitch did previously:
> # modprobe -v option
> # echo "1c9e 9801" > /sys/bus/usb-serial/drivers/option1/new_id
>
> You can put this into a script and let it be called by udev
> automatically if your modem is plugged. Put this below the first
> "ACTION" line in /lib/udev/rules.d/40-usb_modeswitch.rules:
>
> ATTR{idVendor}=="1c9e", ATTR{idProduct}=="9801", RUN+="/path/to/your/script"

Thank you very much. I did your suggested quick fix and got my device
working again. I'll try to help others and report the vendor and product
ids to kernel's USB serial subsystem maintainers.

So it's not really usb-modeswitch package's bug but the removed feature
of not loading kernel modules "manually" triggers the underlying
problem. Maybe this bug can be closed.

Thanks!

Attachment: signature.asc
Description: PGP signature


Reply to: