LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-12-2013, 12:58 PM   #1
sagaciouskjb
LQ Newbie
 
Registered: Oct 2009
Posts: 13

Rep: Reputation: 0
LIRC Problems: Init script not functioning, no control of unfocused windows


Hello, I just installed Xubuntu 12.04 LTS and I'm having some problems getting LIRC to work the same as it did on my previous Xubuntu 8.04 installation.

First problem first... The init.d script doesn't launch the daemon correctly. I have no idea what the problems specifically is, but if launched from the script LIRC doesn't accept any input or control Mplayer. If however I run "/usr/sbin/lircd" from the command prompt it starts working.

But the catch is still that it's not working like it use to on 8.04... It seems that I have to have the Mplayer window in focus for LIRC to send any remote input to it, which totally defeats the purpose for me.

I don't really know where to start working this out... For one thing, if I can't control a window that doesn't have focus then there's no point in continuing. Is there something else with LIRC I need to configure to make this possible?

If I can get that working then I guess just making my own RC script would be pretty simple...

Help?

Edit:

Okay I managed to find someone with a similar-ish problem and edited my /etc/lirc/hardware.conf file. I changed the these settings to the following

Code:
REMOTE_MODULES="false"
...
LOAD_MODULES="lirc_dev lirc_mceusb"
Now it works when launching from the init script, but I still have no control of mplayer when the window is unfocused.

Last edited by sagaciouskjb; 03-12-2013 at 02:35 PM.
 
Old 02-18-2014, 05:46 PM   #2
nixternal
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
Just wondered if you found a fix to this issue. I am working on a project where mplayer is called from a script and I cannot control it via lirc & the remote. If I run mplayer from the command line it works perfectly fine. Obviously a 'not in focus' issue. Thanks!
 
  


Reply



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
Domain control of samba 3 not functioning. cracknut Linux - Server 4 08-26-2011 12:09 AM
[SOLVED] Installed LIRC-0.9.0 on Fedora 14, /dev/lirc was not created, lirc programs won't run FalkiD Linux - Software 4 06-06-2011 09:33 AM
Remote control and lirc? Japi Linux - Hardware 1 03-22-2006 05:39 AM
lirc init script... El_Angelo Slackware 4 09-25-2003 01:20 AM
Lirc remote control SchwipSchwap Linux - Newbie 6 09-23-2003 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:55 PM.

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