<?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=Hagen-cool</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=Hagen-cool"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Hagen-cool"/>
	<updated>2026-05-26T00:33:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=50692</id>
		<title>Talk:How to make use of IrDA</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=50692"/>
		<updated>2011-02-20T19:00:56Z</updated>

		<summary type="html">&lt;p&gt;Hagen-cool: /* LIRC and IrDA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &amp;quot;wrong chip version ff&amp;quot; is a real issue, and having it mentioned makes sure that google searches turn it up with a solution.&lt;br /&gt;
[[User:Tonko|Tonko]] 01:41, 8 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
The present text confused me (as you now have noticed). Maybe it should better reflect that the error is incorrect (&amp;quot;wrong chip version ff&amp;quot; instead of &amp;quot;FIR mode not enabled&amp;quot; or whatever). Would that be acceptable? &lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 02:05, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
If you think you can explain it better, go right ahead. The IrDA document could use some major cleaning.&lt;br /&gt;
&lt;br /&gt;
As long as we still point out that the only error in syslog is &amp;quot;Wrong chip version ff&amp;quot; when trying to load the FIR module without first activating the PnP device. It would be nice if the ISA-PNP patch to the nsc-ircc driver got accepted upstream, so we dont have to do these hacks anymore.&lt;br /&gt;
[[User:Tonko|Tonko]] 03:58, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Tonko,&lt;br /&gt;
&lt;br /&gt;
Is there a reason why you deleted the TODO entry for linux 2.6 kernel config for SIR? I would like to readd it, but like to hear your reason to remove it first.&lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 10:23, 14 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T23 debianized kernel with probs ==&lt;br /&gt;
&lt;br /&gt;
Found another crazy thing here. T23 2648-2GG, with 2.6.13 and 2.6.14 (Debianized Source). Clear init of nsc-ircc and dongle, but the dongle stays offline (dark and blind). Booted with Knoppix or Bart-PE Windows give correct function of the whole device, viewed with a digicam shows some blinks at init. But not with plain 2.6.13 an 2.6.14 from Debian.&lt;br /&gt;
Eric&lt;br /&gt;
&lt;br /&gt;
== setpnp ==&lt;br /&gt;
&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
since the nsc-ircc patch isn't in 2.6.15, I tried to go the setpnp route, but I don't even get to see {{path|/proc/bus/pnp}} even though I enabled the support for it in the kernel config (once I found out that I need to enable ISA support to even get the option). Has anyone successfully used setpnp to enable the IRDA port or is that just some sort of urban legend? ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 19:12, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Make sure you enable pnp-bios support specifically when compiling the kernel, just enabling pnp support is not enough.&lt;br /&gt;
I must however admit that I have not done this, since my ancient TP 770 running a 2.4 kernel, which was at least 5 years ago.&lt;br /&gt;
&lt;br /&gt;
I just looked at a 2.6 menuconfig myself, and could not find the option, but looking at my .config file I can see the CONFIG_PNPBIOS option, so you might just want to edit the config file directly, enable the PNPBIOS option, and run make oldconfig.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 19:38, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I do have the pnp-bios support enabled (the option is depending on ISA among others, checked the Kconfig file in the source tree to find it), and also the proc-Interface option, but still no go... maybe it's not compatible with CONFIG_PNPACPI? Oh well, nevermind, going back to the patch, that works with less hassles, I just hope it'll end up in the vanilla kernel eventually. Still thanks for the help.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, on further investigation (not giving up that easily ;) it really seems that CONFIG_PNPACPI is disabling PnPBIOS, at least dmesg showed something along the lines of &amp;quot;PnPBIOS: disabled by PnPACPI&amp;quot;. But, after recompiling without PnPACPI, I still can't get it to work. I can use {{cmd|setpnp|}} and {{cmd|lspnp|}} just fine, but the nsc-ircc module won't load:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# lspnp 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
t43p:~# setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
t43p:~# lspnp -v 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
        dma 3&lt;br /&gt;
        io 0x02f8-0x02ff&lt;br /&gt;
        irq 3&lt;br /&gt;
t43p:~# modprobe nsc-ircc io=0x2f8 irq=3 dongle_id=0x09&lt;br /&gt;
FATAL: Error inserting nsc_ircc (/lib/modules/2.6.15/kernel/drivers/net/irda/nsc-ircc.ko): No such device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm, I'm getting somewhat annoyed... any ideas?&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:58, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
have you tried just doing {{cmd|setpnp 12 on|}}&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:05, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, that was the first thing I tried, didn't help. BTW, I just fiddled around with lirc a bit (never tried it before), and the lirc_sir module works just fine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
lirc_sir: Installed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and I was able to get it to control xmms.&lt;br /&gt;
&lt;br /&gt;
{{cmd|setserial|}} doesn't claim the device either:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# setserial -ag /dev/ttyS0&lt;br /&gt;
/dev/ttyS0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm really out of ideas.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:20, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hmm, it should not be ttyS0, but ttyS1 which might be stepping on the resources&lt;br /&gt;
ttyS0 is IO 0x3f8 and IRQ 4, while ttyS1 is IO 0x2f8 and IRQ 3.&lt;br /&gt;
&lt;br /&gt;
ttyS0 is your integrated serial port, which even ThinkPads without physical serial port have.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:29, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
Sorry, I cut'n'paste the wrong device since I checked them both, the output for ttyS1 is identical (apart from &amp;quot;/dev/ttyS1, Line 1&amp;quot; of course).&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:36, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
No idea what might be wrong, perhaps it does not work on more recent machines, or kernels.&lt;br /&gt;
&lt;br /&gt;
As I said, it worked for me a long time ago on my 770X with ''something'' like this:&lt;br /&gt;
&lt;br /&gt;
 /bin/setserial /dev/ttyS1 uart none port 0 irq 0&lt;br /&gt;
 setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
 setpnp 12 on&lt;br /&gt;
 modprobe nsc-ircc dongle_id=0x09 io=0x2f8 irq=3&lt;br /&gt;
&lt;br /&gt;
What is the error you get from nsc-ircc in syslog? the &amp;quot;Wrong chip version ff&amp;quot; error?&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 22:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
No errors are recorded at all (dmesg, syslog), just the message above on stderr from {{cmd|modprobe|}}.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 09:27, 5 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
BTW, is it just me or does the nsc-ircc patch only work if CONFIG_PNPACPI is set in the kernel config? Otherwise the module loads fine, (but without stating in the kernel log that it found the dongle) and using IRDA does not work, irattach returns &amp;quot;irattach: ioctl(SIOCGIFFLAGS): No such device&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 14:37, 12 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Not even SIR working on R52 ==&lt;br /&gt;
&lt;br /&gt;
I don't want/need FIR right now, so i thought i wouldn't have to mess with it.&lt;br /&gt;
I don't have /proc/bus/pnp, but i'm pretty sure infrared should work without it as well.&lt;br /&gt;
I do not have a kernel patch and am using the current Ubuntu Breezy 2.6.12-10 kernel.&lt;br /&gt;
Problem is, that when starting&lt;br /&gt;
 irattach /dev/ttyS1 -s&lt;br /&gt;
It complains in syslog: no such device&lt;br /&gt;
On ttyS0 it works fine, but well does not find any packets.&lt;br /&gt;
&lt;br /&gt;
 # setserial -ag /dev/ttyS1&lt;br /&gt;
 /dev/ttyS1, Line 1, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
 &lt;br /&gt;
 # cat /dev/ttyS1&lt;br /&gt;
 cat: /dev/ttyS1: input-/outputerror&lt;br /&gt;
&lt;br /&gt;
So i tried:&lt;br /&gt;
 sudo setserial /dev/ttyS1 uart 16550A port 0x02f8 irq 3&lt;br /&gt;
&lt;br /&gt;
Well ''now'' irattach will attach to ttyS1, irdadump will show me the packets '''sent''' by my computer,&lt;br /&gt;
but won't receive my cellphone's packets (Nokia 6210). In Windows, everything works fine.&lt;br /&gt;
&lt;br /&gt;
===Same case here===&lt;br /&gt;
I have the same problem here, it used to work on 2.6.15. nsc-irc works, even a MCS7780 USB-IRDA adapter works, but the chip doesn't seem to send/receive on 2.6.17 and 2.6.18 (I checked with a CCD camera, no light signal at all), also ''findchip -d'' says:&lt;br /&gt;
&lt;br /&gt;
  root@golem3:/etc# findchip -d&lt;br /&gt;
  Probing for FDC37C669 ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37C669FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N869 ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37C93xFR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N957FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N958FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for PC87108 ...&lt;br /&gt;
  no chip at 0x150&lt;br /&gt;
  no chip at 0x398&lt;br /&gt;
  no chip at 0x0ea&lt;br /&gt;
  Probing for PC87338 ...&lt;br /&gt;
  no chip at 0x398&lt;br /&gt;
  no chip at 0x15c&lt;br /&gt;
  Wrong chip id=0x00&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x0370 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  EFER seems to be probed at 0x0370&lt;br /&gt;
  chip id = 0xff, revision = 0xff&lt;br /&gt;
  Wrong device ID = 0xff&lt;br /&gt;
  Probing for EFER at 0x0250 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x0250 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  hefere = 0xff&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  hefere = 0xff&lt;br /&gt;
  EFER seems to be probed at 0x03f0&lt;br /&gt;
  chip ID is 0x0f : no known chip was detected.&lt;br /&gt;
  Couldn't find Winbond superI/O chip.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
dmesg:&lt;br /&gt;
&lt;br /&gt;
  nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
  nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
  nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
  IrDA: Registered device irda0&lt;br /&gt;
  nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
  IBM TrackPoint firmware: 0x0e, buttons: 3/3&lt;br /&gt;
  serial8250: too much work for irq3&lt;br /&gt;
  sirdev_get_instance - ttyS1&lt;br /&gt;
  irtty_open - ttyS1: irda line discipline opened&lt;br /&gt;
  irlap_change_speed(), setting speed to 9600&lt;br /&gt;
  nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 3.&lt;br /&gt;
  nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
  nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
  nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
  IrDA: Registered device irda0&lt;br /&gt;
  nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
--[[GuySoft]]&lt;br /&gt;
&lt;br /&gt;
&amp;gt;Have you enabled infrared in BIOS?&lt;br /&gt;
[[User:Defiant|Defiant]] 21:25, 29 September 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Yes I did, It used to function in 2.6.15! its the new 2.6.17 kernel that messed it up, also 2.6.18 doesn't help.&lt;br /&gt;
&lt;br /&gt;
==update - IBM31T1100 and lirc==&lt;br /&gt;
&lt;br /&gt;
Working now in 2.6.18, however I can't get lirc to work.&lt;br /&gt;
&lt;br /&gt;
In dmesg i get:&lt;br /&gt;
[code]&lt;br /&gt;
lirc_dev: lirc_register_plugin: sample_rate: 0&lt;br /&gt;
lirc_sir: i/o port 0x02f8 already in use.&lt;br /&gt;
[/code]&lt;br /&gt;
&lt;br /&gt;
Also &amp;quot;/bin/setserial /dev/ttyS1 uart none&amp;quot; doesn't help&lt;br /&gt;
&lt;br /&gt;
Any help there?&lt;br /&gt;
[[User:Guysoft|Guysoft]] 19:40, 31 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
==lirc and FIR works on R52!!==&lt;br /&gt;
I got both lirc and the FIR module to work on my thinkpad r52.&lt;br /&gt;
&lt;br /&gt;
For lirc I had to :&lt;br /&gt;
  $ killall -9 irattach&lt;br /&gt;
  $ setserial /dev/ttyS1 uart none&lt;br /&gt;
  $ rmmod nsc_ircc&lt;br /&gt;
then:&lt;br /&gt;
  $ modprobe lirc_sir&lt;br /&gt;
and then run:&lt;br /&gt;
  $ lircd -d /dev/lirc0 /etc/lircd.conf --nodaemon&lt;br /&gt;
&lt;br /&gt;
For FIR i need to:&lt;br /&gt;
  modprobe nsc_ircc&lt;br /&gt;
I hope this helps anyone that has problems.&lt;br /&gt;
&lt;br /&gt;
[[User:Guysoft|Guysoft]] 15:08, 15 January 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
The lirc_sir module has problems with suspend (disk/ram both).&lt;br /&gt;
&lt;br /&gt;
I'm using Debian Etch kernel 2.6.18-4-686 (version 2.6.18.dfsg.1-11)&lt;br /&gt;
with the lirc-modules-source (version 0.8.0-9.2). The lirc_sir module&lt;br /&gt;
was built with &amp;quot;other&amp;quot; as type of the SIR device.&lt;br /&gt;
&lt;br /&gt;
With this kernel the nsc_ircc module suspends/resumes properly.&lt;br /&gt;
&lt;br /&gt;
I tried to do a module unload and reload, but surprisingly even that failed.&lt;br /&gt;
Before the suspend I get normal output from mode2 but after the resume there is&lt;br /&gt;
no output at all :-(&lt;br /&gt;
&lt;br /&gt;
[[User:Kapil|Kapil]] 15:39, 09 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
One a separate note. The &amp;quot;nsc_ircc&amp;quot; module and the &amp;quot;lirc_sir&amp;quot; module seem to conflict.&lt;br /&gt;
&lt;br /&gt;
If I load one module and then the other, the system appears to hang. So I wonder how Guysoft managed to get this working.&lt;br /&gt;
&lt;br /&gt;
[[User:Kapil|Kapil]] 15:46, 09 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
== T23 IrDA silent? ==&lt;br /&gt;
&lt;br /&gt;
Hi.&lt;br /&gt;
I got SIR working pretty easily on my T20. I cannot get anything to work on my T23. I can get the nsc-ircc module to load, and now irattach works (both with and without nsc-ircc), and I've checked the relevant info in /proc/sys/net/irda, but nothing shows up in /proc/net/irda/discovery, and irdadump gives nothing at all. No errors in dmesg or the log. The red LED never lights. It flashes constantly in Windows.&lt;br /&gt;
&lt;br /&gt;
--[[User:SystemParadox|SystemParadox]] 16:58, 1 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Problems accessing a Nokia phone ==&lt;br /&gt;
&lt;br /&gt;
i just compiled a brand new 2.6.18 Linux Kernel. Now, even tough the Kernel modules are loaded and irda-utils start correctly i am having trouble accessin my Nokia 6135.&lt;br /&gt;
&lt;br /&gt;
This are the contents of my /etc/modprobe.d/irda-utils:&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;
/var/log/syslog:&lt;br /&gt;
&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: pnp: Device 00:0b activated.&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 3.&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: IrDA: Registered device irda0&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: got SIGTERM or SIGINT&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: Stopping device irda0&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: exiting ...&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: '/sbin/modprobe irda0'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: 'echo raziel &amp;gt; /proc/sys/net/irda/devname'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: 'echo 1 &amp;gt; /proc/sys/net/irda/discovery'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: Starting device irda0&lt;br /&gt;
Sep 28 11:34:35 raziel kernel: irlap_change_speed(), setting speed to 9600&lt;br /&gt;
&lt;br /&gt;
But when wammu tries to find the phone (which is right in front of the left side of laptop, where the IR port supposedly is AND it has IR reception enabled):&lt;br /&gt;
&lt;br /&gt;
Starting /dev/ttyS0 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Starting /dev/ttyS1 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Starting /dev/ttyS2 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Scanning for bluetooth devices using PyBluez&lt;br /&gt;
Could not access Bluetooth subsystem (error accessing bluetooth device)&lt;br /&gt;
Finished /dev/ttyS0 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Finished /dev/ttyS1 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Finished /dev/ttyS2 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
All finished, found 0 phones&lt;br /&gt;
&lt;br /&gt;
This phone does not have bluetooth so im basically out of options, ideas anyone?&lt;br /&gt;
&lt;br /&gt;
Any suggestions much appreciated&lt;br /&gt;
&lt;br /&gt;
--[[User:Havok1977|Havok1977]] 12:05, 28 Sep 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== No irrecord output ==&lt;br /&gt;
&lt;br /&gt;
So I loaded lirc_sir on my T43 and it says all is ok. However I don't seem to get anything out of irrecord. I am pretty sure my remote control is ok. What am I missing?&lt;br /&gt;
&lt;br /&gt;
--[[User:mr.dnme|mr.dnme]] 19:29, 25 Jan 2008&lt;br /&gt;
&lt;br /&gt;
== 2.6.27 auto sets dongle_id ==&lt;br /&gt;
&lt;br /&gt;
Just a quick note that as of 2.6.27 the nsc_ircc driver auto sets the dongle_id to 0x09 when loading on a ThinkPad (based on IrDA ISA PnP ID).&lt;br /&gt;
So one less thing that needs to be configured. In fact with this change I think all the outstanding issues are resolved and the nsc_ircc driver should load without any modprobe.conf modifications.&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:51, 20 October 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== LIRC and IrDA ==&lt;br /&gt;
&lt;br /&gt;
LIRC and IrDA now works on my Thinkpad 600.&lt;br /&gt;
The hardest part was to keep away nsc-ircc from configuring&lt;br /&gt;
the system. Finally i decided to move the complete irda-path&lt;br /&gt;
from /lib/modules... to another location :-)&lt;br /&gt;
Now the IR-module receives commands from all of my 4 remote &lt;br /&gt;
controls. I will create a lircd.conf with irrecord, using &lt;br /&gt;
with the generic/NEC.conf, for the RC from Aiwa, RC-AVR05 &lt;br /&gt;
the next days. Now i have go to the cinema, Berlinale is calling.&lt;br /&gt;
Bye&lt;br /&gt;
&lt;br /&gt;
--[[User:Hagen-cool|Hagen]] 20:00, 20 February 2011 (CET)&lt;/div&gt;</summary>
		<author><name>Hagen-cool</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=50691</id>
		<title>Talk:How to make use of IrDA</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=50691"/>
		<updated>2011-02-20T19:00:29Z</updated>

		<summary type="html">&lt;p&gt;Hagen-cool: /* LIRC and IrDA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &amp;quot;wrong chip version ff&amp;quot; is a real issue, and having it mentioned makes sure that google searches turn it up with a solution.&lt;br /&gt;
[[User:Tonko|Tonko]] 01:41, 8 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
The present text confused me (as you now have noticed). Maybe it should better reflect that the error is incorrect (&amp;quot;wrong chip version ff&amp;quot; instead of &amp;quot;FIR mode not enabled&amp;quot; or whatever). Would that be acceptable? &lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 02:05, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
If you think you can explain it better, go right ahead. The IrDA document could use some major cleaning.&lt;br /&gt;
&lt;br /&gt;
As long as we still point out that the only error in syslog is &amp;quot;Wrong chip version ff&amp;quot; when trying to load the FIR module without first activating the PnP device. It would be nice if the ISA-PNP patch to the nsc-ircc driver got accepted upstream, so we dont have to do these hacks anymore.&lt;br /&gt;
[[User:Tonko|Tonko]] 03:58, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Tonko,&lt;br /&gt;
&lt;br /&gt;
Is there a reason why you deleted the TODO entry for linux 2.6 kernel config for SIR? I would like to readd it, but like to hear your reason to remove it first.&lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 10:23, 14 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T23 debianized kernel with probs ==&lt;br /&gt;
&lt;br /&gt;
Found another crazy thing here. T23 2648-2GG, with 2.6.13 and 2.6.14 (Debianized Source). Clear init of nsc-ircc and dongle, but the dongle stays offline (dark and blind). Booted with Knoppix or Bart-PE Windows give correct function of the whole device, viewed with a digicam shows some blinks at init. But not with plain 2.6.13 an 2.6.14 from Debian.&lt;br /&gt;
Eric&lt;br /&gt;
&lt;br /&gt;
== setpnp ==&lt;br /&gt;
&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
since the nsc-ircc patch isn't in 2.6.15, I tried to go the setpnp route, but I don't even get to see {{path|/proc/bus/pnp}} even though I enabled the support for it in the kernel config (once I found out that I need to enable ISA support to even get the option). Has anyone successfully used setpnp to enable the IRDA port or is that just some sort of urban legend? ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 19:12, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Make sure you enable pnp-bios support specifically when compiling the kernel, just enabling pnp support is not enough.&lt;br /&gt;
I must however admit that I have not done this, since my ancient TP 770 running a 2.4 kernel, which was at least 5 years ago.&lt;br /&gt;
&lt;br /&gt;
I just looked at a 2.6 menuconfig myself, and could not find the option, but looking at my .config file I can see the CONFIG_PNPBIOS option, so you might just want to edit the config file directly, enable the PNPBIOS option, and run make oldconfig.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 19:38, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I do have the pnp-bios support enabled (the option is depending on ISA among others, checked the Kconfig file in the source tree to find it), and also the proc-Interface option, but still no go... maybe it's not compatible with CONFIG_PNPACPI? Oh well, nevermind, going back to the patch, that works with less hassles, I just hope it'll end up in the vanilla kernel eventually. Still thanks for the help.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, on further investigation (not giving up that easily ;) it really seems that CONFIG_PNPACPI is disabling PnPBIOS, at least dmesg showed something along the lines of &amp;quot;PnPBIOS: disabled by PnPACPI&amp;quot;. But, after recompiling without PnPACPI, I still can't get it to work. I can use {{cmd|setpnp|}} and {{cmd|lspnp|}} just fine, but the nsc-ircc module won't load:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# lspnp 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
t43p:~# setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
t43p:~# lspnp -v 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
        dma 3&lt;br /&gt;
        io 0x02f8-0x02ff&lt;br /&gt;
        irq 3&lt;br /&gt;
t43p:~# modprobe nsc-ircc io=0x2f8 irq=3 dongle_id=0x09&lt;br /&gt;
FATAL: Error inserting nsc_ircc (/lib/modules/2.6.15/kernel/drivers/net/irda/nsc-ircc.ko): No such device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm, I'm getting somewhat annoyed... any ideas?&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:58, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
have you tried just doing {{cmd|setpnp 12 on|}}&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:05, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, that was the first thing I tried, didn't help. BTW, I just fiddled around with lirc a bit (never tried it before), and the lirc_sir module works just fine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
lirc_sir: Installed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and I was able to get it to control xmms.&lt;br /&gt;
&lt;br /&gt;
{{cmd|setserial|}} doesn't claim the device either:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# setserial -ag /dev/ttyS0&lt;br /&gt;
/dev/ttyS0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm really out of ideas.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:20, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hmm, it should not be ttyS0, but ttyS1 which might be stepping on the resources&lt;br /&gt;
ttyS0 is IO 0x3f8 and IRQ 4, while ttyS1 is IO 0x2f8 and IRQ 3.&lt;br /&gt;
&lt;br /&gt;
ttyS0 is your integrated serial port, which even ThinkPads without physical serial port have.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:29, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
Sorry, I cut'n'paste the wrong device since I checked them both, the output for ttyS1 is identical (apart from &amp;quot;/dev/ttyS1, Line 1&amp;quot; of course).&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:36, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
No idea what might be wrong, perhaps it does not work on more recent machines, or kernels.&lt;br /&gt;
&lt;br /&gt;
As I said, it worked for me a long time ago on my 770X with ''something'' like this:&lt;br /&gt;
&lt;br /&gt;
 /bin/setserial /dev/ttyS1 uart none port 0 irq 0&lt;br /&gt;
 setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
 setpnp 12 on&lt;br /&gt;
 modprobe nsc-ircc dongle_id=0x09 io=0x2f8 irq=3&lt;br /&gt;
&lt;br /&gt;
What is the error you get from nsc-ircc in syslog? the &amp;quot;Wrong chip version ff&amp;quot; error?&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 22:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
No errors are recorded at all (dmesg, syslog), just the message above on stderr from {{cmd|modprobe|}}.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 09:27, 5 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
BTW, is it just me or does the nsc-ircc patch only work if CONFIG_PNPACPI is set in the kernel config? Otherwise the module loads fine, (but without stating in the kernel log that it found the dongle) and using IRDA does not work, irattach returns &amp;quot;irattach: ioctl(SIOCGIFFLAGS): No such device&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 14:37, 12 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Not even SIR working on R52 ==&lt;br /&gt;
&lt;br /&gt;
I don't want/need FIR right now, so i thought i wouldn't have to mess with it.&lt;br /&gt;
I don't have /proc/bus/pnp, but i'm pretty sure infrared should work without it as well.&lt;br /&gt;
I do not have a kernel patch and am using the current Ubuntu Breezy 2.6.12-10 kernel.&lt;br /&gt;
Problem is, that when starting&lt;br /&gt;
 irattach /dev/ttyS1 -s&lt;br /&gt;
It complains in syslog: no such device&lt;br /&gt;
On ttyS0 it works fine, but well does not find any packets.&lt;br /&gt;
&lt;br /&gt;
 # setserial -ag /dev/ttyS1&lt;br /&gt;
 /dev/ttyS1, Line 1, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
 &lt;br /&gt;
 # cat /dev/ttyS1&lt;br /&gt;
 cat: /dev/ttyS1: input-/outputerror&lt;br /&gt;
&lt;br /&gt;
So i tried:&lt;br /&gt;
 sudo setserial /dev/ttyS1 uart 16550A port 0x02f8 irq 3&lt;br /&gt;
&lt;br /&gt;
Well ''now'' irattach will attach to ttyS1, irdadump will show me the packets '''sent''' by my computer,&lt;br /&gt;
but won't receive my cellphone's packets (Nokia 6210). In Windows, everything works fine.&lt;br /&gt;
&lt;br /&gt;
===Same case here===&lt;br /&gt;
I have the same problem here, it used to work on 2.6.15. nsc-irc works, even a MCS7780 USB-IRDA adapter works, but the chip doesn't seem to send/receive on 2.6.17 and 2.6.18 (I checked with a CCD camera, no light signal at all), also ''findchip -d'' says:&lt;br /&gt;
&lt;br /&gt;
  root@golem3:/etc# findchip -d&lt;br /&gt;
  Probing for FDC37C669 ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37C669FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N869 ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37C93xFR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N957FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N958FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for PC87108 ...&lt;br /&gt;
  no chip at 0x150&lt;br /&gt;
  no chip at 0x398&lt;br /&gt;
  no chip at 0x0ea&lt;br /&gt;
  Probing for PC87338 ...&lt;br /&gt;
  no chip at 0x398&lt;br /&gt;
  no chip at 0x15c&lt;br /&gt;
  Wrong chip id=0x00&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x0370 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  EFER seems to be probed at 0x0370&lt;br /&gt;
  chip id = 0xff, revision = 0xff&lt;br /&gt;
  Wrong device ID = 0xff&lt;br /&gt;
  Probing for EFER at 0x0250 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x0250 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  hefere = 0xff&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  hefere = 0xff&lt;br /&gt;
  EFER seems to be probed at 0x03f0&lt;br /&gt;
  chip ID is 0x0f : no known chip was detected.&lt;br /&gt;
  Couldn't find Winbond superI/O chip.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
dmesg:&lt;br /&gt;
&lt;br /&gt;
  nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
  nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
  nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
  IrDA: Registered device irda0&lt;br /&gt;
  nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
  IBM TrackPoint firmware: 0x0e, buttons: 3/3&lt;br /&gt;
  serial8250: too much work for irq3&lt;br /&gt;
  sirdev_get_instance - ttyS1&lt;br /&gt;
  irtty_open - ttyS1: irda line discipline opened&lt;br /&gt;
  irlap_change_speed(), setting speed to 9600&lt;br /&gt;
  nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 3.&lt;br /&gt;
  nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
  nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
  nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
  IrDA: Registered device irda0&lt;br /&gt;
  nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
--[[GuySoft]]&lt;br /&gt;
&lt;br /&gt;
&amp;gt;Have you enabled infrared in BIOS?&lt;br /&gt;
[[User:Defiant|Defiant]] 21:25, 29 September 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Yes I did, It used to function in 2.6.15! its the new 2.6.17 kernel that messed it up, also 2.6.18 doesn't help.&lt;br /&gt;
&lt;br /&gt;
==update - IBM31T1100 and lirc==&lt;br /&gt;
&lt;br /&gt;
Working now in 2.6.18, however I can't get lirc to work.&lt;br /&gt;
&lt;br /&gt;
In dmesg i get:&lt;br /&gt;
[code]&lt;br /&gt;
lirc_dev: lirc_register_plugin: sample_rate: 0&lt;br /&gt;
lirc_sir: i/o port 0x02f8 already in use.&lt;br /&gt;
[/code]&lt;br /&gt;
&lt;br /&gt;
Also &amp;quot;/bin/setserial /dev/ttyS1 uart none&amp;quot; doesn't help&lt;br /&gt;
&lt;br /&gt;
Any help there?&lt;br /&gt;
[[User:Guysoft|Guysoft]] 19:40, 31 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
==lirc and FIR works on R52!!==&lt;br /&gt;
I got both lirc and the FIR module to work on my thinkpad r52.&lt;br /&gt;
&lt;br /&gt;
For lirc I had to :&lt;br /&gt;
  $ killall -9 irattach&lt;br /&gt;
  $ setserial /dev/ttyS1 uart none&lt;br /&gt;
  $ rmmod nsc_ircc&lt;br /&gt;
then:&lt;br /&gt;
  $ modprobe lirc_sir&lt;br /&gt;
and then run:&lt;br /&gt;
  $ lircd -d /dev/lirc0 /etc/lircd.conf --nodaemon&lt;br /&gt;
&lt;br /&gt;
For FIR i need to:&lt;br /&gt;
  modprobe nsc_ircc&lt;br /&gt;
I hope this helps anyone that has problems.&lt;br /&gt;
&lt;br /&gt;
[[User:Guysoft|Guysoft]] 15:08, 15 January 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
The lirc_sir module has problems with suspend (disk/ram both).&lt;br /&gt;
&lt;br /&gt;
I'm using Debian Etch kernel 2.6.18-4-686 (version 2.6.18.dfsg.1-11)&lt;br /&gt;
with the lirc-modules-source (version 0.8.0-9.2). The lirc_sir module&lt;br /&gt;
was built with &amp;quot;other&amp;quot; as type of the SIR device.&lt;br /&gt;
&lt;br /&gt;
With this kernel the nsc_ircc module suspends/resumes properly.&lt;br /&gt;
&lt;br /&gt;
I tried to do a module unload and reload, but surprisingly even that failed.&lt;br /&gt;
Before the suspend I get normal output from mode2 but after the resume there is&lt;br /&gt;
no output at all :-(&lt;br /&gt;
&lt;br /&gt;
[[User:Kapil|Kapil]] 15:39, 09 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
One a separate note. The &amp;quot;nsc_ircc&amp;quot; module and the &amp;quot;lirc_sir&amp;quot; module seem to conflict.&lt;br /&gt;
&lt;br /&gt;
If I load one module and then the other, the system appears to hang. So I wonder how Guysoft managed to get this working.&lt;br /&gt;
&lt;br /&gt;
[[User:Kapil|Kapil]] 15:46, 09 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
== T23 IrDA silent? ==&lt;br /&gt;
&lt;br /&gt;
Hi.&lt;br /&gt;
I got SIR working pretty easily on my T20. I cannot get anything to work on my T23. I can get the nsc-ircc module to load, and now irattach works (both with and without nsc-ircc), and I've checked the relevant info in /proc/sys/net/irda, but nothing shows up in /proc/net/irda/discovery, and irdadump gives nothing at all. No errors in dmesg or the log. The red LED never lights. It flashes constantly in Windows.&lt;br /&gt;
&lt;br /&gt;
--[[User:SystemParadox|SystemParadox]] 16:58, 1 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Problems accessing a Nokia phone ==&lt;br /&gt;
&lt;br /&gt;
i just compiled a brand new 2.6.18 Linux Kernel. Now, even tough the Kernel modules are loaded and irda-utils start correctly i am having trouble accessin my Nokia 6135.&lt;br /&gt;
&lt;br /&gt;
This are the contents of my /etc/modprobe.d/irda-utils:&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;
/var/log/syslog:&lt;br /&gt;
&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: pnp: Device 00:0b activated.&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 3.&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: IrDA: Registered device irda0&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: got SIGTERM or SIGINT&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: Stopping device irda0&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: exiting ...&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: '/sbin/modprobe irda0'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: 'echo raziel &amp;gt; /proc/sys/net/irda/devname'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: 'echo 1 &amp;gt; /proc/sys/net/irda/discovery'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: Starting device irda0&lt;br /&gt;
Sep 28 11:34:35 raziel kernel: irlap_change_speed(), setting speed to 9600&lt;br /&gt;
&lt;br /&gt;
But when wammu tries to find the phone (which is right in front of the left side of laptop, where the IR port supposedly is AND it has IR reception enabled):&lt;br /&gt;
&lt;br /&gt;
Starting /dev/ttyS0 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Starting /dev/ttyS1 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Starting /dev/ttyS2 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Scanning for bluetooth devices using PyBluez&lt;br /&gt;
Could not access Bluetooth subsystem (error accessing bluetooth device)&lt;br /&gt;
Finished /dev/ttyS0 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Finished /dev/ttyS1 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Finished /dev/ttyS2 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
All finished, found 0 phones&lt;br /&gt;
&lt;br /&gt;
This phone does not have bluetooth so im basically out of options, ideas anyone?&lt;br /&gt;
&lt;br /&gt;
Any suggestions much appreciated&lt;br /&gt;
&lt;br /&gt;
--[[User:Havok1977|Havok1977]] 12:05, 28 Sep 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== No irrecord output ==&lt;br /&gt;
&lt;br /&gt;
So I loaded lirc_sir on my T43 and it says all is ok. However I don't seem to get anything out of irrecord. I am pretty sure my remote control is ok. What am I missing?&lt;br /&gt;
&lt;br /&gt;
--[[User:mr.dnme|mr.dnme]] 19:29, 25 Jan 2008&lt;br /&gt;
&lt;br /&gt;
== 2.6.27 auto sets dongle_id ==&lt;br /&gt;
&lt;br /&gt;
Just a quick note that as of 2.6.27 the nsc_ircc driver auto sets the dongle_id to 0x09 when loading on a ThinkPad (based on IrDA ISA PnP ID).&lt;br /&gt;
So one less thing that needs to be configured. In fact with this change I think all the outstanding issues are resolved and the nsc_ircc driver should load without any modprobe.conf modifications.&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:51, 20 October 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== LIRC and IrDA ==&lt;br /&gt;
&lt;br /&gt;
LIRC and IrDA now works on my Thinkpad 600.&lt;br /&gt;
The hardest part was to keep away nsc-ircc from configuring&lt;br /&gt;
the system. Finally i decided to move the complete irda-path&lt;br /&gt;
from /lib/modules... to another location :-)&lt;br /&gt;
Now the IR-module receives commands from all of my 4 remote &lt;br /&gt;
controls. I will create a lircd.conf with irrecord, using &lt;br /&gt;
with the generic/NEC.conf, for the RC from Aiwa, RC-AVR05 &lt;br /&gt;
the next days. Now i have go to the cinema, Berlinale is calling.&lt;br /&gt;
Bye&lt;br /&gt;
--Hagen [[User:Hagen-cool|Hagen]] 20:00, 20 February 2011 (CET)&lt;/div&gt;</summary>
		<author><name>Hagen-cool</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=50690</id>
		<title>Talk:How to make use of IrDA</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=50690"/>
		<updated>2011-02-20T18:56:10Z</updated>

		<summary type="html">&lt;p&gt;Hagen-cool: /* LIRC and IrDA */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &amp;quot;wrong chip version ff&amp;quot; is a real issue, and having it mentioned makes sure that google searches turn it up with a solution.&lt;br /&gt;
[[User:Tonko|Tonko]] 01:41, 8 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
The present text confused me (as you now have noticed). Maybe it should better reflect that the error is incorrect (&amp;quot;wrong chip version ff&amp;quot; instead of &amp;quot;FIR mode not enabled&amp;quot; or whatever). Would that be acceptable? &lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 02:05, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
If you think you can explain it better, go right ahead. The IrDA document could use some major cleaning.&lt;br /&gt;
&lt;br /&gt;
As long as we still point out that the only error in syslog is &amp;quot;Wrong chip version ff&amp;quot; when trying to load the FIR module without first activating the PnP device. It would be nice if the ISA-PNP patch to the nsc-ircc driver got accepted upstream, so we dont have to do these hacks anymore.&lt;br /&gt;
[[User:Tonko|Tonko]] 03:58, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Tonko,&lt;br /&gt;
&lt;br /&gt;
Is there a reason why you deleted the TODO entry for linux 2.6 kernel config for SIR? I would like to readd it, but like to hear your reason to remove it first.&lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 10:23, 14 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T23 debianized kernel with probs ==&lt;br /&gt;
&lt;br /&gt;
Found another crazy thing here. T23 2648-2GG, with 2.6.13 and 2.6.14 (Debianized Source). Clear init of nsc-ircc and dongle, but the dongle stays offline (dark and blind). Booted with Knoppix or Bart-PE Windows give correct function of the whole device, viewed with a digicam shows some blinks at init. But not with plain 2.6.13 an 2.6.14 from Debian.&lt;br /&gt;
Eric&lt;br /&gt;
&lt;br /&gt;
== setpnp ==&lt;br /&gt;
&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
since the nsc-ircc patch isn't in 2.6.15, I tried to go the setpnp route, but I don't even get to see {{path|/proc/bus/pnp}} even though I enabled the support for it in the kernel config (once I found out that I need to enable ISA support to even get the option). Has anyone successfully used setpnp to enable the IRDA port or is that just some sort of urban legend? ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 19:12, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Make sure you enable pnp-bios support specifically when compiling the kernel, just enabling pnp support is not enough.&lt;br /&gt;
I must however admit that I have not done this, since my ancient TP 770 running a 2.4 kernel, which was at least 5 years ago.&lt;br /&gt;
&lt;br /&gt;
I just looked at a 2.6 menuconfig myself, and could not find the option, but looking at my .config file I can see the CONFIG_PNPBIOS option, so you might just want to edit the config file directly, enable the PNPBIOS option, and run make oldconfig.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 19:38, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I do have the pnp-bios support enabled (the option is depending on ISA among others, checked the Kconfig file in the source tree to find it), and also the proc-Interface option, but still no go... maybe it's not compatible with CONFIG_PNPACPI? Oh well, nevermind, going back to the patch, that works with less hassles, I just hope it'll end up in the vanilla kernel eventually. Still thanks for the help.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, on further investigation (not giving up that easily ;) it really seems that CONFIG_PNPACPI is disabling PnPBIOS, at least dmesg showed something along the lines of &amp;quot;PnPBIOS: disabled by PnPACPI&amp;quot;. But, after recompiling without PnPACPI, I still can't get it to work. I can use {{cmd|setpnp|}} and {{cmd|lspnp|}} just fine, but the nsc-ircc module won't load:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# lspnp 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
t43p:~# setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
t43p:~# lspnp -v 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
        dma 3&lt;br /&gt;
        io 0x02f8-0x02ff&lt;br /&gt;
        irq 3&lt;br /&gt;
t43p:~# modprobe nsc-ircc io=0x2f8 irq=3 dongle_id=0x09&lt;br /&gt;
FATAL: Error inserting nsc_ircc (/lib/modules/2.6.15/kernel/drivers/net/irda/nsc-ircc.ko): No such device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm, I'm getting somewhat annoyed... any ideas?&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:58, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
have you tried just doing {{cmd|setpnp 12 on|}}&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:05, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, that was the first thing I tried, didn't help. BTW, I just fiddled around with lirc a bit (never tried it before), and the lirc_sir module works just fine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
lirc_sir: Installed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and I was able to get it to control xmms.&lt;br /&gt;
&lt;br /&gt;
{{cmd|setserial|}} doesn't claim the device either:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# setserial -ag /dev/ttyS0&lt;br /&gt;
/dev/ttyS0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm really out of ideas.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:20, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hmm, it should not be ttyS0, but ttyS1 which might be stepping on the resources&lt;br /&gt;
ttyS0 is IO 0x3f8 and IRQ 4, while ttyS1 is IO 0x2f8 and IRQ 3.&lt;br /&gt;
&lt;br /&gt;
ttyS0 is your integrated serial port, which even ThinkPads without physical serial port have.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:29, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
Sorry, I cut'n'paste the wrong device since I checked them both, the output for ttyS1 is identical (apart from &amp;quot;/dev/ttyS1, Line 1&amp;quot; of course).&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:36, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
No idea what might be wrong, perhaps it does not work on more recent machines, or kernels.&lt;br /&gt;
&lt;br /&gt;
As I said, it worked for me a long time ago on my 770X with ''something'' like this:&lt;br /&gt;
&lt;br /&gt;
 /bin/setserial /dev/ttyS1 uart none port 0 irq 0&lt;br /&gt;
 setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
 setpnp 12 on&lt;br /&gt;
 modprobe nsc-ircc dongle_id=0x09 io=0x2f8 irq=3&lt;br /&gt;
&lt;br /&gt;
What is the error you get from nsc-ircc in syslog? the &amp;quot;Wrong chip version ff&amp;quot; error?&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 22:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
No errors are recorded at all (dmesg, syslog), just the message above on stderr from {{cmd|modprobe|}}.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 09:27, 5 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
BTW, is it just me or does the nsc-ircc patch only work if CONFIG_PNPACPI is set in the kernel config? Otherwise the module loads fine, (but without stating in the kernel log that it found the dongle) and using IRDA does not work, irattach returns &amp;quot;irattach: ioctl(SIOCGIFFLAGS): No such device&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 14:37, 12 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Not even SIR working on R52 ==&lt;br /&gt;
&lt;br /&gt;
I don't want/need FIR right now, so i thought i wouldn't have to mess with it.&lt;br /&gt;
I don't have /proc/bus/pnp, but i'm pretty sure infrared should work without it as well.&lt;br /&gt;
I do not have a kernel patch and am using the current Ubuntu Breezy 2.6.12-10 kernel.&lt;br /&gt;
Problem is, that when starting&lt;br /&gt;
 irattach /dev/ttyS1 -s&lt;br /&gt;
It complains in syslog: no such device&lt;br /&gt;
On ttyS0 it works fine, but well does not find any packets.&lt;br /&gt;
&lt;br /&gt;
 # setserial -ag /dev/ttyS1&lt;br /&gt;
 /dev/ttyS1, Line 1, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
 &lt;br /&gt;
 # cat /dev/ttyS1&lt;br /&gt;
 cat: /dev/ttyS1: input-/outputerror&lt;br /&gt;
&lt;br /&gt;
So i tried:&lt;br /&gt;
 sudo setserial /dev/ttyS1 uart 16550A port 0x02f8 irq 3&lt;br /&gt;
&lt;br /&gt;
Well ''now'' irattach will attach to ttyS1, irdadump will show me the packets '''sent''' by my computer,&lt;br /&gt;
but won't receive my cellphone's packets (Nokia 6210). In Windows, everything works fine.&lt;br /&gt;
&lt;br /&gt;
===Same case here===&lt;br /&gt;
I have the same problem here, it used to work on 2.6.15. nsc-irc works, even a MCS7780 USB-IRDA adapter works, but the chip doesn't seem to send/receive on 2.6.17 and 2.6.18 (I checked with a CCD camera, no light signal at all), also ''findchip -d'' says:&lt;br /&gt;
&lt;br /&gt;
  root@golem3:/etc# findchip -d&lt;br /&gt;
  Probing for FDC37C669 ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37C669FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N869 ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37C93xFR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N957FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for FDC37N958FR ...&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Wrong chip id=0xff&lt;br /&gt;
  Probing for PC87108 ...&lt;br /&gt;
  no chip at 0x150&lt;br /&gt;
  no chip at 0x398&lt;br /&gt;
  no chip at 0x0ea&lt;br /&gt;
  Probing for PC87338 ...&lt;br /&gt;
  no chip at 0x398&lt;br /&gt;
  no chip at 0x15c&lt;br /&gt;
  Wrong chip id=0x00&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x0370 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  EFER seems to be probed at 0x0370&lt;br /&gt;
  chip id = 0xff, revision = 0xff&lt;br /&gt;
  Wrong device ID = 0xff&lt;br /&gt;
  Probing for EFER at 0x0250 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x0250 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  hefere = 0xff&lt;br /&gt;
  Probing for EFER at 0x03f0 ...&lt;br /&gt;
  hefras = 0xff&lt;br /&gt;
  hefere = 0xff&lt;br /&gt;
  EFER seems to be probed at 0x03f0&lt;br /&gt;
  chip ID is 0x0f : no known chip was detected.&lt;br /&gt;
  Couldn't find Winbond superI/O chip.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
dmesg:&lt;br /&gt;
&lt;br /&gt;
  nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
  nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
  nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
  IrDA: Registered device irda0&lt;br /&gt;
  nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
  IBM TrackPoint firmware: 0x0e, buttons: 3/3&lt;br /&gt;
  serial8250: too much work for irq3&lt;br /&gt;
  sirdev_get_instance - ttyS1&lt;br /&gt;
  irtty_open - ttyS1: irda line discipline opened&lt;br /&gt;
  irlap_change_speed(), setting speed to 9600&lt;br /&gt;
  nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 3.&lt;br /&gt;
  nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
  nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
  nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
  IrDA: Registered device irda0&lt;br /&gt;
  nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
--[[GuySoft]]&lt;br /&gt;
&lt;br /&gt;
&amp;gt;Have you enabled infrared in BIOS?&lt;br /&gt;
[[User:Defiant|Defiant]] 21:25, 29 September 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
Yes I did, It used to function in 2.6.15! its the new 2.6.17 kernel that messed it up, also 2.6.18 doesn't help.&lt;br /&gt;
&lt;br /&gt;
==update - IBM31T1100 and lirc==&lt;br /&gt;
&lt;br /&gt;
Working now in 2.6.18, however I can't get lirc to work.&lt;br /&gt;
&lt;br /&gt;
In dmesg i get:&lt;br /&gt;
[code]&lt;br /&gt;
lirc_dev: lirc_register_plugin: sample_rate: 0&lt;br /&gt;
lirc_sir: i/o port 0x02f8 already in use.&lt;br /&gt;
[/code]&lt;br /&gt;
&lt;br /&gt;
Also &amp;quot;/bin/setserial /dev/ttyS1 uart none&amp;quot; doesn't help&lt;br /&gt;
&lt;br /&gt;
Any help there?&lt;br /&gt;
[[User:Guysoft|Guysoft]] 19:40, 31 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
==lirc and FIR works on R52!!==&lt;br /&gt;
I got both lirc and the FIR module to work on my thinkpad r52.&lt;br /&gt;
&lt;br /&gt;
For lirc I had to :&lt;br /&gt;
  $ killall -9 irattach&lt;br /&gt;
  $ setserial /dev/ttyS1 uart none&lt;br /&gt;
  $ rmmod nsc_ircc&lt;br /&gt;
then:&lt;br /&gt;
  $ modprobe lirc_sir&lt;br /&gt;
and then run:&lt;br /&gt;
  $ lircd -d /dev/lirc0 /etc/lircd.conf --nodaemon&lt;br /&gt;
&lt;br /&gt;
For FIR i need to:&lt;br /&gt;
  modprobe nsc_ircc&lt;br /&gt;
I hope this helps anyone that has problems.&lt;br /&gt;
&lt;br /&gt;
[[User:Guysoft|Guysoft]] 15:08, 15 January 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
The lirc_sir module has problems with suspend (disk/ram both).&lt;br /&gt;
&lt;br /&gt;
I'm using Debian Etch kernel 2.6.18-4-686 (version 2.6.18.dfsg.1-11)&lt;br /&gt;
with the lirc-modules-source (version 0.8.0-9.2). The lirc_sir module&lt;br /&gt;
was built with &amp;quot;other&amp;quot; as type of the SIR device.&lt;br /&gt;
&lt;br /&gt;
With this kernel the nsc_ircc module suspends/resumes properly.&lt;br /&gt;
&lt;br /&gt;
I tried to do a module unload and reload, but surprisingly even that failed.&lt;br /&gt;
Before the suspend I get normal output from mode2 but after the resume there is&lt;br /&gt;
no output at all :-(&lt;br /&gt;
&lt;br /&gt;
[[User:Kapil|Kapil]] 15:39, 09 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
One a separate note. The &amp;quot;nsc_ircc&amp;quot; module and the &amp;quot;lirc_sir&amp;quot; module seem to conflict.&lt;br /&gt;
&lt;br /&gt;
If I load one module and then the other, the system appears to hang. So I wonder how Guysoft managed to get this working.&lt;br /&gt;
&lt;br /&gt;
[[User:Kapil|Kapil]] 15:46, 09 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
== T23 IrDA silent? ==&lt;br /&gt;
&lt;br /&gt;
Hi.&lt;br /&gt;
I got SIR working pretty easily on my T20. I cannot get anything to work on my T23. I can get the nsc-ircc module to load, and now irattach works (both with and without nsc-ircc), and I've checked the relevant info in /proc/sys/net/irda, but nothing shows up in /proc/net/irda/discovery, and irdadump gives nothing at all. No errors in dmesg or the log. The red LED never lights. It flashes constantly in Windows.&lt;br /&gt;
&lt;br /&gt;
--[[User:SystemParadox|SystemParadox]] 16:58, 1 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Problems accessing a Nokia phone ==&lt;br /&gt;
&lt;br /&gt;
i just compiled a brand new 2.6.18 Linux Kernel. Now, even tough the Kernel modules are loaded and irda-utils start correctly i am having trouble accessin my Nokia 6135.&lt;br /&gt;
&lt;br /&gt;
This are the contents of my /etc/modprobe.d/irda-utils:&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;
/var/log/syslog:&lt;br /&gt;
&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: pnp: Device 00:0b activated.&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc_ircc_pnp_probe() : From PnP, found firbase 0x2F8 ; irq 3 ; dma 3.&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, chip-&amp;gt;init&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, Found chip at base=0x02e&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, driver loaded (Dag Brattli)&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: IrDA: Registered device irda0&lt;br /&gt;
Sep 28 11:33:00 raziel kernel: nsc-ircc, Using dongle: IBM31T1100 or Temic TFDS6000/TFDS6500&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: got SIGTERM or SIGINT&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: Stopping device irda0&lt;br /&gt;
Sep 28 11:34:34 raziel irattach: exiting ...&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: '/sbin/modprobe irda0'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: 'echo raziel &amp;gt; /proc/sys/net/irda/devname'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: executing: 'echo 1 &amp;gt; /proc/sys/net/irda/discovery'&lt;br /&gt;
Sep 28 11:34:35 raziel irattach: Starting device irda0&lt;br /&gt;
Sep 28 11:34:35 raziel kernel: irlap_change_speed(), setting speed to 9600&lt;br /&gt;
&lt;br /&gt;
But when wammu tries to find the phone (which is right in front of the left side of laptop, where the IR port supposedly is AND it has IR reception enabled):&lt;br /&gt;
&lt;br /&gt;
Starting /dev/ttyS0 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Starting /dev/ttyS1 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Starting /dev/ttyS2 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Scanning for bluetooth devices using PyBluez&lt;br /&gt;
Could not access Bluetooth subsystem (error accessing bluetooth device)&lt;br /&gt;
Finished /dev/ttyS0 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Finished /dev/ttyS1 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
Finished /dev/ttyS2 - ['at19200', 'at115200', 'fbusdlr3', 'fbus', 'mbus', 'fbuspl2303']&lt;br /&gt;
All finished, found 0 phones&lt;br /&gt;
&lt;br /&gt;
This phone does not have bluetooth so im basically out of options, ideas anyone?&lt;br /&gt;
&lt;br /&gt;
Any suggestions much appreciated&lt;br /&gt;
&lt;br /&gt;
--[[User:Havok1977|Havok1977]] 12:05, 28 Sep 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== No irrecord output ==&lt;br /&gt;
&lt;br /&gt;
So I loaded lirc_sir on my T43 and it says all is ok. However I don't seem to get anything out of irrecord. I am pretty sure my remote control is ok. What am I missing?&lt;br /&gt;
&lt;br /&gt;
--[[User:mr.dnme|mr.dnme]] 19:29, 25 Jan 2008&lt;br /&gt;
&lt;br /&gt;
== 2.6.27 auto sets dongle_id ==&lt;br /&gt;
&lt;br /&gt;
Just a quick note that as of 2.6.27 the nsc_ircc driver auto sets the dongle_id to 0x09 when loading on a ThinkPad (based on IrDA ISA PnP ID).&lt;br /&gt;
So one less thing that needs to be configured. In fact with this change I think all the outstanding issues are resolved and the nsc_ircc driver should load without any modprobe.conf modifications.&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:51, 20 October 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== LIRC and IrDA ==&lt;br /&gt;
&lt;br /&gt;
LIRC and IrDA now works on my Thinkpad 600.&lt;br /&gt;
The hardest part was to keep away nsc-ircc from configuring&lt;br /&gt;
the system. Finally i decided to move the complete irda-path&lt;br /&gt;
from /lib/modules... to another location :-)&lt;br /&gt;
Now the IR-module receives commands from all of my 4 remote &lt;br /&gt;
controls. I will create a lircd.conf with irrecord, using &lt;br /&gt;
with the generic/NEC.conf, for the RC from Aiwa, RC-AVR05 &lt;br /&gt;
the next days. Now i have go to the cinema, Berlinale is calling.&lt;br /&gt;
Bye&lt;/div&gt;</summary>
		<author><name>Hagen-cool</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_use_of_IrDA&amp;diff=50689</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=50689"/>
		<updated>2011-02-20T18:46:50Z</updated>

		<summary type="html">&lt;p&gt;Hagen-cool: /* Success reports */  600 added&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;
On modern distributions all configuration might be taken care of automatically by starting the irda service {{cmdroot|service irda start}}. If not try the following;&lt;br /&gt;
&lt;br /&gt;
To use it, run {{cmdroot|irattach /dev/ttyS1 -s; modprobe ircomm-tty}}  &lt;br /&gt;
&lt;br /&gt;
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;
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 maximum bandwidth of 4 Mbps&lt;br /&gt;
&lt;br /&gt;
On modern distributions this should all be automatically handled by simply starting the idra service {{cmdroot|service irda start}}. If not try the following;&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&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;
&lt;br /&gt;
Make sure that setserial is in right directory (e.g not in /usr/bin/setserial).After that if irdadump still gives nothing try: &lt;br /&gt;
 echo 1 &amp;gt; /proc/sys/net/irda/discovery&lt;br /&gt;
&lt;br /&gt;
== Known problems ==&lt;br /&gt;
* If you read something like &amp;quot;ttyS1: LSR safety check engaged!&amp;quot; and &amp;quot;irattach: tcgetattr: Input/output error&amp;quot; in the system log, try limiting the FIR max baud rate (echo 57600 &amp;gt; /proc/sys/net/irda/max_baud_rate). This did the trick for me when I was trying to synchronize my Ericsson T39m with my Thinkpad R51 (multisync, evolution-2.8, KDE 3.5.5, openSUSE 10.2).&lt;br /&gt;
* If you get an error in syslog like &amp;quot;nsc_ircc_open(), can't get iobase of 0x2f8&amp;quot; it probably means you have manually specified resources for IrDA in the BIOS. When you do that you effectively allow the serial driver to take control, and as a result the nsc_ircc driver can no longer take control of the resources. Options are to either restore the BIOS settings for IrDA to factory default, or you can work around it by using setserial to clear the resources before loading the nsc_ircc kernel module&lt;br /&gt;
 setserial /dev/ttyS1 uart none port 0 irq 0; modprobe nsc_ircc&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;
LIRC allows the use of infrared remote controls with Linux as input devices. This can be especially useful to control applications like mplayer, xine, mythtv or boxee. Usually, IrDA ports are not compatible with LIRC, but you may have luck using lirc_sir, as follows;&lt;br /&gt;
{{NOTE|lirc_sir is incompatible with the regular Linux IrDA drivers (nsc_ircc). You can only use one at a time, and will have to reboot before you can switch}}&lt;br /&gt;
{{NOTE|Even if your successful in getting this to work, you might find that the distance between remote control and receiver on the ThinkPad cannot exceed ~50cm, rendering it effectively useless. This can vary depending on Remote and ThinkPad used, there has been one successful report of a T60 with &amp;gt;2M}}&lt;br /&gt;
====Success reports====&lt;br /&gt;
* R40&lt;br /&gt;
* T41&lt;br /&gt;
* T60&lt;br /&gt;
* 600&lt;br /&gt;
&lt;br /&gt;
====Failure reports====&lt;br /&gt;
lirc_sir does not always work, particular on newer machines it seems the module loads when following these instructions, but the device {{path|/dev/lirc0}} cannot be opened and returns a device or resource busy. You can simply test this by typing {{cmdroot|cat /dev/lirc0}}&lt;br /&gt;
* T60&lt;br /&gt;
===Configuring lirc_sir===&lt;br /&gt;
Go into your BIOS setup, and ensure that Infrared is fully enabled and that resources are assigned. I suggest using IO 2f8 and IRQ 3.&lt;br /&gt;
&lt;br /&gt;
Boot into Linux, and first ensure the setserial program is installed. Running {{cmdroot|/bin/setserial /dev/ttyS1}} should return at this point:&lt;br /&gt;
 /dev/ttyS1, UART: undefined, Port: 0x02f8, IRQ: 3&lt;br /&gt;
If setserial cannot be found, install the setserial package with your distributions package management software&lt;br /&gt;
&lt;br /&gt;
Then create a file {{path|/etc/modprobe.d/lirc.conf}} with the following content:&lt;br /&gt;
 # prevent nsc_ircc from loading (blacklist might not be enough)&lt;br /&gt;
 blacklist nsc_ircc&lt;br /&gt;
 install nsc_ircc /bin/true&lt;br /&gt;
 # pass options to lirc_sir to load it on ttyS1&lt;br /&gt;
 options lirc_sir io=0x2f8 irq=3&lt;br /&gt;
 # ensure serial resources are cleared before loading lirc_sir&lt;br /&gt;
 # not doing so can result in a device busy error, or can even hang your system&lt;br /&gt;
 install lirc_sir /bin/setserial /dev/ttyS1 uart none port 0 irq 0; /sbin/modprobe --ignore-install lirc_sir&lt;br /&gt;
&lt;br /&gt;
At this point it is best to reboot, to ensure that nsc_ircc was never loaded. Several things can go wrong if the steps are not followed accurately. You might get an error when loading lirc_sir that the device is busy, or your system may even hang.&lt;br /&gt;
&lt;br /&gt;
Now do a {{cmdroot|modprobe lirc_sir}} and check {{cmdroot|dmesg}} output. You should see something like this:&lt;br /&gt;
 lirc_dev: IR Remote Control driver registered, major 61&lt;br /&gt;
 lirc_dev: lirc_register_plugin: sample_rate: 0&lt;br /&gt;
 lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
 lirc_sir: Installed.&lt;br /&gt;
&lt;br /&gt;
===Configuring LIRC===&lt;br /&gt;
If you did not yet install LIRC, then do so now using your distributions package management system.&lt;br /&gt;
&lt;br /&gt;
====Ubuntu====&lt;br /&gt;
Make sure your {{path|/etc/lirc/hardware.conf}} looks like this:&lt;br /&gt;
 REMOTE=&amp;quot;SIR IrDA (built-in IR ports)&amp;quot;&lt;br /&gt;
 REMOTE_MODULES=&amp;quot;lirc_dev lirc_sir&amp;quot;&lt;br /&gt;
 REMOTE_DRIVER=&amp;quot;&amp;quot;&lt;br /&gt;
 REMOTE_DEVICE=&amp;quot;/dev/lirc0&amp;quot;&lt;br /&gt;
 REMOTE_LIRCD_CONF=&amp;quot;&amp;quot;&lt;br /&gt;
 REMOTE_LIRCD_ARGS=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER=&amp;quot;None&amp;quot;&lt;br /&gt;
 TRANSMITTER_MODULES=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER_DRIVER=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER_DEVICE=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER_LIRCD_CONF=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER_LIRCD_ARGS=&amp;quot;&amp;quot;&lt;br /&gt;
 START_LIRCD=&amp;quot;true&amp;quot;&lt;br /&gt;
 START_LIRCMD=&amp;quot;&amp;quot;&lt;br /&gt;
 LOAD_MODULES=&amp;quot;&amp;quot;&lt;br /&gt;
 LIRCMD_CONF=&amp;quot;&amp;quot;&lt;br /&gt;
 FORCE_NONINTERACTIVE_RECONFIGURATION=&amp;quot;false&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After this, start (or re-start) the lirc daemon, and set it to automatically start on bootup.&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service lirc restart}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{cmdroot|update-rc.d lirc defaults}}&lt;br /&gt;
====Fedora====&lt;br /&gt;
On Fedora the default LIRC device is already set to /dev/lirc0&lt;br /&gt;
&lt;br /&gt;
{{Todo|best way of ensuring lirc_sir is loaded before lircd is started? The config file /etc/sysconfig/lirc does not seem to help. Perhaps an alias line in the modules config file if someone knows the correct syntax?}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service lirc restart}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{cmdroot|chkconfig lirc on}}&lt;br /&gt;
&lt;br /&gt;
===Testing LIRC===&lt;br /&gt;
Now we are ready to test if we can receive IR data from a remote control.&lt;br /&gt;
&lt;br /&gt;
Try running {{cmdroot|irrecord -d /dev/lirc0 foo}} and follow the onscreen instructions. When asked keep a button on a remote pressed while pointing at the ThinkPad IR port and you should see dots appear.&lt;br /&gt;
&lt;br /&gt;
You are now able to start configuring LIRC for your specific remote control.&lt;br /&gt;
&lt;br /&gt;
Configuring remote controls is out of scope for this document and you should check the LIRC website for detailed instructions. But if your using Gnome you might want to try {{cmd|gnome-lirc-properties|$}}, or in the case of KDE {{cmd|kdelirc|$}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Current versions of gnome-lirc-properties (at least up to 0.3.1) do not support lirc_sir, you need to first edit {{path|/usr/share/gnome-lirc-properties/receivers.conf}} and add the following:&amp;lt;br&amp;gt;&amp;lt;pre&amp;gt;[Generic: IrDA SIR Receiver]&lt;br /&gt;
kernel-module = lirc_sir&lt;br /&gt;
device-nodes  = /dev/lirc0&amp;lt;/pre&amp;gt;&lt;br /&gt;
After this you can select Generic - IrDA SIR Receiver from the drop down menus (autodetect will not pick it up)}}&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 (LIRC)] (External)&lt;/div&gt;</summary>
		<author><name>Hagen-cool</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_use_of_IrDA&amp;diff=50688</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=50688"/>
		<updated>2011-02-20T18:46:18Z</updated>

		<summary type="html">&lt;p&gt;Hagen-cool: /* Success reports */&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;
On modern distributions all configuration might be taken care of automatically by starting the irda service {{cmdroot|service irda start}}. If not try the following;&lt;br /&gt;
&lt;br /&gt;
To use it, run {{cmdroot|irattach /dev/ttyS1 -s; modprobe ircomm-tty}}  &lt;br /&gt;
&lt;br /&gt;
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;
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 maximum bandwidth of 4 Mbps&lt;br /&gt;
&lt;br /&gt;
On modern distributions this should all be automatically handled by simply starting the idra service {{cmdroot|service irda start}}. If not try the following;&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&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;
&lt;br /&gt;
Make sure that setserial is in right directory (e.g not in /usr/bin/setserial).After that if irdadump still gives nothing try: &lt;br /&gt;
 echo 1 &amp;gt; /proc/sys/net/irda/discovery&lt;br /&gt;
&lt;br /&gt;
== Known problems ==&lt;br /&gt;
* If you read something like &amp;quot;ttyS1: LSR safety check engaged!&amp;quot; and &amp;quot;irattach: tcgetattr: Input/output error&amp;quot; in the system log, try limiting the FIR max baud rate (echo 57600 &amp;gt; /proc/sys/net/irda/max_baud_rate). This did the trick for me when I was trying to synchronize my Ericsson T39m with my Thinkpad R51 (multisync, evolution-2.8, KDE 3.5.5, openSUSE 10.2).&lt;br /&gt;
* If you get an error in syslog like &amp;quot;nsc_ircc_open(), can't get iobase of 0x2f8&amp;quot; it probably means you have manually specified resources for IrDA in the BIOS. When you do that you effectively allow the serial driver to take control, and as a result the nsc_ircc driver can no longer take control of the resources. Options are to either restore the BIOS settings for IrDA to factory default, or you can work around it by using setserial to clear the resources before loading the nsc_ircc kernel module&lt;br /&gt;
 setserial /dev/ttyS1 uart none port 0 irq 0; modprobe nsc_ircc&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;
LIRC allows the use of infrared remote controls with Linux as input devices. This can be especially useful to control applications like mplayer, xine, mythtv or boxee. Usually, IrDA ports are not compatible with LIRC, but you may have luck using lirc_sir, as follows;&lt;br /&gt;
{{NOTE|lirc_sir is incompatible with the regular Linux IrDA drivers (nsc_ircc). You can only use one at a time, and will have to reboot before you can switch}}&lt;br /&gt;
{{NOTE|Even if your successful in getting this to work, you might find that the distance between remote control and receiver on the ThinkPad cannot exceed ~50cm, rendering it effectively useless. This can vary depending on Remote and ThinkPad used, there has been one successful report of a T60 with &amp;gt;2M}}&lt;br /&gt;
====Success reports====&lt;br /&gt;
* R40&lt;br /&gt;
* T41&lt;br /&gt;
* T60&lt;br /&gt;
600&lt;br /&gt;
&lt;br /&gt;
====Failure reports====&lt;br /&gt;
lirc_sir does not always work, particular on newer machines it seems the module loads when following these instructions, but the device {{path|/dev/lirc0}} cannot be opened and returns a device or resource busy. You can simply test this by typing {{cmdroot|cat /dev/lirc0}}&lt;br /&gt;
* T60&lt;br /&gt;
===Configuring lirc_sir===&lt;br /&gt;
Go into your BIOS setup, and ensure that Infrared is fully enabled and that resources are assigned. I suggest using IO 2f8 and IRQ 3.&lt;br /&gt;
&lt;br /&gt;
Boot into Linux, and first ensure the setserial program is installed. Running {{cmdroot|/bin/setserial /dev/ttyS1}} should return at this point:&lt;br /&gt;
 /dev/ttyS1, UART: undefined, Port: 0x02f8, IRQ: 3&lt;br /&gt;
If setserial cannot be found, install the setserial package with your distributions package management software&lt;br /&gt;
&lt;br /&gt;
Then create a file {{path|/etc/modprobe.d/lirc.conf}} with the following content:&lt;br /&gt;
 # prevent nsc_ircc from loading (blacklist might not be enough)&lt;br /&gt;
 blacklist nsc_ircc&lt;br /&gt;
 install nsc_ircc /bin/true&lt;br /&gt;
 # pass options to lirc_sir to load it on ttyS1&lt;br /&gt;
 options lirc_sir io=0x2f8 irq=3&lt;br /&gt;
 # ensure serial resources are cleared before loading lirc_sir&lt;br /&gt;
 # not doing so can result in a device busy error, or can even hang your system&lt;br /&gt;
 install lirc_sir /bin/setserial /dev/ttyS1 uart none port 0 irq 0; /sbin/modprobe --ignore-install lirc_sir&lt;br /&gt;
&lt;br /&gt;
At this point it is best to reboot, to ensure that nsc_ircc was never loaded. Several things can go wrong if the steps are not followed accurately. You might get an error when loading lirc_sir that the device is busy, or your system may even hang.&lt;br /&gt;
&lt;br /&gt;
Now do a {{cmdroot|modprobe lirc_sir}} and check {{cmdroot|dmesg}} output. You should see something like this:&lt;br /&gt;
 lirc_dev: IR Remote Control driver registered, major 61&lt;br /&gt;
 lirc_dev: lirc_register_plugin: sample_rate: 0&lt;br /&gt;
 lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
 lirc_sir: Installed.&lt;br /&gt;
&lt;br /&gt;
===Configuring LIRC===&lt;br /&gt;
If you did not yet install LIRC, then do so now using your distributions package management system.&lt;br /&gt;
&lt;br /&gt;
====Ubuntu====&lt;br /&gt;
Make sure your {{path|/etc/lirc/hardware.conf}} looks like this:&lt;br /&gt;
 REMOTE=&amp;quot;SIR IrDA (built-in IR ports)&amp;quot;&lt;br /&gt;
 REMOTE_MODULES=&amp;quot;lirc_dev lirc_sir&amp;quot;&lt;br /&gt;
 REMOTE_DRIVER=&amp;quot;&amp;quot;&lt;br /&gt;
 REMOTE_DEVICE=&amp;quot;/dev/lirc0&amp;quot;&lt;br /&gt;
 REMOTE_LIRCD_CONF=&amp;quot;&amp;quot;&lt;br /&gt;
 REMOTE_LIRCD_ARGS=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER=&amp;quot;None&amp;quot;&lt;br /&gt;
 TRANSMITTER_MODULES=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER_DRIVER=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER_DEVICE=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER_LIRCD_CONF=&amp;quot;&amp;quot;&lt;br /&gt;
 TRANSMITTER_LIRCD_ARGS=&amp;quot;&amp;quot;&lt;br /&gt;
 START_LIRCD=&amp;quot;true&amp;quot;&lt;br /&gt;
 START_LIRCMD=&amp;quot;&amp;quot;&lt;br /&gt;
 LOAD_MODULES=&amp;quot;&amp;quot;&lt;br /&gt;
 LIRCMD_CONF=&amp;quot;&amp;quot;&lt;br /&gt;
 FORCE_NONINTERACTIVE_RECONFIGURATION=&amp;quot;false&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After this, start (or re-start) the lirc daemon, and set it to automatically start on bootup.&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service lirc restart}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{cmdroot|update-rc.d lirc defaults}}&lt;br /&gt;
====Fedora====&lt;br /&gt;
On Fedora the default LIRC device is already set to /dev/lirc0&lt;br /&gt;
&lt;br /&gt;
{{Todo|best way of ensuring lirc_sir is loaded before lircd is started? The config file /etc/sysconfig/lirc does not seem to help. Perhaps an alias line in the modules config file if someone knows the correct syntax?}}&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|service lirc restart}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{cmdroot|chkconfig lirc on}}&lt;br /&gt;
&lt;br /&gt;
===Testing LIRC===&lt;br /&gt;
Now we are ready to test if we can receive IR data from a remote control.&lt;br /&gt;
&lt;br /&gt;
Try running {{cmdroot|irrecord -d /dev/lirc0 foo}} and follow the onscreen instructions. When asked keep a button on a remote pressed while pointing at the ThinkPad IR port and you should see dots appear.&lt;br /&gt;
&lt;br /&gt;
You are now able to start configuring LIRC for your specific remote control.&lt;br /&gt;
&lt;br /&gt;
Configuring remote controls is out of scope for this document and you should check the LIRC website for detailed instructions. But if your using Gnome you might want to try {{cmd|gnome-lirc-properties|$}}, or in the case of KDE {{cmd|kdelirc|$}}.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|Current versions of gnome-lirc-properties (at least up to 0.3.1) do not support lirc_sir, you need to first edit {{path|/usr/share/gnome-lirc-properties/receivers.conf}} and add the following:&amp;lt;br&amp;gt;&amp;lt;pre&amp;gt;[Generic: IrDA SIR Receiver]&lt;br /&gt;
kernel-module = lirc_sir&lt;br /&gt;
device-nodes  = /dev/lirc0&amp;lt;/pre&amp;gt;&lt;br /&gt;
After this you can select Generic - IrDA SIR Receiver from the drop down menus (autodetect will not pick it up)}}&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 (LIRC)] (External)&lt;/div&gt;</summary>
		<author><name>Hagen-cool</name></author>
		
	</entry>
</feed>