Obviously, a IrDA device, either built-in or external
Linux kernel 2.6.x
A recent irda-util installation (I use version 0.9.16)
Kernel configuration
Networking --->
<*> Networking support
<M> IrDA (infrared) subsystem support --->
<M> IRNET protocol (NOT VERIFIED)
<M> IrCOMM protocol (NOT VERIFIED)
Infrared-port device drivers --->
<M> IrDA USB dongles
Make sure to NOT activate (i.e. neither M nor Y) CONFIG_USB_SERIAL_IR (ir-usb).
The ir-usb driver is loaded first per default and prevents correct
function of the irda-usb driver !
NOTE: todo: check if this is true also for Palm connections ?
Start IrDA
If you have a /etc/rc.d/init.d/irda start script, you can put this lines to
/etc/sysconfig/irda :
/etc/sysconfig/irda
IRDA=yes
DEVICE=irda0
DISCOVERY=yes
and just call /etc/rc.d/init.d/irda start
If you prefer to start it by hand, you can do this with
mknod -m 666 /dev/ircomm0 c 161 0
mknod -m 666 /dev/ircomm1 c 161 1
mknod -m 666 /dev/irlpt0 c 161 16
mknod -m 666 /dev/irlpt1 c 161 17
mknod -m 666 /dev/irnet c 10 187
Configure auto module loading, if desired
Put this in your /etc/modules.conf if you want auto loading of modules :
/etc/modules.conf
# IrDA over a normal serial port, or a serial port compatible IrDA port (SIR)
alias tty-ldisc-11 irtty
# IrCOMM (for printing, PPP, Minicom etc)
alias char-major-161 ircomm-tty # if you want IrCOMM support
# IRLAN
# But currently the IrLAN protocol is no longer maintained by the Linux/IrDA core team.
alias irlan0 irlan
# To be able to attach some serial dongles
# These values are hard-coded in irattach (not instance order)
alias irda-dongle-0 tekram # Tekram IrMate IR-210B
alias irda-dongle-1 esi # ESI JetEye
alias irda-dongle-2 actisys # Actisys IR-220L
alias irda-dongle-3 actisys # Actisys IR-220L+
alias irda-dongle-4 girbil # Greenwich GIrBIL
alias irda-dongle-5 litelink # Parallax LiteLink/ESI JetEye
alias irda-dongle-6 airport # Adaptec Airport 1000 and 2000
alias irda-dongle-7 old_belkin # Belkin (old) SmartBeam dongle
alias irda-dongle-8 ep7211_ir # Cirrus Logic EP7211 Processor (ARM)
alias irda-dongle-9 mcp2120 # MCP2120 (Microchip) based
alias irda-dongle-10 act200l # ACTiSYS Ir-200L
alias irda-dongle-11 ma600 # Mobile Action ma600
# To use the FIR driver. This applies only to the specific device!!!
#options nsc-ircc dongle_id=0x09 # NSC driver on a IBM Thinkpad laptop
#options nsc-ircc dongle_id=0x08 # HP Omnibook 6000
#alias irda0 nsc-ircc
# options smc-ircc ircc_irq= ircc_dma=
# alias irda0 smc-ircc
# options toshoboe max_baud=
# alias irda0 toshoboe
# options w83977af_ir io= io2= irq= qos_mtt_bits=
# alias irda0 w83977af_ir
# IrNET module...
alias char-major-10-187 irnet # Official allocation of IrNET
Notes
Most of this is taken from
http://tuxmobil.org/Infrared-HOWTO/
-------------------------
and
http://irda.sourceforge.net/
-------------------------------
Furthermore, the ircomm? devices doesn't seem to work at all.