OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => User Request for Applications => Topic started by: Ferret-Simpson on December 31, 2005, 11:10:07 pm

Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on December 31, 2005, 11:10:07 pm
Well, I finally plumbed up and bought a CF GPRS/GSM card, it arrives tuesday. As far as I can see, it follows the exact same standard as all the other CF GPRS/GSM cards.

Only problem is, I'm gonna need to spend my life in Terminal, aren't I?

I founf an Activation kit, which I've installe,d worked my way through hundredds of pages on GPRS and AT commands, and have got a command lne that I THINK will connect me to o2 gprs, may need a bit of tweaking, but all works out of the Zaurus Network Applet.

I've even found an old alpha of a Dialing Device on externe, but it doesn't appear to be still in development.

I'm pretty sure it's possible to use the old zSMS and qtSMS program and frontend to send SMS, just have to make sure it sends the AT pin command, followed by the rest of it's syntax, to /dev/modem or similar. Unfortunately, zSMS no longer seems to work, so unless someone's got it handy on their systems, and can send it to me, I can't play with that one.

Found some useful sites though. . .

http://www.cellular.co.za/at_etsi.htm (http://www.cellular.co.za/at_etsi.htm)
http://www.jankratochvil.net/project/mdsms/ (http://www.jankratochvil.net/project/mdsms/)
http://tuxmobil.org/pcmcia_cf_anycom_gprs.html (http://tuxmobil.org/pcmcia_cf_anycom_gprs.html)
http://www.filesaveas.com/gprs.html (http://www.filesaveas.com/gprs.html)
http://www.zoltrix.com/support_html/modem/...20AT%20Commands (http://www.zoltrix.com/support_html/modem/USEMODEM.HTM#Using%20AT%20Commands)

So as far as I can see, I could write a program in amiga bloody basic to send this data, but unfortunately, you can;t run said Amiga Basic program via a friendly QT GUI on a Zaurus 5x00.

So, what I'm wondering, is if anyone who knows anything about Z-C-coding, can help me look at making an all-in-one Zaurus telephony system?

My concept is for a configurable Taskbar applet to keep an Eye on the serial port, so whenever it detects "RING RING RING", it can resume the Z and play a ringtone, maybe with a little friendly screen (With a big green answer button on it) a litl elike the Calendar alarm screen and bleep.

Combine that with 2 or 3 little programs (Launchable from said applet) to send SMS (Maybe ieven MMS??) and dial numbers etc. A call register would be nice, too!

I was thinking it could be done in Java, using javax.comm, at least for Dialing, call regisering and SMSsssing, although sadly the Applet'll be definately harder. . .

But yes, as far as I know (Will test/tweak/hack it on Tuesday) I have GPRS Data connection, and a very simple dialer. I also have a working terminal program, so if all else fails, I can do it the hard way for now.

Just a long, complex, intricate and DAMN GOOD thought!
this idea is © Graham Simpson 2006 and realeased under whatver GPL is available at this moment (4:15 AM) If I can do that.

Meh.
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 03, 2006, 10:27:01 am
Well. . This has been a bit of a flop. It's exactly the same card as normally used, but there's no obvious way to set it oing. The card just reads as a Serial Port on /dev/ttyS3, and doesn't automatically link to /dev/modem. . . A little googling may help me. . Well, TipTerm is worthless crap. I wouldn't even bother downloading it. Nothing happens when you use it.
Title: Mobile Phone Type Applications
Post by: speculatrix on January 03, 2006, 03:43:46 pm
I have an audiovox RTM8000 gsm/gprs voice/fax modem.

Cacko can already do GPRS dialup, if you put the right things into the right boxes - or you can hack the dialup scripts to work. I've had it working, but don't use it too much as I have to pay my own GPRS bill :-(

I kind of started a telephony application, but face a severe lack of time for hobby stuff. I intended it to do voice and SMS.  I am happy to give away the fraction of what I have already done - tho' to be honest, it's less than a weeks work, I spent more time getting a working cross-compiled qt/e environment up and running!

I also played with mgetty/sendfax, and had a small amount of success. I also tried but failed to get Stefan Fring's smstool to build.

Guylhem wrote zDialler, which allows you to basic dialling and answering, it works but is really alpha/concept code.

Paul
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 03, 2006, 06:03:33 pm
I've already started fixing the problems

First one: Got nothing out of the card except a few orange status blips. THEN I remembered that the simcard had a PIN set on startup
Remove that in my phone: done

Now I plug it in, and I get continual green "Connected" Flashing

Remembered now that o2 Onliune Sim cards automatically send an SMS request for Phonebook and SMS centre data when used in a new phone. That one's gonna take o2 to fix, Already emailed them.

Otherwise, I can use a non-o2 card and it should work. (Managed to get zedialler to work too)

Steps on the sharp rom to get zedialler running:

create a .desktop file for zedialler in the /opt/qtopia/apps/<name of tab> of your choice.
I did it by copying the opera.desktop file into my SD card, renaming it zedialler.txt, loading it up in textedit and changing all the options from opera to zedialler (Which I copied to /opt/qtopia/bin), then copied the new zedialler.desktop file back into the "Internet" tan I made on the Z.
Finally, if you reboot your Z, before zedialler will work, you need to login to the terminal as root (su <cr> yourpin <cr>)

and do
cd /dev
ln -s ttyS3 modem

Then, until you reboot again (not suspending, just a full reboot) that'll work.
Still can't get it to dial, but that's because my o2sim is hogging the card trying to get connection settings, and my vodafone sim has no credit. . . But then, I when I dial with the voda card, it usually plays a message into my ear telling me to top up. . Should the zedialler program not do that? Ah hell, whatever.
so yeah. . zedialler reccomendation? Let it use something other than /dev/modem

Also, a headset reccomentation, the Pokia novophone (google it, about 30 pound sterling) makes a great handset XD (what I use hehe)
Well, I'm not going to have it ready for college tomorrow as I'd hoped, but It looks like it's on it's way to running, just gotta get this SIM problem fixed. Also, I know of one definately functional program (complete with GUI) that used GSM commands over a ttySX device to send text messages, which was zSMS/qtSMS. Only problem is, it was hosted on a site which is now defunct. . anybody have the source or a binary? I phoned some german guy who'se website said he had it, but I haven't had a reply, possibly because the message I left on his answerphone was in my idea of german, which I studied for 9 months in 2001.

I'm using the gprs script from the howto, slightly modified (for o2) and I get a busy signal. So, just up to o2, or spending another 30 pounds on a new vodafone sim card.
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 03, 2006, 06:13:39 pm
Ok. .  not vodafone, they only support GPRS on Contract. .  Anyone know any good non-o2 PAYG plans with GPRS in the UK?
Title: Mobile Phone Type Applications
Post by: speculatrix on January 04, 2006, 07:38:41 am
virgin mobile works with PAYG non-contract for me... it's a virtual T-Mobile service. a SIM is only a tenner, or less off ebay!

I bought a T-Mobile sim off ebay for 1.80 inc P&P, but I don't know if you can get GPRS off-contract.

Paul
Title: Mobile Phone Type Applications
Post by: speculatrix on January 04, 2006, 07:40:57 am
it can't have disappeared all that long ago because it's in ELSIX too:

http://www.elsix.org/index.php?w=project&p=1020 (http://www.elsix.org/index.php?w=project&p=1020)
Title: Mobile Phone Type Applications
Post by: speculatrix on January 04, 2006, 07:43:28 am
BTW, for a headset, which my RTM-8000 kit was missing, I used a Nokia headset with a 2.5mm jack.

It's not the same as a cordless phone universal jack which has three "barrels" on its plug (common/ground, mic, headphone), the Nokia has four barrels (ground, mic, headphone, button).

I borrowed my wife's headset to test it, and it was fine, so once I knew which one it was I bought a similar headset off ebay for £1.30!
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 04, 2006, 05:32:37 pm
Quote
BTW, for a headset, which my RTM-8000 kit was missing, I used a Nokia headset with a 2.5mm jack.

It's not the same as a cordless phone universal jack which has three "barrels" on its plug (common/ground, mic, headphone), the Nokia has four barrels (ground, mic, headphone, button).

I borrowed my wife's headset to test it, and it was fine, so once I knew which one it was I bought a similar headset off ebay for £1.30!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109488\"][{POST_SNAPBACK}][/a][/div]

I have a whole bunch. The Chi Mei (Ambicom) Card, came with one,

I have a Belkin boom (With the button)
And a Pokia Bakelite handset. Works fine. Just no button ^^
T-mobile and virgin eh. . . ? How's the signal on them?
I'll pick some up. I'm buying a second hand wifi card (Linksys WFC-11), too. . .
T-mobile hotspots, and the simcard to do it with.
Title: Mobile Phone Type Applications
Post by: speculatrix on January 04, 2006, 06:04:03 pm
Quote
I have a Belkin boom (With the button)
And a Pokia Bakelite handset. Works fine. Just no button ^^
T-mobile and virgin eh. . . ? How's the signal on them?
I'll pick some up. I'm buying a second hand wifi card (Linksys WFC-11), too. . .
T-mobile hotspots, and the simcard to do it with.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109554\"][{POST_SNAPBACK}][/a][/div]

where I live, there's no coverage except on T-Mobile (which is the reverse of everywhere else).
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 05, 2006, 05:17:39 am
Quote
Quote
I have a Belkin boom (With the button)
And a Pokia Bakelite handset. Works fine. Just no button ^^
T-mobile and virgin eh. . . ? How's the signal on them?
I'll pick some up. I'm buying a second hand wifi card (Linksys WFC-11), too. . .
T-mobile hotspots, and the simcard to do it with.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109554\"][{POST_SNAPBACK}][/a][/div]

where I live, there's no coverage except on T-Mobile (which is the reverse of everywhere else).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109557\"][{POST_SNAPBACK}][/a][/div]

So you don;t get good coverage in T-mobile everywhere else?
Well, it's only a few quid. If it doesn;t work on T-mobile. I'll just wait till I get the Tablet.
Title: Mobile Phone Type Applications
Post by: speculatrix on January 05, 2006, 07:20:07 am
Quote
Quote
where I live, there's no coverage except on T-Mobile (which is the reverse of everywhere else).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109557\"][{POST_SNAPBACK}][/a][/div]

So you don;t get good coverage in T-mobile everywhere else?
Well, it's only a few quid. If it doesn;t work on T-mobile. I'll just wait till I get the Tablet.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109619\"][{POST_SNAPBACK}][/a][/div]

o2, voda and orange are practically non-existent where I live (rural area, in a slight dip 2m from a main road, so the sectorised antennas point along the road and the signal misses us. T Mobile must be using a different antenna site and thus we get a bit of coverage).

elsewhere, T Mobile coverage is about 95% of the quality of the others, but it has got a lot better.
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 05, 2006, 12:10:13 pm
Man do I hate the Socket Bluetooth card. . . Mine only seemed to support half of Affix.
My DCF660W was also terrbile. Never worked since the day I got it. . Oh well. . Maybe the WCF11 will be better.
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 11, 2006, 09:53:02 am
I have a feeling I may have just previously cacked up my linux install on the Z
so, I update, format, and start afresh
Just 3: RTM8000enabler.ipk,terminal, filemanager.
Ok. . I put zedialler on too, but the QT link works like a charm
I'll post the contents of my .desktop file if anyone's having trouble installing it. . . Maybe I should just modify the ipk to do it itself?
What's the opinion on that one?

Ok, I've found the problem. . .
When I first install the RTM8k enabler, everything seems to configure fine. After that, when I restart the Z, It fails on bad VCC. .

Any Ideas?
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 11, 2006, 10:10:31 am
ARGH!
Now when I insert the card, it recognises it as a CF modem, (I havent restarted since I last installed the ipk file) And I can use the "TCP/IP - Modem" profile in networking to set up a connection.
But the card is STILL going into a "connected" state as soon as the connection applet resumes it!

WTF IS WRONG WITH IT?
Title: Mobile Phone Type Applications
Post by: speculatrix on January 11, 2006, 10:44:04 am
Quote
ARGH!
Now when I insert the card, it recognises it as a CF modem, (I havent restarted since I last installed the ipk file) And I can use the "TCP/IP - Modem" profile in networking to set up a connection.
But the card is STILL going into a "connected" state as soon as the connection applet resumes it!

WTF IS WRONG WITH IT?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110443\"][{POST_SNAPBACK}][/a][/div]

I think you misunderstand the status light.

With me, it blinks when it's registering, and when finished registering, it stays on.

I might be wrong of course, I'll dig it out and try it.
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 11, 2006, 10:47:15 am
Quote
I think you misunderstand the status light.

Nope, Ambicom manual, on one of the early pages, clearly states "Slow Green Flashing: GSM/GPRS Call in progress"

So it's definately doing SOMETHING, but I can;t find a way to make it stop doing it and go back to a slow orange flashing (Ready to connect, network detected)
Title: Mobile Phone Type Applications
Post by: speculatrix on January 11, 2006, 10:49:23 am
have you tried using minicom to talk AT to the phone and ask what it's doing.. e.g. whether its registered or not, what the network is etc?
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 11, 2006, 10:58:03 am
For some reason, Minicom packages I found won't install and run on my Z.
I tried using TipTerm VT100, but that's USELESS. Just did nothing.

Can you email me an ipk to "Ferret-Simpson at-the-BO-SELECTA hotmail dotty com" please?

Sorry, I always like to make my Spam prevention fun. XD

That way I can see what it thinks?
Title: Mobile Phone Type Applications
Post by: speculatrix on January 11, 2006, 11:03:52 am
Quote
For some reason, Minicom packages I found won't install and run on my Z.
I tried using TipTerm VT100, but that's USELESS. Just did nothing.

Can you email me an ipk to "Ferret-Simpson at-the-BO-SELECTA hotmail dotty com" please?

Sorry, I always like to make my Spam prevention fun. XD

That way I can see what it thinks?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110455\"][{POST_SNAPBACK}][/a][/div]

I got my minicom ipk from the cacko feed. hmm, actually, I don't think I tried minicom on the 6000, only on the 860.
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 11, 2006, 11:05:48 am
Quote
I got my minicom ipk from the cacko feed.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110456\"][{POST_SNAPBACK}][/a][/div]
I don;t know where that is. Care to linkme?
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 11, 2006, 04:22:00 pm
Right, I've found a working minicom - kinda. . I have to use it in SuperUser, and I cannot save the configuration files. . . o.O

I bow my head to you, you seem to have been mostly right about the colour coding (And it IS a bloody Audiovox card, same shape, casing, aerial! . . etc. . .) of the LED, because now that I have ACTUALLY made minicom connect, it works. Just. I can dial a number and answer the call, but I can't make the headset socket work, and I can still not use it via the Zaurus Connect Menu, or Via the zeDialler.
(Although, strangely, unlike everyone else, who had to hack the IRDA file to make it connect, mine registers as a standard CF modem, creates a /dev/modem symlink, and allows the use of Modem connection profiles. Still doesnt get me anywhere though)
Title: Mobile Phone Type Applications
Post by: speculatrix on January 11, 2006, 05:07:17 pm
Quote
Right, I've found a working minicom - kinda. . I have to use it in SuperUser, and I cannot save the configuration files. . . o.O
It'll probably be trying to save it into the root partition, which is probably not writable (/etc/minicom? something like that). I think you can actually save it to another directory. You'll need to "chmod ugo+rw /dev/modem /dev/ttyS? /dev/rfcomm*" or similar like that to allow non-priv users to access the serial device.
Yes, if you use rfcomm bind, you can connect a virtual serial port as /dev/rfcomm to your mobile phone and treat it like a regular modem. but I digress...

Quote
I bow my head to you, you seem to have been mostly right about the colour coding (And it IS a bloody Audiovox card, same shape, casing, aerial! . . etc. . .) of the LED, because now that I have ACTUALLY made minicom connect, it works. Just. I can dial a number and answer the call, but I can't make the headset socket work, and I can still not use it via the Zaurus Connect Menu, or Via the zeDialler.
(Although, strangely, unlike everyone else, who had to hack the IRDA file to make it connect, mine registers as a standard CF modem, creates a /dev/modem symlink, and allows the use of Modem connection profiles. Still doesnt get me anywhere though)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=110540\")

here's a really good reference on the special codes for GSM modems:
[a href=\"http://www.gsm-modem.de/gsm-faq.html]http://www.gsm-modem.de/gsm-faq.html[/url]
and
http://www.gsm-modem.de/gsm-modem-faq.html (http://www.gsm-modem.de/gsm-modem-faq.html)

use extended messages "AT+CRC=1", which tells you a lot more about what's going on when you dial the gsm modem.

to make a voice call, you need to add a semicolon: "ATD0123456789;"

when I used the wrong headset type, I could hear incoming audio but the mic was inactive. if I pulled the plug part out, it sent crackling, and sometimes the earpiece cut out but the mic worked, so I knew the RTM8000 was working ok (there are versions which don't have the voice circuits). I then borrowed a regular nokia four-ring 2.5mm-jack headset with button and it worked perfectly.

I started with a few minicom "macros" which made it easy to send the pin, register etc. Then I started to write my own dialler program, did a character command-line version which did useful stuff, restarted to go a GUI version and got bogged down in QT design and haven't progressed too far!

Paul
Title: Mobile Phone Type Applications
Post by: speculatrix on January 11, 2006, 05:08:39 pm
BTW minicom takes a command-line switch + argument to load its config from the non-default file. I forget what, minicom --help?
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 12, 2006, 10:44:08 am
WHo knows?

Right, well I can dial up just by using the Modem tab in Sharp Network Applet. I have my initialization string set to "ATZ" and it works.
However, I'm paying ridiculous prices for 14.4k internet. Back to GPRS methinks.
Nothing happens when I set my init string to the standard format, so I went into minicom and tried it there.
AT+CGDCON=1 works fine,
But as soon as I add commas and stuff after the 1, I just get ERROR.
hmm. . .
Any thought? Alternate strings?
Title: Mobile Phone Type Applications
Post by: speculatrix on January 12, 2006, 11:36:59 am
Quote
Right, well I can dial up just by using the Modem tab in Sharp Network Applet. I have my initialization string set to "ATZ" and it works.
However, I'm paying ridiculous prices for 14.4k internet. Back to GPRS methinks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110647\"][{POST_SNAPBACK}][/a][/div]

there's a whole thread about using GPRS modems and dialup, so no need to go through it here. search forum for "gprs audiovox debug" or something.
Title: Mobile Phone Type Applications
Post by: ant on January 12, 2006, 11:59:44 am
Quote
AT+CGDCON=1 works fine,
But as soon as I add commas and stuff after the 1, I just get ERROR.

It should be CGDCONT , with "T".


Then for CACKO ROM / SHARP ROM you need a proper syntax (escape the double quotes):

E.G.

AT+CGDCONT=1,\"IP\",\"my.wap.foo\"


For PDAXROM you can avoid the backslash.

CU

Ant
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 12, 2006, 12:27:37 pm
You mean I wasted 10 pounds credit through Dial Up. . For the sake of a letter T and four Backslashes |Starts Shaking|


WAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGHHHHHHHHHHHH!!!!!!!!!!!!

Ant, Spec, I want your babies.
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 12, 2006, 02:19:14 pm
Wahey! We have G!
Now, I can't get GAIM to run. . . When I load it, it's all blank. When I start it from konsole,

I get lots of messages about libPNG 1.0.9 needed, 1.2.1 installed. . .

Anyone have an old libpng1.0.9 ipk?
I also need glibC (not in any feed I've found yet) to get openssh to run. . .
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 14, 2006, 03:54:52 pm
Ok, I found a request in the Computer and IT sectrion of my local free paper about a company seeking for a linux guru to help set up their servers
I've never played with hosting, so I thought I'd start up a website from my Z to try it.

I can get to the webpage I created from http://localhost (http://localhost) on the Z, but how do you make it publicly viewable? (APACHE MORON)
Title: Mobile Phone Type Applications
Post by: Ferret-Simpson on January 14, 2006, 04:12:08 pm
Well, if anyone can help, or if any retarded script kiddies wanna take me out for fun, my
IP according to WhatismyIP.com is 193.113.200.216
Internal IP according to Sharp Network Applet is 10.210.43.230
My hosting port is 80.
I'm set with a server name of localhost.

If I wake up in the morning and someone's fucked with my background picture or deleted my kernel or something,
I. Will. Not. Be. Happy.

lol, I'm useless at Apache but a dab hand at SSH, Telnet, etc. .  .
Title: Mobile Phone Type Applications
Post by: speculatrix on January 15, 2006, 02:27:02 pm
I found a previous discussion about GPRS and this modem card.
https://www.oesf.org/forums/index.php?showtopic=1382 (https://www.oesf.org/forums/index.php?showtopic=1382)
Title: Mobile Phone Type Applications
Post by: speculatrix on January 15, 2006, 02:27:59 pm
Quote
Well, if anyone can help, or if any retarded script kiddies wanna take me out for fun, my
IP according to WhatismyIP.com is 193.113.200.216
Internal IP according to Sharp Network Applet is 10.210.43.230
My hosting port is 80.
I'm set with a server name of localhost.

hmm, your battery must have run flat 'cos I couldn't see it.
Title: Mobile Phone Type Applications
Post by: speculatrix on January 15, 2006, 02:29:56 pm
Quote
You mean I wasted 10 pounds credit through Dial Up. . For the sake of a letter T and four Backslashes |Starts Shaking|
WAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGHHHHHHHHHHHH!!!!!!!!!!!!
Ant, Spec, I want your babies.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110666\"][{POST_SNAPBACK}][/a][/div]

thanks for the kind offer, but I have two kids already, and a wife on hand if I want more