Modify

Opened 3 years ago

Last modified 3 years ago

#19072 new defect

GCOM cannot send USSD

Reported by: formygeneraluse@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Attitude Adjustment 12.09
Keywords: GCOM, USSD, GSM, Modem, PDU Cc:

Description

Gcom is unable to send USSD commands to the modem /dev/ttyUSB2 which responds to other AT commands. The following Router is TPlink MR3020. Modem is Huawei e1750 (comgt output attached below).

Running GCOM script

opengt
set com 115200n81
set comecho off
set senddelay 0.02
waitquiet 0.2 0.2

send "AT+CUSD=1,\"AA5AAD3602\",15^m"
waitfor 20 "+CUSD: "

get 1 "" $s
print $s

:continue
exit 0

Leads to ERROR which is shown on the cat output of /dev/ttyUSB2.

AT+CUSD=1,"AA5AAD3602",15
ERROR

Running the command with the normal GSM format like *555# via Gcom script also doesn't help. The device responds to other AT commands like AT+CSQ and to all other built-in Gcom scripts. I have tried to stop the Data device of the modem /dev/ttyUSB0 and then run the commands for USSD but they still don't work

OPENWrt Version:

Linux OpenWrt 3.3.8 #1 Sat Mar 23 16:49:30 UTC 2013 mips GNU/Linux
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="12.09"
DISTRIB_REVISION="r36088"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Attitude Adjustment 12.09"
12.09

DMESG output

[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 16:49:30 UTC 2013
[    0.000000] MyLoader: sysp=444ba8b5, boardp=5fbcaeef, parts=ebc66edc
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802f1100, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29000k/32768k available (2211k kernel code, 3768k reserved, 418k data, 212k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-MR3020
[    0.350000] bio: create slab <bio-0> at 0
[    0.360000] Switching to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.370000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.390000] TCP reno registered
[    0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] NET: Registered protocol family 1
[    0.410000] PCI: CLS 0 bytes, default 32
[    0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.430000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 56
[    0.440000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.450000] io scheduler noop registered
[    0.450000] io scheduler deadline registered (default)
[    0.460000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.480000] console [ttyATH0] enabled, bootconsole disabled
[    0.490000] m25p80 spi0.0: found s25sl032a, expected m25p80
[    0.500000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[    0.500000] 5 tp-link partitions found on MTD device spi0.0
[    0.510000] Creating 5 MTD partitions on "spi0.0":
[    0.510000] 0x000000000000-0x000000020000 : "u-boot"
[    0.520000] 0x000000020000-0x000000109c70 : "kernel"
[    0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.540000] 0x000000109c70-0x0000003f0000 : "rootfs"
[    0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] mtd: partition "rootfs" set to be root filesystem
[    0.560000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, len=110000
[    0.570000] 0x0000002e0000-0x0000003f0000 : "rootfs_data"
[    0.570000] 0x0000003f0000-0x000000400000 : "art"
[    0.580000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.600000] ag71xx_mdio: probed
[    0.610000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.160000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.170000] TCP cubic registered
[    1.170000] NET: Registered protocol family 17
[    1.180000] Bridge firewalling registered
[    1.180000] 8021q: 802.1Q VLAN Support v1.8
[    1.190000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.200000] Freeing unused kernel memory: 212k freed
[    3.220000] Registered led device: tp-link:green:3g
[    3.230000] Registered led device: tp-link:green:wlan
[    3.230000] Registered led device: tp-link:green:lan
[    3.230000] Registered led device: tp-link:green:wps
[    6.160000] eth0: link up (100Mbps/Full duplex)
[    6.550000] JFFS2 notice: (442) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 10 of xref (0 dead, 0 orphan) found.
[    6.760000] eth0: link down
[    8.510000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[    8.520000] Backport based on wireless-testing.git master-2012-09-07
[    8.530000] compat.git: wireless-testing.git
[    8.560000] cfg80211: Calling CRDA to update world regulatory domain
[    8.560000] cfg80211: World regulatory domain updated:
[    8.570000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.580000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.590000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.590000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.600000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.610000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.960000] usbcore: registered new interface driver usbfs
[    8.960000] usbcore: registered new interface driver hub
[    8.970000] usbcore: registered new device driver usb
[    9.520000] ath: EEPROM regdomain: 0x0
[    9.520000] ath: EEPROM indicates default country code should be used
[    9.520000] ath: doing EEPROM country->regdmn map search
[    9.520000] ath: country maps to regdmn code: 0x3a
[    9.520000] ath: Country alpha2 being used: US
[    9.520000] ath: Regpair used: 0x3a
[    9.530000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    9.530000] Registered led device: ath9k-phy0
[    9.530000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[    9.540000] cfg80211: Calling CRDA for country: US
[    9.540000] cfg80211: Regulatory domain changed to country: US
[    9.540000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.550000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    9.560000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[    9.570000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.580000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.580000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.590000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[    9.650000] PPP generic driver version 2.4.2
[    9.900000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.130000] NET: Registered protocol family 24
[   10.150000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.150000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[   10.160000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[   10.200000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[   10.220000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[   10.220000] hub 1-0:1.0: USB hub found
[   10.220000] hub 1-0:1.0: 1 port detected
[   10.250000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[   10.490000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   10.570000] usb 1-1: new full-speed USB device number 2 using ehci-platform
[   10.620000] usbcore: registered new interface driver usbserial
[   10.630000] USB Serial support registered for generic
[   10.730000] usbcore: registered new interface driver usbserial_generic
[   10.730000] usbserial: USB Serial Driver core
[   10.780000] USB Serial support registered for GSM modem (1-port)
[   10.790000] option 1-1:1.0: GSM modem (1-port) converter detected
[   10.800000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[   10.800000] option 1-1:1.1: GSM modem (1-port) converter detected
[   10.810000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[   10.820000] option 1-1:1.2: GSM modem (1-port) converter detected
[   10.820000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[   10.830000] usbcore: registered new interface driver option
[   10.830000] option: v0.7.2:USB Driver for GSM modems
[   15.230000] device eth0 entered promiscuous mode
[   16.180000] eth0: link up (100Mbps/Full duplex)
[   16.180000] br-lan: port 1(eth0) entered forwarding state
[   16.190000] br-lan: port 1(eth0) entered forwarding state
[   18.190000] br-lan: port 1(eth0) entered forwarding state
[  315.500000] br-lan: port 1(eth0) entered disabled state
[  315.520000] device eth0 left promiscuous mode
[  315.520000] br-lan: port 1(eth0) entered disabled state
[  315.550000] eth0: link down
[  315.590000] device eth0 entered promiscuous mode
[  316.420000] eth0: link up (100Mbps/Full duplex)
[  316.420000] br-lan: port 1(eth0) entered forwarding state
[  316.430000] br-lan: port 1(eth0) entered forwarding state
[  318.430000] br-lan: port 1(eth0) entered forwarding state
[  404.630000] br-lan: port 1(eth0) entered disabled state
[  404.650000] device eth0 left promiscuous mode
[  404.650000] br-lan: port 1(eth0) entered disabled state
[  404.650000] eth0: link down
[  407.220000] device eth0 entered promiscuous mode
[  407.420000] eth0: link up (100Mbps/Full duplex)
[  407.420000] br-lan: port 1(eth0) entered forwarding state
[  407.430000] br-lan: port 1(eth0) entered forwarding state
[  409.430000] br-lan: port 1(eth0) entered forwarding state
[  887.420000] eth0: link down
[  887.420000] br-lan: port 1(eth0) entered disabled state
[  892.420000] eth0: link up (100Mbps/Full duplex)
[  892.420000] br-lan: port 1(eth0) entered forwarding state
[  892.430000] br-lan: port 1(eth0) entered forwarding state
[  894.430000] br-lan: port 1(eth0) entered forwarding state

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by anonymous

Anyone please take a look at it.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.