There are numerous documents discussing lirc setup. My system configuration is on a R5F27 installation with one pvr350 and one pvr150. I just set up the ir emitter on the pvr150 yesterday. My intention was to use the ir emitter to control my digital box and use both ir receivers (on the pvr150 and pvr350) for better receiving coverage in my living room.
Previously, I just used the ir receiver on the pvr350, which used the lirc_i2c module. This registered /dev/lirc0 for my pvr350 and /dev/lirc1 for my pvr150, but I couldn't get the ir emitter to work with the lirc_i2c module.
I blacklisted the lirc_i2c module so I could use the lirc_pvr150 module with my pvr150. Then, I couldn't get any lirc devices to work. I noticed that I only had /dev/lirc0. So, I changed the emitter scripts to using that device and it worked. However, my ir receiver isn't working on the pvr150, and I can't get the pvr350's ir receiver to work either. The pvr350's registers i2c unknown key errors in syslog, but I can't get anything with irw /dev/lirc1 (when I create lirc1 manually and start a separate lircd for it). So, my assumption is that the lirc_pvr150 module is not working for my pvr350. Can anyone confirm or refute that hunch?
I tried manually loading the lirc_i2c module to see if that would make my pvr350 receiver work again, but it didn't. The output is below.
Code:
> modprobe -v lirc_i2c
insmod /lib/modules/2.6.18-chw-13/misc/lirc_i2c.ko
May 31 01:14:00 dvrbox kernel: cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
May 31 01:14:00 dvrbox kernel: kobject_add failed for i2c ir driver with -EEXIST, don't try to register things with the same name in the same directory.
May 31 01:14:00 dvrbox kernel: [<c02f7f76>] kobject_add+0x116/0x190
May 31 01:14:00 dvrbox kernel: [<c02f814b>] kobject_register+0x1b/0x40
May 31 01:14:00 dvrbox kernel: [<c0359bfc>] bus_add_driver+0x5c/0x130
May 31 01:14:00 dvrbox kernel: [<f8de44a1>] i2c_register_driver+0x21/0xa0 [i2c_core]
May 31 01:14:00 dvrbox kernel: [<faa68567>] init_module+0x37/0x40 [lirc_i2c]
May 31 01:14:00 dvrbox kernel: [<c013fe73>] sys_init_module+0x133/0x1ba0
May 31 01:14:00 dvrbox kernel: [<c015dd7d>] __handle_mm_fault+0x23d/0x950
May 31 01:14:00 dvrbox kernel: [<c0170d7d>] vfs_write+0xed/0x160
May 31 01:14:00 dvrbox kernel: [<c0119cd1>] do_page_fault+0x141/0x5a8
May 31 01:14:00 dvrbox kernel: [<c01031f7>] syscall_call+0x7/0xb
My hardware.conf file follows. There is only one device listed here, and from my quick look at the start up in /etc/init.d/lirc it won't handle multiple devices anyway.
Code:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
#MODULES="lirc_dev lirc_i2c"
MODULES="lirc_dev lirc_pvr150"
My main thing is that I want at least one of my ir receivers working while keeping the ir transmitter going on the pvr150. I can't really explain why the receiver is not working on the pvr150. It doesn't register anything on any log. Any advice is appreciated.