connect a mobile phone via IR ?

Posted by: bobo

connect a mobile phone via IR ? - 07/10/2000 05:18

Has anybodyallready tried to connect a mobile phone (with hardware modem like ericsson sh888, nokia7710, ...) to the empeg via IR ?
e.g. for e-mail checking, SMS display, empegNapster, ....

bobo

Posted by: fvgestel

Re: connect a mobile phone via IR ? - 09/10/2000 02:01

I tried installing gnokii on the empeg, without result yet;
It stated that irDA should be turned off. As this is compiled in the kernel, I think I have to recompile...
I did however manage to see some IR-traffic by sending a telephone-entry from my nokia 7110 to the empeg.
To accomplish this, an ioctl is needed to set /dev/ir to raw mode. I'm at work now, but will send my modified intercept.c when I get home.
I also noticed there's no ir_write function in the ir-driver; which device could be used for raw IR-transmission when irDA is disabled ?

Frank van Gestel
Posted by: altman

Re: connect a mobile phone via IR ? - 09/10/2000 02:10

You don't need to disable IrDA: the IrDA stack in linux needs to be connected to a low level IR device so it can talk IrDA. From memory, the IrDA transceiver on the empeg is on /dev/ttyS0 - which is what you should point gnokki at (or what you should do an "irattach" on to run IrDA).

/dev/ir is the consumer IR receiver, nothing to do with bidirectional IR.

Hugo


Posted by: EngelenH

Re: connect a mobile phone via IR ? - 09/10/2000 07:26

/dev/ttyS2 I thought ... from the developer BBS if memory serves, or has it changed in Mk2 ?

Cheers
Hans

Mk2 - Blue - 080000431
Posted by: fvgestel

Re: connect a mobile phone via IR ? - 09/10/2000 07:33

Just tested, it is /dev/ttyS2
My nokia 7110 pops up in /proc/net/irda/discovery...


Frank van Gestel
Posted by: EngelenH

Re: connect a mobile phone via IR ? - 09/10/2000 07:40

Okay Frankie my boy ...

where can I find irutils ?

please pretty please !

Hans


Mk2 - Blue - 080000431
Posted by: fvgestel

Re: connect a mobile phone via IR ? - 09/10/2000 08:52

irda & ir-tools as debian packages can be found at :

ftp://ftp.debian.org/debian/dists/potato/main/binary-arm/misc

or one of it's mirrors

BTW I've got IR-comm to work with my 7110 :>
here's how :
- install irda & ir-tools packages.
- edit /etc/irda/drivers :
- set serial device to /dev/ttyS2
- set type to infrared
- start irmanager : irmanager -d 1
- install minicom ( or another terminal emulator )
- set minicom to /dev/ircomm0 19200 8 n 1
- and off you go...

AT-command summary can be found on forum.nokia.com

Good luck...

Frank van Gestel
Posted by: EngelenH

Re: connect a mobile phone via IR ? - 09/10/2000 13:29

If I was female I would want your baby been looking for that for days now.

Thanks Frank (that rhymes)

cheers,
Hans


Mk2 - Blue - 080000431
Posted by: EngelenH

Re: connect a mobile phone via IR ? - 09/10/2000 14:10

This is interesting ...

When I wave my iPAQ in front of the Empeg and put it in IR receive mode ... it recognises my empeg as 'Linux' ... Of course since it is not trying to actually send anything .... still ...

This is very promising...

Cheers,
Hans


Mk2 - Blue - 080000431
Posted by: EngelenH

Re: connect a mobile phone via IR ? - 09/10/2000 14:34

Even better, irpsion5 recognizes my iPAQ (it displays the device name) but then refuses to do anything because it sees it is not a psion 5

All together this makes my idea about hooking up an iPAQ to the empeg a lot easier

Cheers,
Hans

Mk2 - Blue - 080000431
Posted by: fvgestel

Re: connect a mobile phone via IR ? - 09/10/2000 15:53

Thank you, but I've got enough of them... look here

We've also tried connecting with a philips VELO
it has a kind of hyperterm on it and we could get a login prompt from the empeg over IR by starting a getty on /dev/ircomm0

Look at my new kewl project that I will post to the BBS tomorrow ( well it is tomorrow! 00:32 )
It's a java applet which shows you the empeg's display in your web-browser.
It's really cool to see the empeg's visuals on your desktop.
Now I've got to find a way to control the empeg ir-device from another process...


Frank van Gestel
Posted by: bobo

Re: connect a mobile phone via IR ? - 14/10/2000 08:20

anybody already tried the gsmlib test-apps ? the 7710 seems to be supported.
http://www.pxh.de/fs/gsmlib/