This may be a bit of an old topic but my recent experiences
differ from advice which has appeared on this list. I had a
lot of problems mainly owing to being unable to find complete, 
coherent and non-contradictory information on this topic.
I finally succeeded after much effort and trial and error, with the
following:

RedHat 6.2
Actisys IR210L connected to Jetway Motherboard
Bios settings: com2 disabled, IRPORT IO=0x2f8, IRQ=3, set to HP SIR

#conf.modules
alias    tty-ldisc-11            irtty
alias   char-major-60   ircomm_tty
alias    char-major-161         ircomm_tty

#devices
/dev/irnine             60, 64
/dev/ircomm0    161, 0
/dev/ircomm1    161, 1
/dev/irlpt0             161, 16
/dev/irlpt1             161, 17
/dev/pilot              ------>   /dev/ttyS1

#/etc/irda/drivers
case blah blah
 [start]
        irattach        /dev/pilot
        
/etc/rc.d/init.d/irda start             (this runs irmanager -d 1 which also calls the
/etc/irda/drivers script)

At this point irdadump shows connection, daddr, irObex exchanges etc.
and irdaping works using the daddr obtained from irdadump or /proc/net/irda/*

I then use the excellent jpilot (www.jpilot.org) and set its serial port
setting to /dev/irnine

The final trick is to start jpilot's SYNC/BACKUP process BEFORE putting the
palm in place,
otherwise I would get 'No data on link' or some such error and no hotsync.
(maybe a flaw in the
ircomm protocol implementation?).

This all seems to contradict some previous postings viz:
(The advice to disable the uart on ttyS1 gave me tcsetattr errors from irattach)
(It seems that /dev/irnine *is* the correct device to ircomm with but you still
need to irattach to /dev/ttySX).

No offense to anyone but the documentation on this is *not* good. I would
volunteer to write some
but the above is just about all I know    ;o)

I hope this helps someone.

Thanks to all who contribute to Linux-IrDA - great stuff!

                                        Chuck Elliot.

Dr Chuck Elliot
Principal Lecturer
School of Computing & Management Sciences
Sheffield Hallam University
Tel: 0114 225 4583
fax: 0114 225 3161
fax: 07020 964 228
voicemail: 07020 964 226
email:[EMAIL PROTECTED]

_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to