To get the IrDA port of your laptop working with Linux/IrDA you may use StandardInfraRed (SIR) or FastInfraRed (FIR).
Up to 115.200bps the infrared port emulates a serial port like the 16550A UART. This will be detected by the kernel serial driver at boot time or when you load the serial module. If infrared support is enabled in the BIOS, for most laptops you will get a kernel message like:
Serial driver version 4.25 with no serial options enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A #first serial port /dev/ttyS0 ttyS01 at 0x3000 (irq = 10) is a 16550A #e.g. infrared port ttyS02 at 0x0300 (irq = 3) is a 16550A #e.g. PCMCIA modem port
If you want to use up to 4Mbps, your machine has to be equipped with a certain FIR chip. You need a certain Linux/IrDA driver to support this chip. Therefore you need exact information about your FIR chip. You may get this information in one of the following ways:
cat /proc/pci
, though often the PCI information is incomplete. You may find the latest information about PCI device and vendor numbers at the page of Craig Hart
http://members.hyperlink.net.au/~chart . From kernel 2.1.82 on, you may use lspci
from the pci-utils
package, too. The according files for 2.2.x kernels are in /proc/bus/pci.dmesg
, wether FIR is detected or not.isapnp
tools, could be useful.-rw-rw-r-- 1 ratbert ratbert 743 Apr 3 1997 smcirlap.inf -rw-rw-r-- 1 ratbert ratbert 17021 Mar 24 1997 smcirlap.vxd -rw-rw-r-- 1 ratbert ratbert 1903 Jul 18 1997 smcser.inf -rw-rw-r-- 1 ratbert ratbert 31350 Jun 7 1997 smcser.vxd
CTPCI330.EXE
provided in ZIP format by the german computer magazine CT
http://www.heise.de . The information provided by this program is sometimes better than with the Linux tools.catdoc
, available at
http://www.fe.msk.ru/~vitus/catdoc/ .
Device Manager
of Window$95/98/NT.
There are some overviews about Linux and infrared capable devices in the WWW:
To make this hardware overview list more valuable it is necessary to collect more information about the infrared devices in different hardware. You can help by sending me a short e-mail containing the exact name of the hardware you have and which type of infrared controller is used.
Please let me also know how well Linux/IrDA worked, at which tty, port and interrupt it works and the corresponding infrared device (e.g. printer, cellular phone) you use.
You can also help by contributing detailed technological information about some infrared devices, which is necessary to develope an according driver for Linux.