Skip to content

Remote Setup

shbatm edited this page Jun 22, 2017 · 1 revision

To setup the Fire Stick Remote with a Raspberry Pi Zero W or Raspberry Pi 3 (or any other device with bluetooth) (source):

  1. Put the remote into Pairing mode by holding the Home button for at least 10 seconds.
  2. Pair the device to your MM like a standard bluetooth device.

**Note:**As of Version 1.1.0, you do not need the actual Bluetooth address or evdev event path, you only need the Alias (shown on "Name=" line below).

  1. Confirm the device is connected using cat /proc/bus/input/devices
    # cat /proc/bus/input/devices
    I: Bus=0005 Vendor=1949 Product=0404 Version=011b
    N: Name="Amazon Fire TV Remote"
    P: Phys=00:1a:7d:da:71:13
    S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:71/0005:1949:0404.0001/input/input0
    U: Uniq=a0:02:dc:e0:f9:d7
    H: Handlers=kbd event0 
    B: PROP=0
    B: EV=10001b
    B: KEY=10000 1110 40000800 1681 0 0 0
    B: ABS=100 0
    B: MSC=10
    
    Note the "Handlers" line: your evdev_path will be /dev/input/event0 in this case.
  2. Test the device and get the key map by using evtest (may need to install using sudo apt-get install evtest):
    # evtest /dev/input/event0
    Input driver version is 1.0.1
    Input device ID: bus 0x5 vendor 0x1949 product 0x404 version 0x11b
    Input device name: "Amazon Fire TV Remote"
    Supported events:
      Event type 0 (EV_SYN)
      Event type 1 (EV_KEY)
        Event code 96 (KEY_KPENTER)
        Event code 103 (KEY_UP)
    ...
    
Clone this wiki locally