OpenWrt Forum Archive

Topic: ASUS WL-500g Deluxe with gprs modem

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello guys,

I bought 2 weeks ago a Topex Bytton gprs router on ebay. This bytton is actually a ASUS WL-500g Deluxe with a gprs modem attached. I took some pictures of it and it's insides. Their on my box at http://testsensor.snort.ro/bytton . I got the latest backfire on it, everything is working fine except the gprs modem which I've been trying to figure-out for 2 weeks now and it's driving me mad. In the pictures I took you can see the modem chip and it's model, it a Voxson EN2002. I haven't been able to find anything online about it. Is there something I can do to make it work?

Cheers!

root@ByttWrt:~# dmesg | grep diag
diag: Detected 'ASUS WL-500g Deluxe'

root@ByttWrt:~# lsmod
Module                  Size  Used by    Not tainted
pl2303                 13920  0
option                 13776  0
usb_storage            35584  0
usbserial              26128  2 pl2303,option
cdc_acm                13760  0
uhci_hcd               19088  0
ohci_hcd               17952  0
nf_nat_tftp              432  0
nf_conntrack_tftp       2400  1 nf_nat_tftp
nf_nat_irc               864  0
nf_conntrack_irc        2592  1 nf_nat_irc
nf_nat_ftp              1360  0
nf_conntrack_ftp        4896  1 nf_nat_ftp
ipt_MASQUERADE           992  2
iptable_nat             2880  1
nf_nat                 12544  5 nf_nat_tftp,nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
xt_NOTRACK               672  0
iptable_raw              656  1
xt_state                 800  0
nf_conntrack_ipv4       8352  3 iptable_nat,nf_nat
nf_defrag_ipv4           608  1 nf_conntrack_ipv4
nf_conntrack           44000 12 nf_nat_tftp,nf_conntrack_tftp,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_NOTRACK,xt_state,nf_conntrack_ipv4
ehci_hcd               34080  1 ohci_hcd
sd_mod                 22992  0
pppoe                  10208  0
pppox                   1312  1 pppoe
ipt_REJECT              1984  0
xt_TCPMSS               2720  0
ipt_LOG                 4640  0
xt_comment               464  0
xt_multiport            1904  0
xt_mac                   576  0
xt_limit                1152  0
iptable_mangle           992  0
iptable_filter           768  0
ip_tables               8800  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
xt_tcpudp               1856  0
x_tables                9824 13 ipt_MASQUERADE,iptable_nat,xt_NOTRACK,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,ip_tables,xt_tcpudp
ppp_async               9040  0
ppp_generic            21200  3 pppoe,pppox,ppp_async
slhc                    5360  1 ppp_generic
b43legacy              98784  0
b43                   154752  0
mac80211              212576  2 b43legacy,b43
usbcore               107120  9 pl2303,option,usb_storage,usbserial,cdc_acm,uhci_hcd,ohci_hcd,ehci_hcd
scsi_mod               72896  2 usb_storage,sd_mod
nls_base                4960  1 usbcore
crc_ccitt                976  1 ppp_async
cfg80211              129216  3 b43legacy,b43,mac80211
compat_firmware_class     5936  2 b43legacy,b43
compat                   432  0
arc4                     816  2
aes_generic            31056  0
deflate                 1328  0
ecb                     1328  2
cbc                     2016  0
switch_robo             4048  0
switch_core             5216  1 switch_robo
diag                    7504  0

root@ByttWrt:~# logread | grep -i modem
Apr  6 02:12:24 ByttWrt user.info kernel: cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Apr  6 02:12:25 ByttWrt user.info kernel: USB Serial support registered for GSM modem (1-port)
Apr  6 02:12:25 ByttWrt user.info kernel: option: v0.7.2:USB Driver for GSM modems

root@ByttWrt:~# ls -al /dev/tty*
crw-rw-rw-    1 root     root       5,   0 Jan  1  1970 /dev/tty
crw-rw-rw-    1 root     root       4,  64 May 31 16:32 /dev/ttyS0
crw-rw-rw-    1 root     root       4,  65 Jan  1  1970 /dev/ttyS1
root@ByttWrt:~# microcom
Try /dev/ttyS0
/dev/ttyS0 not responding

Try /dev/ttyS1
/dev/ttyS1 not responding

Try /dev/ttyS2
/dev/ttyS2 not found


root@ByttWrt:~# opkg list-installed | grep kmod
kmod-b43 - 2.6.32.10+2010-03-24-5
kmod-b43legacy - 2.6.32.10+2010-03-24-5
kmod-cfg80211 - 2.6.32.10+2010-03-24-5
kmod-crc-ccitt - 2.6.32.10-1
kmod-crypto-aes - 2.6.32.10-1
kmod-crypto-arc4 - 2.6.32.10-1
kmod-crypto-core - 2.6.32.10-1
kmod-diag - 2.6.32.10-6
kmod-ipt-conntrack - 2.6.32.10-1
kmod-ipt-core - 2.6.32.10-1
kmod-ipt-nat - 2.6.32.10-1
kmod-ipt-nathelper - 2.6.32.10-1
kmod-mac80211 - 2.6.32.10+2010-03-24-5
kmod-nls-base - 2.6.32.10-1
kmod-ppp - 2.6.32.10-1
kmod-pppoe - 2.6.32.10-1
kmod-scsi-core - 2.6.32.10-1
kmod-switch - 2.6.32.10-3
kmod-usb-acm - 2.6.32.10-1
kmod-usb-core - 2.6.32.10-1
kmod-usb-ohci - 2.6.32.10-1
kmod-usb-serial - 2.6.32.10-1
kmod-usb-serial-option - 2.6.32.10-1
kmod-usb-serial-pl2303 - 2.6.32.10-1
kmod-usb-storage - 2.6.32.10-1
kmod-usb-uhci - 2.6.32.10-1
kmod-usb2 - 2.6.32.10-1

(Last edited by bazy on 31 May 2010, 20:31)

I think, the most essential part of the package is the software and it's configuration. Flashing it with backfire before examining the previous configuration doesn't seem to be a good idea to me.

The original firmware had all modules built in the kernel... I had no way of finding out anything. Of course I've saved it smile I'll look again in /proc and /dev.

The router has a special setup for the GPRS modem through GPIO PINS to enable it (GPIO 1, 5,7) and the modem is connectet to UART0 (/dev/tts/0). The standard firmwares like Openwrt, Oleg, DD uses tts/0 to console output, you can compile firmware to disable kernel command parameters and to use the GPRS modem. I made it working just after installing the special BYTTON firmware, and installing Openwrt after it. I got modem ringing and displaying RING in minicom, I had no success with sending commands to the modem.
I tried various bauds with 8N1 mode, I will fight with it in the future, as I need to make a sms server on it.
If you want, I can send you the original firmware, maybe you'll get things working and maybe you'll help me to figure it out to!
I am from Romania, home country of topex routers smile

Thanks for the advice! I'm also Romanian smile They found a really strange way of connecting that modem. If you find the AT commands or a way to get it to connect please let me know.

i am also from Romania and i have some news regarding gprs modem and control over it.
First: it is posible to start the modem if GPIO 7 is on  high level, but i don't know how to make this using openwrt, i don't know how to control the gpio pins
Secound:  i have found a application that is designed special for modems to send sms messages

if anyone has any idee how to manual control the gpio pins please let me know

LE: GPIO5 is for controling the de status red led

(Last edited by soulraven on 8 Apr 2012, 11:05)

in case your firmware is compiled with support for gpiolib and sysfs-gpio, you can easily follow those instructions: http://squidge.sourceforge.net/gpio/
if not, you probably have to go the way of gpioctl or find some entries in /dev.

i don't have any gpio in /dev , any ideea how i control ?
and also i don't have any gpio in sys/class/

On Deluxe, with  backfire  10.03.1  k 2.6.32.27 I have just installed

opkg install kmod-gpio-dev kmod-gpiotoggling kmod-spi-gpio kmod-spi-gpio-old

and gpio apears on /dev
gpiodev in /sys/class/gpiodev/gpio/

lsmod | grep gpio
spi_gpio_old            2800  0
gpio_dev                2144  0
spi_gpio                3024  0
spi_bitbang             3088  2 spi_gpio_old,spi_gpio

I don't know what is the right module.

Have fun!
Eventual, rezultate daca reusesti ceva. smile


I am curios if somebody managed to compile a pfring + tnapi to get maximum speed on deluxe, pm me a link or some direction to start.

(Last edited by playonlcd on 24 Apr 2012, 09:53)

still nothing, because i don't nothing from gnokii. when try to manually to get some info with gnokii, is just freeze and not info is returned from modem.
i have try "gnokii --getnetworkinfo" and nothing

I have turned the red LED on with the following command:

gpio enable 1

It seems that the red LED is connected to gpio 1.
Turn off the red LED with the following command:

gpio disable 1

You will have to install the correct gpio for your kernel. I have Kamikaze 8.09.1, kernel 2.4.35.4 and I have downloaded it from http://downloads.openwrt.org/utils/gpio … .29.tar.gz

in that case, meaby that gpio 0 or 2 is the other gpio pin, for turning on the modem?

The discussion might have continued from here.