SuccessChanges

Summary

  1. mce-io: initialise error to NULL to prevent segfaults (details)
  2. mce.io: close fd in mce_unregister_io_monitor (details)
  3. debian/changelog: bump for 1.8.128.13 (details)
  4. Minor fixes (details)
  5. Fix warning: cannot optimize possibly infinite loops (details)
  6. Fix warning: variable 'module_info' set but not used (details)
  7. Fix warning: warning: implicit declaration of function 'close' (details)
  8. debian/control: separate deps and conflicts with newlines (details)
  9. mce-io: add glob writing functions (details)
  10. modules: keypad: add generic keyboard backlight support (details)
  11. Add systemd support (details)
  12. Update debian/changelog (1.8.128.14) (details)
  13. modules: display: also use dpms when (un)blanking (details)
  14. tklock: use X11 to enable and disable the touchscreen (details)
  15. Add cross-compiling support (details)
  16. Update debian/changelog (1.8.128.15) (details)
  17. filter-brightness-als: support droid4 ALS (details)
  18. Close touchscreens when locked (details)
  19. debian/changelog: bump for 1.8.128.16 (details)
  20. debian/control: add libx11-dev, libxi-dev deps (details)
Commit 1e9def1d5d9179480210dae13089d0e7b835d375 by Merlijn Boris Wolf Wajer
mce-io: initialise error to NULL to prevent segfaults
The file was modifiedmce-io.c (diff)
Commit 9309502109da994974c841259633ad2bace625d8 by Merlijn Boris Wolf Wajer
mce.io: close fd in mce_unregister_io_monitor

mce apparently never closes the backing fd of a GIOChannel, this was
evident in /proc/<mce-pid>/fd, after hotplugging and removing input
devices a few times. (Note the fds that are still open, pointing to
/dev/input/event* files that are no longer there - 'deleted')

    # ls -lsh /proc/1397/fd
    total 0
    0 lrwx------ 1 root root 64 Feb 11 13:50 0 -> /dev/pts/4
    0 lrwx------ 1 root root 64 Feb 11 13:50 1 -> /dev/pts/4
    0 lr-x------ 1 root root 64 Feb 11 13:50 10 -> anon_inode:inotify
    0 lrwx------ 1 root root 64 Feb 11 13:50 11 -> socket:[232872]
    0 lr-x------ 1 root root 64 Feb 11 13:50 12 -> /dev/input/event2 (deleted)
    0 lr-x------ 1 root root 64 Feb 11 13:50 13 -> /dev/input/event4 (deleted)
    0 lr-x------ 1 root root 64 Feb 11 13:50 14 -> /dev/input/event3 (deleted)
    0 lr-x------ 1 root root 64 Feb 11 13:50 15 -> /dev/input/event2 (deleted)
    0 lr-x------ 1 root root 64 Feb 11 13:50 16 -> /dev/input/event2 (deleted)
    0 lr-x------ 1 root root 64 Feb 11 13:50 17 -> /dev/input/event6
    0 lr-x------ 1 root root 64 Feb 11 13:50 18 -> /dev/input/event1
    0 lr-x------ 1 root root 64 Feb 11 13:50 19 -> /dev/input/event0
    0 lrwx------ 1 root root 64 Feb 11 13:50 2 -> /dev/pts/4
    0 lrwx------ 1 root root 64 Feb 11 13:50 20 -> /dev/fb0
    0 lr-x------ 1 root root 64 Feb 11 13:50 21 -> /dev/input/event2 (deleted)
    0 lr-x------ 1 root root 64 Feb 11 13:50 22 -> /dev/input/event3 (deleted)
    0 lr-x------ 1 root root 64 Feb 11 13:50 23 -> /dev/input/event4 (deleted)
    0 lr-x------ 1 root root 64 Feb 11 13:50 24 -> /dev/input/event2
    0 lr-x------ 1 root root 64 Feb 11 13:50 25 -> /dev/input/event2
    0 lr-x------ 1 root root 64 Feb 11 13:50 26 -> /dev/input/event3
    0 lr-x------ 1 root root 64 Feb 11 13:50 27 -> /dev/input/event4
    0 lr-x------ 1 root root 64 Feb 11 13:50 28 -> /dev/input/event5
    0 lrwx------ 1 root root 64 Feb 11 13:50 3 -> anon_inode:[eventfd]
    0 lrwx------ 1 root root 64 Feb 11 13:50 4 -> socket:[232111]
    0 lrwx------ 1 root root 64 Feb 11 13:50 5 -> socket:[234536]
    0 lrwx------ 1 root root 64 Feb 11 13:50 6 -> socket:[234537]
    0 lrwx------ 1 root root 64 Feb 11 13:50 7 -> socket:[234540]
    0 lrwx------ 1 root root 64 Feb 11 13:50 8 -> anon_inode:[eventfd]
    0 lrwx------ 1 root root 64 Feb 11 13:50 9 -> anon_inode:[eventfd]

After this patch, the result looks like this:

    # ls -lsh /proc/3558/fd
    total 0
    0 lrwx------ 1 root root 64 Feb 11 13:54 0 -> /dev/pts/4
    0 lrwx------ 1 root root 64 Feb 11 13:54 1 -> /dev/pts/4
    0 lr-x------ 1 root root 64 Feb 11 13:54 10 -> anon_inode:inotify
    0 lrwx------ 1 root root 64 Feb 11 13:54 11 -> /dev/fb0
    0 lr-x------ 1 root root 64 Feb 11 13:55 12 -> /dev/input/event2
    0 lr-x------ 1 root root 64 Feb 11 13:55 13 -> /dev/input/event2
    0 lr-x------ 1 root root 64 Feb 11 13:55 14 -> /dev/input/event3
    0 lr-x------ 1 root root 64 Feb 11 13:55 15 -> /dev/input/event4
    0 lr-x------ 1 root root 64 Feb 11 13:55 16 -> /dev/input/event5
    0 lr-x------ 1 root root 64 Feb 11 13:55 17 -> /dev/input/event6
    0 lr-x------ 1 root root 64 Feb 11 13:55 18 -> /dev/input/event1
    0 lr-x------ 1 root root 64 Feb 11 13:55 19 -> /dev/input/event0
    0 lrwx------ 1 root root 64 Feb 11 13:54 2 -> /dev/pts/4
    0 lrwx------ 1 root root 64 Feb 11 13:55 20 -> socket:[236198]
    0 lrwx------ 1 root root 64 Feb 11 13:54 3 -> anon_inode:[eventfd]
    0 lrwx------ 1 root root 64 Feb 11 13:54 4 -> socket:[237579]
    0 lrwx------ 1 root root 64 Feb 11 13:54 5 -> socket:[236179]
    0 lrwx------ 1 root root 64 Feb 11 13:54 6 -> socket:[237580]
    0 lrwx------ 1 root root 64 Feb 11 13:54 7 -> socket:[235421]
    0 lrwx------ 1 root root 64 Feb 11 13:54 8 -> anon_inode:[eventfd]
    0 lrwx------ 1 root root 64 Feb 11 13:54 9 -> anon_inode:[eventfd]
The file was modifiedmce-io.c (diff)
Commit 10d5cd1fb3b51c71098ab4b0fe74423da050319f by Merlijn Boris Wolf Wajer
debian/changelog: bump for 1.8.128.13
The file was modifieddebian/changelog (diff)
The file was modifiedevent-switches.c (diff)
The file was modifiedmce-hal.c (diff)
The file was modifiedmodules/homekey.c (diff)
Commit e88540156c592176256ef1d231cfa63bfaa1f3a4 by Arthur D.
Fix warning: cannot optimize possibly infinite loops
The file was modifiedevent-switches.c (diff)
Commit 8b0b50364a38adaddca9daf5b958bad5b9cb23c4 by Arthur D.
Fix warning: variable 'module_info' set but not used
The file was modifiedmce-modules.c (diff)
Commit 157b5615ce5edfb00115f2ccc5fc2a7ce0f8f919 by Arthur D.
Fix warning: warning: implicit declaration of function 'close'
The file was modifiedmce-io.c (diff)
Commit bbfe7d4fd2dbf24f9629b1763f30a11f872ecb2c by Arthur D.
debian/control: separate deps and conflicts with newlines
The file was modifieddebian/control (diff)
Commit aeb345fa7ae4a80450c60bf5c3576a262fa0c23c by Merlijn Boris Wolf Wajer
mce-io: add glob writing functions

This allows for easier generic matching.
The file was modifiedmce-io.h (diff)
The file was modifiedmce-io.c (diff)
Commit cab11b849cc2fb422db73464aa7c0a546e2f422c by Merlijn Boris Wolf Wajer
modules: keypad: add generic keyboard backlight support

Works at least on the Motorola Droid 4.
The file was modifiedmodules/keypad.c (diff)
The file was modifiedmodules/keypad.h (diff)
The file was addeddebian/mce.service
The file was modifiedMakefile (diff)
The file was modifieddebian/control (diff)
The file was modifiedmce.c (diff)
Commit 9fc4e5bdac83d92553c2c03e6cdf18f953d61165 by Arthur D.
Update debian/changelog (1.8.128.14)
The file was modifieddebian/changelog (diff)
Commit 57786e7d26cb32fefc149d8d07ceee239e0bdd08 by Merlijn Boris Wolf Wajer
modules: display: also use dpms when (un)blanking

When using DRM for display management, as opposed to just fbdev, just
blanking /dev/fb0 is not enough to make devices actually enter deeper
idle states, DPMS does the trick by telling X11 to send the right DRM
ioctls.
The file was modifiedmodules/display.c (diff)
The file was modifiedMakefile (diff)
Commit de7cd3d067a7c23e9f7e1abc9b2bb1453211eefb by Merlijn Boris Wolf Wajer
tklock: use X11 to enable and disable the touchscreen

This will make sure that:

1. We do not get touchscreen input events when the device is locked (and
   not accidentally start/stop programs/apps)
2. X will close the fd X has to the device on disable, so that the
   device can idle (power management wise), once mce also starts to release
   the handle to this device.
The file was modifiedtklock.c (diff)
The file was modifiedMakefile (diff)
Commit f59b9111e00285f4a998b52905611fbf34221eb8 by Arthur D.
Add cross-compiling support
The file was modifieddebian/rules (diff)
Commit cc62610a4d4843876b3fc8094ecfa0dc8dc120de by Arthur D.
Update debian/changelog (1.8.128.15)
The file was modifieddebian/changelog (diff)
Commit 06fd83c3612fbf3b07c4658e5c1532fead71733f by Merlijn Boris Wolf Wajer
filter-brightness-als: support droid4 ALS

Supporting dimming the display backlight brightness, the LEDs and the
keyboard backlight based upon the Ambient Light Sensor in the Droid 4.

The values in the profiles are work in progress, I have yet to test
very dark rooms.
The file was modifiedmodules/filter-brightness-als.c (diff)
The file was modifiedmodules/filter-brightness-als.h (diff)
Commit c53d7ddf083676cb961b0b85445ee67855d139a7 by Merlijn Boris Wolf Wajer
Close touchscreens when locked

This allows touchscreen to enter idle mode, this saves power.
Add a new datapipe to explicitly suspend touchscreens, as opposed to
something relying on tk_lock_pipe and duplicating logic.
The file was modifiedevent-input.c (diff)
The file was modifiedmce.h (diff)
The file was modifiedtklock.c (diff)
The file was modifiedmce.c (diff)
Commit 1dba9d3a08aed81160e3720195f76fe4b075a8e7 by Merlijn Boris Wolf Wajer
debian/changelog: bump for 1.8.128.16
The file was modifieddebian/changelog (diff)
Commit 1efa354168bf25ba4cb956cbcea9015cb8e401d5 by Merlijn Boris Wolf Wajer
debian/control: add libx11-dev, libxi-dev deps
The file was modifieddebian/control (diff)