<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ardent</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ardent"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Ardent"/>
	<updated>2026-05-09T19:05:16Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_use_of_IrDA&amp;diff=25235</id>
		<title>How to make use of IrDA</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_use_of_IrDA&amp;diff=25235"/>
		<updated>2006-10-12T22:34:39Z</updated>

		<summary type="html">&lt;p&gt;Ardent: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#efefef; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
The purpose of this document is to get the [[IrDA]] hardware in your ThinkPad operational, setting up communication to other devices is not covered. However, the external links section can prove useful for this.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Serial IR (SIR) ==&lt;br /&gt;
SIR is limited to serial datarates up to 115.2Kb/s&lt;br /&gt;
&lt;br /&gt;
To use it, run {{cmdroot|irattach /dev/ttyS1 -s; modprobe ircomm-tty}}  (on {{Fedora}} 5 just run {{cmdroot|service irda start}}). Then turn on your IrDA-capable device and put it within range, and point your software (e.g., &amp;lt;tt&amp;gt;minicom&amp;lt;/tt&amp;gt;) to {{path|/dev/irda0}}.&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
&lt;br /&gt;
Some distributions (e.g., {{Fedora}} 5) already include the equvialent of the following.&lt;br /&gt;
&lt;br /&gt;
==== Linux 2.4 kernel config ====&lt;br /&gt;
Edit {{path|/etc/modules.conf}} and add the following lines&lt;br /&gt;
 alias tty-ldisc-11 irtty&lt;br /&gt;
 alias char-major-161 ircomm-tty&lt;br /&gt;
&lt;br /&gt;
==== Linux 2.6 kernel config ====&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}} and add the following lines&lt;br /&gt;
 alias tty-ldisc-11 irtty-sir&lt;br /&gt;
 alias char-major-161 ircomm-tty&lt;br /&gt;
&lt;br /&gt;
== Fast IR (FIR) ==&lt;br /&gt;
FIR is the preferred mode of IrDA operation and operates at a bandwidth of 4 Mbps&lt;br /&gt;
&lt;br /&gt;
The chips FIR mode first needs to be activated using the ISA PnP or BIOS method.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Regardless of which method you use, you will still have to set the dongle_id and run setserial as shown further below}}&lt;br /&gt;
=== ISA PnP support for nsc-ircc ===&lt;br /&gt;
&lt;br /&gt;
ISA PnP support is '''necessary''' in some cases, as without it the kernel doesn't manage to enable the device by itself in many ThinkPads.&lt;br /&gt;
&lt;br /&gt;
Starting with the 2.6.17-rc1 kernel, the nsc-ircc driver has ISA PnP support.  For older kernels you will need patches to allow the loading of the driver without the below BIOS change.&lt;br /&gt;
&lt;br /&gt;
* [http://steffenpingel.de/patches/nsc-ircc-pnp.diff 2.6.10 patch]&lt;br /&gt;
* [http://shamrock.dyndns.org/~ln/linux/nsc-ircc-pnp.2.6.12-rc6.diff 2.6.12-rc6 patch] &lt;br /&gt;
* [http://shamrock.dyndns.org/~ln/linux/nsc-ircc-pnp.2.6.12.diff 2.6.12 patch (applies cleanly to 2.6.12 through 2.6.15)]&lt;br /&gt;
&lt;br /&gt;
=== NS PC8394T support ===&lt;br /&gt;
&lt;br /&gt;
Thinkpads {{T43}}, {{T43p}} and {{R52}} [http://bugzilla.kernel.org/attachment.cgi?id=8247 needed an extra patch] to detect their [[NS PC8394T]]-based FIR device on kernels before 2.6.18.  They also require ISA PnP support in the driver to work, which is available since 2.6.17 (and can be added to 2.6.16 with the patches above).&lt;br /&gt;
&lt;br /&gt;
=== Changing BIOS settings ===&lt;br /&gt;
For older kernels (prior to 2.6.17-rc1), the easiest way to activate FIR mode is by entering BIOS setup during boot-up by pressing {{key|F1}} when prompted.&lt;br /&gt;
Then, selecting 'Config' followed by 'Infrared' will allow you to control the IrDA operation. Here you will need to select the option to Enable the infra-red port, and ensure the proper resources are set (typically: IO 0x2f8 and IRQ 3). Be sure to save the changes, and then Exit.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Changing these BIOS settings does not affect Windows 2000 or XP operating systems, but may cause resource issues in older windows versions, or other legacy operating systems.}}&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you change the BIOS settings for IO, IRQ or DMA of the IrDA port, remember to do so accordingly on all examples in this page when applying them to your ThinkPad.}}&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
==== Linux 2.4 kernel config ====&lt;br /&gt;
Edit {{path|/etc/modules.conf}} and add the following lines&lt;br /&gt;
&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 pre-install nsc-ircc setserial /dev/ttyS1 uart none port 0 irq 0&lt;br /&gt;
&lt;br /&gt;
==== Linux 2.6 kernel config ====&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}} and add the following lines&lt;br /&gt;
&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 install nsc-ircc /bin/setserial /dev/ttyS1 uart none port 0 irq 0; /sbin/modprobe --ignore-install nsc-ircc&lt;br /&gt;
&lt;br /&gt;
The install line is a work-around for the 8250 serial driver taking over the device, and may not be needed in certain distributions.&lt;br /&gt;
Another way to do this is to set this kernel config option:&lt;br /&gt;
&lt;br /&gt;
1. {{kernelconf|CONFIG_SERIAL_8250_RUNTIME_UARTS|(1)|Number of 8250/16550 serial ports to register at runtime|Serial drivers|Character devices|Device Drivers|}}&lt;br /&gt;
&lt;br /&gt;
2. {{kernelconf|CONFIG_SERIAL_8250_NR_UARTS|(4)|Maximum number of 8250/16550 serial ports|Serial drivers|Character devices|Device Drivers|}}&lt;br /&gt;
&lt;br /&gt;
This will prevent the 8250 driver from grabbing any other than the first serial port at boot time or when the module is loaded. You can still add more ports later for example from PC-Card modems, up to CONFIG_SERIAL_8250_NR_UARTS.&lt;br /&gt;
&lt;br /&gt;
==== {{Gentoo}} kernel config ====&lt;br /&gt;
Edit / Create {{path|/etc/modules.d/nsc-irrc}} and add the following lines&lt;br /&gt;
&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modules.autoload.d/kernel-2.6}} and add the following lines&lt;br /&gt;
&lt;br /&gt;
 nsc-ircc&lt;br /&gt;
&lt;br /&gt;
If you have serial support build in the kernel, switch it to a module and add it after nsc-ircc to advoid io base and irq conflict. For kernel 2.4, same as 2.6 changing the path to modules.autoload.d/kernel-2.4. &lt;br /&gt;
&lt;br /&gt;
==== {{Debian}} Sarge/Etch kernel config ====&lt;br /&gt;
Install irda-utils and set it up for serial port emulation. Edit {{path|/etc/modprobe.d/irda-utils}} and add/change the following lines:&lt;br /&gt;
&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
&lt;br /&gt;
Edit / create {{path|/etc/modules.conf}} and add the following line before any references to 8250*, if any:&lt;br /&gt;
&lt;br /&gt;
 nsc-ircc&lt;br /&gt;
&lt;br /&gt;
Make sure that module-init-tools has a chance to iterate over {{path|/etc/modules.conf}} before udev does the initial pci hotplug (this is a problem at least in Debian Sarge, when using backported udev packages):&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cp /etc/rcS.d/S20module-init-tools /etc/rcS.d/S03module-init-tools}}&lt;br /&gt;
&lt;br /&gt;
Note that at S03, module-init-tools cannot run depmod for you, so either do it manually before you reboot into a new kernel, or reboot twice to get it to work right.  This is also the reason for using cp instead of mv.&lt;br /&gt;
&lt;br /&gt;
If you have the regular serial port drivers as modules, that's it.  Otherwise, try adding the install line described in the Linux 2.6 kernel config section, above, or compile them as modules instead of built-in.&lt;br /&gt;
&lt;br /&gt;
== Known problems ==&lt;br /&gt;
* If the FIR mode is not activated, attempts to load the &amp;lt;tt&amp;gt;nsc-ircc&amp;lt;/tt&amp;gt; module will result in an error in syslog of &amp;quot;Wrong chip version ff&amp;quot;.&lt;br /&gt;
* After suspend the &amp;lt;tt&amp;gt;nsc-ircc&amp;lt;/tt&amp;gt; module needs to be manually reloaded&lt;br /&gt;
* If module reloading does not work after a suspend, try reactivating the IrDA port as well:&lt;br /&gt;
 rmmod nsc_ircc&lt;br /&gt;
 echo disable &amp;gt; /sys/devices/pnp0/00\:0d/resources&lt;br /&gt;
 echo activate &amp;gt; /sys/devices/pnp0/00\:0d/resources&lt;br /&gt;
 modprobe nsc_ircc&lt;br /&gt;
:The value &amp;lt;tt&amp;gt;pnp0/00\:0d&amp;lt;/tt&amp;gt; can vary - look for a id file containing IBM0071 or PNP0511, or for a resources file containing the appropriate irq/dma/io values, e.g., using {{cmdroot|grep 0x2f8 /sys/devices/pnp*/*/resources}} .&lt;br /&gt;
{{NOTE|The power management issues should be resolved starting with the 2.6.17-rc1 kernel.}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Don't understand after inserting modules use irattach irda0 -s and after this you can use eg. minicom over /dev/ircomm0 and test link with irdadump  with this I get working FIR on A21m with 2.6.18}}&lt;br /&gt;
&lt;br /&gt;
== Some other things you might want to do with IrDA ==&lt;br /&gt;
* add fast PPP support:&lt;br /&gt;
:{{cmdroot|modprobe irnet}}&lt;br /&gt;
* if needed, limit further the size of the transmit window&lt;br /&gt;
:{{cmdroot|echo 1 &amp;gt; /proc/sys/net/irda/max_tx_window}}&lt;br /&gt;
* set the connection speed to 4Mbit in FIR mode:&lt;br /&gt;
:{{cmdroot|echo 4000000 &amp;gt; /proc/sys/net/irda/max_baud_rate}}&lt;br /&gt;
&lt;br /&gt;
==LIRC and IrDA==&lt;br /&gt;
Usually, IrDA ports are not compatible with LIRC, but you may have luck using lirc_sir.&lt;br /&gt;
&lt;br /&gt;
If loading the &amp;lt;tt&amp;gt;lirc_sir&amp;lt;/tt&amp;gt; module shows something like the following in {{cmdroot|dmesg}} output, you are lucky and can use LIRC with the IrDA port to remote control your ThinkPad.&lt;br /&gt;
 lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
 lirc_sir: Installed.&lt;br /&gt;
&lt;br /&gt;
If it fails with &amp;quot;Device or resource busy&amp;quot;, you may want to install the setserial tool and run it with {{cmdroot|setserial /dev/ttyS1 uart none}}. After that lirc_sir should be loadable.&lt;br /&gt;
&lt;br /&gt;
== External Sources ==&lt;br /&gt;
*[http://irda.sourceforge.net/ Linux-IrDA Project] (External)&lt;br /&gt;
*[http://pcmcia-cs.sourceforge.net/ Linux PCMCIA Project] (External)&lt;br /&gt;
*[http://tpctl.sourceforge.net/ tpctl homepage] (External)&lt;br /&gt;
*[http://www.lirc.org/ Linux Infrared Remote Control] (External)&lt;/div&gt;</summary>
		<author><name>Ardent</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_use_of_IrDA&amp;diff=25234</id>
		<title>How to make use of IrDA</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_use_of_IrDA&amp;diff=25234"/>
		<updated>2006-10-12T22:30:56Z</updated>

		<summary type="html">&lt;p&gt;Ardent: /* Known problems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#efefef; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
The purpose of this document is to get the [[IrDA]] hardware in your ThinkPad operational, setting up communication to other devices is not covered. However, the external links section can prove useful for this.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Serial IR (SIR) ==&lt;br /&gt;
SIR is limited to serial datarates up to 115.2Kb/s&lt;br /&gt;
&lt;br /&gt;
To use it, run {{cmdroot|irattach /dev/ttyS1 -s; modprobe ircomm-tty}}  (on {{Fedora}} 5 just run {{cmdroot|service irda start}}). Then turn on your IrDA-capable device and put it within range, and point your software (e.g., &amp;lt;tt&amp;gt;minicom&amp;lt;/tt&amp;gt;) to {{path|/dev/irda0}}.&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
&lt;br /&gt;
Some distributions (e.g., {{Fedora}} 5) already include the equvialent of the following.&lt;br /&gt;
&lt;br /&gt;
==== Linux 2.4 kernel config ====&lt;br /&gt;
Edit {{path|/etc/modules.conf}} and add the following lines&lt;br /&gt;
 alias tty-ldisc-11 irtty&lt;br /&gt;
 alias char-major-161 ircomm-tty&lt;br /&gt;
&lt;br /&gt;
==== Linux 2.6 kernel config ====&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}} and add the following lines&lt;br /&gt;
 alias tty-ldisc-11 irtty-sir&lt;br /&gt;
 alias char-major-161 ircomm-tty&lt;br /&gt;
&lt;br /&gt;
== Fast IR (FIR) ==&lt;br /&gt;
FIR is the preferred mode of IrDA operation and operates at a bandwidth of 4 Mbps&lt;br /&gt;
&lt;br /&gt;
The chips FIR mode first needs to be activated using the ISA PnP or BIOS method.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Regardless of which method you use, you will still have to set the dongle_id and run setserial as shown further below}}&lt;br /&gt;
=== ISA PnP support for nsc-ircc ===&lt;br /&gt;
&lt;br /&gt;
ISA PnP support is '''necessary''' in some cases, as without it the kernel doesn't manage to enable the device by itself in many ThinkPads.&lt;br /&gt;
&lt;br /&gt;
Starting with the 2.6.17-rc1 kernel, the nsc-ircc driver has ISA PnP support.  For older kernels you will need patches to allow the loading of the driver without the below BIOS change.&lt;br /&gt;
&lt;br /&gt;
* [http://steffenpingel.de/patches/nsc-ircc-pnp.diff 2.6.10 patch]&lt;br /&gt;
* [http://shamrock.dyndns.org/~ln/linux/nsc-ircc-pnp.2.6.12-rc6.diff 2.6.12-rc6 patch] &lt;br /&gt;
* [http://shamrock.dyndns.org/~ln/linux/nsc-ircc-pnp.2.6.12.diff 2.6.12 patch (applies cleanly to 2.6.12 through 2.6.15)]&lt;br /&gt;
&lt;br /&gt;
=== NS PC8394T support ===&lt;br /&gt;
&lt;br /&gt;
Thinkpads {{T43}}, {{T43p}} and {{R52}} [http://bugzilla.kernel.org/attachment.cgi?id=8247 needed an extra patch] to detect their [[NS PC8394T]]-based FIR device on kernels before 2.6.18.  They also require ISA PnP support in the driver to work, which is available since 2.6.17 (and can be added to 2.6.16 with the patches above).&lt;br /&gt;
&lt;br /&gt;
=== Changing BIOS settings ===&lt;br /&gt;
For older kernels (prior to 2.6.17-rc1), the easiest way to activate FIR mode is by entering BIOS setup during boot-up by pressing {{key|F1}} when prompted.&lt;br /&gt;
Then, selecting 'Config' followed by 'Infrared' will allow you to control the IrDA operation. Here you will need to select the option to Enable the infra-red port, and ensure the proper resources are set (typically: IO 0x2f8 and IRQ 3). Be sure to save the changes, and then Exit.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Changing these BIOS settings does not affect Windows 2000 or XP operating systems, but may cause resource issues in older windows versions, or other legacy operating systems.}}&lt;br /&gt;
&lt;br /&gt;
{{WARN|If you change the BIOS settings for IO, IRQ or DMA of the IrDA port, remember to do so accordingly on all examples in this page when applying them to your ThinkPad.}}&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
==== Linux 2.4 kernel config ====&lt;br /&gt;
Edit {{path|/etc/modules.conf}} and add the following lines&lt;br /&gt;
&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 pre-install nsc-ircc setserial /dev/ttyS1 uart none port 0 irq 0&lt;br /&gt;
&lt;br /&gt;
==== Linux 2.6 kernel config ====&lt;br /&gt;
Edit {{path|/etc/modprobe.conf}} and add the following lines&lt;br /&gt;
&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
 install nsc-ircc /bin/setserial /dev/ttyS1 uart none port 0 irq 0; /sbin/modprobe --ignore-install nsc-ircc&lt;br /&gt;
&lt;br /&gt;
The install line is a work-around for the 8250 serial driver taking over the device, and may not be needed in certain distributions.&lt;br /&gt;
Another way to do this is to set this kernel config option:&lt;br /&gt;
&lt;br /&gt;
1. {{kernelconf|CONFIG_SERIAL_8250_RUNTIME_UARTS|(1)|Number of 8250/16550 serial ports to register at runtime|Serial drivers|Character devices|Device Drivers|}}&lt;br /&gt;
&lt;br /&gt;
2. {{kernelconf|CONFIG_SERIAL_8250_NR_UARTS|(4)|Maximum number of 8250/16550 serial ports|Serial drivers|Character devices|Device Drivers|}}&lt;br /&gt;
&lt;br /&gt;
This will prevent the 8250 driver from grabbing any other than the first serial port at boot time or when the module is loaded. You can still add more ports later for example from PC-Card modems, up to CONFIG_SERIAL_8250_NR_UARTS.&lt;br /&gt;
&lt;br /&gt;
==== {{Gentoo}} kernel config ====&lt;br /&gt;
Edit / Create {{path|/etc/modules.d/nsc-irrc}} and add the following lines&lt;br /&gt;
&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
&lt;br /&gt;
Edit {{path|/etc/modules.autoload.d/kernel-2.6}} and add the following lines&lt;br /&gt;
&lt;br /&gt;
 nsc-ircc&lt;br /&gt;
&lt;br /&gt;
If you have serial support build in the kernel, switch it to a module and add it after nsc-ircc to advoid io base and irq conflict. For kernel 2.4, same as 2.6 changing the path to modules.autoload.d/kernel-2.4. &lt;br /&gt;
&lt;br /&gt;
==== {{Debian}} Sarge/Etch kernel config ====&lt;br /&gt;
Install irda-utils and set it up for serial port emulation. Edit {{path|/etc/modprobe.d/irda-utils}} and add/change the following lines:&lt;br /&gt;
&lt;br /&gt;
 alias irda0 nsc-ircc&lt;br /&gt;
 options nsc-ircc dongle_id=0x09 io=0x2f8 irq=3 dma=3&lt;br /&gt;
&lt;br /&gt;
Edit / create {{path|/etc/modules.conf}} and add the following line before any references to 8250*, if any:&lt;br /&gt;
&lt;br /&gt;
 nsc-ircc&lt;br /&gt;
&lt;br /&gt;
Make sure that module-init-tools has a chance to iterate over {{path|/etc/modules.conf}} before udev does the initial pci hotplug (this is a problem at least in Debian Sarge, when using backported udev packages):&lt;br /&gt;
&lt;br /&gt;
 {{cmdroot|cp /etc/rcS.d/S20module-init-tools /etc/rcS.d/S03module-init-tools}}&lt;br /&gt;
&lt;br /&gt;
Note that at S03, module-init-tools cannot run depmod for you, so either do it manually before you reboot into a new kernel, or reboot twice to get it to work right.  This is also the reason for using cp instead of mv.&lt;br /&gt;
&lt;br /&gt;
If you have the regular serial port drivers as modules, that's it.  Otherwise, try adding the install line described in the Linux 2.6 kernel config section, above, or compile them as modules instead of built-in.&lt;br /&gt;
&lt;br /&gt;
== Known problems ==&lt;br /&gt;
* If the FIR mode is not activated, attempts to load the &amp;lt;tt&amp;gt;nsc-ircc&amp;lt;/tt&amp;gt; module will result in an error in syslog of &amp;quot;Wrong chip version ff&amp;quot;.&lt;br /&gt;
* After suspend the &amp;lt;tt&amp;gt;nsc-ircc&amp;lt;/tt&amp;gt; module needs to be manually reloaded&lt;br /&gt;
* If module reloading does not work after a suspend, try reactivating the IrDA port as well:&lt;br /&gt;
 rmmod nsc_ircc&lt;br /&gt;
 echo disable &amp;gt; /sys/devices/pnp0/00\:0d/resources&lt;br /&gt;
 echo activate &amp;gt; /sys/devices/pnp0/00\:0d/resources&lt;br /&gt;
 modprobe nsc_ircc&lt;br /&gt;
:The value &amp;lt;tt&amp;gt;pnp0/00\:0d&amp;lt;/tt&amp;gt; can vary - look for a id file containing IBM0071 or PNP0511, or for a resources file containing the appropriate irq/dma/io values, e.g., using {{cmdroot|grep 0x2f8 /sys/devices/pnp*/*/resources}} .&lt;br /&gt;
{{NOTE|The power management issues should be resolved starting with the 2.6.17-rc1 kernel.}}&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Don't understand after inserting modules use irattach irda0 -s and after this you can use eg. minicom over /dev/ircomm0 and test link with irdadump  }}&lt;br /&gt;
&lt;br /&gt;
== Some other things you might want to do with IrDA ==&lt;br /&gt;
* add fast PPP support:&lt;br /&gt;
:{{cmdroot|modprobe irnet}}&lt;br /&gt;
* if needed, limit further the size of the transmit window&lt;br /&gt;
:{{cmdroot|echo 1 &amp;gt; /proc/sys/net/irda/max_tx_window}}&lt;br /&gt;
* set the connection speed to 4Mbit in FIR mode:&lt;br /&gt;
:{{cmdroot|echo 4000000 &amp;gt; /proc/sys/net/irda/max_baud_rate}}&lt;br /&gt;
&lt;br /&gt;
==LIRC and IrDA==&lt;br /&gt;
Usually, IrDA ports are not compatible with LIRC, but you may have luck using lirc_sir.&lt;br /&gt;
&lt;br /&gt;
If loading the &amp;lt;tt&amp;gt;lirc_sir&amp;lt;/tt&amp;gt; module shows something like the following in {{cmdroot|dmesg}} output, you are lucky and can use LIRC with the IrDA port to remote control your ThinkPad.&lt;br /&gt;
 lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
 lirc_sir: Installed.&lt;br /&gt;
&lt;br /&gt;
If it fails with &amp;quot;Device or resource busy&amp;quot;, you may want to install the setserial tool and run it with {{cmdroot|setserial /dev/ttyS1 uart none}}. After that lirc_sir should be loadable.&lt;br /&gt;
&lt;br /&gt;
== External Sources ==&lt;br /&gt;
*[http://irda.sourceforge.net/ Linux-IrDA Project] (External)&lt;br /&gt;
*[http://pcmcia-cs.sourceforge.net/ Linux PCMCIA Project] (External)&lt;br /&gt;
*[http://tpctl.sourceforge.net/ tpctl homepage] (External)&lt;br /&gt;
*[http://www.lirc.org/ Linux Infrared Remote Control] (External)&lt;/div&gt;</summary>
		<author><name>Ardent</name></author>
		
	</entry>
</feed>