[mythtv-users] OT: Help with LIRC 0.7pre8, FC2 and kernel 2.6.8

Shawn Flynn shawn at shawnflynn.com
Wed Nov 3 02:40:12 UTC 2004


Hello everyone,

I posted this to the lirc list, but got no responses. I'm hoping someone
here will be able to assist me. It's the last piece of the puzzle that I
need to get working before I move my frontend into the living-room.

I am trying to install LIRC 0.7.0pre8 on my Fedora Core 2 system and seem to
have hit an impasse. I am hoping someone here can help point out what I am
doing wrong.

First, my system consists of...
	Fedora Core 2
	Kernel version 2.6.8-1.521
	lirc-0.7.0pre8 cvs snapshot from Oct 9
	Packard Bell FastMedia remote attached to com1

I downloaded the lirc-0.7.0pre8 snapshot, ran ./setup.sh and selected "Other
Serial" > "Packard Bell" as the remote, then did a "Run Configure". After
that it was "make" and "make install." Both ran without any errors. I did a
"chmod 666 /dev/lircd" and added "alias char-major-61 lirc_serial" to my
/etc/modprobe.conf as indicated in the documentation. Grab the packard_bell
lirc.conf example from the lirc.org website and copy it to /etc/lirc.conf

Now on to loading lirc with..
	# /sbin/depmod -a
	# /sbin/modprobe lirc_serial

/var/log/messages tell me..
	kernel: Badness in sleep_on_timeout at kernel/sched.c:2562
	kernel:  [<0228a615>] sleep_on_timeout+0x5d/0xb1
	kernel:  [<0211600e>] default_wake_function+0x0/0xc
	kernel:  [<0211b8c8>] __request_region+0x56/0x79
	kernel:  [<0e9688c8>] init_port+0x1cb/0x22f [lirc_serial]
	kernel:  [<0e968ffc>] init_module+0x33/0x89 [lirc_serial]
	kernel:  [<02128a74>] sys_init_module+0xd3/0x198
	kernel: lirc_serial: auto-detected active high receiver
	kernel: lirc_dev: lirc_register_plugin:sample_rate: 0

I'm not sure if that's the expected response, but it appears that lirc has
installed, so I forge ahead...

	# /sbin/chkconfig lircd on
	# /sbin/service lircd start
	Starting infrared remote control daemon:                   [  OK  ]

/var/log/messages seems promising...
	lircd 0.7.0pre8[2929]: lircd(packard_bell) ready
	lircd: lircd startup succeeded

Now to test with "irw" and.... nothing :-(

It doesn't pickup my remote. Ok, check with "mode2" and it spits out data
when I press buttons on the remote, so I figure it must be an issue with the
lirc.conf file and try to create a new lirc.conf with "irrecord."

"Irrecord" goes through its motions to create a new lirc.conf (it chose raw
mode from some reason) and I copy this to the correct location and go
through the motions of unloading and reloading lirc_serial and lircd.

Same result... "irw" shows me nothing. :-(

"mode2" and "xmode2" both agree that the remote is operating, but I can't
seem to get lircd to decide to do anything with it. Does anyone have any
suggestions as to what I am missing? What should I try next?

Thanks in advance,
Shawn Flynn



More information about the mythtv-users mailing list