Does XBMC require LIRC for remote controls to work?
#1
I've installed Ubuntu (minimal) and XBMC (compiled from SVN) and my MCE remote is working great out of the box, but I thought LIRC was required?

I checked and it's not installed on my system so I guess it's not required...?

Also, how can I get the power button to turn off (suspend) my XBMC machine?

Can I also make a button (via irw/lirc I guess?) to force XBMC to be killed in case it freezes?
Reply
#2
sofakng Wrote:I've installed Ubuntu (minimal) and XBMC (compiled from SVN) and my MCE remote is working great out of the box, but I thought LIRC was required?

I checked and it's not installed on my system so I guess it's not required...?

Also, how can I get the power button to turn off (suspend) my XBMC machine?

Can I also make a button (via irw/lirc I guess?) to force XBMC to be killed in case it freezes?

Search your log file ...
I bet LIRC is installed
Reply
#3
I'm fairly new to linux but my xbmc.log only contains three messages containg "lirc":
Code:
19:58:44 T:3078088576 M:1467703296  NOTICE: Resume: Restarting lirc
20:01:24 T:3078088576 M:1462349824  NOTICE: Resume: Restarting lirc
06:16:41 T:3078088576 M:1244749824  NOTICE: Resume: Restarting lirc

Also, when I type "irw" at the command prompt, it asks me to install lirc:
Code:
xbmc@htpc-upstairs:~/.xbmc/temp$ irw
The program 'irw' is currently not installed.  You can install it by typing:
sudo apt-get install lirc
irw: command not found
Reply
#4
your mce remote is emulating a keyboard. only rudimentary functions work. for proper support, lirc is needed. that includes getting the power button to work.
Reply
#5
Oh, I see. Thanks a bunch for the information.
Reply
#6
I've installed LIRC but my remote is still sending keyboard commands... (even in the console!)

Is there something else I need to do?

I've tried running 'irw' and it doesn't even display anything because it seems like the remote is acting 100% like a keyboard...
Reply
#7
What remote, Philips or...? That is in etc/lirc/devices?
Reply
#8
I don't have an /etc/lirc/devices file...

However, I'm wondering if my remote control receiver is actually translating the commands into keyboard commands.

The remote control is really generic (it was only $10) but is supposedly to be compatible with XBMC/MCE. I'm not at home so I can't look but I don't believe the remote has any brand name on it... (it's definitely not an official MCE remote because I also have one of those)
Reply
#9
Quote:However, I'm wondering if my remote control receiver is actually translating the commands into keyboard commands.

It is the receiver that determines how linux sees the remote. How it works if you mix "keyboard" reciever with a "remote" remote I have no idea.
Reply
#10
sofakng Wrote:I don't have an /etc/lirc/devices file...

it's definitely not an official MCE remote because I also have one of those


To enter into the terminal XBMC ctrl+alt+F1 (or F2-F6)
Login
Password
Run In terminal
sudo nano /proc/bus/input/devices --- Search Remote
Exit from the nano ctrl+X
Exit from the terminal Alt+F7 (sometimes ctrl+alt+F7)
-----------

The useful
lsusb
or
sudo nano /etc/lirc/hardware.conf
------------
or install mc commander (so it is easier)
sudo apt-get update
sudo apt-get install mc
after installation run in the teminal
mc ---- for viewing of files
or for editing
sudo mc
Image
Exit in the terminal F10
----------------------
Excuse for my bad English
Reply

Logout Mark Read Team Forum Stats Members Help
Does XBMC require LIRC for remote controls to work?0