Author Topic: Rtm8000  (Read 7166 times)

XorA

  • Full Member
  • ***
  • Posts: 101
    • View Profile
    • http://
Rtm8000
« on: April 04, 2007, 09:51:33 am »
Has anyone managed to get an rtm8000 working on a zaurus with a 2.6.X kernel.

All I get is

Code: [Select]
Apr  4 14:48:26 p3n3tr4t0r local2.info chat[2319]: ATD*99#^M^M
Apr  4 14:48:26 p3n3tr4t0r local2.info chat[2319]: CONNECT
Apr  4 14:48:26 p3n3tr4t0r local2.info chat[2319]:  -- got it
Apr  4 14:48:26 p3n3tr4t0r local2.info chat[2319]: send (\k^M)
Apr  4 14:48:26 p3n3tr4t0r local2.info chat[2319]: timeout set to 5 seconds
Apr  4 14:48:26 p3n3tr4t0r daemon.info pppd[2317]: Serial connection established.
Apr  4 14:48:26 p3n3tr4t0r daemon.debug pppd[2317]: using channel 21
Apr  4 14:48:26 p3n3tr4t0r daemon.info pppd[2317]: Using interface ppp0
Apr  4 14:48:26 p3n3tr4t0r daemon.notice pppd[2317]: Connect: ppp0 <--> /dev/ttyS0
Apr  4 14:48:27 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:29 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:29 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:30 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:32 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:32 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:33 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:35 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:35 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:36 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:38 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:38 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:39 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:41 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:41 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:42 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:44 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:44 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:45 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:47 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:47 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:48 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:50 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:50 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:51 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:53 p3n3tr4t0r daemon.debug pppd[2317]: rcvd [LCP ConfReq id=0x1 ]
Apr  4 14:48:53 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfAck id=0x1 ]
Apr  4 14:48:54 p3n3tr4t0r daemon.debug pppd[2317]: sent [LCP ConfReq id=0x1 ]
Apr  4 14:48:56 p3n3tr4t0r daemon.info pppd[2317]: Hangup (SIGHUP)
Apr  4 14:48:56 p3n3tr4t0r daemon.notice pppd[2317]: Modem hangup
Apr  4 14:48:56 p3n3tr4t0r daemon.notice pppd[2317]: Connection terminated.
Apr  4 14:48:58 p3n3tr4t0r daemon.info pppd[2317]: Exit.

Which is of no use at all, I am beginning to suspect a kernel bug.
--
SL-C860 XorABuild/GPE
Sandisk Connect Plus SD/1GMB CF/512M
BT PCMCIA

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Rtm8000
« Reply #1 on: April 04, 2007, 05:41:44 pm »
Hi,

I'm getting the same as you. I tried to fiddle with many setting, but got nowhere.

See my post at

https://www.oesf.org/forums/index.php?showtopic=23148&hl=

I haven't tried the proposed fix yet; if you do, please write back your results.
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

XorA

  • Full Member
  • ***
  • Posts: 101
    • View Profile
    • http://
Rtm8000
« Reply #2 on: April 05, 2007, 04:25:25 am »
The proposed fix makes no difference. connect_delay delays the time until you start LCP negotiation. And you can see from the logs the card starts LCP fine.

I am pretty sure that anything the pppd sends is not making it to the card, but what the card sends makes it to pppd.

This seems to only affect pppd as I can start a connection in picocom and use +++ to halt it again. And all other AT commands I have tried work fine.

Luckilly I have 3 Zaurus machines so I tried the card on 2.4 kernel (Cacko 1.23 C860) and it works fine. As this is the same pppd version this leads me to think there is a bug somewhere in ppp/serial layers in the kernel. But I am not an expert at those. Serial was re-written for 2.6 though.
--
SL-C860 XorABuild/GPE
Sandisk Connect Plus SD/1GMB CF/512M
BT PCMCIA

martschie

  • Newbie
  • *
  • Posts: 1
    • View Profile
Rtm8000
« Reply #3 on: September 30, 2007, 10:29:27 am »
Hi,

i had the same problem like XorA with a Fujitsu Siemens (FSC) connect2air card, these card is identical with the rtm-8000.

Output of cardctl ident:

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


At the moment, i have the angstrom-distribution with a kernel version 2.6.22. The card is recognized as uart 16950/954, but in this configuration, minicom did not react to some commands. Then i read that this card is a uart 16550A, i changed this with setserial and then i could send commands in minicom. But the connection to the internet didn't work, and i had the output like XorA. In kernel version 2.4, there are no problems with this card and the uart 16550A. After two days search, i found this
http://www.webservertalk.com/archive216-2005-2-865933.html. There i read that you must set the uart to 16750. I did this and the connection was established.

Ok you must do the following: put the card in your zaurus, my device ist the ttyS4, and then type

setserial /dev/ttyS4 uart 16750
pccardctl reset

pccardctl reset is important, i forget it always and i wonder why does not work. Ok the thread is a little bit older but i hope i could help you, this is my first answer in this forum, sorry for my bad english

bye martin

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Rtm8000
« Reply #4 on: October 01, 2007, 08:21:50 am »
better late than never !!

I'll be trying this trick and I'll post back with my results.

Many thanks; I already quit the Z because the inability to get it connected...
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

XorA

  • Full Member
  • ***
  • Posts: 101
    • View Profile
    • http://
Rtm8000
« Reply #5 on: October 22, 2007, 09:31:20 am »
Quote from: martschie
setserial /dev/ttyS4 uart 16750
pccardctl reset

I am a monkey, I could have sworn I had tried all the uart types must have missed this one.

Yes this works on rtm-8000
--
SL-C860 XorABuild/GPE
Sandisk Connect Plus SD/1GMB CF/512M
BT PCMCIA

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
Rtm8000
« Reply #6 on: July 16, 2008, 11:32:12 am »
great job figuring that out!  if you get tired of having to do all that typing every time you want to start a connection, then consider putting all the relevant commands into an alias or short script.

here are my explanations of these concepts for those of you who are not already experienced with them:

http://sdjf.esmartdesign.com/scripts/aliases.html

http://sdjf.esmartdesign.com/scripts/shortsh.html

you write script as a text file, with "#!/bin/bash" as the first line, do a "chmod 700 SCRIPTNAME" and then invoke it with ./SCRIPTNAME or remove the "./" and just enter the name if you move it into your path.

aliases are easier in some ways, harder in others, will let you read my writeups to decide for youself.

sdjf
« Last Edit: July 16, 2008, 11:37:02 am by sdjf »
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards