Archive:TiVo Slide: Difference between revisions
>Teaguecl |
>Teaguecl |
||
Line 54: | Line 54: | ||
The proper way to re-map your keys is using the Linux udev system. To do this: | The proper way to re-map your keys is using the Linux udev system. To do this: | ||
<ul> | <ul> | ||
<li>Create this file: / | <li>Create this file: /lib/udev/keymaps/tivo-slide</li> | ||
<pre> | <pre>0x000C0041 enter #SELECT | ||
0x000C0069 f2 #C (RED) | |||
0x000C006A f3 #D (GREEN) | |||
0x000C006B f4 #B (BLUE) | |||
0x000C006C f5 #A (YELLOW) | |||
0x000C006D f6 #ZOOM | |||
0x000C0082 f7 #INPUT | |||
0x000C0083 f8 #ENTER | |||
0x000C008D f9 #GUIDE | |||
0x000C009C f10 #CHUP | |||
0x000C009D f11 #CHDN | |||
0x000C00B1 playpause #PAUSE | |||
<li>Add this line to the file: /etc/udev/rules.d/ | 0x000C00B2 record #RECORD | ||
0x000C00F5 stop #SLOW</pre> | |||
<li>Add this line to the file: /etc/udev/rules.d/95-keymap.rules</li> | |||
<pre>SUBSYSTEM=="input", SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="150a", ENV{ID_MODEL_ID}=="1201", RUN+="/lib/udev/keymap $name /lib/udev/keymaps/tivo-slide"</pre> | |||
</ul> | </ul> | ||
Revision as of 15:42, 17 April 2012
Overview
The Tivo Slide is a wonderful remote control featuring:
- Slide-out QWERTY keyboard
- Backlit keys
- RF (bluetooth) operation for most keys
- Ability to program some keys (Volume/Power) to use IR
There is a lot of discussion regarding this remote on the XBMC Forums.
Prerequisites
Hardware:
- Tivo Slide remote with supplied dongle
Software:
- XBMCbuntu Eden 11.0
Configuration:
There are two modes of operation for this remote
- USB HID Emulation [Recommended] The dongle presents itself to the computer as a USB keyboard. It uses bluetooth to communicate with the remote, but does not expose bluetooth to the computer in any way - it is just a USB keyboard.
- Bluetooth Device [Not Recommended] The dongle presents itself to the computer as a bluetooth adapter. Through this adapter, you can connect to the remote as a bluetooth keyboard. This setup has been problematic, and therefore is not described here.
Configuring which mode is a bit of a mystery. Simply plugging into a XBMCbuntu 11.0 machine seems to put the dongle into bluetooth adapter mode. In order to force it into USB HID Emulation mode, you need to completely disable bluetooth on the computer, as described below.
Step by step walkthrough:
Disable Bluetooth
Disabling bluetooth is necessary to force the dongle into USB HID Emulation mode. There may be another way to do that, but so far this is the only method discovered. From a command line, issue the following commands:
- sudo apt-get remove bluez
- sudo apt-get remove blueman
- sudo echo -e "blacklist btusb\nblacklist bluetooth" > /etc/modprobe.d/blacklist-tivoslide.conf
- sudo reboot -now
Pair Remote and Dongle
You can now pair the remote with the dongle as described in the manufacturer documentation
- On the TiVo Slide remote, press and hold the TiVo button and the blue "B" button simultaneously until the activity indicator light blinks blue
- On the dongle, press and hold the button until the LED starts blinking
- After a few seconds, the remote's activity light will blink rapidly 5 times and then go off if pairing is successful
Test with evtest
Optional - instructions need to be written!
Re-map Problem Keys
There are several reasons why you need to re-map keys on the Tivo Slide remote. First, due to a limitation of X.org no keycodes with values larger than 255 can be used. There are several such keys on this remote. Therefore they need to get re-mapped from large keycodes (>255) into smaller ones so that applications like XBMC can use them. Second, you may want to re-map some keys to do something more useful than their default. The proper way to re-map your keys is using the Linux udev system. To do this:
- Create this file: /lib/udev/keymaps/tivo-slide
0x000C0041 enter #SELECT 0x000C0069 f2 #C (RED) 0x000C006A f3 #D (GREEN) 0x000C006B f4 #B (BLUE) 0x000C006C f5 #A (YELLOW) 0x000C006D f6 #ZOOM 0x000C0082 f7 #INPUT 0x000C0083 f8 #ENTER 0x000C008D f9 #GUIDE 0x000C009C f10 #CHUP 0x000C009D f11 #CHDN 0x000C00B1 playpause #PAUSE 0x000C00B2 record #RECORD 0x000C00F5 stop #SLOW
SUBSYSTEM=="input", SUBSYSTEMS=="usb", ENV{ID_VENDOR_ID}=="150a", ENV{ID_MODEL_ID}=="1201", RUN+="/lib/udev/keymap $name /lib/udev/keymaps/tivo-slide"
Assign Keys To XBMC Functions
Optional step, not yet described. Hint - keyboard.xml
Configure the IR keys
Some of the keys can be programmed to send IR commands instead of bluetooth. See the following resources for more information:
Issues:
Non-functional Keys
There are four keys that currently do not work. They require a Linux kernel patch to get functional - instructions on doing that are not yet available. The four keys are:
- Thumbs Up
- Thumbs Down
- Tivo
- Live TV
Skin Problems
The Tivo remotes are designed for use with the Tivo user interface, which is not very similar to any known XBMC Skin. This leads to some strange inconsistencies. For example:
- Tivo has no "Stop" button, and therefore neither does it's remote. If I remember correctly, on a Tivo you hit "Left" to exit a playing video.
- Tivo has no "Menu" button (which XBMC uses to bring up the Context Menu)
- Tivo has a "slow motion" button, but XBMC doesn't support slo-mo.
Hopefully, someone will design a Tivo-like skin for XBMC!