Author Message

<  The PPP Widget Family for Android  ~  Need help with Huawei E397u-53 in linux

PostPosted: Wed May 03, 2017 7:08 am Reply with quote
Posts: 8Joined: Sat Apr 29, 2017 12:36 am
I apologize beforehand if this is not a usb_modeswitch issue. I would appreciate any help available. If anyone needs logs, let me know.

Huawei E397u-53
Project Fi SIM (uses U.S. T-mobile network)
Works fine in Windows 10.
Android 7.0 - connects, but system apps don't have access to the network.
PPP3 USB log below


===== linux =====

Xubuntu 16.10, 64bit
usb_modeswitch 2.4.0-ubuntu

Logs are below. It appears to modeswitch correctly, identifies the radio, and assigns it to ttyUSB. It's using the QMI driver. However, the actual network interface never gets created.

Can anyone point me in the right direction?


lsusb - initially - 12d1:1505 Huawei Technology Co. Ltd, E398 LTE/UMTS/GSM Modem/Networkcard.
after modeswitch - 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard

dmesg
[ 40.780565] usb 1-8: New USB device found, idVendor=12d1, idProduct=1505
[ 40.780570] usb 1-8: Product: HUAWEI Mobile
[ 40.780572] usb 1-8: Manufacturer: Huawei Technologies
...
[ 40.874411] usbcore: registered new interface driver usb-storage
[ 40.876926] usbcore: registered new interface driver uas
[ 49.726988] usb 1-8: New USB device found, idVendor=12d1, idProduct=1506
[ 49.726993] usb 1-8: Product: HUAWEI Mobile
[ 49.726995] usb 1-8: Manufacturer: Huawei Technologies
...
[ 49.737441] usb-storage 1-8:1.6: USB Mass Storage device detected
...
[ 49.770557] usbcore: registered new interface driver usbserial_generic
[ 49.775128] usbserial: USB Serial support registered for GSM modem (1-port)
[ 49.775273] option 1-8:1.0: GSM modem (1-port) converter detected
[ 49.775409] usb 1-8: GSM modem (1-port) converter now attached to ttyUSB0
[ 49.775430] option 1-8:1.1: GSM modem (1-port) converter detected
[ 49.775641] usb 1-8: GSM modem (1-port) converter now attached to ttyUSB1
[ 49.775661] option 1-8:1.2: GSM modem (1-port) converter detected
[ 49.776743] usb 1-8: GSM modem (1-port) converter now attached to ttyUSB2
[ 49.776761] option 1-8:1.3: GSM modem (1-port) converter detected
[ 49.776829] usb 1-8: GSM modem (1-port) converter now attached to ttyUSB3
[ 49.778151] usbcore: registered new interface driver cdc_wdm
[ 49.787022] qmi_wwan 1-8:1.4: cdc-wdm5: USB WDM device
[ 49.787204] qmi_wwan 1-8:1.4 wwan0: register 'qmi_wwan' at usb-0000:03:00.0-8, WWAN/QMI device, fa:c9:aa:32:69:6c
[ 49.787242] usbcore: registered new interface driver qmi_wwan
[ 49.792044] qmi_wwan 1-8:1.4 wwp3s0f0u8i4: renamed from wwan0
[ 50.761917] scsi 13:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 50.762455] sd 13:0:0:0: Attached scsi generic sg5 type 0
[ 50.765092] scsi 12:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0
...
[ 51.174989] sr 12:0:0:0: ioctl_internal_command return code = 8070000
[ 51.174992] sr 12:0:0:0: Sense Key : Hardware Error [current]
[ 51.174994] sr 12:0:0:0: Add. Sense: No additional sense information

ifconfig
only shows ethernet card & lo

nmcli - cdc-wdm5: disconnected
cdma (option1, qmi_wwan), hw

nmcli connection - Project Fi [uuid] --

within /dev - cdc-wdm5, ttyUSB0-3



===== PPP3 USB log for NVidia Shield K1 =====

Device manufacturer string: NVIDIA
New device on /dev/bus/usb/002/002
Class of interface 0 is 0x08
Looking at USB device 12d1:1505 with class 8
Device top dir: /sys/bus/usb/devices/2-1, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:00 sc:00 pr:00
if:0 as:0 - cl:08 sc:06 pr:50 - bi:81 bo:01

Found 0 serial ports
No dedicated modem port found
Preparing to switch mode of USB device 12d1:1505 ...
Device info:
VID= 12d1
PID= 1505
Manufact.= Huawei Technologies
Product= HUAWEI Mobile
Found matching configuration in collection: 12d1.1505
Wait for 200 ms
Bulk message 1: 555342431234567800000000000000 110620000001010101000000000000 00
transmitted
New device on /dev/bus/usb/002/003
Class of interface 0 is 0xFF
Looking at USB device 12d1:1506 with class 255
Device top dir: /sys/bus/usb/devices/2-1, active cfg: 1
Active configuration ID: 1
Device layout (config 1) - cl:00 sc:00 pr:00
if:0 as:0 - cl:ff sc:01 pr:01 - ir:81 bi:82 bo:01
if:1 as:0 - cl:ff sc:01 pr:02 - bi:83 bo:02
if:2 as:0 - cl:ff sc:01 pr:03 - bi:84 bo:03
if:3 as:0 - cl:ff sc:01 pr:05 - bi:85 bo:04
if:4 as:0 - cl:ff sc:01 pr:09 - ir:86
The table says these values define a QMI port
if:5 as:0 - cl:ff sc:01 pr:08 - bi:87 bo:05
if:6 as:0 - cl:08 sc:06 pr:50 - bi:88 bo:06
if:7 as:0 - cl:08 sc:06 pr:50 - bo:07 bi:89

Found 4 serial ports
Opening port type QMI


Offline Profile

Display posts from previous:  Sort by:

All times are UTC + 1 hour [ DST ]
Page 1 of 1
1 post
Users browsing this forum: No registered users and 3 guests
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum