[LINUX] Anyone tried XBMC for Linux on the new Mac Mini with NVIDIA 9400 graphics?
#76
Any news on the long button presses? I'm having the same issue
Reply
#77
I attempted to follow the instructions here and am getting no where when I put in sudo nautilus etc/lirc it just says no such file or directory.

I installed LIRC, its there in the package manager.

Why does linux have to be so complicated?
Reply
#78
Hi! I'm stuck into getting xbmc to react to the remote as well. irw does detect the presses correctly. Anyone else managed to get this going? What's the missing step?

Should there be any "remote: lirc" setting in xbmc's devices configuration? I'm moving away from the MacOS version, which has a "remote" selection combo, and I was surprised to not see any on linux's build.

I'm trying xbmc 10.1.
Reply
#79
I've enabled debug log, and I see:

...
03:41:58 T:139715914762336 M:184487936 DEBUG: LIRC: Update - NEW at 180923:0000000087ee9b0a 00 Exit Harmony (Exit)
03:41:59 T:139715914762336 M:184479744 DEBUG: LIRC: Update - NEW at 181989:0000000087ee9b0a 00 Exit Harmony (Exit)
03:42:02 T:139715914762336 M:184479744 DEBUG: LIRC: Update - NEW at 184656:0000000087ee960b 00 Up Harmony (Up)
03:42:03 T:139715914762336 M:184479744 DEBUG: LIRC: Update - NEW at 185490:0000000087ee960d 00 Down Harmony (Down)
03:42:03 T:139715914762336 M:184479744 DEBUG: LIRC: Update - NEW at 186255:0000000087ee960d 00 Down Harmony (Down)
03:42:04 T:139715914762336 M:184487936 DEBUG: LIRC: Update - NEW at 187105:0000000087ee960d 00 Down Harmony (Down)
...

So it appears xbmc is getting the events, but isn't reacting to them? Any ideas?
Reply
#80
A-ha! strace to the rescue!

$ strace -f -o strace.log xbmc
... run xbmc press a few keys, exit ...
$ grep -i xml strace.log | grep -i lirc
18299 stat("/home/pedro/.xbmc/userdata/Lircmap.xml", 0x7fff8bc28d90) = -1 ENOENT (No such file or directory)
18299 open("/usr/share/xbmc/userdata/Lircmap.xml", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)
18299 stat("/usr/share/xbmc/userdata/Lircmap.xml", 0x7fff8bc28760) = -1 ENOENT (No such file or directory)
18299 stat("/usr/share/xbmc/userdata/Lircmap.xml", 0x7fff8bc28760) = -1 ENOENT (No such file or directory)
18299 open("/usr/share/xbmc/userdata/Lircmap.xml", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)
18299 stat("/usr/share/xbmc/system/Lircmap.xml", {st_mode=S_IFREG|0644, st_size=10314, ...}) = 0
18299 open("/usr/share/xbmc/system/Lircmap.xml", O_RDONLY|O_NONBLOCK) = 22
18299 stat("/home/pedro/.xbmc/userdata/Lircmap.xml", 0x7fff8bc28a60) = -1 ENOENT (No such file or directory)
18299 stat("/home/pedro/.xbmc/userdata/Lircmap.xml", 0x7fff8bc28ab0) = -1 ENOENT (No such file or directory)

There you go, the Lircmap file should be named "Lircmap.xml" not "Lircmap.conf". Just renamed it, and the remote worked immediately.

IMO, it'd be nice to move all this info to the xbmc wiki, and perhaps even push the lirc.conf.harmony file to lirc upstream.
Reply
#81
try this....http://teknogeekz.com/blog/?p=422

old thread I know but at least for the benefit of others searching
Reply
#82
Thanks Tekno, this is working great! :-)
Now the last step would be to wake up the Mini via the small apple remote.
When activating the resume capabilities of the built in IR receiver I could wake up the Mini with my AVR Remote but not with the Apple one.

Pretty much useless this way. :-(
Reply
#83
PLEASE!!! Has anybody managed to resume from suspend?!?! Remote works brilliantly, but without waking from suspend it defeats the whole point to moving from OS X to XBMCbuntu. I've spend WEEKs trawling the internet looking at any post releated to waking from IR, tried everything and that slowly dimming light is just laughing at me!!
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Anyone tried XBMC for Linux on the new Mac Mini with NVIDIA 9400 graphics?0