[opensuse-factory] UMTS experts anywhere? HUAWEI MU736 (12d1:1570) not working
Hello, does anybody of you have the HUAWEI UMTS Modem MU736 running with Tumbleweed or Leap? It used to work flawlessly, but since some months I can't use it anymore. Networkmanager detects it, but fails to set up a connection. Wvdial fails with "wvdial: utils/wvtask.cc:299: static int WvTaskMan::yield(int): Assertion `*current_task->stack_magic == WVTASK_MAGIC' failed." after all looks fine, including a ppp0 device, deamon start and obtaining IP and DNS - but then something crashes. and after that the modem is blocked until reboot ("Modem not responding"). When NM tries to connect, "journalctl -f" brings up this error messages: Jul 18 14:05:54 abulafia.feilner-it.net ModemManager[1079]: <info> Modem /org/ freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered) Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <info> (ttyUSB1): modem state changed, 'connecting' --> 'registered' (reason: user- requested) Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <warn> (ttyUSB1): failed to connect modem: "No report available" Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <info> (ttyUSB1): device state change: prepare -> failed (reason 'unknown') [40 120 1] Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <info> Disabling autoconnect for connection 'O2 Pay-by-MB'. Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <warn> (ttyUSB1): Activation: failed for connection 'O2 Pay-by-MB' Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <info> (ttyUSB1): device state change: failed -> disconnected (reason 'none') [120 30 0] I tried several changes to udev files, did some work with usb_modeswitch but nothing helped. I attached the output of mmcli, lsusb and usb_modeswitch below - any help appreciated. Please note that a USB UMTS stick (different Huawei model, with SD card onboard) works flawlessly on the very same system... ############# Output of "mmcli -m 0 | grep -Ev imei" /org/freedesktop/ModemManager1/Modem/0 (device id '1b72bb0516751e697fa73676b2e28968f50091d1') ------------------------- Hardware | manufacturer: 'Huawei Technologies Co., Ltd.' | model: 'MU736' | revision: '11.103.30.00.00' | supported: 'gsm-umts' | current: 'gsm-umts' | equipment id: '866274011805599' ------------------------- System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5' | drivers: 'option1' | plugin: 'Huawei' | primary port: 'ttyUSB1' | ports: 'ttyUSB0 (at), ttyUSB1 (at)' ------------------------- Numbers | own : 'unknown' ------------------------- Status | lock: 'none' | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim- puk2 (10)' | state: 'registered' | power state: 'on' | access tech: 'hspa' | signal quality: '58' (recent) ------------------------- Modes | supported: 'allowed: 2g; preferred: none | allowed: 3g; preferred: none | allowed: 2g, 3g; preferred: 2g | allowed: 2g, 3g; preferred: 3g | allowed: 2g, 3g; preferred: none' | current: 'allowed: 2g, 3g; preferred: none' ------------------------- Bands | supported: 'unknown' | current: 'unknown' ------------------------- IP | supported: 'ipv4, ipv6, ipv4v6' ------------------------- | enabled locks: 'sim' | operator id: '23002' | operator name: 'O2 - CZ ' | subscription: 'unknown' | registration: 'roaming' ------------------------- SIM | path: '/org/freedesktop/ModemManager1/SIM/0' ------------------------- Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/12' Output of lsusb -v: #################### Bus 002 Device 004: ID 12d1:1570 Huawei Technologies Co., Ltd. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 2 bDeviceProtocol 1 bMaxPacketSize0 64 idVendor 0x12d1 Huawei Technologies Co., Ltd. idProduct 0x1570 bcdDevice 0.01 iManufacturer 5 iProduct 4 iSerial 0 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 295 bNumInterfaces 5 bConfigurationValue 1 iConfiguration 2 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 1 iInterface 0 ** UNRECOGNIZED: 05 24 00 10 01 ** UNRECOGNIZED: 04 24 02 03 ** UNRECOGNIZED: 05 24 01 00 00 ** UNRECOGNIZED: 05 24 06 00 00 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 5 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 2 iInterface 0 ** UNRECOGNIZED: 05 24 00 10 01 ** UNRECOGNIZED: 04 24 02 02 ** UNRECOGNIZED: 05 24 01 00 01 ** UNRECOGNIZED: 05 24 06 01 01 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 3 iInterface 0 ** UNRECOGNIZED: 05 24 00 10 01 ** UNRECOGNIZED: 04 24 02 02 ** UNRECOGNIZED: 05 24 01 00 02 ** UNRECOGNIZED: 05 24 06 02 02 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 11 Chip/SmartCard bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 ChipCard Interface Descriptor: bLength 54 bDescriptorType 33 bcdCCID 1.10 (Warning: Only accurate for version 1.0) nMaxSlotIndex 0 bVoltageSupport 7 5.0V 3.0V 1.8V dwProtocols 3 T=0 T=1 dwDefaultClock 3250 dwMaxiumumClock 3250 bNumClockSupported 1 dwDataRate 8737 bps dwMaxDataRate 8737 bps bNumDataRatesSupp. 1 dwMaxIFSD 254 dwSyncProtocols 00000007 2-wire 3-wire I2C dwMechanical 00000000 dwFeatures 000207B6 Auto configuration based on ATR Auto activation on insert Auto clock change Auto baud rate change Auto PPS made by CCID CCID can set ICC in clock stop mode NAD value other than 0x00 accepted Auto IFSD exchange Short APDU level exchange dwMaxCCIDMsgLen 271 bClassGetResponse echo bClassEnvelope echo wlcdLayout none bPINSupport 0 bMaxCCIDBusySlots 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 8 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 8 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x86 EP 6 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 4 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 4 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 7 iInterface 0 ** UNRECOGNIZED: 05 24 00 10 01 ** UNRECOGNIZED: 0d 24 0f 01 05 00 00 00 ea 05 03 00 01 ** UNRECOGNIZED: 05 24 06 04 04 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x87 EP 7 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 5 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 4 bAlternateSetting 1 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 7 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x87 EP 7 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 5 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x88 EP 8 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x05 EP 5 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 87 bNumInterfaces 2 bConfigurationValue 2 iConfiguration 3 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 500mA Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 0 bInterfaceCount 2 bFunctionClass 2 Communications bFunctionSubClass 14 bFunctionProtocol 0 iFunction 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 14 bInterfaceProtocol 0 iInterface 0 CDC Header: bcdCDC 1.10 CDC MBIM: bcdMBIMVersion 1.00 wMaxControlMessage 1024 bNumberFilters 16 bMaxFilterSize 20 wMaxSegmentSize 1500 bmNetworkCapabilities 0x20 8-byte ntb input size CDC Union: bMasterInterface 0 bSlaveInterface 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 5 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 bInterfaceProtocol 2 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 bInterfaceProtocol 2 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 32 ################### usb_modeswitch -I -W -H -c /etc/usb_modeswitch.conf Read config file: /etc/usb_modeswitch.conf * usb_modeswitch: handle USB devices with multiple modes * Version 2.3.0 (C) Josua Dietze 2015 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x12d1 DefaultProduct= 0x1570 HuaweiMode=1 Look for default devices ... found USB ID 8087:8000 found USB ID 1d6b:0002 found USB ID 1d6b:0003 found USB ID 1c7a:0603 found USB ID 8087:07dc found USB ID 1bcf:2c57 found USB ID 12d1:1570 vendor ID matched product ID matched found USB ID 413c:301a found USB ID 17ef:602d found USB ID 1d6b:0002 Found devices in default mode (1) Access device 004 on bus 002 Get the current device configuration ... Current configuration number is 1 Use interface number 0 USB description data (for identification) ------------------------- Manufacturer: Huawei Technologies Co., Ltd. Product: HUAWEI Mobile Broadband Module Serial No.: not provided ------------------------- Send old Huawei control message ... -> Run lsusb to note any changes. Bye! -- Markus Feilner Team Lead Documentation - - - SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) - - - tel: +49 911 74053 331 mobil: +49 0173 5876 838 e-mail : mfeilner@suse.de g+: http://www.google.com/+MarkusFeilner Find me also on LinkedIn, XING and other decent interwebs. "Well, MY part of the Titanic is rising." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 2016-07-18 14:10, Markus Feilner wrote:
Networkmanager detects it, but fails to set up a connection.
Wvdial fails with "wvdial: utils/wvtask.cc:299: static int WvTaskMan::yield(int): Assertion `*current_task->stack_magic == WVTASK_MAGIC' failed." after all looks fine, including a ppp0 device, deamon start and
In newer openSUSE (a certain minimum version of kernel and ModemManager), MBIM mode becomes usable, and it does conflict with ACM at runtime and it felt like a hassle to switch between the two at runtime. Long story short, I ended up blacklisting cdc-acm from getting loaded, so that I exclusively use the MBIM mode. (MBIM saves the needless excursion through the PPP protocol just to talk to the modem.)
Jul 18 14:05:54 abulafia.feilner-it.net ModemManager[1079]: <info> Modem /org/ freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered) Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <info> (ttyUSB1): modem state changed, 'connecting' --> 'registered' (reason: user- requested) Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <warn> (ttyUSB1): failed to connect modem: "No report available" Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <info> (ttyUSB1): device state change: prepare -> failed (reason 'unknown') [40 120 1] -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Montag, 18. Juli 2016, 14:41:14 CEST schrieb Jan Engelhardt:
On Monday 2016-07-18 14:10, Markus Feilner wrote:
Networkmanager detects it, but fails to set up a connection.
Wvdial fails with "wvdial: utils/wvtask.cc:299: static int WvTaskMan::yield(int): Assertion `*current_task->stack_magic == WVTASK_MAGIC' failed." after all looks fine, including a ppp0 device, deamon start and In newer openSUSE (a certain minimum version of kernel and ModemManager), MBIM mode becomes usable, and it does conflict with ACM at runtime and it felt like a hassle to switch between the two at runtime.
Long story short, I ended up blacklisting cdc-acm from getting loaded, so that I exclusively use the MBIM mode. (MBIM saves the needless excursion through the PPP protocol just to talk to the modem.)
Jul 18 14:05:54 abulafia.feilner-it.net ModemManager[1079]: <info> Modem /org/ freedesktop/ModemManager1/Modem/0: state changed (connecting -> registered) Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <info> (ttyUSB1): modem state changed, 'connecting' --> 'registered' (reason: user- requested) Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <warn> (ttyUSB1): failed to connect modem: "No report available" Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <info> (ttyUSB1): device state change: prepare -> failed (reason 'unknown') [40 120 1] Thanks a lot, but the modem is not attached as ACM, and MBIM didn't help. It's strange.
-- Markus Feilner Team Lead Documentation - - - SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) - - - tel: +49 911 74053 331 mobil: +49 0173 5876 838 e-mail : mfeilner@suse.de g+: http://www.google.com/+MarkusFeilner Find me also on LinkedIn, XING and other decent interwebs. "Well, MY part of the Titanic is rising." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Montag, 18. Juli 2016, 14:10:55 schrieb Markus Feilner:
Hello, does anybody of you have the HUAWEI UMTS Modem MU736 running with Tumbleweed or Leap? It used to work flawlessly, but since some months I can't use it anymore.
Besides that ModemManager supports this model, I cannot find much useful information on the Internet, too.
Networkmanager detects it, but fails to set up a connection.
Since your modem reports the signal quality it basically works but do you see any errors from the kernel? While booting or connection?
[...] When NM tries to connect, "journalctl -f" brings up this error messages:
What do NM and MM say when they initialize your modem? Any errors? # journalctl -u NetworkManager -u ModemManager --this-boot
[...] Jul 18 14:05:54 abulafia.feilner-it.net NetworkManager[1095]: <warn> (ttyUSB1): failed to connect modem: "No report available" [...]
Well, that is not a very helpful warning. See https://wiki.gnome.org/Projects/NetworkManager/Debugging#Debugging_NetworkMa... These logs will contain much sensitive information, so I fear you have to figure out the important parts by yourself.
I tried several changes to udev files, did some work with usb_modeswitch but nothing helped. I attached the output of mmcli, lsusb and usb_modeswitch below - any help appreciated. [...]
I wonder why your modem uses only the option1 driver from the option kernel module and no cdc_*. Do you have old log files to confirm that it has ever been working with this driver? Maybe it used the qcserial kernel module before? Then you could try to blacklist the option kernel module. Gruß Jan -- You can observe alot just by watching. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Jan Engelhardt
-
Jan Ritzerfeld
-
Markus Feilner