Saturday, October 01, 2005

could not get file information for /dev/lirc

I ended up ruining my Mythtv setup and reinstalling from scratch. The Wilson Myth(TV)ology instructions have moved on to using Fedora Core 4. Frustration was around every corner, as little things were missing. For example, it wasn't mentioned that you had to download and install the firmware for the pcHDTV capture board.

But the longest running problem was getting my ATI Remote Wonder working again. The OS recognized the existence of the USB receiver, and it worked as a mouse, but everytime I tried running irw, irw would immediately quit, and in the process lockup the lircd daemon. If I looked in the log files, I would see the warning "could not get file information for /dev/lirc" and true enough, the only device for the lirc framework was the /dev/lircd interface, no lirc or lirc0 nodes as every online tutorial said there would be after the install.

I did a lot of googling, and finally found this posting on the MythTV website. Basically, it said, I couldn't use both the module which gave me mouse functionality (ati_remote), and the module which allowed lirc to read from the device (lirc_atiusb). Sure enough

#/sbin/lsmod

said that both modules were loaded. I had to disable the ati_remote module, so I first found it:

#locate ati_remote
#/lib/modules/2.6.12-1.1447_FC4/kernel/drivers/usb/input/ati_remote.ko

So, I went in and changed the name of the ati_remote.ko kernel extension to ati_remote_disabled, rebooted, and all of a sudden lirc could see the Remote Wonder.