E3372H stick mode driver appears broken

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
shenoyh
DD-WRT Novice


Joined: 14 Feb 2011
Posts: 11

PostPosted: Sun Aug 25, 2019 15:02    Post subject: E3372H stick mode driver appears broken Reply with quote
DD-WRT v3.0-r40400 giga (07/20/19)
WNDR4500v1
HUAWEI e3372H stick mode (Not Hilink)
I am trying to bring this up only with the slower PPP mode as this is sufficient for me now.

I am experiencing an issue like the one in this thread with no fix in sight:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=687787
and this one:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1070085

The Huawei 3372 is in stick mode (I did not change it to this mode - this is how it was when I got it brand new). The modem is detected and drivers are installed. However it never seems to connect to the internet. I see that an incorrect USB device is assigned:

cat comgt-netmode.out
Can't open device /dev/usb/tts/2.

nvram show | grep 3g
3gcontrol=/dev/usb/tts/2
3gdata=/dev/usb/tts/0
3gnmvariant=2
action_service=start_3g
wan_proto=3g

Attempting to manually change either the 3gcontrol or 3gdata to 0 and 1 reverts them back within a few seconds to the above values. So that is not of use and unlike in the above thread, the option driver is correctly picking the first two interfaces.

# cat /proc/bus/usb/devices

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 3.10
S: Manufacturer=Linux 3.10.108-d8 ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:04.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.10
S: Manufacturer=Linux 3.10.108-d8 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:04.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=2514 Rev= b.b3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1506 Rev= 1.02
S: Manufacturer=HUAWEI_MOBILE
S: Product=HUAWEI_MOBILE
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=12 Driver=option
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=option
E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=16 Driver=(none)
E: Ad=86(I) Atr=03(Int.) MxPS= 16 Ivl=2ms
I: If#= 2 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=16 Driver=(none)
E: Ad=86(I) Atr=03(Int.) MxPS= 16 Ivl=2ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125us

# lsmod
Module Size Used by
qmi_wwan 10464 0
cdc_wdm 8624 1 qmi_wwan
usbnet 16640 1 qmi_wwan
sierra 6656 0
qcserial 4864 0
option 27568 1
usb_wwan 4336 2 qcserial,option
usbserial 17904 6 sierra,qcserial,option,usb_wwan
nf_nat_pptp 1440 0
nf_conntrack_pptp 3456 1 nf_nat_pptp
nf_nat_proto_gre 816 1 nf_nat_pptp
nf_conntrack_proto_gre 2704 1 nf_conntrack_pptp
ext4 308048 1
jbd2 47504 1 ext4
mbcache 3792 1 ext4
crc16 944 1 ext4
jffs2 90192 1
lzma_decompress 9776 1 jffs2
lzma_compress 24608 1 jffs2
usb_storage 38176 3
sr_mod 11680 0
cdrom 31280 1 sr_mod
sd_mod 26960 5
scsi_mod 75648 3 usb_storage,sr_mod,sd_mod
ohci_hcd 15520 0
ehci_pci 2496 0
ehci_hcd 32016 1 ehci_pci
usbcore 118960 13 qmi_wwan,cdc_wdm,usbnet,sierra,qcserial,option,usb_wwan,usbserial,usb_storage,ohci_hcd,ehci_pci,ehci_hcd
usb_common 1040 1 usbcore
wl 4447072 0
switch_robo 10096 0
switch_core 5184 1 switch_robo
et 42336 0

# lsusb
Bus 001 Device 004: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

from dmesg:
usb 1-1.1: new high-speed USB device number 4 using ehci-pci
usb-storage 1-1.1:1.3: USB Mass Storage device detected
scsi1 : usb-storage 1-1.1:1.3
usb-storage 1-1.1:1.4: USB Mass Storage device detected
scsi2 : usb-storage 1-1.1:1.4
scsi 2:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
sd 2:0:0:0: [sdb] 1984000 512-byte logical blocks: (1.01 GB/968 MiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 0f 00 00 00
sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
scsi 1:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
sdb: sdb1 sdb2
sr0: scsi-1 drive
sr 1:0:0:0: Attached scsi CD-ROM sr0
sd 2:0:0:0: [sdb] Attached SCSI removable disk
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
...
...
...
usbcore: registered new interface driver option
usbserial: USB Serial support registered for GSM modem (1-port)
option 1-1.1:1.0: GSM modem (1-port) converter detected
usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1.1:1.1: GSM modem (1-port) converter detected
usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
usbcore: registered new interface driver qcserial
usbserial: USB Serial support registered for Qualcomm USB modem
usbcore: registered new interface driver sierra
usbserial: USB Serial support registered for Sierra USB modem

Since the ppp modules did not load automatically I loaded them with these commands:
/sbin/insmod nf_conntrack_proto_gre
/sbin/insmod nf_nat_proto_gre
/sbin/insmod nf_conntrack_pptp
/sbin/insmod nf_nat_pptp


Mode switch appears to have taken place automatically:
# usb_modeswitch -J -v 12d1 -p 157c
Look for default devices ...
No devices in default mode found. Nothing to do. Bye!


# cat /tmp/comgt* /tmp/ppp/options.pppoe
Can't open device /dev/usb/tts/2.
Dialing 'ATD*99#'
Error dialing 'ATD*99#'
defaultroute
usepeerdns
noipdefault
noauth
ipcp-max-failure 30
crtscts
460800
connect "COMGTDIAL='ATD*99#' /usr/sbin/comgt -s -d /dev/usb/tts/0 /etc/comgt/dial.comgt >/tmp/comgt.out 2>&1"
/dev/usb/tts/0


Is this a known issue? Any work arounds to get it kicked into action manually/script-ually?
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum