Guys,

By doing:

irattach /dev/ttyS0
irmanager -d 1

I can get to the point where setting my palm pilot or Jornada to beam
and placing it in front of my laptop's IR port, I can get info in
/proc/net/irda/discovery where it logs the type of device and the
registered name (e.g. "Matt's-Jornada") correctly.  (I can provide
copious detail re. all this if necessary, but I thought I'd keep this
initial message brief).  I've also managed to put the Pilot into
IrCOMM HotSync mode and get the use of IrCOMM register in
proc/net/irda/discovery, too.  Finally, the device seems to ping ok
(though I'm amazed at the packet loss over IrDA...).

What I can't do, though is anything beyond that.  I can't get
pilot-xfer to sync with the Palm (complains that the serial port is
in use, minicom et al are the same), I can't successfully compile any
obex apps which will allow me to test out IrOBEX with the Palm (and
*believe* me, I've tried some ways to compile obex-apps, etc.)

If there's something obvious that I'm doing wrong, I'd be very
grateful to hear any advice.  Otherwise, please let me know that more
info is required and I'll post it.

Inevitably what I'd like to do is write two apps (one linux, one
Pilot), which will pass an array of bytes over the IrDA link from one
to the other and then back again.  I'm particularly interested in
keeping the IrDA protocol overheads in as I'm doing mobile comms
research (I read somewhere that you can essentially take out the
protocol stack and just use IrDA as a serial link over the physical
layer, or something).

If anyone has any sample linux source showing how to send data over
IrCOMM, I'd be extremely grateful for that too.

Finally, I'm really not sure I'm using the right kernel stuff.  At the 
moment I'm using the default RedHat 6.0 kernel (v2.2.5).  I keep
seeing people refer to patch-irda5, etc. but all the links to this go
to Dag's now defunct IrDA homepage.  The only IrDA kernel patch I can
find now is for kernel 2.4, which I don't want to run yet.

Can someone set this straight for the record?

Thanks in advance,

--
Matt Newsome
Email: [EMAIL PROTECTED]
WWW: www.matt.newsome.com
_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to