All Projects

IDProjectCategoryTask TypeSeveritySummaryStatusProgressOperating System
 334 OpenPandora Main OSCoreBug ReportLow error when decreasing brightness Closed
Release 1 (Zaxxon) Task Description

The script does not handle brightness "0".

If you try to decrease brightness if it's already at 0, it produces errors:

~ # /usr/pandora/scripts/ /usr/pandora/scripts/ line 18: [: : integer expression expected /usr/pandora/scripts/ line 22: echo: write error: Invalid argument

Not sure how to attach a patch here, but you can get the change with:

git pull git:// bug-333

I also changed the script to use /bin/sh since it's a valid posix script.

331OpenPandora Main OSCoreBug ReportMediumHold switch key continuously sends X11 KeyPress events ...Unconfirmed
Release 1 (Zaxxon) Task Description

When put into Hold mode, X11 handles the power switch as if it's being pressed, and it generates lots of keypress events, passing them to the foreground application. Since /dev/input/eventX does not seem to continuously trigger, I'm guessing it's due to key repeat.

To reproduce:

  • Install xev and open it in the terminal
  • Put the power key in HOLD mode
  • Notice the "time" value changing rapidly

In addition to causing more work to X, it also floods the active application with key presses, resulting in increased CPU usage. In my test, switching to HOLD while Firefox is in the foreground causes it to use 6% CPU and X an additional 2.5%.

In addition, the key-press events continue even after the switch is taken off HOLD until another key is pressed.

A possible solution to this is to blacklist the power-button event device, to prevent evdev from listening to it (the key is handled by pndevmapperd).

Showing tasks 1 - 2 of 2 Page 1 of 1

Available keyboard shortcuts


Task Details

Task Editing