[Linux] XBMCbuntu on Mac mini
Hi all,

I have an old Mac mini ( around 2006-2007 ). I remove Mac OS and setup XBMCbuntu Frodo.
But I have some issues:
  • Set fixed IP (have to test this HowTo first http://wiki.xbmc.org/index.php?title=HOW..._static_IP
  • Having Apple IR remote working (nothing appends when clicking on any buttons, and was working on Mac OS and other Mac's)
  • Configure Logitech bluetooth keyboard K760 (working on mac)
  • Configure Magic Mouse, swipe are not detected

For he remote I have no idea how fixing this... On many forums the says IR is native on XBMC (I mean no extra package) but nothing happend. Huh
For the bluetooth, the wired thing is , the magic mouse is working (BT connection) but in sys pref in XBMCbuntu bluetooth tab is grey as if there was no bluetooth package.
Do I need to setup an extra thing ?
Maybe after this, the keyboard should work...

Thanks for your help or tips

anyone can give me a clue ?
Thanks a lot..
So after many tries..... here is the result for setting the remote:
Apple Mac mini 2007
XBMCBuntu Frodo
Apple remote A1294

Based on these two HowTo do:
Quote:[email protected]:~$ wget http://prdownloads.sourceforge.net/lirc/...4a.tar.bz2
[email protected]:~$ tar -jxf lirc-0.8.4a.tar.bz2
[email protected]:~$ cd lirc-0.8.4a
[email protected]:~/lirc-0.8.4a$ ./configure --with-x --with-driver=macmini
[email protected]:~/lirc-0.8.4a$ make && sudo make install
[email protected]:~$ sudo -s
[sudo] password for user:
[email protected]:~# cd /etc/lirc
You can set up your own remote using :
Quote:[email protected]:/etc/lirc# irrecord --driver=macmini --device=/dev/usb/hiddev0 MyRemote
Either use my config for the A1294:
Create a file MyRemote and paste this content (the bold line is the line missing on the files you can find everywhere for the remote):
begin remote

  name  MyRemote
  bits            8
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   24
  pre_data       0x87EE86
  gap          211982
  toggle_bit_mask 0x0
  [b]ignore_mask 0x0000ff01[/b]
      begin codes
          KEY_MENU                 0x03
          KEY_PLAY                 0x5F 0x05
          KEY_OK                   0x5C 0x05
          KEY_RIGHT                0x06
          KEY_LEFT                 0x09
          KEY_UP                   0x0A
          KEY_DOWN                 0x0C
      end codes

end remote
Test your config:
Quote:[email protected]:/etc/lirc# killall lircd;lircd --driver=macmini --device=/dev/usb/hiddev0 /etc/lirc/MyRemote; irw
Apply your change to lirc deamon :
Quote:[email protected]:/etc/lirc# mv MyRemote lircd.conf
Start the deamon and leave root login:
Quote:[email protected]:/etc/lirc# /etc/init.d/lircd start
[email protected]:/etc/lirc# exit
Create a file (or modify existing one): ~/.xbmc/userdata/Lircmap.xml
        <remote device="MyRemote">
restart xbmc, and it works !
IP config:

use this HowTo
and add a line with your dns servernames:
restart XBMC so Airplay will be configured correctly using your static IP
For my Mac Mini 2009 version with White Apple remote I have configured LIRC with:
sudo dpkg-reconfigure lirc
and choose Apple USB receiver but None Transmitter.

Then I have configured XBMC lircmap.xml file like this:
        <remote device="Apple_A1156">
The only issue at this time, it's the long press Menu or Play is not working, so I can't access to the contextual menus like in OpenElec.Anybody have an idea?

------------------- Deprecated info -----------------
Mac Mini 2009 (Intel Core 2 Duo - nVidia 9400M), Ubuntu Linux 14.04, Kodi 15.1
I wonder if Openelec would support this out of the box. IIRC, it should support Apple remote.
My skins:


(2013-12-03, 09:45)pecinko Wrote: I wonder if Openelec would support this out of the box. IIRC, it should support Apple remote.
Yes, OpenElec has support for Apple remote controllers and receivers since 3.0, but it's using atvclient, not lirc. I will try it...
Update: yes, atvclient works like a charm. It replaces lirc and no Lircmap.xml is needed.
Mac Mini 2009 (Intel Core 2 Duo - nVidia 9400M), Ubuntu Linux 14.04, Kodi 15.1
Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
XBMCbuntu on Mac mini00