huawei E1962 dongle to be plugged twice

Bug #1244775 reported by ivano.cressatti
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
usb-modeswitch (Ubuntu)
Confirmed
High
Mathieu Trudel-Lapierre

Bug Description

I think the problem is in usb-modeswitch.
If I plug the dongle (huawei E1692) the first time nothing happens: dmesg tells me that it is just mounted as storage device and I cannot see it in the network manager.
So I unplug and then plug it a second time and everything is all right: the logs tell me that it is recognized as a modem and I can connect to the internet (I see it in the network manager).
The same problem on kubuntu and on ubuntu 13.10 (fresh installation, no upgrade of previous release). No problem on the previous releases.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Indeed, seems more related to usb-modeswitch than anything else. That said, usb-modeswitch does end up working...

Are you plugging this dongle in a USB 3.0 port by any chance?

affects: plasma-nm (Ubuntu) → usb-modeswitch (Ubuntu)
Changed in usb-modeswitch (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Mathieu Trudel-Lapierre (mathieu-tl)
Revision history for this message
ivano.cressatti (ivano-cressatti) wrote : Re: [Bug 1244775] Re: huawei E1962 dongle to be plugged twice

Hi. I'm plugging the tongle in an usb 2 port.

I checked the rules and everything is ok too: rules for device 1446 include
many other devices among witch 1436 (huawei E1692).

Well... In a certain way it works, but as I said I have to plug it twice.
Quite a strange thing...

Thank you!
Il giorno 30/ott/2013 17:01, "Mathieu Trudel-Lapierre" <email address hidden>
ha scritto:

> Indeed, seems more related to usb-modeswitch than anything else. That
> said, usb-modeswitch does end up working...
>
> Are you plugging this dongle in a USB 3.0 port by any chance?
>
> ** Package changed: plasma-nm (Ubuntu) => usb-modeswitch (Ubuntu)
>
> ** Changed in: usb-modeswitch (Ubuntu)
> Status: New => Confirmed
>
> ** Changed in: usb-modeswitch (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: usb-modeswitch (Ubuntu)
> Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1244775
>
> Title:
> huawei E1962 dongle to be plugged twice
>
> Status in “usb-modeswitch” package in Ubuntu:
> Confirmed
>
> Bug description:
> I think the problem is in usb-modeswitch.
> If I plug the dongle (huawei E1692) the first time nothing happens:
> dmesg tells me that it is just mounted as storage device and I cannot see
> it in the network manager.
> So I unplug and then plug it a second time and everything is all right:
> the logs tell me that it is recognized as a modem and I can connect to the
> internet (I see it in the network manager).
> The same problem on kubuntu and on ubuntu 13.10 (fresh installation, no
> upgrade of previous release). No problem on the previous releases.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1244775/+subscriptions
>

Revision history for this message
Rik Shaw (rik-shaw) wrote :

This is affecting me also with a Huawei E1690 modem. It will be found by Network Manager only on "even" plug-ins (so, "not found" on 1st, 3rd, 5th plugins, but found on 2nd, 4th, 6th plugins). This is with Ubuntu 14.04 up-to-date as of 13 Feb, 2014.

Revision history for this message
Rik Shaw (rik-shaw) wrote :

Forgot to note that this E1690 Modem was working fine in Ubuntu 12.04 (same machine). This is a bit older modem and "starts" as 12d1:1446, and is switched by usb-modeswitch to: 12d1:1001 (not the 12d1:1436 that ivano mentions for newer Huawei modems).

UPDATE: OK, now it seems to be showing every time (so no problem). Will need to test a bit more. Maybe I am going crazy!

Revision history for this message
Rik Shaw (rik-shaw) wrote :

UPDATE: I stand corrected. This E1690 modem is not "mode-switched" the FIRST time connected to the machine. Watching lsusb, the device just stays at its original ID of 12d1:1446 and never switches to 12d1:1001.

But if I unplug it and replug it, the 2nd, 3rd, 4th, times it is always correctly switched to 12d1:1001 and then "Mobile Broadband" is displayed in the Network Manager. It is only this "first time" it sits a 12d1:1446 and is not switched.

Maybe this is the same situation as the original poster, ivano, was seeing.

Revision history for this message
Rik Shaw (rik-shaw) wrote :

I enabled usb-modeswitch logging in /etc/usb_modeswitch.conf, and tried again. After rebooting, the first plugin of the device (where it is not "switched" generates no log by usb-modeswitch at /var/log/usb_modeswitch*). The "second plugin" does generate a log, /var/log/usb_modeswitch.log).

So, it seems to me that usb-modeswitch is not being triggered at all the first time the device is plugged in (rather than usb-modeswitch being triggered and not succeeding in switching the device). Is this then a udev issue?

Revision history for this message
ivano.cressatti (ivano-cressatti) wrote :

I do not know if this may help but the bug does not affect opensuse 13.1
(64bit)

2014-02-14 0:50 GMT+01:00 Rik Shaw <email address hidden>:

> I enabled usb-modeswitch logging in /etc/usb_modeswitch.conf, and tried
> again. After rebooting, the first plugin of the device (where it is not
> "switched" generates no log by usb-modeswitch at
> /var/log/usb_modeswitch*). The "second plugin" does generate a log,
> /var/log/usb_modeswitch.log).
>
> So, it seems to me that usb-modeswitch is not being triggered at all the
> first time the device is plugged in (rather than usb-modeswitch being
> triggered and not succeeding in switching the device). Is this then a
> udev issue?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1244775
>
> Title:
> huawei E1962 dongle to be plugged twice
>
> Status in "usb-modeswitch" package in Ubuntu:
> Confirmed
>
> Bug description:
> I think the problem is in usb-modeswitch.
> If I plug the dongle (huawei E1692) the first time nothing happens:
> dmesg tells me that it is just mounted as storage device and I cannot see
> it in the network manager.
> So I unplug and then plug it a second time and everything is all right:
> the logs tell me that it is recognized as a modem and I can connect to the
> internet (I see it in the network manager).
> The same problem on kubuntu and on ubuntu 13.10 (fresh installation, no
> upgrade of previous release). No problem on the previous releases.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1244775/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.