Mac Mini Ubuntu Intrepid Lirc 0.8.3 Link Codes In Keymap.xml
#1
Hi,

Have been playing around, searching, trying to figure this out for about a day now. How do I map specific codes to actions using the Keymap.xml file for a Mac Mini running Ubuntu Intrepid and Lirc 0.8.3. All the documentation I'm reading indicates it should be as simple as installing and selecting the right model.

Background: fresh install of Ubuntu, did the Lirc installation set the Apple Mac Mini as the option in the configuration, it generated a config which allowed the daemon to start fine and when I cat /dev/usb/hiddev0 I would get output. When launching XBMC it would appear to attach to the lirc device correctly.

Code:
Dec 27 19:27:14 hostname lircd-0.8.3[9168]: lircd(userspace) ready
Dec 27 19:27:20 hostname lircd-0.8.3[9168]: accepted new client on /dev/lircd
Dec 27 19:27:20 hostname lircd-0.8.3[9168]: initializing '/dev/usb/hiddev0'

However the XBMC log would show no inputs from the remote control. I generated my own configuration using irrecord which resulted in the following codes.

Code:
name  AppleRemote
  bits           32
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          211987
  toggle_bit_mask 0x0

      begin codes
          1                     0x87EEAB0A
          2                     0x87EEAB0C
          3                     0x87EEAB06
          4                     0x87EEAB09
          5                     0x87EEAB05
          6                     0x87EEAB03
      end codes

Now when running XBMC the log shows events when I press remote buttons.

Code:
19:27:59 T:3066832688 M:508940288   DEBUG: Update - NEW at 4412:0000000087eeab0c 00 2 AppleRemote
19:27:59 T:3066832688 M:508940288   DEBUG: Update - NEW at 5321:0000000087eeab06 00 3 AppleRemote
19:28:00 T:3066832688 M:508940288   DEBUG: Update - NEW at 5980:0000000087eeab0a 00 1 AppleRemote
19:28:01 T:3066832688 M:508870656   DEBUG: Update - NEW at 6550:0000000087eeab09 00 4 AppleRemote
19:28:02 T:3066832688 M:508616704   DEBUG: Update - NEW at 7914:0000000087eeab0c 00 2 AppleRemote
19:28:18 T:3066832688 M:506781696   DEBUG: Update - NEW at 23706:0000000087eeab0c 00 2 AppleRemote
19:28:19 T:3066832688 M:506851328   DEBUG: Update - NEW at 24984:0000000087eeab0c 00 2 AppleRemote
19:28:22 T:3066832688 M:506839040   DEBUG: Update - NEW at 27361:0000000087eeab0a 00 1 AppleRemote

Which part of this should be entered as the ID in the Keymap.xml file. I assumed it would be the number between the 00 and the AppleRemote corresponding to the codes section in the configuration file as thats what is in the version of Keymap.xml that ships with the installation, but nothing responds on screen to the key presses. I saw searching the forums that the log should show an OnPress command, but this was very early in my search and I haven't been able to find it again to see if that was Operating system specific or across the board. If it is across the board, why would XBMC be logging this info?

I am running the Intrepid PPA version 8.10final1-intrepid4.

Any help would be greatly appreciated, even a nudge in the right direction would be great. Just ask if you need any more information, version numbers, configuration or log files. I would really love to get this working, since I don't know how much longer the XBOX is going to last.

Thanks.

Zesh
Reply
#2
Walked away for a few hours, came back refreshed then stumbled across, completely by accident, some information in a XMBC Live thread referencing some entries in Lircmap.xml I was missing.

Remotes all working now.

Onto the next issue, tearing.

Zesh
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Mac Mini Ubuntu Intrepid Lirc 0.8.3 Link Codes In Keymap.xml00