LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-18-2006, 10:22 PM   #1
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Rep: Reputation: 15
Cannot get lirc to work in Mandriva


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.

Is there a step that I am missing here?

Please help!
 
Old 02-19-2006, 12:00 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Do you have any /dev/lirc* devices? What is the output of 'lsmod | grep lirc'?
 
Old 02-19-2006, 09:56 AM   #3
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Original Poster
Rep: Reputation: 15
This is the output of 'lsmod | grep lird'

lirc_serial 11712 0
lirc_dev 11812 1 lirc_serial

What are those, the IR transmitter and/or receiver?

Thanks for the quick reply
 
Old 02-19-2006, 05:02 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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
 
Old 02-19-2006, 06:07 PM   #5
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Original Poster
Rep: Reputation: 15
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.


Nothing is dumped when I
$cat /dev/lirc/0

Thank you for your help!
 
Old 02-19-2006, 09:26 PM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
Nothing is dumped when I
$cat /dev/lirc/0
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
 
Old 02-20-2006, 07:33 AM   #7
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Original Poster
Rep: Reputation: 15
Thanks.

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?

Thanks
 
Old 02-20-2006, 07:28 PM   #8
eikeland
Member
 
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Original Poster
Rep: Reputation: 15
If I try to remove lirc, I get a message that a bunch of other stuff has to be deleted:

Because of their dependencies, the following package(s) also need to be
removed:

acidrip-0.14-2mdk, liblirc0-devel-0.7.1-5mdk, libmyth0.18-0.18.2-0.7467.1.1.20060plf,
libmyth0.18-devel-0.18.2-0.7467.1.1.20060plf, lirc-0.7.1-5mdk,
lirc-remotes-0.6.6-4mdk, mencoder-1.0-1.pre7.12plf,
mplayer-1.0-1.pre7.12mdk, mplayer-fonts-1.1-0.lvn.3.2,
mplayer-gui-1.0-1.pre7.12mdk, mythbrowser-0.18.2-0.7468.0.1.20060plf,
mythcontrols-0.18.1-20050620.3plf, mythdvd-0.18.2-0.7468.0.1.20060plf,
mythgallery-0.18.2-0.7468.0.1.20060plf, mythgame-0.18.2-0.7468.0.1.20060plf,
mythmkmovie-1.1.3-3plf, mythmusic-0.18.2-0.7468.0.1.20060plf,
mythnews-0.18.2-0.7468.0.1.20060plf, mythphone-0.18.2-0.7468.0.1.20060plf,
myththemes-0.18.2-0.7468.0.1.20060plf, mythtv-backend-0.18.2-0.7467.1.1.20060plf,
mythtv-frontend-0.18.2-0.7467.1.1.20060plf, mythtv-setup-0.18.2-0.7467.1.1.20060plf,
mythtv-theme-gant-0.20031201-2plf, mythtv-theme-purplegalaxy-0.20031214-2plf,
mythtv-theme-sleek-0.35-2plf, mythtv-theme-visor-0.20031219-2plf,
mythvideo-0.18.2-0.7468.0.1.20060plf, mythweather-0.18.2-0.7468.0.1.20060plf,
mythweb-0.18.2-0.7468.0.1.20060plf, python-lirc-0.0.4-2mdk,
totem-1.0.4-2mdk, xaw

I don't think I will do this since I spent a lot of time getting mythtv up and running.

Any other suggestions?
 
Old 02-20-2006, 11:27 PM   #9
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox 1.5 does not work in my Mandriva 2006 TigerLinux Mandriva 7 05-14-2006 04:15 PM
Suse's Ivtv And Lirc Don't Work, cat: /dev/video: No such device lagu2653 SUSE / openSUSE 0 12-09-2005 10:09 AM
Lirc won't work, Hauppauge PVR 350, not irrecord either lagu2653 Linux - Hardware 3 12-02-2005 05:15 PM
Lirc doesn't work, irrecord does fraz Linux - Hardware 4 10-05-2005 05:27 AM
can lirc work without compiling a module? mstrimel Linux - Software 3 01-29-2005 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration