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

gummy_bear

  • Newbie
  • *
  • Posts: 2
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #45 on: January 15, 2007, 08:54:43 pm »
Hi all,  I know this thread is old but i am desperate. I have a gumstix from www.gumstix.com, linux 2.6 ARM etc.

I have put an Audiovox RT-8000 in it but it is not going to work without a fight so I need your help. I will not bore you with too much gorry detail which is not required because I have just found the serial_cs.o module here, the problem is I try to load the module and it says

"insmod: error inserting './serial_cs.o': -1 Invalid module format"

The irq allocation for the card is totally messed up so I really need this patch.

 cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16C950/954 port:C4860400 irq:49 tx:169 rx:0 CTS
1: uart:unknown port:00000000 irq:0
2: uart:unknown port:00000000 irq:0
3: uart:unknown port:00000000 irq:0

# cat /proc/tty/drivers
/dev/tty             /dev/tty        5       0 system:/dev/tty
/dev/console         /dev/console    5       1 system:console
/dev/ptmx            /dev/ptmx       5       2 system
serial               /dev/ttyS       4 64-67 serial
PXA serial           /dev/ttySA      4 68-71 serial
pty_slave            /dev/pts      136 0-1048575 pty:slave
pty_master           /dev/ptm      128 0-1048575 pty:master

No 49 irq is used by the serial :-(
seems like 8250.ko should be patched :-(

# cat /proc/interrupts
           CPU0
  0:         44          SC  HWUART
  4:          0          SC  pxa2xx_udc
 18:          0          SC  DMA
 19:      68485          SC  PXA Timer Tick
 27:          0        GPIO  CF0 nSTSCHG
 34:          0        GPIO  CF0 nCD
 58:          0        GPIO  pxa2xx_udc
 59:       1778        GPIO  eth0
Err:          0

I am a noob having a love/hate relationship with linux at the moment, can someone guide me to the light?

Thanks
Chris

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #46 on: January 15, 2007, 09:26:41 pm »
I think that the seerial_cs.o module you got from somewhere is for kernel 2.4, thus completely unusable under 2.6.

maybe if using 2.6, the serial_cs.ko (the module naming in 2.6 is .ko) that is already with the distribution you are using could work.

1) Do you have a serial_cs module from the same place you got 2.6 kernel? Can you modprobe that module ?

If so, I'd suggest to go ahead and after, send the setserial command.

HTH
« Last Edit: January 15, 2007, 09:27:11 pm by zmiq2 »
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #47 on: January 16, 2007, 06:41:22 am »
yeah, I would agree that it sounds like a module mismatch. Be sure to use the same kernel source throughout and also to make sure the kernel versioning is correct in the main Makefile.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

gummy_bear

  • Newbie
  • *
  • Posts: 2
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #48 on: January 16, 2007, 08:49:04 am »
ok so it is all down to 8250.ko module, it needs to be modified. oh my god this is hard work for me, I am dumbass!

it needs support for irq49 or something like that, how does a module get compiled? Where is the source
« Last Edit: January 16, 2007, 10:01:23 am by gummy_bear »

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #49 on: January 16, 2007, 10:34:42 am »
Hi,

I'd suggest

1) ask someone in a gumstix forum o mailing list to have it compiled for you

2) install a virtual machine with all the gumstix development tools installed, and go compile yourself ...

The source is probably somewhere the linux 2.6 modules sources.
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

Viss

  • Newbie
  • *
  • Posts: 1
    • View Profile
How-TO: Connet CF GPRS/GSM (AudioVox RTM8000) to internet
« Reply #50 on: February 08, 2009, 05:01:56 pm »
This doesnt work for me, but I found this article useful:

http://tuxmobil.org/pcmcia_cf_anycom_gprs.html

... and now I am connected

I dont know what change take effect, but this:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
defaultroute
/dev/ttyS0
115200
nocrtscts
lock
noipdefault
debug
user fasel[/div]


and this:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']ABORT        BUSY
ABORT        "NO CARRIER"
ABORT        VOICE
ABORT          "NO DIALTONE"
""           ATZ
OK           AT+CPIN="<PIN>"
OK           AT+CGDCONT=1,"IP","<APN>"
OK           ATDT*99***1#
'CONNECT'    '\c'
'TIMEOUT'    '5'[/div]

are WORKING on SL-C1000 (pdaXii13 build5.4.9 "Sally" with kkazakov13 libraries and some from pdaXii13v2)

But thanx anyway, because this post inspired me and was the first thing when I was looking where to start.

Hope my post help anybody with same trouble ;-)