Here's a brief info how to configure Tekram IRmate 210B COM SIR IR transiever under Linux (ASP 10). I'm using my own init file instead of tweaking multiple system config files here. You can setup this more common way, just read the docs and get the main idea from here: the driver for the device is lirc_sir and you have to pass IRQ and IO numbers to it. Figuring that out took me about 3 hours, as googled sources were all suggesting using lirc_serial! echo "Setting up lirc..." # You have to know to which COM port your IRmate is atatched. # Free the port from UART: # Load SIR kernel module. Here are commonly used IRQ and IO port # On my machine, this dog creates device as lirc0, while programs # Start lirc service (don't forget to install lirc))): Run the script as root and check for errors in console and in /var/log/messages. Then, follow instructions on lirc website how to create /etc/lircd.conf and then you can go on to setting up user-end stuff (e.g. KDE has a nice and easy to use RC service). Comments:
Comment from: S.A.G.e [Member]
My lirc setup script under ASP Linux 11. Standard lirc-0.7 has been removed with --nodeps. lirc-0.8 with proper driver was compiled and installed from tar.bz2. Don't forget to run ldconfig after installing new lirc, or apps liked with liblirc won't run.
#!/bin/sh echo "Setting up lirc..." /usr/bin/killall lircd /bin/setserial /dev/ttyS1 uart none /sbin/rmmod lirc_sir /sbin/modprobe lirc_sir irq=3 io=0x2f8 /bin/chgrp users /dev/lirc* /bin/chmod 0660 /dev/lirc* /usr/local/sbin/lircd Leave a comment:Archives
|