Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #58005 > unrolled thread

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

Started byTeemu Likonen <tlikonen@iki.fi>
First post2017-06-11 18:40 +0200
Last post2017-06-14 12:50 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#864604: usb-modeswitch: USB 3G modem is detected twice as "USB Mass Storage" Teemu Likonen <tlikonen@iki.fi> - 2017-06-11 18:40 +0200
    Bug#864604: Telewell TW-3G HSPA+ modem not detected (was: Bug#864604: usb-modeswitch: USB 3G modem is detected twice as "USB Mass Storage") Teemu Likonen <tlikonen@iki.fi> - 2017-06-14 12:50 +0200

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

FromTeemu Likonen <tlikonen@iki.fi>
Date2017-06-11 18:40 +0200
SubjectBug#864604: usb-modeswitch: USB 3G modem is detected twice as "USB Mass Storage"
Message-ID<tRe49-7kp-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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!

[toc] | [next] | [standalone]


#58028 — Bug#864604: Telewell TW-3G HSPA+ modem not detected (was: Bug#864604: usb-modeswitch: USB 3G modem is detected twice as "USB Mass Storage")

FromTeemu Likonen <tlikonen@iki.fi>
Date2017-06-14 12:50 +0200
SubjectBug#864604: Telewell TW-3G HSPA+ modem not detected (was: Bug#864604: usb-modeswitch: USB 3G modem is detected twice as "USB Mass Storage")
Message-ID<tSe25-459-7@gated-at.bofh.it>
In reply to#58005

[Multipart message — attachments visible in raw view] — view raw

Teemu Likonen [2017-06-11 19:34:02+03] wrote:

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

> I'll try to help others and report the vendor and product ids to
> kernel's USB serial subsystem maintainers.

More news. I reported the issue to kernel's usb-serial maintainers and
they fixed it quickly. It's now fixed in usb-serial git tree. My believe
is that it'll go to kernel's stable branch (4.9) and then to the
mainline kernel.

Here's the commit:

https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git/commit/?h=usb-linus&id=8fb060da715ad10fe956d7c0077b2fb0c12bb9d7

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web