Use o SIR com a opção de módulo tx_window = 1.
Once you compiled and installed your kernel module it should be loaded automatically once you plug-in the dongle the first time. Now you have to tell your machine to initialize the IrDA subsystem. In SuSE distro's this reacting on USB events is usually done via hotplug This is very easy, too: Simply let hotplug know which script to start when plugging in the USB adapter with the appropriate .usermap-file and with that script start or stop the IrDA subsystem. /etc/hotplug/usb/usbirda.usermap # SigmaTel STIr4200 IRDA/USB usbirda 0x0003 0x066f 0x4200 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 /etc/hotplug/usb/usbirda #!/bin/bash if [ -x /usr/sbin/rcirda ]; then if [ "${ACTION}" = "add" ]; then /usr/sbin/rcirda start && exit 0 else /usr/sbin/rcirda stop && exit 0 fi fi You can also download this as a .tar-archive. /usr/sbin/rcirda is a link to the script /etc/init.d/irda that is installed by SuSE with the irda-package. It will do a simple irattach-command: /usr/sbin/irattach ${IRDA_PORT} -s >/dev/null If you are using the SuSE script you should be sure that IrDA is configured to use the module you installed and not a serial port: /etc/sysconfig/irda ## Path: Hardware/IrDA ## Description: Settings for the infrared device ## Type: string("",/dev/ttyS1) ## Default: /dev/ttyS1 # ... # #IRDA_PORT=/dev/ttyS1 IRDA_PORT=irda0
Referências
- SigmaTel 4200 USB IrDA Dongle e Linux
- Dispositivos IrDA e Infravermelho que funcionam com o Linux
- Wiki do Gentoo: IrDA
- Linux Infrared HowTo
- Extensões Plug and Play de associação de dados infravermelhos para vincular o protocolo de gerenciamento
- A plataforma IrDA