Comment 33 for bug 157691

Revision history for this message
petski (petski) wrote :

I've used Launchpad's PPA to build a new version of the hotkey-setup package.

It covers these changes:

  * Merged with Debian unstable (version 0.1-21)
  * Allow more than one driver in xorg.conf
  * Added 'coreutils' to Depends (because we need '/usr/bin/uniq')
  * Added 'pciutils' to Depends (because we need '/usr/bin/lspci')
  * Changing DOS to 7 for HP's 8086:2a03 (LP: #157691)
  * Changed small typo in init script

Attached you'll find the diff between Debian's "hotkey-setup_0.1-21" and the version in my PPA.

To test the package, use:

$ sudo sh -c 'echo deb http://ppa.launchpad.net/petski/ubuntu hardy main > /etc/apt/sources.list.d/LP157691.list'
$ sudo sh -c 'echo deb-src http://ppa.launchpad.net/petski/ubuntu hardy main >> /etc/apt/sources.list.d/LP157691.list'
$ sudo apt-get update
$ sudo apt-get upgrade # Ignore warning about the unauthenticated hotkey-setup package.
$ sudo /etc/init.d/hotkey-setup restart

Close your lid to see what happens. If successful, please reboot and try to close the lid again.

To revert the changes you've made:

$ sudo rm -f /etc/apt/sources.list.d/LP157691.list
$ sudo apt-get update
$ sudo apt-get install 'hotkey-setup=0.1-17ubuntu21'

HTH