Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#19690 - 07/10/2000 05:18 connect a mobile phone via IR ?
bobo
member

Registered: 13/08/1999
Posts: 116
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


Top
#19691 - 09/10/2000 02:01 Re: connect a mobile phone via IR ? [Re: bobo]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
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
_________________________
Frank van Gestel

Top
#19692 - 09/10/2000 02:10 Re: connect a mobile phone via IR ? [Re: fvgestel]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
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



Top
#19693 - 09/10/2000 07:26 Re: connect a mobile phone via IR ? [Re: altman]
EngelenH
enthusiast

Registered: 29/09/2000
Posts: 313
Loc: Belgium/Holland
/dev/ttyS2 I thought ... from the developer BBS if memory serves, or has it changed in Mk2 ?

Cheers
Hans

Mk2 - Blue - 080000431
_________________________
Mk2 This message will selfdestruct in 5 seconds to prevent reproduction.

Top
#19694 - 09/10/2000 07:33 Re: connect a mobile phone via IR ? [Re: EngelenH]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
Just tested, it is /dev/ttyS2
My nokia 7110 pops up in /proc/net/irda/discovery...


Frank van Gestel
_________________________
Frank van Gestel

Top
#19695 - 09/10/2000 07:40 Re: connect a mobile phone via IR ? [Re: fvgestel]
EngelenH
enthusiast

Registered: 29/09/2000
Posts: 313
Loc: Belgium/Holland
Okay Frankie my boy ...

where can I find irutils ?

please pretty please !

Hans


Mk2 - Blue - 080000431
_________________________
Mk2 This message will selfdestruct in 5 seconds to prevent reproduction.

Top
#19696 - 09/10/2000 08:52 Re: connect a mobile phone via IR ? [Re: EngelenH]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
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
_________________________
Frank van Gestel

Top
#19697 - 09/10/2000 13:29 Re: connect a mobile phone via IR ? [Re: fvgestel]
EngelenH
enthusiast

Registered: 29/09/2000
Posts: 313
Loc: Belgium/Holland
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
_________________________
Mk2 This message will selfdestruct in 5 seconds to prevent reproduction.

Top
#19698 - 09/10/2000 14:10 Re: connect a mobile phone via IR ? [Re: EngelenH]
EngelenH
enthusiast

Registered: 29/09/2000
Posts: 313
Loc: Belgium/Holland
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
_________________________
Mk2 This message will selfdestruct in 5 seconds to prevent reproduction.

Top
#19699 - 09/10/2000 14:34 Re: connect a mobile phone via IR ? [Re: EngelenH]
EngelenH
enthusiast

Registered: 29/09/2000
Posts: 313
Loc: Belgium/Holland
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
_________________________
Mk2 This message will selfdestruct in 5 seconds to prevent reproduction.

Top
#19700 - 09/10/2000 15:53 Re: connect a mobile phone via IR ? [Re: EngelenH]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
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
_________________________
Frank van Gestel

Top
#19701 - 14/10/2000 08:20 Re: connect a mobile phone via IR ? [Re: fvgestel]
bobo
member

Registered: 13/08/1999
Posts: 116
anybody already tried the gsmlib test-apps ? the 7710 seems to be supported.
http://www.pxh.de/fs/gsmlib/


Top