[ATrpms-users] lirc not working with kernel 2.6.22 and Leadtek Winfast 2000XP

Jeffrey J. Kosowsky atrpms at kosowsky.org
Tue Nov 6 15:37:55 CET 2007


Before kernel 2.6.22, I was successfully using lirc 0.8.2 and the
lirc_gpio kernel module to run lirc using my Leadtek Winfast 2000XP
Deluxe ir controller and remote.

Apparently, some change in kernel 2.6.22 broke the lirc_gpio kernel
module. Specifically, when I try to load it, I get the error message:

FATAL: Error inserting lirc_gpio
(/lib/modules/2.6.22.9-61.fc6/updates/drivers/lirc/lirc_gpio.ko):
Operation not permitted 

So, then I tried to use the newer method using the /proc/bus/input
drivers.

Specifically, I now start lircd using:
	 lircd -H dev/input -d name="bttv IR (card=34)"

So far, everything seems to work in that I get the following syslog
messages: 
     lircd-0.8.3-CVS[17684]: lircd(userspace) ready
(note: I upgraded to lirc-0.8.3 too)

However, none of the clients I run seem to work now. For example, when
I run 'irw', I get no response.

Note that according to the syslog, things seem to be working fine
since I get the following messages when starting a lirc client
	  lircd-0.8.3-CVS[17684]: accepted new client on/dev/lircd
	  lircd-0.8.3-CVS[17684]: initializing'name=bttv IR (card=34)'

and when closing the client:
	  lircd-0.8.3-CVS[17684]: removed client
	  lircd-0.8.3-CVS[17684]: closing '/dev/input/event3'


I also tried running irrecord as follows:
  irrecord -H dev/input -d name="bttv IR (card=34)" myfile

However, I get the following error message:
	irrecord: gap not found, can't continue
	irrecord: closing '/dev/input/event3'

- Any ideas on what is going wrong and how to fix it?
- Am I doing something wrong with the /dev/input method?
- Is the Winfast 2000XP controller compatible with this method? (I saw
  one old reference mentioning that this controller might not work
  with the /dev/input method)
- If /dev/input won't work, is there any way to get the old lirc_gpio
  method to work? (short of regressing to a pre 2.6.22 kernel)



More information about the atrpms-users mailing list