Author Topic: How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet  (Read 67810 times)

jrj

  • Newbie
  • *
  • Posts: 2
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #30 on: July 24, 2005, 01:08:50 am »
Hi All,

I use the AudioVox RTM-8000D GPRS card on an Zaurus SL-5600 running OpenZaurus 3.5.3 with no problems. Getting it going was tricky. I've written a step by step howto covering the details. It's available here:

http://www.glugers.org/content.php?article.2

I'm now trying to get the RTM-8000D working on Fedora Core 4 with no success so far. It's plugged into my laptop via a CF-to-PCMCIA card. My dmesg output is simply:

cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
0.0: RequestIO: No more items

Any help would be appreciated.

Cheers,
George

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #31 on: July 24, 2005, 04:38:58 pm »
Quote
I'm now trying to get the RTM-8000D working on Fedora Core 4 with no success so far. It's plugged into my laptop via a CF-to-PCMCIA card. My dmesg output is simply:

cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa00fffff
0.0: RequestIO: No more items

It sounds like you need to add an identifier to the system so that it realises that this type of card is, basically, a serial device.

what does "cardctl status" and "cardctl info" tell you?
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

jrj

  • Newbie
  • *
  • Posts: 2
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #32 on: July 24, 2005, 09:16:23 pm »
Quote
It sounds like you need to add an identifier to the system so that it realises that this type of card is, basically, a serial device.

what does "cardctl status" and "cardctl info" tell you?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=89345\"][{POST_SNAPBACK}][/a][/div]

Cheers for the reply. Below are the outputs. I've also included the entries in /var/log/messages when I insert the card:

[root@umbriel ~]# cardctl status
Socket 0:
  3.3V 16-bit PC Card
  function 0: [ready]
Socket 1:
  5V 16-bit PC Card
  function 0: [ready]
[root@umbriel ~]#


[root@umbriel ~]# cardctl info
PRODID_1="GPRS Modem"
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0279,950b
FUNCID=2
PRODID_1="O2Micro"
PRODID_2="SmartCardBus Reader"
PRODID_3="V1.0"
PRODID_4=""
MANFID=ffff,0001
FUNCID=255
[root@umbriel ~]#

/var/log/messages entries when card is inserted:

Jul 25 11:14:48 umbriel cardmgr[1680]: socket 0: Serial or Modem
Jul 25 11:14:49 umbriel cardmgr[1680]: get dev info on socket 0 failed: No such device
Jul 25 11:14:49 umbriel kernel: 0.0: RequestIO: No more items

gustav1888

  • Newbie
  • *
  • Posts: 3
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #33 on: August 12, 2005, 11:42:58 am »
Hi all,
i have an audiovox rtm 8000 that works on zaurus 5500 with sharp rom 3.13, having followed the how-to on this thread.
Now i'm trying to install it on a laptop using the cf-pcmcia adapter.
I use 2.4.26 kernel and all seems to work... but there is a problem with routing.
The scripts (gprs, connectgprs...) are executed normally but when the server assigns my
IP, the network remain unreacheable. I cannot ping to any address except mine, even if
the route command outputs as usual.  

Does someone has successfully configured the audiovox to use in a laptop?

thanks a lot

Michele

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #34 on: August 12, 2005, 11:55:53 am »
basically, the gsm/gprs modem behaves like any other CF serial device - it emulates a modem.
just ensure there's a mapping for the device name to make sure hotplug assigns it serial or modem identity.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

gustav1888

  • Newbie
  • *
  • Posts: 3
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #35 on: August 13, 2005, 04:49:25 am »
Quote
basically, the gsm/gprs modem behaves like any other CF serial device - it emulates a modem.
just ensure there's a mapping for the device name to make sure hotplug assigns it serial or modem identity.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=91598\"][{POST_SNAPBACK}][/a][/div]

I think the problem is about routing. The kernel recognizes correctly the device and assigns to it the /dev/ttyS1 serial port. Then i use the same scripts (gpr, connectgprs, disconnectgprs) that i do for zaurus and the modem connects. i receive from my provider an IP address and a local address, as well as two DNS nameserver. But i'm unable to ping them, so i can't browse.
Even route and ifconfig commands give the same results as on zaurus but i'm still unable to ping any other IP except from my and remote address.

Somebody knows?

Michele

P.S. I'm not using any distribution. I compiled all with linuxfromscratch 5.1.1

gustav1888

  • Newbie
  • *
  • Posts: 3
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #36 on: August 14, 2005, 08:10:49 am »
Solved!
For some reason, when connecting using the zaurus, it automagically write the /etc/resolv.conf file. Instead using my laptop this file remained empty.
I need to manually insert the my provider's DNS address and all works well.

Michele

Lancillotto

  • Newbie
  • *
  • Posts: 23
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #37 on: November 23, 2005, 05:07:27 am »
Hello to everybody!

I solved all my past problems posted on this forum!!!

Now I'm trying to activate my Audiovox RTM 800 on a SL-C3100 with original Zaurus OS and kernel 2.4.20.

In the dmesg I get the bad vcc error and non serial port assignment.

I tryed to replace the serial_cs with various versions on the net but without luck!

Can anybody help me?

Thank you!

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #38 on: November 24, 2005, 05:34:38 am »
Quote
Hello to everybody!

I solved all my past problems posted on this forum!!!

Now I'm trying to activate my Audiovox RTM 800 on a SL-C3100 with original Zaurus OS and kernel 2.4.20.

In the dmesg I get the bad vcc error and non serial port assignment.

I tryed to replace the serial_cs with various versions on the net but without luck!

Can anybody help me?

Thank you!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Please try the RTM8000-Enabler which contains a tested serial_cs for the 2.4.20 kernel:

[a href=\"http://www.handheld-linux.com/wiki.php?page=RTM8000-Enabler]http://www.handheld-linux.com/wiki.php?page=RTM8000-Enabler[/url]

-- hns

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

Lancillotto

  • Newbie
  • *
  • Posts: 23
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #39 on: November 24, 2005, 05:41:06 am »
Thanks for your answer.

I tried It but with no success. I read on another forum that QTopia newer than 1.2 has a serial_cs driver built-in, so I cannot replace it.

Any other idea?

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #40 on: November 24, 2005, 07:03:00 am »
Quote
Thanks for your answer.

I tried It but with no success. I read on another forum that QTopia newer than 1.2 has a serial_cs driver built-in, so I cannot replace it.

Any other idea?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104790\"][{POST_SNAPBACK}][/a][/div]
The driver is never built into Qtopia - it is part of the Linux kernel. And the one in the enabler replaces the builtin one. Can you
1. install the enabler
2. insert the card
3. post
a) the dmesg log
 results of cartctl status and cardctl ident
c) result of lsmod

And, do you use the original Sharp ROM or a different kernel?

-- hns
« Last Edit: November 24, 2005, 07:05:33 am by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

Lancillotto

  • Newbie
  • *
  • Posts: 23
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #41 on: November 29, 2005, 04:41:51 am »
Quote
Quote
Thanks for your answer.

I tried It but with no success. I read on another forum that QTopia newer than 1.2 has a serial_cs driver built-in, so I cannot replace it.

Any other idea?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104790\"][{POST_SNAPBACK}][/a][/div]
The driver is never built into Qtopia - it is part of the Linux kernel. And the one in the enabler replaces the builtin one. Can you
1. install the enabler
2. insert the card
3. post
a) the dmesg log
 results of cartctl status and cardctl ident
c) result of lsmod

And, do you use the original Sharp ROM or a different kernel?

-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104795\"][{POST_SNAPBACK}][/a][/div]

I did all you posted me:

 1) The ROM is the Original with Kernel 2.4.20

 2) DMESG -> "serial_cs: RequestConfiguration: Bad Vcc"

 3) cardctl status ->

        Socket 0:
          3.3V 16-bit PC Card
          function 0: [ready]

        Socket 1:
          3.3V 16-bit PC Card
          function 0: [ready], [bat dead], [bat-low]

 4) cardctl ident ->

        Socket 0:
          product info: "GPRS modem", "", "", ""
          manfid: 0x0279, 0x950b
          function: 2 (serial)

        Socket 1:
          product info: "Hitachi", "microdrive", "", ""
          manfid: 0x0319, 0x0000
          function: 4 (fixed disk)
       
  5) lsmod ->

        Module              Size     Used by
        pxa_bi               24912  0 (unused)
        net_fd                25216  0 (unused)
        usbdcore            35504   0 [pxa_bi net_fd]
        usbdmonitor       5488    0
        usb-monitor        6496    0
        sharp_mmcsd_m 41008  1

Thanks a lot!

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #42 on: November 29, 2005, 03:04:53 pm »
Quote
I did all you posted me:

 1) The ROM is the Original with Kernel 2.4.20

 2) DMESG -> "serial_cs: RequestConfiguration: Bad Vcc"

 3) cardctl status ->

        Socket 0:
          3.3V 16-bit PC Card
          function 0: [ready]

        Socket 1:
          3.3V 16-bit PC Card
          function 0: [ready], [bat dead], [bat-low]

 4) cardctl ident ->

        Socket 0:
          product info: "GPRS modem", "", "", ""
          manfid: 0x0279, 0x950b
          function: 2 (serial)

        Socket 1:
          product info: "Hitachi", "microdrive", "", ""
          manfid: 0x0319, 0x0000
          function: 4 (fixed disk)
       
  5) lsmod ->

        Module              Size     Used by
        pxa_bi               24912  0 (unused)
        net_fd                25216  0 (unused)
        usbdcore            35504   0 [pxa_bi net_fd]
        usbdmonitor       5488    0
        usb-monitor        6496    0
        sharp_mmcsd_m 41008  1

Thanks a lot!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=105355\"][{POST_SNAPBACK}][/a][/div]
Looks pretty ok - besides that it did not load the serial_cs...

Some more things to try/report:
1) uname -a
2) find / -name "serial_cs.o" -print

and try if it shows a serial_cs after
3) depmod -a; lsmod
4) modprobe serial_cs; lsmod

finally, try
insmod path of serial_cs.o found by 2)

-- hns
« Last Edit: November 29, 2005, 03:06:07 pm by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

Ferret-Simpson

  • Hero Member
  • *****
  • Posts: 572
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #43 on: January 03, 2006, 05:00:48 pm »
hmmm. . . I'm uing the Ambicom card (Actually identical to the Chi Mei card (Actually identical to the audiovox card. .  I think))

Basically, I'm getting something really wierd. ..  Whenever I insert or resume the card (e.g. using zedialler or bash) It seems to be autoconnecting. . The amber light flashes for a bit, then it goes green. I think this may in fact be a product of using the o2 online chip, because under a mobile phone, the o2 online always sends off a few SMS when you irst activate it, to install settings. . because the Z can't download those SMS, maybe it's holding up the line. . . ?
Cortana: PXA250/Poodle: OZ/GPE 3.4.2RC1
Tycho PXA270/HTC_Universal WM5  .30.107/1.09.00/42.42.P8/1.30.162
HollyWatch: Fossil AU5005 - POS 4.1.2
ATLANTIS: Fujitsu Lifebook T4210 TBPC2005

Tosh256CF, Adlink CF 802.11B, 512KingSD, 128VikSD, CFChiMeiG1GPRS

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #44 on: January 03, 2006, 05:13:45 pm »
Quote
Basically, I'm getting something really wierd. ..  Whenever I insert or resume the card (e.g. using zedialler or bash) It seems to be autoconnecting. . The amber light flashes for a bit, then it goes green. I think this may in fact be a product of using the o2 online chip, because under a mobile phone, the o2 online always sends off a few SMS when you irst activate it, to install settings. . because the Z can't download those SMS, maybe it's holding up the line. . . [div align=\"right\"][a href=\"index.php?act=findpost&pid=109430\"][{POST_SNAPBACK}][/a][/div]


as far as I understand it, this is merely the card registering with the network. If your sim has a pin, you'll need to enter AT+CPIN=1234 before it can register. There's an AT code to ask what network the device is registered to, and this will get set after successfully registering.


so, this is perfectly normal!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.