Ticket #10245 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

os301 - keyboard does not change screen brightness

Reported by: mikus Owned by: pgf
Priority: normal Milestone: 10.1.2
Component: olpc-kbdshim Version: Development source as of this date
Keywords: olpc-kbdshim-13 Cc:
Action Needed: no action Verified: no
Deployments affected: Blocked By:
Blocking:

Description

Booted os301. Started Terminal. Pressed XO-1 keyboard "small starburst" key multiple times. Screen did not get dimmer.

Attachments

logs.SHF8080225D.2010-07-21.07-25-25.tar.bz2 (270.8 kB) - added by mikus 4 years ago.
os301 - system dump after failing to dim the screen from the XO-1 keyboard

Change History

Changed 4 years ago by mikus

os301 - system dump after failing to dim the screen from the XO-1 keyboard

Changed 4 years ago by Quozl

  • owner set to pgf
  • next_action changed from never set to diagnose
  • component changed from not assigned to olpc-kbdshim
  • milestone changed from Not Triaged to 10.1.2

Tested, unable to reproduce on os301 fresh install.

Analyzed logs, olpc-kdbshim-hal process is correctly present, shell.log contains errors "Cannot get display brightness" and "Cannot set display brightness" which should not appear unless the key events are being passed to Sugar.

Looking at rpm.out, your system has olpc-kbdshim-13-1.fc11.i586 but mine has olpc-kbdshim-12-1.fc11.i586. It looks like you may have found a regression in -13.

Changed 4 years ago by pgf

  • status changed from new to closed
  • resolution set to wontfix

nicely diagnosed, quozl, thank you.

indeed, olpc-kbdshim-13 moves the bindings for brightness and volume from F9-F12 to the evdev BRIGHTNESSDOWN/UP and VOLUMEDOWN/UP keys, to coincide with the new olpc-utils package which will be coming soon to a repository near you. this change is a result of the outcome of #100213 -- if the Fn-Fkeys are to produce F9-F12 and kbdshim must let those through, then kbdshim must bind to something other than those values, breaking backward compatibility.

the silver lining is that kbdshim now allows optionally binding to either F9-F12 or the evdev keys, or both, or neither.

  • echo F9 or f9 into /var/run/olpc-kbdshim_commands to enable or disable binding to F9-F12.
  • echo FBV or fbv into the same place to enable or disable bind to the evdev keys.

so mikus can restore function to his keys with:

echo F9 > /var/run/olpc-kbdshim_commands

when the new olpc-utils is available, maybe i should do a new kbdshim that depends on it.

Changed 4 years ago by Quozl

  • next_action changed from diagnose to no action
  • version changed from Development build as of this date to Development source as of this date

Wasn't a build regression, changing milestone to development source.

Changed 4 years ago by pgf

new olpc-utils (1.0.26), and new olpc-kbdshim (14) which depends on it, have been included in os302.

closing.

Changed 4 years ago by Quozl

  • keywords olpc-kbdshim-13 added
Note: See TracTickets for help on using tickets.