#12811 HIGH 14.1.0: brightness, volume keys and front panel buttons not handled

Zarro Boogs per Child bugtracker at laptop.org
Mon Oct 20 21:19:20 EDT 2014


#12811: brightness, volume keys and front panel buttons not handled
-------------------------------------+-------------------------------------
            Reporter:  Quozl         |          Owner:  Quozl
                Type:  defect        |         Status:  assigned
            Priority:  high          |      Milestone:  14.1.0
           Component:  keyboards     |        Version:  Development build
          Resolution:                |  as of this date
          Blocked By:                |       Keywords:  41002o4
Deployments affected:                |       Blocking:  12836
            Verified:  0             |  Action Needed:  code
-------------------------------------+-------------------------------------
Changes (by Quozl):

 * next_action:  design => code


Comment:

 workaround:
  * adjust /usr/lib/udev/rules.d/96-olpckeymap.rules to run the new hwdb
 builtin, passing the keyboard model as search string:
 {{{
 ENV{DEVTREE_COMPAT}=="olpc,xo-*", \
  IMPORT{builtin}="hwdb 'keyboard:name:$env{XKBMODEL}'", \
  RUN{builtin}+="keyboard", GOTO="olpc_keyboard_end"
 }}}
  * add a file /lib/udev/hwdb.d/96-olpc-keyboard.hwdb with the OLPC section
 copied from /lib/udev/hwdb.d/60-keyboard.hwdb but with the header line
 changed to:
 {{{
 keyboard:name:olpc
 keyboard:name:olpcm
 }}}
  * regenerate the hwdb.bin
 {{{
 udevadm hwdb --update
 }}}
  * reboot (or udevadm trigger /sys/devices/d4290000.ap-
 sp/serio0/input/input5/event5)

 with these changes, the rotate, rocker keys, game keys, fn key, brightness
 keys, volume keys, and the grab scroll key all work as they did in fedora
 18.

 design change is to adjust olpc-utils package to do the above.

--
Ticket URL: <http://dev.laptop.org/ticket/12811#comment:6>
One Laptop per Child <http://one.laptop.org/>
One Laptop per Child bug tracking system


More information about the Bugs mailing list