HUAWEI E3531 not connected on Ubuntu 14.04

Bug #1330262 reported by varlesh on 2014-06-15
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
NetworkManager
Unknown
Critical
network-manager (Ubuntu)
Medium
Unassigned

Bug Description

PC: Dell 3721
OS:Ubuntu 14.04 i386
DE: KDE
Kernel: 3.13.0-29 and 3.15.0 (Stable)
usb-modeswitch 2.2.0 (Debian Unstable)/2.1.1

A connection is defined and a modem in the system, but an error while connecting: "Connection deactivated".
Upgrading to kernel 3.15 (stable) and usb-modeswitch (2.2.0) not solve the problem.
LOGS:
dmesg
[ 84.302769] usb 3-4: new high-speed USB device number 3 using xhci_hcd
[ 84.431625] usb 3-4: New USB device found, idVendor=12d1, idProduct=1506
[ 84.431632] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 84.431635] usb 3-4: Product: Mobile Connect
[ 84.431638] usb 3-4: Manufacturer: ......
[ 84.731329] usbcore: registered new interface driver usbserial
[ 84.731348] usbcore: registered new interface driver usbserial_generic
[ 84.731362] usbserial: USB Serial support registered for generic
[ 84.762404] usbcore: registered new interface driver option
[ 84.762424] usbserial: USB Serial support registered for GSM modem (1-port)
[ 84.762598] option 3-4:1.0: GSM modem (1-port) converter detected
[ 84.762763] usb 3-4: GSM modem (1-port) converter now attached to ttyUSB0
[ 84.762820] option 3-4:1.1: GSM modem (1-port) converter detected
[ 84.762947] usb 3-4: GSM modem (1-port) converter now attached to ttyUSB1

varlesh (varlesh-l) wrote :
varlesh (varlesh-l) wrote :
Download full text (7.8 KiB)

syslog
Jun 16 01:01:48 user NetworkManager[908]: <info> Activation (ttyUSB1) starting connection 'MTS'
Jun 16 01:01:48 user NetworkManager[908]: <info> (ttyUSB1): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Jun 16 01:01:48 user NetworkManager[908]: <info> NetworkManager state is now CONNECTING
Jun 16 01:01:48 user NetworkManager[908]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) scheduled...
Jun 16 01:01:48 user NetworkManager[908]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) started...
Jun 16 01:01:48 user NetworkManager[908]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare) complete.
Jun 16 01:01:48 user ModemManager[792]: <info> Simple connect started...
Jun 16 01:01:48 user ModemManager[792]: <info> Simple connect state (3/8): Enable
Jun 16 01:01:48 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disabled -> enabling)
Jun 16 01:01:48 user NetworkManager[908]: <info> (ttyUSB1) modem state changed, 'disabled' --> 'enabling' (reason: user-requested)
Jun 16 01:01:48 user ModemManager[792]: <warn> (ttyUSB1): port attributes not fully set
Jun 16 01:01:48 user ModemManager[792]: <warn> (ttyUSB0): port attributes not fully set
Jun 16 01:01:48 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (unknown -> registering)
Jun 16 01:01:48 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state changed (registering -> home)
Jun 16 01:01:49 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated (MCC: '0', MNC: '0', Location area code: 'D0B', Cell ID: '5412005')
Jun 16 01:01:49 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated (MCC: '250', MNC: '1', Location area code: 'D0B', Cell ID: '5412005')
Jun 16 01:01:49 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (enabling -> registered)
Jun 16 01:01:49 user ModemManager[792]: <info> Simple connect state (4/8): Wait to get fully enabled
Jun 16 01:01:49 user ModemManager[792]: <info> Simple connect state (5/8): Register
Jun 16 01:01:49 user ModemManager[792]: <info> Simple connect state (6/8): Bearer
Jun 16 01:01:49 user ModemManager[792]: <info> Simple connect state (7/8): Connect
Jun 16 01:01:49 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)
Jun 16 01:01:49 user NetworkManager[908]: <info> (ttyUSB1) modem state changed, 'enabling' --> 'registered' (reason: user-requested)
Jun 16 01:01:49 user NetworkManager[908]: <info> WWAN now enabled by management service
Jun 16 01:01:49 user NetworkManager[908]: <info> (ttyUSB1) modem state changed, 'registered' --> 'connecting' (reason: user-requested)
Jun 16 01:01:49 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (77)
Jun 16 01:01:50 user ModemManager[792]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: access technology changed (unknown -> umts)
Jun 16 01:01:50 user ModemManager[792]: ...

Read more...

Lars Melin (larsm17) wrote :

usb_modeswitch has done all it should do , switched the dongle from initial mode (cd-rom only) to modem mode ( usb id 12d1:1506 ).
The syslog clearly indicates a NetworkManager error so the bug report should go there and mot be filed as a usb_modeswitch bug.
usb_modeswitch is not the NetworkManager!

varlesh (varlesh-l) on 2014-06-16
affects: usb-modeswitch (Ubuntu) → network-manager (Ubuntu)

Even my modem stopped working after latest update. Removed ofono and installed modemmanager and modem is working again.

varlesh (varlesh-l) wrote :

Modem can function HiLink, but in the firmware MTS (Russian operator) was no such possibility.
I flashed modem on the universal firmware and installed WebUI.
Now the device has other PID and VID:
Bus 003 Device 005: ID 12d1:14dc Huawei Technologies Co., Ltd.
Connects and works fine automatically, only had to upgrade the package usb-modeswitch on repository of Debian Sid.
Problem solved.

Changed in network-manager (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Tamir (sugip) wrote :

Confirm the problem persists after the update packages usb-modeswitch, see bug-report https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1354823, comment #11

Changed in network-manager:
importance: Unknown → Critical
Tamir (sugip) wrote :

The developer was created patch all who have problems (with the updated usb-modeswitch) with Huawei E3372, Huawei E3531 write there - https://bugs.freedesktop.org/show_bug.cgi?id=86658#add_comment

hackeron (hackeron) wrote :

I am seeing something completely different and for me the issue is with usb_modeswitch first:

This is what I see when I plug mine in: https://gist.github.com/xanview/3a37e6eb0cf24a12908b

The key lines are:

Jan 28 16:19:23 TimeBox systemd[1]: Starting USB_ModeSwitch...
Jan 28 16:19:23 TimeBox systemd[1]: usb_modeswitch@1-1.5-1-1.5:1.0.service: main process exited, code=exited, status=1/FAILURE

It seems Ubuntu is trying to do the wrong thing, it is trying to do systemctl start usb_modeswitch@1-1.5-1-1.5:1.0 when in reality the command should be:

$ systemctl start usb_modeswitch@1-1.5:1.0

When I run the correct command, I see this in syslog:

Jan 28 16:34:05 TimeBox systemd[1]: Starting USB_ModeSwitch...
Jan 28 16:34:05 TimeBox usb_modeswitch_dispatcher[10502]: Could not read attribute: No such file or directory
Jan 28 16:34:06 TimeBox usb_modeswitch: switch device 12d1:14fe on 001/008
Jan 28 16:34:05 TimeBox usb_modeswitch_dispatcher[10502]: message repeated 2 times: [ Could not read attribute: No such file or directory]
Jan 28 16:34:07 TimeBox usb_modeswitch[10502]: usb_modeswitch: switched to 12d1:14fe on 1/8
Jan 28 16:34:08 TimeBox usb_modeswitch_dispatcher[10502]: Unable to open bind list file: No such file or directory
Jan 28 16:34:08 TimeBox usb_modeswitch[10502]: usb_modeswitch: add device ID 12d1:14fe to driver option
Jan 28 16:34:08 TimeBox usb_modeswitch[10502]: usb_modeswitch: please report the device ID to the Linux USB developers!
Jan 28 16:34:15 TimeBox systemd[1]: Started USB_ModeSwitch.

So seems this is an unsupported device still? (I'm on Ubuntu 15.04 Vivid)

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

Other bug subscribers

Remote bug watches

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