eee-control 0.9.4 karmic deb repackage
Table of Contents
- Comments
- News
- Description
- Fixes
- Known to work with
- Known to not work with
- More information
- Download
- Removing the .deb downloaded before 2 Nov. 2009
- Changes for the 11. Jan 2010 deb.
- Changes for the 23. Dec 2009 deb.
- Changes for the 16. Dec 2009 deb.
- Changes for the 2. Nov 2009 deb.
- Repackaging the deb
Comments
News
- 9 Mar 2010: Maarten Fonville (from the 1101HA brightness fix) set up a PPA so you don't have to look here for updates.
- 9 Mar 2010: Till Sachau added gnome-power-manager integration. This should fix auto-changing powermode setting when switching to battery. Till avoided integrating the camera as it caused problems on his A1101HA, I'm not sure if this has any effect.
- 25 Feb 2010: Sat Deshpande added support for 1201HA (1201HAB) (v4).
- 10 Feb 2010: Added support for 901go (all changes by Tyr)
- 28 Jan 2010: Properly fixed for 70x without camera (thanks to bsdwave). Also added a few fixes to make it work slightly more with 1101HA (thanks to lokutus).
- 11 Jan 2010: Fixed for 70x models without camera.
- 9 Jan 2010: Seems to work with Eee 1000, tested by dude1phoenix from eeeuser.com forum. Also added tip to get CPU scaling to work with Eee 1000.
- 25 Dec. 2009: Arno Luijten mentioned the new version seems to work with 1000H, added list of platforms it's tested on.
- 23 Dec. 2009: Hmm, made a lot more mistakes than just that, updated deb.
- 23 Dec. 2009: Argh! made the mistake in packaging the deb I really tried to avoid., so replaced newest. Thanks to Randy Schrock for the heads-up.
- 16 Dec. 2009: The instruction for deb repackaging seems to be tar'ing incorrectly, so fixed.
- 16 Dec. 2009: Fix for 1101HA (kernel 2.6.32) brightness by Maarten Fonville, Fix for 1101HA camera errors (by disabling camera controls) by jbernardo (eeeuser.com thread)
- 2 Nov. 2009: Fixed problem with deleting package didn't work.
Description
Grigori Goronzy's eee-control 0.9.4 deb repackaged to seemingly work with Ubuntu 9.10 karmic koala.
This version has a number of changes found on the eeeuser.com forums.
Fixes
- Making the deb installable on karmic.
- Making removing the deb possible.
- 1101HA disable camera control (to remove warnings).
- 1101HA (kernel 2.6.32) brightness fix.
- Don't fail if no brightness control file found.
- Don't fail when using 70x without a camera.
- Disabled camera for all 70x models.
- Added 1101HA as a supported model (removed warning).
- Made a missing file error fail silently.
- Added support for 901go
- Added support for 1201HA (1201HAB)
- Fixed gnome-power-manager integration.
All these fixes were added or removed haphazardly until it seemed to work on my eee 901. Maarten Fonville tested the 1101HA fixes.
Known to work with
- Eee 901
- Eee 1000
-
Eee 1000H (CPU scaling works when setting
fsb-method: direct-ioin/etc/eee-control.conf.) - Eee 1101HA (no camera control, no alot of things)
- Eee 901go
- Eee 1201HAB
Known to not work with
- ?
More information
I saw the code that fixed eee-control for 9.10 on the eeeuser.com forum, where there are discussions on which eee variants works and how to get around some common bugs.
Direct link to topic about eee-control on eeeuser.com just after the post I made linking to this site: http://forum.eeeuser.com/viewtopic.php?id=43975&p=29
Download
- eee-control_0.9.4.5_all~karmic_unofficial.deb (9. Mar 2010) newest
- eee-control_0.9.4.4_all~karmic_unofficial.deb (25. Feb 2010)
- eee-control_0.9.4.3-1_all~karmic_unofficial.deb (10. Feb 2010)
- eee-control_0.9.4.3_all~karmic_unofficial.deb (28. Jan 2010)
- eee-control_0.9.4.2_all~karmic_unofficial.deb (11. Jan 2010)
- eee-control_0.9.4_all~karmic_unofficial_1.deb (23. Dec 2009)
- eee-control_0.9.4_all~karmic_unofficial_2009_11_02.deb (2. Nov 2009)
Removing the .deb downloaded before 2 Nov. 2009
In /var/lib/dpkg/info/eee-control.prerm, comment out line 16:
#deconfig_dkms
Then removing the deb should work.
Changes for the 11. Jan 2010 deb.
Added to lines 168-169 in
/usr/lib/python2.6/dist-packages/EeeControl/actions.py:
if not os.path.exists(os.path.join(self.acpi_base, "camera")): self.model.features = filter(lambda x: x != "camera", self.model.features)
Changes for the 23. Dec 2009 deb.
This makes the 16. Dec 2009 deb workable.
Standard brightness file not found on my 901, added another
brightness file path to usr/bin/eee-control-daemon:
elif os.path.exists(os.path.join(acpi_base, "backlight/eeepc/brightness")):
brn_path = os.path.join(acpi_base, "backlight/eeepc/brightness")
If no brightness file is found, it's set to /dev/null, but that
fails when trying to start the daemon as it tries to convert the empty
string into a integer. Added a small check to actions.py line 254:
if l.strip() == '':
l = '0'
Changes for the 16. Dec 2009 deb.
Added brightness path file check to eee-control-daemon:
elif os.path.exists("/sys/class/backlight/psblvds/brightness"):
brn_path = "/sys/class/backlight/psblvds/brightness"
From post http://forum.eeeuser.com/viewtopic.php?pid=658816#p658816 by jbernardo.
Added 1101HA class to models.py that inherits from 1000HE, but disables the camera:
class EeePc1101HA(EeePc1000HE):
def __init__(self, action):
EeePc1000HE.__init__(self, action)
self.features = "wifi", "bt", "reader", "touchpad"
self.action_map = {
0x10: self.action.wifi_toggle,
0x11: self.action.wifi_toggle,
0x13: self.action.mute,
0x14: self.action.vol_down,
0x15: self.action.vol_up,
}
And added "1101HA": EeePc1101HA to MODEL_MAP. From post
http://forum.eeeuser.com/viewtopic.php?pid=659421#p659421 by
jbernardo.
Changes for the 2. Nov 2009 deb.
-
In
/usr/lib/python2.6/dist-packages/EeeControl/she.pyadded:locations = [ "/proc/acpi/asus/cpufv", "/sys/devices/platform/eeepc/she" "/sys/devices/platform/eeepc/she", "/sys/devices/platform/eeepc/cpufv", "/sys/devices/platform/eeepc/available_cpufv" ] -
Removed
hotkey-setupfrom dependencies. -
Added
python-dev,hotkeysandgettextto dependencies (not sure if these are necessary). - Commented out DKMS module installation.
Repackaging the deb
- Download http://greg.geekmind.org/eee-control/deb/eee-control\_0.9.4\_all~jaunty.deb
-
Changing the code:
ar x eee-control_0.9.4_all~karmic.deb data.tar.gz mkdir data cd data tar xzvf ../data.tar.gz emacs usr/lib/python2.6/dist-packages/EeeControl/she.py # change code. tar czvf ../data.tar.gz * cd .. ar r eee-control_0.9.4_all~karmic.deb data.tar.gz
-
Changing the dependencies and installation process.
ar x eee-control_0.9.4_all~karmic.deb control.tar.gz mkdir control cd control tar xzvf ../control.tar.gz emacs control # change dependencies. emacs postinst # comment out 'config_dkms' on line 19. tar czvf ../control.tar.gz * cd .. ar r eee-control_0.9.4_all~karmic.deb control.tar.gz
*
Date: 2010-03-09 21:59:54 CET
HTML generated by org-mode 6.34trans in emacs 23