[mythtv-users] Can't get Streamzap remote to work (SOLVED)

Paul McDermott paul at tintagel.free-online.co.uk
Sat Dec 13 21:38:19 EST 2003


I've been struggling to get my Streamzap remote control working. I've
finally got it cracked, so I thought I would summarise here.

I patched the lirc source for the Streamzap remote control, following
the instructions on the patch website
(http://sourceforge.net/projects/szremote/). The patch compiled and
installed OK, but I couldn't get my remote to work. Log messages
indicated that the lirc_dev module wasn't getting loaded.

(Make sure you are using the CVS copy of lirc corresponding to the date
recommended for the patch if your are experiencing compilation
problems).

It turns out that I had multiple versions of lirc_dev on my machine. I'm
running Mandrake 9.2 with the 2.4.21 kernel. It looks like this kernel
comes with lirc support included--but of course this is not the version
of lirc with the Streamzap patch. locate was able to find the other
versions of lirc_dev.o:

  [root at mediacentre rc.d]# locate lirc_dev.o
  /usr/local/src/lirc/drivers/lirc_dev/lirc_dev.o
  /usr/local/src/lirc/drivers/lirc_dev/.lirc_dev.o.flags
  /lib/modules/2.4.22-21mdk/kernel/3rdparty/lirc/lirc_dev.o.gz
  /lib/modules/2.4.22-21mdk/misc/lirc_dev.o

The compressed copy in 3rdparty/lirc was the original version. The copy
in misc was the patched version, installed from my compilation directory
/usr/local/src/lirc. depmod was picking up the original version of
lirc_dev as a dependency for lirc_streamzap, not the new version. (I'm
guessing because 'kernel' comes before 'misc' in the directory list).

Removing the lirc directory from kernel/3rdparty and re-running depmod
-a sorts out the module dependencies and does the trick. (Can anyone
suggest a way to give hints to depmod as to which directories take
priority??)

Hope this helps someone out further down the road...

Paul




More information about the mythtv-users mailing list