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.
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
-Tinken
anyone can give me a clue ?
Thanks a lot..
So after many tries..... here is the result for setting the remote:
Remind:
Apple Mac mini 2007
XBMCBuntu Frodo
Apple remote A1294
Based on these
two HowTo do:
Quote:user@computer:~$ wget http://prdownloads.sourceforge.net/lirc/...4a.tar.bz2
user@computer:~$ tar -jxf lirc-0.8.4a.tar.bz2
user@computer:~$ cd lirc-0.8.4a
user@computer:~/lirc-0.8.4a$ ./configure --with-x --with-driver=macmini
user@computer:~/lirc-0.8.4a$ make && sudo make install
user@computer:~$ sudo -s
[sudo] password for user:
root@computer:~# cd /etc/lirc
You can set up your own remote using :
Quote:root@computer:/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):
Code:
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:root@computer:/etc/lirc# killall lircd;lircd --driver=macmini --device=/dev/usb/hiddev0 /etc/lirc/MyRemote; irw
Apply your change to lirc deamon :
Quote:root@computer:/etc/lirc# mv MyRemote lircd.conf
Start the deamon and leave root login:
Quote:root@computer:/etc/lirc# /etc/init.d/lircd start
root@computer:/etc/lirc# exit
Create a file (or modify existing one): ~/.xbmc/userdata/Lircmap.xml
Code:
<lircmap>
<remote device="MyRemote">
<up>KEY_UP</up>
<down>KEY_DOWN</down>
<left>KEY_LEFT</left>
<right>KEY_RIGHT</right>
<play>KEY_PLAY</play>
<menu>KEY_MENU</menu>
<select>KEY_OK</select>
</remote>
</lircmap>
restart xbmc, and it works !
IP config:
use this
HowTo
and add a line with your dns servernames:
Quote:dns-servernames 8.8.8.8
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:
Code:
sudo dpkg-reconfigure lirc
and choose Apple USB receiver but None Transmitter.
Then I have configured XBMC lircmap.xml file like this:
Code:
<lircmap>
<remote device="Apple_A1156">
<up>KEY_VOLUMEUP</up>
<down>KEY_VOLUMEDOWN</down>
<left>KEY_REWIND</left>
<right>KEY_FORWARD</right>
<play>KEY_PLAYPAUSE</play>
<select>KEY_PLAYPAUSE</select>
<menu>KEY_MENU</menu>
</remote>
</lircmap>
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 -----------------
I wonder if Openelec would support this out of the box. IIRC, it should support Apple remote.