Huawei e398 USB modem as WAN

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2, 3, 4  Next
Author Message
Dr Fnord
DD-WRT Novice


Joined: 18 Feb 2010
Posts: 8

PostPosted: Fri Jun 03, 2011 14:59    Post subject: Huawei e398 USB modem as WAN Reply with quote
Hi there!

I'm trying to get a brand new Huawei e398 to work as my WAN of choice. I'm using Brainslayer's 05/08/11 build (16994) on a DIR-825.

The USB stick in question blinks listlessly a few times, then dies in despair. I'm a bit unsure where to begin to troubleshoot this, but I ran dmesg and got the following:

Code:
<6>[   19.740000] br0: port 3(ath0) entering forwarding state
<6>[   22.210000] device ath1 entered promiscuous mode
<6>[   22.220000] br0: port 4(ath1) entering learning state
<6>[   22.350000] bonding: Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
<6>[   22.360000] bonding: MII link monitoring set to 100 ms
<4>[   23.090000] ic->ic_cwm.cw_width :0, ic->ic_cwm.cw_extoffset: 1
<6>[   23.220000] br0: port 4(ath1) entering forwarding state
<6>[   23.580000] usbcore: registered new interface driver cdc_acm
<6>[   23.580000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
<6>[   24.740000] etherip: Ethernet over IPv4 tunneling driver
<6>[  149.680000] usb 1-1: new high speed USB device using ar71xx-ehci and address 2
<6>[  149.830000] usb 1-1: New USB device found, idVendor=12d1, idProduct=1446
<6>[  149.830000] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
<6>[  149.840000] usb 1-1: Product: HUAWEI Mobile
<6>[  149.850000] usb 1-1: Manufacturer: Huawei Technologies
<4>[  180.040000] usb 1-1: usbfs: process 1465 (usb_modeswitch) did not claim interface 0 before use
<6>[  180.050000] usb 1-1: USB disconnect, address 2
<6>[  184.710000] usb 1-1: new high speed USB device using ar71xx-ehci and address 3
<6>[  184.860000] usb 1-1: New USB device found, idVendor=12d1, idProduct=1506
<6>[  184.860000] usb 1-1: New USB device strings: Mfr=4, Product=3, SerialNumber=0
<6>[  184.870000] usb 1-1: Product: HUAWEI Mobile
<6>[  184.880000] usb 1-1: Manufacturer: Huawei Technologies



Any help would be insanely welcome!
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17379
Location: Hesse/Germany

PostPosted: Fri Jun 03, 2011 18:08    Post subject: Reply with quote
wiki: mobile broadband
_________________
GEGEN die EEG-UMLAGE auf EIGENVERBRAUCH!
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Dr Fnord
DD-WRT Novice


Joined: 18 Feb 2010
Posts: 8

PostPosted: Fri Jun 03, 2011 19:22    Post subject: Reply with quote
Sash wrote:
wiki: mobile broadband

Assuming http://www.dd-wrt.com/wiki/index.php/3G_/_3.5G

"lsusb -v" outputs:
Code:
lsusb: -sh: lsusb: not found


"dmesg" outputs:
Code:
<0>[    3.380000] fixup irq: got 49
<6>[    3.380000] Switching to clocksource MIPS
<6>[    3.390000] NET: Registered protocol family 2
<6>[    3.390000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    3.400000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
<6>[    3.410000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    3.410000] TCP: Hash tables configured (established 2048 bind 2048)
<6>[    3.420000] TCP reno registered
<6>[    3.420000] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    3.430000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    3.430000] NET: Registered protocol family 1
<7>[    3.440000] PCI: CLS 0 bytes, default 32
<5>[    3.440000] gpio_proc: module loaded and /proc/gpio/ created
<5>[    3.440000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created
<4>[    3.450000] AR7100 GPIOC major 0
<5>[    3.450000] init_vdso successfull
<6>[    3.460000] squashfs: version 3.0 (2006/03/15) Phillip Lougher
<6>[    3.460000] msgmni has been set to 120
<6>[    3.470000] io scheduler noop registered
<6>[    3.470000] io scheduler deadline registered (default)
<6>[    3.480000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    3.480000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 19) is a 16550A
<6>[    3.490000] console [ttyS0] enabled, bootconsole disabled
<0>[    3.500000] guessed flashsize = 8M
<0>[    3.510000] scanning for root partition
<0>[    3.510000] uboot detected
<0>[    3.510000] bootloader size = 50000
<0>[    3.520000]
<0>[    3.520000] found squashfs at 13D000
<5>[    3.530000] Creating 8 MTD partitions on "ar7100-nor0":
<5>[    3.530000] 0x000000000000-0x000000050000 : "RedBoot"
<5>[    3.540000] 0x000000050000-0x000000800000 : "linux"
<5>[    3.540000] 0x00000013d000-0x000000650000 : "rootfs"
<4>[    3.550000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
<5>[    3.560000] mtd: partition "rootfs" set to be root filesystem
<5>[    3.570000] 0x000000670000-0x0000007e0000 : "ddwrt"
<5>[    3.570000] 0x0000007e0000-0x0000007f0000 : "nvram"
<5>[    3.580000] 0x0000007f0000-0x000000800000 : "FIS directory"
<5>[    3.580000] 0x0000007f0000-0x000000800000 : "board_config"
<5>[    3.590000] 0x000000000000-0x000000800000 : "fullflash"
<6>[    3.600000] PPP generic driver version 2.4.2
<6>[    3.600000] PPP Deflate Compression module registered
<6>[    3.610000] PPP BSD Compression module registered
<6>[    3.610000] PPP MPPE Compression module registered
<6>[    3.620000] NET: Registered protocol family 24
<6>[    3.620000] PPPoL2TP kernel driver, V1.0
<6>[    3.620000] IMQ driver loaded successfully.
<6>[    3.630000]       Hooking IMQ before NAT on PREROUTING.
<6>[    3.630000]       Hooking IMQ after NAT on POSTROUTING.
<6>[    3.640000] tun: Universal TUN/TAP device driver, 1.6
<6>[    3.640000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    3.650000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>[    3.660000] drivers/usb/host/ehci-ar71xx.c: starting AR7100 EHCI USB Controller...done. reset 0x40 usb config 0x30000
<6>[    5.550000] ar71xx-ehci ar71xx-ehci.0: Atheros AR71xx built-in EHCI controller
<6>[    5.560000] ar71xx-ehci ar71xx-ehci.0: new USB bus registered, assigned bus number 1
<6>[    5.600000] ar71xx-ehci ar71xx-ehci.0: irq 3, io mem 0x1b000000
<6>[    5.620000] ar71xx-ehci ar71xx-ehci.0: USB 2.0 started, EHCI 1.00
<6>[    5.620000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[    5.630000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    5.640000] usb usb1: Product: Atheros AR71xx built-in EHCI controller
<6>[    5.640000] usb usb1: Manufacturer: Linux 2.6.34.9-svn16972 ehci_hcd
<6>[    5.650000] usb usb1: SerialNumber: platform
<6>[    5.650000] hub 1-0:1.0: USB hub found
<6>[    5.660000] hub 1-0:1.0: 2 ports detected
<6>[    5.660000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<7>[    5.670000] drivers/usb/host/ohci-ar71xx.c: starting AR7100 OHCI USB Controller...
<6>[    5.670000] ar71xx-ohci ar71xx-ohci.0: Atheros AR71xx built-in OHCI controller
<6>[    5.680000] ar71xx-ohci ar71xx-ohci.0: new USB bus registered, assigned bus number 2
<6>[    5.680000] ar71xx-ohci ar71xx-ohci.0: irq 22, io mem 0x1c000000
<6>[    5.750000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
<6>[    5.760000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    5.760000] usb usb2: Product: Atheros AR71xx built-in OHCI controller
<6>[    5.770000] usb usb2: Manufacturer: Linux 2.6.34.9-svn16972 ohci_hcd
<6>[    5.780000] usb usb2: SerialNumber: platform
<6>[    5.780000] hub 2-0:1.0: USB hub found
<6>[    5.780000] hub 2-0:1.0: 2 ports detected
<6>[    5.790000] usbcore: registered new interface driver usbserial
<6>[    5.800000] USB Serial support registered for generic
<6>[    5.800000] usbcore: registered new interface driver usbserial_generic
<6>[    5.810000] usbserial: USB Serial Driver core
<6>[    5.810000] USB Serial support registered for GSM modem (1-port)
<6>[    5.820000] usbcore: registered new interface driver option
<6>[    5.820000] option: v0.7.2:USB Driver for GSM modems
<6>[    5.830000] USB Serial support registered for pl2303
<6>[    5.830000] usbcore: registered new interface driver pl2303
<6>[    5.840000] pl2303: Prolific PL2303 USB to serial adaptor driver
<6>[    5.850000] USB Serial support registered for Sierra USB modem
<6>[    5.850000] usbcore: registered new interface driver sierra
<6>[    5.860000] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
<6>[    5.860000] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
<4>[    5.870000] u32 classifier
<4>[    5.880000]     input device check on
<4>[    5.880000]     Actions configured
<4>[    5.880000] Netfilter messages via NETLINK v0.30.
<4>[    5.890000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
<4>[    5.890000] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
<4>[    5.900000] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
<4>[    5.910000] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<4>[    5.920000] nf_conntrack_rtsp v0.6.21 loading
<4>[    5.920000] nf_nat_rtsp v0.6.21 loading
<6>[    5.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    5.930000] IPP2P v0.8.2 loading
<6>[    5.930000] TCP westwood registered
<6>[    5.940000] TCP hybla registered
<6>[    5.940000] TCP vegas registered
<6>[    5.940000] NET: Registered protocol family 17
<6>[    5.950000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
<6>[    5.950000] All bugs added by David S. Miller <davem@redhat.com>
<4>[    5.990000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
<6>[    6.000000] Freeing unused kernel memory: 144k freed
<6>[    6.120000] usb 1-1: new high speed USB device using ar71xx-ehci and address 2
<6>[    6.400000] usb 1-1: New USB device found, idVendor=12d1, idProduct=1446
<6>[    6.400000] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
<6>[    6.410000] usb 1-1: Product: HUAWEI Mobile
<6>[    6.420000] usb 1-1: Manufacturer: Huawei Technologies
<4>[    7.930000] ag7100_mod: module license 'unspecified' taints kernel.
<4>[    7.940000] Disabling lock debugging due to kernel taint
<0>[    7.950000] realtek phy id 24615
<0>[    7.950000] rtl_chip_type_select:RTL8366SR
<0>[    8.160000] realtek phy id 24615
<0>[    8.160000] rtl_chip_type_select:RTL8366SR
<4>[    8.400000] rtl8366sr_phy_setup  ethUnit=0
<0>[    8.410000] rtl8366sr register 0x6 state = 0000018C
<4>[    8.410000] Realtek 8366SR switch ID 0x8366
<4>[   12.430000] SP1000
<4>[   12.430000] phyUnit=0 is lostlink
<4>[   12.440000] phyUnit=1 is lostlink
<4>[   12.440000] phyUnit=2 is link
<4>[   12.450000] phyUnit=3 is lostlink
<4>[   12.450000] Writing 4
<4>[   12.460000] rtl8366sr_phy_setup  ethUnit=1
<4>[   12.470000] phyUnit=4 is lostlink
<4>[   12.470000] Writing 6
<6>[   12.620000] ath_mimo_hal: 0.9.17.1 (AR5416, REGOPS_FUNC)
<6>[   12.940000] ath_mimo_pci: 0.9.4.5 (Atheros/multi-bss)
<6>[   12.950000] ath_mimo_pci: CR-LSDK-1.4.0.152-DDWRT
<6>[   12.950000] wlan: 0.8.4.2 (Atheros/multi-bss)
<6>[   12.960000] wlan: mac acl policy registered
<6>[   12.960000] ath_rate_atheros: Version 2.0.1
<6>[   12.960000] Copyright (c) 2001-2004 Atheros Communications, Inc, All Rights Reserved
<4>[   12.970000] IRQ 48/wifi%d: IRQF_DISABLED is not guaranteed on shared IRQs
<6>[   12.980000] device id 29
<6>[   12.990000] ar5416CheckEepromDef: Read Magic = 0xA55A
<6>[   12.990000] EEPROM being read from flash @0xbf661000
<6>[   13.000000] need_swap = False.
<4>[   13.010000] DFS min filter rssiThresh = 18
<4>[   13.010000] DFS max pulse dur = 131 ticks
<4>[   13.010000] 1Mbps 2Mbps 5.5Mbps 11Mbps
<4>[   13.020000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.030000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.040000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.040000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.050000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.050000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.060000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.070000] wifi0: mac 128.2 phy 13.0 radio 12.0
<4>[   13.070000] wifi0: Use hw queue 1 for WME_AC_BE traffic
<4>[   13.080000] wifi0: Use hw queue 0 for WME_AC_BK traffic
<4>[   13.080000] wifi0: Use hw queue 2 for WME_AC_VI traffic
<4>[   13.090000] wifi0: Use hw queue 3 for WME_AC_VO traffic
<4>[   13.090000] wifi0: Use hw queue 8 for CAB traffic
<4>[   13.100000] wifi0: Use hw queue 9 for beacons
<4>[   13.100000] wifi0: Use hw queue 7 for UAPSD
<6>[   13.110000] wifi0: Atheros 9280: mem=0x10000000, irq=48 hw_base=0xb0000000
<4>[   13.110000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
<4>[   13.120000] IRQ 49/wifi%d: IRQF_DISABLED is not guaranteed on shared IRQs
<6>[   13.130000] device id 29
<6>[   13.130000] ar5416CheckEepromDef: Read Magic = 0xA55A
<6>[   13.140000] EEPROM being read from flash @0xbf665000
<6>[   13.140000] need_swap = False.
<4>[   13.150000] DFS min filter rssiThresh = 18
<4>[   13.160000] DFS max pulse dur = 131 ticks
<4>[   13.160000] 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.170000] 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.170000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.180000] 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.190000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.190000] 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.200000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.200000] wifi1: mac 128.2 phy 13.0 radio 12.0
<4>[   13.210000] wifi1: Use hw queue 1 for WME_AC_BE traffic
<4>[   13.210000] wifi1: Use hw queue 0 for WME_AC_BK traffic
<4>[   13.220000] wifi1: Use hw queue 2 for WME_AC_VI traffic
<4>[   13.220000] wifi1: Use hw queue 3 for WME_AC_VO traffic
<4>[   13.230000] wifi1: Use hw queue 8 for CAB traffic
<4>[   13.230000] wifi1: Use hw queue 9 for beacons
<4>[   13.240000] wifi1: Use hw queue 7 for UAPSD
<6>[   13.240000] wifi1: Atheros 9280: mem=0x10010000, irq=49 hw_base=0xb0010000
<6>[   14.860000] device br0 entered promiscuous mode
<4>[   14.880000] ag7100_ring_free Freeing at 0x8398f000
<4>[   14.880000] ag7100_ring_free Freeing at 0x83a52000
<4>[   14.900000] rtl8366sr_phy_setup  ethUnit=0
<4>[   14.910000] phyUnit=0 is lostlink
<4>[   14.910000] phyUnit=1 is lostlink
<4>[   14.910000] phyUnit=2 is link
<4>[   14.920000] phyUnit=3 is lostlink
<4>[   14.930000] Writing 4
<4>[   14.940000] ag7100_ring_free Freeing at 0x83a52000
<4>[   14.940000] ag7100_ring_free Freeing at 0x8398f000
<4>[   14.950000] rtl8366sr_phy_setup  ethUnit=0
<4>[   14.960000] phyUnit=0 is lostlink
<4>[   14.960000] phyUnit=1 is lostlink
<4>[   14.970000] phyUnit=2 is link
<4>[   14.970000] phyUnit=3 is lostlink
<4>[   14.980000] Writing 4
<6>[   14.980000] device eth0 entered promiscuous mode
<4>[   14.990000] ag7100_ring_free Freeing at 0x83a95000
<4>[   14.990000] ag7100_ring_free Freeing at 0x83b00000
<4>[   15.010000] rtl8366sr_phy_setup  ethUnit=1
<4>[   15.010000] phyUnit=4 is lostlink
<4>[   15.020000] Writing 6
<4>[   15.030000] ag7100_ring_free Freeing at 0x83b00000
<4>[   15.030000] ag7100_ring_free Freeing at 0x83a95000
<4>[   15.050000] rtl8366sr_phy_setup  ethUnit=1
<4>[   15.050000] phyUnit=4 is lostlink
<4>[   15.060000] Writing 6
<6>[   15.060000] device eth1 entered promiscuous mode
<6>[   15.070000] br0: port 1(eth0) entering learning state
<6>[   15.080000] device br0 left promiscuous mode
<6>[   15.080000] device br0 entered promiscuous mode
<6>[   15.090000] device br0 left promiscuous mode
<6>[   15.100000] device br0 entered promiscuous mode
<4>[   15.230000]
<4>[   15.230000]  ath_numswbaperbc = 8(1)adj=76800
<6>[   16.080000] br0: port 1(eth0) entering forwarding state
<6>[   18.900000] device ath0 entered promiscuous mode
<6>[   18.910000] br0: port 3(ath0) entering learning state
<4>[   18.930000]
<4>[   18.930000]  ath_numswbaperbc = 8(1)adj=76800
<4>[   19.050000] ic->ic_cwm.cw_width :0, ic->ic_cwm.cw_extoffset: 0
<6>[   19.910000] br0: port 3(ath0) entering forwarding state
<6>[   22.350000] device ath1 entered promiscuous mode
<6>[   22.350000] br0: port 4(ath1) entering learning state
<6>[   22.480000] bonding: Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
<6>[   22.490000] bonding: MII link monitoring set to 100 ms
<4>[   23.230000] ic->ic_cwm.cw_width :0, ic->ic_cwm.cw_extoffset: 0
<6>[   23.360000] br0: port 4(ath1) entering forwarding state
<4>[   23.790000] usb 1-1: usbfs: process 957 (usb_modeswitch) did not claim interface 0 before use
<6>[   23.810000] usb 1-1: USB disconnect, address 2
<6>[   27.660000] etherip: Ethernet over IPv4 tunneling driver
<6>[   28.480000] usb 1-1: new high speed USB device using ar71xx-ehci and address 3
<6>[   28.630000] usb 1-1: New USB device found, idVendor=12d1, idProduct=1506
<6>[   28.640000] usb 1-1: New USB device strings: Mfr=4, Product=3, SerialNumber=0
<6>[   28.640000] usb 1-1: Product: HUAWEI Mobile
<6>[   28.650000] usb 1-1: Manufacturer: Huawei Technologies
<6>[   58.080000] usbcore: registered new interface driver cdc_acm
<6>[   58.090000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters


And "comgt -d /dev/usb/tts/X info output" doesn't work. There's no "usb" device under /dev, but there is usb1, usb2, usbdev1.1, usbdev1.2, usbdev1.3, and usbdev2.1.
jefbuan
DD-WRT Novice


Joined: 18 May 2011
Posts: 13

PostPosted: Sat Jun 04, 2011 11:22    Post subject: Reply with quote
you need to switch your 3g usb stick to modem mode and turn opff virtula cd/sd reader..try this one:

#usb_modeswitch -v 12d1 -p 1446 -M "55534243123456780000000000000011062000000100000000000000000000" -n 1 -W

#dmesg

#ls /dev
Dr Fnord
DD-WRT Novice


Joined: 18 Feb 2010
Posts: 8

PostPosted: Sat Jun 04, 2011 11:53    Post subject: Reply with quote
jefbuan wrote:
you need to switch your 3g usb stick to modem mode and turn opff virtula cd/sd reader..try this one:

#usb_modeswitch -v 12d1 -p 1446 -M "55534243123456780000000000000011062000000100000000000000000000" -n 1 -W

#dmesg

#ls /dev

I see! I thought that simply not enabling the USB storage driver from the GUI would take care of that. Thanks for the input!

The USB modem didn't seem to respond to the treatment, however. Can I force a reconnect attempt somehow?

The results:

usb_modeswitch
Code:
Taking all parameters from the command line

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.1.4 (C) Josua Dietze 2010
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1446
TargetVendor=   not set
TargetProduct=  not set
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint=  not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=1
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled


Looking for default devices ...
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 12d1:1506
   found matching vendor ID
  searching devices, found USB ID 1d6b:0001
 No devices in default mode or class found. Nothing to do. Bye.


dmesg:
Code:
<6>[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<4>[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
<4>[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<6>[    0.000000] Writing ErrCtl register=00000000
<6>[    0.000000] Readback ErrCtl register=00000000
<6>[    0.000000] Memory: 61884k/65536k available (2216k kernel code, 3652k reserved, 397k data, 144k init, 0k highmem)
<6>[    0.000000] NR_IRQS:128
<0>[    0.000000] irq init done
<4>[    0.000000] plat_time_init: plat time init done
<6>[    0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
<4>[    0.250000] Mount-cache hash table entries: 512
<6>[    0.250000] NET: Registered protocol family 16
<4>[    3.250000] registering PCI controller with io_map_base unset
<4>[    3.260000] bio: create slab <bio-0> at 0
<6>[    3.270000] usbcore: registered new interface driver usbfs
<6>[    3.270000] usbcore: registered new interface driver hub
<6>[    3.280000] usbcore: registered new device driver usb
<6>[    3.300000] found calibration data for slot 0 on 0xBF661000
<6>[    3.310000] PCI: fixup device 0000:00:00.0
<7>[    3.320000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff]
<7>[    3.320000] pci 0000:00:00.0: PME# supported from D0 D3hot
<7>[    3.320000] pci 0000:00:00.0: PME# disabled
<6>[    3.340000] found calibration data for slot 1 on 0xBF665000
<6>[    3.350000] PCI: fixup device 0000:00:01.0
<7>[    3.360000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x0000ffff]
<7>[    3.360000] pci 0000:00:01.0: PME# supported from D0 D3hot
<7>[    3.360000] pci 0000:00:01.0: PME# disabled
<6>[    3.360000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
<6>[    3.360000] pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x1000ffff] (PCI address [0x10000000-0x1000ffff]
<6>[    3.370000] pci 0000:00:01.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
<6>[    3.370000] pci 0000:00:01.0: BAR 0: set to [mem 0x10010000-0x1001ffff] (PCI address [0x10010000-0x1001ffff]
<0>[    3.380000] fixup irq: got 48
<0>[    3.380000] fixup irq: got 49
<6>[    3.380000] Switching to clocksource MIPS
<6>[    3.390000] NET: Registered protocol family 2
<6>[    3.390000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    3.400000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
<6>[    3.410000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    3.410000] TCP: Hash tables configured (established 2048 bind 2048)
<6>[    3.420000] TCP reno registered
<6>[    3.420000] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    3.430000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    3.430000] NET: Registered protocol family 1
<7>[    3.440000] PCI: CLS 0 bytes, default 32
<5>[    3.440000] gpio_proc: module loaded and /proc/gpio/ created
<5>[    3.440000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created
<4>[    3.450000] AR7100 GPIOC major 0
<5>[    3.450000] init_vdso successfull
<6>[    3.460000] squashfs: version 3.0 (2006/03/15) Phillip Lougher
<6>[    3.460000] msgmni has been set to 120
<6>[    3.470000] io scheduler noop registered
<6>[    3.470000] io scheduler deadline registered (default)
<6>[    3.480000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    3.480000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 19) is a 16550A
<6>[    3.490000] console [ttyS0] enabled, bootconsole disabled
<0>[    3.500000] guessed flashsize = 8M
<0>[    3.510000] scanning for root partition
<0>[    3.510000] uboot detected
<0>[    3.510000] bootloader size = 50000
<0>[    3.520000]
<0>[    3.520000] found squashfs at 13D000
<5>[    3.530000] Creating 8 MTD partitions on "ar7100-nor0":
<5>[    3.530000] 0x000000000000-0x000000050000 : "RedBoot"
<5>[    3.540000] 0x000000050000-0x000000800000 : "linux"
<5>[    3.540000] 0x00000013d000-0x000000650000 : "rootfs"
<4>[    3.550000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
<5>[    3.560000] mtd: partition "rootfs" set to be root filesystem
<5>[    3.570000] 0x000000670000-0x0000007e0000 : "ddwrt"
<5>[    3.570000] 0x0000007e0000-0x0000007f0000 : "nvram"
<5>[    3.580000] 0x0000007f0000-0x000000800000 : "FIS directory"
<5>[    3.580000] 0x0000007f0000-0x000000800000 : "board_config"
<5>[    3.590000] 0x000000000000-0x000000800000 : "fullflash"
<6>[    3.600000] PPP generic driver version 2.4.2
<6>[    3.600000] PPP Deflate Compression module registered
<6>[    3.610000] PPP BSD Compression module registered
<6>[    3.610000] PPP MPPE Compression module registered
<6>[    3.620000] NET: Registered protocol family 24
<6>[    3.620000] PPPoL2TP kernel driver, V1.0
<6>[    3.620000] IMQ driver loaded successfully.
<6>[    3.630000]    Hooking IMQ before NAT on PREROUTING.
<6>[    3.630000]    Hooking IMQ after NAT on POSTROUTING.
<6>[    3.640000] tun: Universal TUN/TAP device driver, 1.6
<6>[    3.640000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<6>[    3.650000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>[    3.660000] drivers/usb/host/ehci-ar71xx.c: starting AR7100 EHCI USB Controller...done. reset 0x40 usb config 0x30000
<6>[    5.550000] ar71xx-ehci ar71xx-ehci.0: Atheros AR71xx built-in EHCI controller
<6>[    5.560000] ar71xx-ehci ar71xx-ehci.0: new USB bus registered, assigned bus number 1
<6>[    5.600000] ar71xx-ehci ar71xx-ehci.0: irq 3, io mem 0x1b000000
<6>[    5.620000] ar71xx-ehci ar71xx-ehci.0: USB 2.0 started, EHCI 1.00
<6>[    5.620000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[    5.630000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    5.640000] usb usb1: Product: Atheros AR71xx built-in EHCI controller
<6>[    5.640000] usb usb1: Manufacturer: Linux 2.6.34.9-svn16972 ehci_hcd
<6>[    5.650000] usb usb1: SerialNumber: platform
<6>[    5.650000] hub 1-0:1.0: USB hub found
<6>[    5.660000] hub 1-0:1.0: 2 ports detected
<6>[    5.660000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<7>[    5.670000] drivers/usb/host/ohci-ar71xx.c: starting AR7100 OHCI USB Controller...
<6>[    5.670000] ar71xx-ohci ar71xx-ohci.0: Atheros AR71xx built-in OHCI controller
<6>[    5.680000] ar71xx-ohci ar71xx-ohci.0: new USB bus registered, assigned bus number 2
<6>[    5.680000] ar71xx-ohci ar71xx-ohci.0: irq 22, io mem 0x1c000000
<6>[    5.750000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
<6>[    5.760000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    5.760000] usb usb2: Product: Atheros AR71xx built-in OHCI controller
<6>[    5.770000] usb usb2: Manufacturer: Linux 2.6.34.9-svn16972 ohci_hcd
<6>[    5.780000] usb usb2: SerialNumber: platform
<6>[    5.780000] hub 2-0:1.0: USB hub found
<6>[    5.780000] hub 2-0:1.0: 2 ports detected
<6>[    5.790000] usbcore: registered new interface driver usbserial
<6>[    5.800000] USB Serial support registered for generic
<6>[    5.800000] usbcore: registered new interface driver usbserial_generic
<6>[    5.810000] usbserial: USB Serial Driver core
<6>[    5.810000] USB Serial support registered for GSM modem (1-port)
<6>[    5.820000] usbcore: registered new interface driver option
<6>[    5.820000] option: v0.7.2:USB Driver for GSM modems
<6>[    5.830000] USB Serial support registered for pl2303
<6>[    5.830000] usbcore: registered new interface driver pl2303
<6>[    5.840000] pl2303: Prolific PL2303 USB to serial adaptor driver
<6>[    5.850000] USB Serial support registered for Sierra USB modem
<6>[    5.850000] usbcore: registered new interface driver sierra
<6>[    5.860000] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
<6>[    5.860000] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
<4>[    5.870000] u32 classifier
<4>[    5.880000]     input device check on
<4>[    5.880000]     Actions configured
<4>[    5.880000] Netfilter messages via NETLINK v0.30.
<4>[    5.890000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
<4>[    5.890000] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
<4>[    5.900000] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
<4>[    5.910000] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
<4>[    5.920000] nf_conntrack_rtsp v0.6.21 loading
<4>[    5.920000] nf_nat_rtsp v0.6.21 loading
<6>[    5.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    5.930000] IPP2P v0.8.2 loading
<6>[    5.930000] TCP westwood registered
<6>[    5.940000] TCP hybla registered
<6>[    5.940000] TCP vegas registered
<6>[    5.940000] NET: Registered protocol family 17
<6>[    5.950000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
<6>[    5.950000] All bugs added by David S. Miller <davem@redhat.com>
<4>[    5.990000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
<6>[    6.000000] Freeing unused kernel memory: 144k freed
<6>[    6.120000] usb 1-1: new high speed USB device using ar71xx-ehci and address 2
<6>[    6.400000] usb 1-1: New USB device found, idVendor=12d1, idProduct=1506
<6>[    6.400000] usb 1-1: New USB device strings: Mfr=4, Product=3, SerialNumber=0
<6>[    6.410000] usb 1-1: Product: HUAWEI Mobile
<6>[    6.420000] usb 1-1: Manufacturer: Huawei Technologies
<4>[    8.280000] ag7100_mod: module license 'unspecified' taints kernel.
<4>[    8.280000] Disabling lock debugging due to kernel taint
<0>[    8.290000] realtek phy id 24615
<0>[    8.300000] rtl_chip_type_select:RTL8366SR
<0>[    8.500000] realtek phy id 24615
<0>[    8.510000] rtl_chip_type_select:RTL8366SR
<4>[    8.750000] rtl8366sr_phy_setup  ethUnit=0
<0>[    8.750000] rtl8366sr register 0x6 state = 0000018C
<4>[    8.760000] Realtek 8366SR switch ID 0x8366
<4>[   12.770000] SP1000
<4>[   12.780000] phyUnit=0 is lostlink
<4>[   12.780000] phyUnit=1 is link
<4>[   12.790000] phyUnit=2 is lostlink
<4>[   12.790000] phyUnit=3 is lostlink
<4>[   12.800000] Writing 4
<4>[   12.800000] rtl8366sr_phy_setup  ethUnit=1
<4>[   12.810000] phyUnit=4 is lostlink
<4>[   12.810000] Writing 6
<6>[   12.970000] ath_mimo_hal: 0.9.17.1 (AR5416, REGOPS_FUNC)
<6>[   13.280000] ath_mimo_pci: 0.9.4.5 (Atheros/multi-bss)
<6>[   13.290000] ath_mimo_pci: CR-LSDK-1.4.0.152-DDWRT
<6>[   13.290000] wlan: 0.8.4.2 (Atheros/multi-bss)
<6>[   13.300000] wlan: mac acl policy registered
<6>[   13.300000] ath_rate_atheros: Version 2.0.1
<6>[   13.300000] Copyright (c) 2001-2004 Atheros Communications, Inc, All Rights Reserved
<4>[   13.310000] IRQ 48/wifi%d: IRQF_DISABLED is not guaranteed on shared IRQs
<6>[   13.320000] device id 29
<6>[   13.330000] ar5416CheckEepromDef: Read Magic = 0xA55A
<6>[   13.330000] EEPROM being read from flash @0xbf661000
<6>[   13.340000] need_swap = False.
<4>[   13.350000] DFS min filter rssiThresh = 18
<4>[   13.350000] DFS max pulse dur = 131 ticks
<4>[   13.360000] 1Mbps 2Mbps 5.5Mbps 11Mbps
<4>[   13.360000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.370000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.380000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.380000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.390000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.400000] 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.400000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.410000] wifi0: mac 128.2 phy 13.0 radio 12.0
<4>[   13.410000] wifi0: Use hw queue 1 for WME_AC_BE traffic
<4>[   13.420000] wifi0: Use hw queue 0 for WME_AC_BK traffic
<4>[   13.420000] wifi0: Use hw queue 2 for WME_AC_VI traffic
<4>[   13.430000] wifi0: Use hw queue 3 for WME_AC_VO traffic
<4>[   13.440000] wifi0: Use hw queue 8 for CAB traffic
<4>[   13.440000] wifi0: Use hw queue 9 for beacons
<4>[   13.440000] wifi0: Use hw queue 7 for UAPSD
<6>[   13.450000] wifi0: Atheros 9280: mem=0x10000000, irq=48 hw_base=0xb0000000
<4>[   13.460000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
<4>[   13.460000] IRQ 49/wifi%d: IRQF_DISABLED is not guaranteed on shared IRQs
<6>[   13.470000] device id 29
<6>[   13.480000] ar5416CheckEepromDef: Read Magic = 0xA55A
<6>[   13.480000] EEPROM being read from flash @0xbf665000
<6>[   13.490000] need_swap = False.
<4>[   13.500000] DFS min filter rssiThresh = 18
<4>[   13.500000] DFS max pulse dur = 131 ticks
<4>[   13.500000] 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.510000] 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.520000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.520000] 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.530000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.530000] 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
<4>[   13.540000]  0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
<4>[   13.540000] wifi1: mac 128.2 phy 13.0 radio 12.0
<4>[   13.550000] wifi1: Use hw queue 1 for WME_AC_BE traffic
<4>[   13.550000] wifi1: Use hw queue 0 for WME_AC_BK traffic
<4>[   13.560000] wifi1: Use hw queue 2 for WME_AC_VI traffic
<4>[   13.560000] wifi1: Use hw queue 3 for WME_AC_VO traffic
<4>[   13.570000] wifi1: Use hw queue 8 for CAB traffic
<4>[   13.570000] wifi1: Use hw queue 9 for beacons
<4>[   13.580000] wifi1: Use hw queue 7 for UAPSD
<6>[   13.580000] wifi1: Atheros 9280: mem=0x10010000, irq=49 hw_base=0xb0010000
<6>[   15.200000] device br0 entered promiscuous mode
<4>[   15.220000] ag7100_ring_free Freeing at 0x8398f000
<4>[   15.220000] ag7100_ring_free Freeing at 0x83b8b000
<4>[   15.240000] rtl8366sr_phy_setup  ethUnit=0
<4>[   15.250000] phyUnit=0 is lostlink
<4>[   15.250000] phyUnit=1 is link
<4>[   15.250000] phyUnit=2 is lostlink
<4>[   15.260000] phyUnit=3 is lostlink
<4>[   15.260000] Writing 4
<4>[   15.270000] ag7100_ring_free Freeing at 0x83b8b000
<4>[   15.270000] ag7100_ring_free Freeing at 0x8398f000
<4>[   15.290000] rtl8366sr_phy_setup  ethUnit=0
<4>[   15.300000] phyUnit=0 is lostlink
<4>[   15.300000] phyUnit=1 is link
<4>[   15.300000] phyUnit=2 is lostlink
<4>[   15.310000] phyUnit=3 is lostlink
<4>[   15.310000] Writing 4
<6>[   15.320000] device eth0 entered promiscuous mode
<4>[   15.330000] ag7100_ring_free Freeing at 0x83bbb000
<4>[   15.330000] ag7100_ring_free Freeing at 0x83b71000
<4>[   15.350000] rtl8366sr_phy_setup  ethUnit=1
<4>[   15.350000] phyUnit=4 is lostlink
<4>[   15.360000] Writing 6
<4>[   15.360000] ag7100_ring_free Freeing at 0x83b71000
<4>[   15.360000] ag7100_ring_free Freeing at 0x83bbb000
<4>[   15.380000] rtl8366sr_phy_setup  ethUnit=1
<4>[   15.390000] phyUnit=4 is lostlink
<4>[   15.390000] Writing 6
<6>[   15.400000] device eth1 entered promiscuous mode
<6>[   15.410000] br0: port 1(eth0) entering learning state
<6>[   15.410000] device br0 left promiscuous mode
<6>[   15.420000] device br0 entered promiscuous mode
<6>[   15.420000] device br0 left promiscuous mode
<6>[   15.430000] device br0 entered promiscuous mode
<4>[   15.560000]
<4>[   15.560000]  ath_numswbaperbc = 8(1)adj=76800   
<6>[   16.410000] br0: port 1(eth0) entering forwarding state
<6>[   19.240000] device ath0 entered promiscuous mode
<6>[   19.250000] br0: port 3(ath0) entering learning state
<4>[   19.270000]
<4>[   19.270000]  ath_numswbaperbc = 8(1)adj=76800   
<4>[   19.370000] ic->ic_cwm.cw_width :0, ic->ic_cwm.cw_extoffset: 0
<6>[   20.250000] br0: port 3(ath0) entering forwarding state
<6>[   22.700000] device ath1 entered promiscuous mode
<6>[   22.700000] br0: port 4(ath1) entering learning state
<6>[   22.840000] bonding: Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)
<6>[   22.850000] bonding: MII link monitoring set to 100 ms
<4>[   23.580000] ic->ic_cwm.cw_width :0, ic->ic_cwm.cw_extoffset: 0
<6>[   23.710000] br0: port 4(ath1) entering forwarding state
<6>[   24.060000] usbcore: registered new interface driver cdc_acm
<6>[   24.070000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
<6>[   25.060000] etherip: Ethernet over IPv4 tunneling driver


ls /dev:
    1-1
    console
    cpu_dma_latency
    full
    kmem
    kmsg
    mem
    mtd
    mtd0
    mtd0ro
    mtd1
    mtd1ro
    mtd2
    mtd2ro
    mtd3
    mtd3ro
    mtd4
    mtd4ro
    mtd5
    mtd5ro
    mtd6
    mtd6ro
    mtd7
    mtd7ro
    mtdblock
    mtdblock0
    mtdblock1
    mtdblock2
    mtdblock3
    mtdblock4
    mtdblock5
    mtdblock6
    mtdblock7
    net
    network_latency
    network_throughput
    null
    nvram
    port
    ppp
    ptmx
    pts
    random
    rfkill
    tty
    ttyS0
    tun
    urandom
    usb1
    usb2
    usbdev1.1
    usbdev1.2
    usbdev2.1
    watchdog
    zero
jefbuan
DD-WRT Novice


Joined: 18 May 2011
Posts: 13

PostPosted: Sat Jun 04, 2011 12:15    Post subject: Reply with quote
or this
#usbmode_switch -v 0x12d1 -p 0x1446 -H
Dr Fnord
DD-WRT Novice


Joined: 18 Feb 2010
Posts: 8

PostPosted: Sat Jun 04, 2011 12:26    Post subject: Reply with quote
jefbuan wrote:
or this
#usbmode_switch -v 0x12d1 -p 0x1446 -H


It appears to be unsure of what to do:

Code:
Looking for default devices ...
No devices in default mode or class found. Nothing to do. Bye.
Dr Fnord
DD-WRT Novice


Joined: 18 Feb 2010
Posts: 8

PostPosted: Thu Jun 09, 2011 18:20    Post subject: Reply with quote
Huawei seem to have changed their commands for this version.
Code:
AT^U2DIAG

... just returns ...
Code:
COMMAND NOT SUPPORT

So I can only assume that there's some other way of disabling the CD for the e398.

The supported commands appear to be:
Code:
AT+CLAC
&C
&D
&E
&F
&S
&V
&W
E
I
L
M
Q
V
X
Z
T
P
\Q
\S
\V
%V
D
A
H
O
S0
S2
S3
S4
S5
S6
S7
S8
S9
S10
S11
S30
S103
S104
+FCLASS
+ICF
+IFC
+IPR
+GMI
+GMM
+GMR
+GCAP
+GSN
+DR
+DS
+CMEE
+WS46
+PACSP
+CFUN
+CCLK
+CBST
+CRLP
+CV120
+CHSN
+CSSN
+CREG
+CGREG
+CEREG
+GCAP
+CSCS
+CSTA
+CR
+CEER
+CRC
+CGDCONT
+CGDSCONT
+CGTFT
+CGEQREQ
+CGEQMIN
+CGEQOS
+CGCONTRDP
+CGSCONTRDP
+CGTFTRDP
+CGEQOSRDP
+CGQREQ
+CGQMIN
+CGEREP
+CGPADDR
+CGDATA
+CGCLASS
+CGSMS
+CSMS
+CMGF
+CSAS
+CRES
+CSCA
+CSMP
+CSDH
+CSCB
+FDD
+FAR
+FCL
+FIT
+ES
+ESA
+CMOD
+CEMODE
+CVHU
+CGEQNEG
$QCSIMSTAT
$CREG
$CCLK
$QCCNMI
*CNTI
$QCCLR
$QCDMG
$QCDMR
$QCDNSP
$QCDNSS
$QCTER
$QCSLOT
$QCPINSTAT
$QCPDPP
$QCPDPLT
$QCPWRDN
$QCDGEN
$QCPDPCFGE
$BREW
$CSQ
$QCSYSMODE
$QCBANDPREF
$QCVOLT
$QCHWREV
$QCBOOTVER
^HWVER
^HVER
^SN
^CARDMODE
^HSPA
^RRCVER
^YJCX
^SLOTCFG
^DIALMODE
^LTECAT
^HS
^BOOT
^SPN
^PNN
^OPL
^CPNN
^SETPID
^CURC
^PORTSEL
^IMSICHG
^STSF
^STGI
^STGR
^FREQLOCK
^GLASTERR
^RDCUST
^CPIN
^SYSINFOEX
^SYSINFO
^SYSMODE
^CELLMODE
^SYSCFG
^SYSCFGEX
^DSFLOWCLR
^DSFLOWQRY
^DSFLOWRPT
^RSTRIGGER
^CPBW
^CPBR
^SCPBW
^SCPBR
^CARDLOCK
^AUTHVER
^GETPORTMODE
^LEDTEST
^SETPORT
^FLASH
^NVTEST
^btrsn
^NVMBN
^SWDUMP
^HWDUMP
^SETSD
^SFM
^CQLM
^CCV
^LTERSRP
^LTESCINFO

Does anyone know where one could find the meaning of these commands? Or more specifically, how one could find out which one disables the CD?
Einari C. Porkkakoski 3rd
DD-WRT Novice


Joined: 24 Jun 2011
Posts: 1

PostPosted: Fri Jun 24, 2011 8:52    Post subject: Disabling Huawei E367 / E393 CD-emulation Reply with quote
Dr Fnord wrote:
Huawei seem to have changed their commands for this version.
Code:
AT^U2DIAG

... just returns ...
Code:
COMMAND NOT SUPPORT

So I can only assume that there's some other way of disabling the CD for the e398.


Trying to figure out same problem myself with Huawei E367. Interesting commands are AT^GETPORTMODE which returns list of devices currently presented over USB. You can control this list with AT^SETPORT command. Problem is ^SETPORT doesn't let one to disable CD emulation prior modeswitch, only how it behaves after receiving modeswitch command plus ability to hide MicroSD-card reader. Wonder if there's another command to use for changing modeswitch default or if we need to switch device to some sort of "elevated" mode first so it would allow CD disabling.

Here's some of my notes, but still missing the most important one - how to change DEFAULT to be without CD and with modem.

AT^SETPORT=?
- Display configuration options

1:MODEM
2:PCUI
3:DIAG
4:PCSC
5:GPS
6:GPS CONTROL
7:NDIS
A:BLUE TOOTH
B:FINGER PRINT
D:MMS
E:PC VOICE
A1:CDROM
A2:SD

On Windows these numbers / letters map following way:

Prior installing Huawei software:
A1: Disk drives > HUAWEI TF CARD Storage USB Device
A2: DVD/CD-ROM drives > HUAWEI Mass Storage USB Device

After installing Huawei software:
1: Modems > HUAWEI Mobile Connect - 3G Modem
2: Ports (COM & LPT) > HUAWEI Modem Connect - 3G PC UI Interface (COM6)
3: Ports (COM & LPT) > HUAWEI Modem Connect - 3G Application Interface (COM5)
7: Network Adapters > HUAWEI Mobile Connect - 3G Network Card
A1: Disk drives > HUAWEI TF CARD Storage USB Device
A2: DVD/CD-ROM drives > HUAWEI Mass Storage USB Device

AT^SETPORT?
- Display current configuration

AT^GETPORTMODE
- Display currently active mode

AT^SETPORT="A1,A2;1,2,3,7,A1,A2"
- Set default configuration

AT^SETPORT="A1,A2;1,2,3,7"
- Disable CD+SD after modeswitch

AT^SETPORT="A1,A2;2,7"
- Disable CD+SD+modem after modeswitch, keep PCUI and Win7 NDIS mode

AT^SETPORT="A1;2,7"
- CD only, after modeswitch PCUI + NDIS

AT^SETPORT="A1,A2;1,2,3,7,A1,A2,4,5,6,A,B,D,E"
- CD/SD, after modeswitch enable all features (doesn't really do anything different compared to default)

If you try playing with these it's probably best to not ever drop "2" from list of features as that will likely prevent you from reverting changes with AT-commands.

Looking inside firmware upgrade image I found following commands. There's few extras compared to list from AT+CLAC but get just ERROR from most of them.

Code:
^efsmake
^YJCX
^SLOTCFG
^SWDUMP
^HWDUMP
^PATHERM
^HWVER
^SN
^CARDMODE
^HS
^SPN
^HSPA
^CHIPVER
^PNN
^OPL
^CPNN
^RSTRIGGER
^CARDLOCK
^AUTHVER
^CPIN
^SYSINFO
^SYSINFOEX
^SYSCFG
^CSNR
^DSFLOWCLR
^DSFLOWQRY
^DSFLOWRPT
^CPBW
^CPBR
^SCPBW
^SCPBR
^PORTSEL
^CELLMODE
^DIALMODE
^BOOT
^IMSICHG
^STSF
^STGI
^STGR
^CURC
^FREQLOCK
^DWINS
^GLASTERR
^RDCUST
^USSDMODE
^GETPORTMODE
^CMSR
^CMGI
^CMMT
^NVMBN
^btrsn
^SETPORT
evad
DD-WRT Novice


Joined: 02 Aug 2011
Posts: 5

PostPosted: Wed Aug 17, 2011 13:52    Post subject: Reply with quote
Hi Einari, did you get any luck solving this problem? I have Huawei E353 HSPA+ modem and facing same issue. It works with no issues on my laptop with Fedora 15 (modem+cd+scdard devices are all recognized and working), however plugging into dd-wrt router only yields cd drive.

I've tried to use AT^SETPORT="A1,A2;1,2,3,7" command, after that Fedora 15 stopped recognizing cd and microsd devices (so there only was modem) but dd-wrt still insisted on cd drive.

I've also seen your post on some Russian forum where you mentioned AT^PORTSEL command. Did you explore this option further and got any luck?
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7040

PostPosted: Wed Aug 17, 2011 14:09    Post subject: Reply with quote
Dr Fnord wrote:


Looking for default devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 12d1:1506
found matching vendor ID
searching devices, found USB ID 1d6b:0001
No devices in default mode or class found. Nothing to do. Bye.


The modem id of the stick (12d1:1506) was not known by dd-wrt at that time, it has recently been included so next released build may work.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7040

PostPosted: Wed Aug 17, 2011 14:13    Post subject: Reply with quote
evad wrote:
I have Huawei E353 HSPA+ modem and facing same issue.


E353 has the same default id (cd-rom) and the same modem id as the E398. It should also be supported from next release.
evad
DD-WRT Novice


Joined: 02 Aug 2011
Posts: 5

PostPosted: Wed Aug 17, 2011 14:37    Post subject: Reply with quote
LOM wrote:
evad wrote:
I have Huawei E353 HSPA+ modem and facing same issue.


E353 has the same default id (cd-rom) and the same modem id as the E398. It should also be supported from next release.


I currently have TP-Link TL-WR1043ND with build 14311, the latest available to download is 14896. Should I upgrade now with 14896 or wait for another build to get this modem supported?
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7040

PostPosted: Wed Aug 17, 2011 14:43    Post subject: Reply with quote
Upgrade to 14896 if you have reason to believe it will give you better functionality elsewhere, it will of course not help for your 3G modem.
evad
DD-WRT Novice


Joined: 02 Aug 2011
Posts: 5

PostPosted: Wed Aug 17, 2011 22:13    Post subject: Reply with quote
LOM wrote:
Upgrade to 14896 if you have reason to believe it will give you better functionality elsewhere, it will of course not help for your 3G modem.


Just upgraded firmware to build 14896 and upon plugging E353 modem to router, dmesg still reports device as usb-storage, HOWEVER if I setup WAN connection over 3G regardless of that and try to connect, suddenly router recognizes modem part of usb device:

Code:
<6>drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
<6>usbcore: registered new interface driver sierra
<6>drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.0


But... 3G connection doesn't work, it basically is unable to connect.


I've also tested a bit older modem from Huawei E1750 which always worked with my dd-wrt router. When I plug device into usb port I get:


Code:
<6>usb 1-1: new high speed USB device using ar71xx-ehci and address 3
<6>usb 1-1: configuration #1 chosen from 1 choice
<4>usb-storage: probe of 1-1:1.0 failed with error -5
<4>usb-storage: probe of 1-1:1.1 failed with error -5
<4>usb-storage: probe of 1-1:1.2 failed with error -5



But once I setup a 3G connection over WAN it reports:


Code:
<6>usbcore: registered new interface driver usbserial
<6>drivers/usb/serial/usb-serial.c: USB Serial Driver core
<6>drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
<6>option 1-1:1.0: GSM modem (1-port) converter detected
<6>usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>option 1-1:1.1: GSM modem (1-port) converter detected
<6>usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
<6>option 1-1:1.2: GSM modem (1-port) converter detected
<6>usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
<6>usbcore: registered new interface driver option
<6>drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1


And 3G connection just works. Perhaps the reason E353 doesn't work is that its handled by sierra driver, rather than option?
Goto page 1, 2, 3, 4  Next Display posts from previous:    Page 1 of 4
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum