01-07-07 12:18 AM
I got the streamzap working. I'm going to post
here what I did in case it is helpful to anyone else. I found this post
very useful in getting a sense of the overall strategy:
http://ubuntuforums.org/showthread....&highlight=lirc
My problem was that LIRC 0.8.0 as installed by Debian did not include
lirc_streamzap, the necessary kernel module for the streamzap remote. I
am using the 2.6.18 kernel with Debian etch. I do not claim that all of
the following steps are necessary, so if anyone cares to comment or
correct obvious misstatements or misunderstandings I would be quite
interested. The critical step is to compile a kernel module for the
streamzap. After that, Debian lirc seems to work fine.
I am not going to detail every little step here because 1) I don't
remember every little step and 2) none of the step-by-step directions I
found worked in my case, so I am supposing that mine will likely not
work in your case. Here is what I did:
0. Cleaned out everything from my former attempts to get this working,
including lirc and lirc-modules-source.
1. Installed linux-source-2.6.18 and unzipped it, and made a soft link
so that /usr/src/linux pointed to the unzipped source. I ran "make
oldconfig" and "make prepare" in the /usr/src/linux directory. I also
created the Rules.make file ("sudo touch /usr/src/linux/Rules.make") as
in the above post.
2. Obtained lirc-0.8.1pre4.tar.bz2 (from CVS snapshots in www.lirc.org)
and unzipped it.
3. Ran ./setup.sh, selected the streamzap (from the usb section). After
configure, ran make and make install.
4. modprobe lirc_streamzap (this installs the streamzap module).
5. apt-get install lirc . This installs the 0.8.0 version of lirc. I did
this in order to a) avoid a manual install and b) to leave apt in
control of LIRC. I suspect will make future upgrades easier.
6. Copied lircd.conf.streamzap (which is included with Debian lirc) to
/etc/lirc/lircd.conf, and told /etc/lirc/hardware.conf to load lirc_dev
and lirc_streamzap.
7. "/etc/init.d/lirc restart". Using irw, I confirmed that all is working.
This is really just a sketch, but I hope it's helpful. I think it will
be necessary to repeat the building of lirc_streamzap when doing a
kernel upgrade, at least until Debian includes this module in lirc.
I should note that one posting I found said to check
/proc/bus/input/devices for the remote. The streamzap (which is USB)
doesn't appear there even after it's working. Instead, you can check for
the existence of /dev/lirc0 (assuming you just have one IR device).
[ Post a follow-up to this message ]
|