Collegerasper
Posts: 1
Joined: Fri Aug 28, 2015 9:25 pm

Rii i8 with raspbian on pi 2

Fri Aug 28, 2015 9:33 pm

I am using the Riitek Rii I8 mini touchpad/keyboard combo and some of the keys are either wrong or just flat out don't work. For example the volume buttons don't work with the pi 2 but work when I connect it to the laptop. How can I edit all of the inputs for the keyboard or download the driver specific to this keyboard. Please help.

kevotheclone
Posts: 2
Joined: Sat Aug 29, 2015 3:46 pm

Re: Rii i8 with raspbian on pi 2

Tue Sep 01, 2015 7:06 am

This has been a minor annoyance for me too, so I finally started looking into a solution.

For the volume up/down and Mute key you can try this:
To map keys you can edit the ~/.config/openbox/lxde-pi-rc.xml file. In the <keyboard>...</keyboard> section add one or more <keybind/> XML tree fragments.

For example, to map the volume up, volume down and mute keys:

Code: Select all

<!-- Keybindings for volume control -->

<!-- Explicitly "unmute", and then raise the volume -->
<keybind key="XF86AudioRaiseVolume">
  <action name="Execute">
    <command>amixer set PCM unmute</command>
  </action>
  <action name="Execute">
    <command>amixer set PCM 250+</command>
  </action>
</keybind>

<!-- Explicitly "unmute", and then lower the volume -->
<keybind key="XF86AudioLowerVolume">
  <action name="Execute">
    <command>amixer set PCM unmute</command>
  </action>
  <action name="Execute">
    <command>amixer set PCM 250-</command>
  </action>
</keybind>

<!-- Toggle unmute/unmute -->
<keybind key="XF86AudioMute">
  <action name="Execute">
    <command>amixer set PCM toggle</command>
  </action>
</keybind>
I think I've learned that the ''Play/Pause'' and ''Next/Previous'' keys may be harder to map across all applications.

Dracos, has some good information on configuring the touchpad as well as nice image of the Rii keyboard with many of the keyboard scancodes listed here:
Rii i8+ touchpad config

Return to “Troubleshooting”