Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having some problems getting lirc to work with my mythtv install. I have installed lirc (0.7.1), but it doesn't seem to do anything. The lircd and lircmd daemons are running, so that looks good. I also created a conf file in /etc/lircd.conf. I am using a serial port IR receiver and transmitter (from http://www.irblaster.info/). I have also modified the lircd.conf file to use the default driver, and
HWMOD=lirc-dev
HXMOD=lirc-i2c
lircd and lircmd is running, I think! I am using a generic X10 remote control, that I am prepared to modify the config file for.
I think I am supposed to be able to run 'irw' and see some output on the screen. However, when I run the command, I usually get 'Connection refused'. Not sure why I 'usually' get this, but I guess something else is using the resource.
However, no matter what buttons I press, nothing seems to be happening.
Are there are lirc* devices in /dev? There should be but it's always nice to check. Yes, those modules are the receiver, lirc_dev is the core module and lirc_serial is the interface specifically for your device. I have lirc_dev and lirc_streamzap loaded for example
If you do in fact have /dev/lirc0 or /dev/lirc/0 or something similar (not /dev/lircd) then try entering this and then press some buttons on the remote, see ifanything gets dumped to your terminal.
Code:
cat /dev/lirc0
If you get a permissions error just chmod the device node to 666
Yes, I 3 lirc files in /dev/:
/dev/lirc/
There is just one file '0' in this directory.
I also have a lircd file. This is strange, cause it says that even as root I can't open the file! Not sure what's in this file.
srw-rw-rw- 1 root root 0 Feb 19 10:27 lircd=
I also have:
prw-r--r-- 1 root root 0 Feb 19 10:28 lircm|
Not sure why there is just a vertical bar there instead of a number or something.
If nothing turns up on your terminal when you're pushing buttons on the remote, then you have a problem. Try lirc-0.8 to see if you have and more luck with the newer version. I also found I had far more success with LIRC when I compiled it myself, I don't know how you installed 0.7.1 but compiling 0.8 may make all the difference
I don't remember how I installed it, but I will try to upgrade it when I get home. Do you have any recommendations on what I need to remove so I don't get any conflicts when I upgrade to 0.8?
Hmm not really. Maybe you could use the source to make a 0.8 RPM and then just upgrade? Never really used an RPM distro to help with the procedure but it shouldn't be too hard.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.