You are not logged in.
=============
Eeeasy Scripts
=============
v0.9-4 (13-04-2009):
* Added 1000HE to GUI so that the silver keys can be customized
* Fixed a bug with the OSDs of the cpu frequency script
* The version number will now be stored in /etc/acpi/eeepc/version
v0.9-3:
* asus_eee will be modprobed before checking it
* "ondemand" service will be disabled, because it changes the governor automatically to ondemand on every boot
* Fixed path of bluetooth control file in the GUI, so the option is now visible
* Removed first hotkey options in the GUI, because it`s now handled by something else
* The OSDs are now running in user mode (in root mode they looked very big)
* Some little fixes with the OSDs
v0.9-2:
* Changed path of the bluetooth control file
* Changed OSDs (notify-send is now being used, which uses the new notification system)
* Dependencies will be installed automatically
* Some other changes I don`t remember
Supported models:
* EeePC 701 4G
* EeePC 701 8G
* EeePC 701SD
* EeePC 900
* EeePC 900HD [problem with cpu frequency control]
* EeePC 900HA
* EeePC 900A
* EeePC 904HD [problem with cpu frequency control]
* EeePC 904HA
* EeePC 901
* EeePC 901Go
* EeePC 1000
* EeePC 1000H
* EeePC 1000HD [problem with cpu frequency control]
* EeePC 1000HA
* EeePC 1000HE
* EeePC 10002HA
* EeePC S101
Keymappings and their functions:
900A, 901, etc.:
* Fn+F1 Standby
* Fn+F2 WLAN-toggle
* Fn+F3/F4 Brightness
* Fn+F5 VGA-toggle
* Fn+F6 Taskmanager
* Fn+F7/F8/F9 Volume
* 1. hotkey Lock screen
* 2. hotkey Bluetooth-toggle or user-defined
* 3. hotkey Webcam-toggle or user-defined
* 4. hotkey CPU frequency control or user-defined
1000, 1000H, etc.:
* Fn+F1 Standby
* Fn+F2 WLAN-toggle
* Fn+F5/F6 Brightness
* Fn+F7 Lock screen
* Fn+F8 VGA-toggle
* Fn+F9 Taskmanager
* Fn+F10/F11/F12 Volume
* 1. hotkey Lock screen
* 2. hotkey Bluetooth-toggle or user-defined
* 3. hotkey Webcam-toggle or user-defined
* 4. hotkey CPU frequency control or user-defined
HowTo install:
1.)
* Open the grub configuration file:
sudo gedit /boot/grub/menu.lst
* Find the defoptions:
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
* And add the pciehp parameters there:
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash pciehp.pciehp_force=1 pciehp.pciehp_poll_mode=1
* Update grub config:
sudo update-grub
* Reboot
2.) Install the asus_eee module (DKMS package included)
3.) If you added "asus_eee" or "i2c-i801" to /etc/module, remove them. Otherwise the installer will add them a second time.
If you added "asus_eee" to /etc/modprobe.d/blacklist remove it.
4.) Open a terminal and install the scripts (if you you have the archive of an old version remove it before installing a new version):
wget http://www.informatik.uni-bremen.de/~elmurato/EeePC/Jaunty_Eeeasy-Scripts.tar.gz tar xfvz Jaunty_Eeeasy-Scripts.tar.gz cd Jaunty_Eeeasy-Scripts/ chmod +x eeeasy-scripts.sh ./eeeasy-scripts.sh install
Or if you already installed an older version run the update command instead of install:
./eeeasy-scripts.sh update
5.) To remove the scripts:
./eeeasy-scripts.sh remove
Known issues:
* The tray-icon is broken, so it will be disabled until it`s fixed
* Bluetooth toggle doesn`t work with the Jaunty generic kernel due to a missing patch in the eeepc-laptop module. In kernel version 2.6.29 this is fixed.
* If you disable/edit the fancontrol it can take up to one minute to take effect
* If you don`t have OSDs for volume control with Gnome go to System/Preferences/Key bindings and set the 3 entries "mute", "vol up" and "vol down"
* X/Kubuntu users may have to install some python stuff to get the OSDs to work. Try to install all python-dbus and python-gtk stuff
* "Blank screen on bootup" problem with 2GB RAM. A solution is to raise the FSBs in /etc/acpi/eeepc/settings
elmurato
Last edited by elmurato (2009-04-13 7:03:38 am)
Offline
ooook...i've been waiting so long for them and exactly this morning when i installed them after quite a long try..you post the "official" tutorial :-)
now lets do it again to check everything is fine...
edit: oh wait...just read the known issues and i am having them, so won't do it again.
@elmurato: do you know if after disabling wifi and re-enabling it, it actually works or not? in my case after disabling and re-enabling it, it did not start and had to reboot.
concerning tray-icon, there's a simple thing, well, it's rather a workaround: just create a shortcut to the panel from the menu and you'll have an icon there anyway
Last edited by wabre (2009-04-11 12:26:44 pm)
Offline
@ wabre
If you add the pciehp parameters to menu.lst wifi toggle works. Otherwise wifi will turn off and on, butt NetworkManager won`t find any networks and in dmesg you will see a "rt2860 initialization error".
The tray icon did more than just open the settings GUI. It showed the actual cpu mode and on a click it showed useful information.
Except the tray-icon issue, do you have other problems?
Last edited by elmurato (2009-04-11 12:44:58 pm)
Offline
since i did not re-install the scripts, i forgot about the pciehp parameters. now it works.
i don't know if you have installed also the eeepc acpi settings in the repos. i installed them right now and it installs also the tray-icon. you can rotate screen, adjust resolution and touchpad. it's the first time it works in jaunty.
now i have your scripts running - apart from the missing bluetooth - and everything works. and at the same time i have the eeepc acpi settings installed with tray icon...no conflicts yet
edit: the other eeepc acpi settings obviously are from fewt :-)
Last edited by wabre (2009-04-11 2:24:53 pm)
Offline
I've just tested your scripts on my 1000H on kernel 2.6.29.1-3e and they work fine. Only key #4 doesn't, but I suppose that's expected, isn't it? I do actually prefer to start with ondemand, but that's achievable through the std frequency applet, it appears.
And the kernel works fine, too. Nice job! ![]()
Offline
@ lanzen
Why does the 4th key doesn`t work? It should change the cpu frequency... Can you post the output of this?
sudo /etc/acpi/eeepc/eeepc-actions.sh foo bar 0000001d
Offline
I've tested it on my 1000HE with kernel 2.6.29-3e and everything works fine, except the 4th hotkey :S
I've configured so that when I press it it should open gnome-terminal (on /etc/acpi/eeepc/settings), but it only opens it when I have a terminal already open :S
When I put the command that you putted (sudo /etc/acpi/eeepc/eeepc-actions.sh foo bar 0000001d), it opens everywhere...
Anyway, it would be nice to have a GUI option to set the hotkeys ![]()
And another question: what about fn+F3. fn+F4, fn+SPACEBAR? and could it be possible to put notification for the brightness up/down?
Thanks for the script!
edit: when I press fn+F1 nothing happens :S
Last edited by nightshadex101 (2009-04-14 12:30:08 am)
Offline
elmurato wrote:
@ lanzen
Why does the 4th key doesn`t work? It should change the cpu frequency... Can you post the output of this?Code:
sudo /etc/acpi/eeepc/eeepc-actions.sh foo bar 0000001d
Here it is:
sudo /etc/acpi/eeepc/eeepc-actions.sh foo bar 0000001d
test: 137: -eq: unexpected operator
cat: /proc/eee/fsb: Nessun file o directory
/etc/acpi/eeepc/eeepc-cpufreq-control.sh: line 136: /proc/eee/fsb: Nessun file o directory
Missing argument for -i
Nessun file o directory = No file or directory
Offline
I had the same problem with the fourth hotkey on 1000h. I replaced all $ond_icon, $perf_icon and $pow_icon in eeepc-cpufreq-control.sh by the complete path and it works, don't know why the variable are not recognised.
Offline
@ nightshadex101
Oh damn, you`re right. gnome-terminal only opens if a terminal is already opened :S At the moment I don`t know how to fix that. Sorry. But I added the 1000HE to the GUI and it should know show the option "Hotkeys".
OSDs for Brightness aren`t working ootb with Jaunty.
Fn+F1 works here like a charm. Is gnome-power-manager running on your Eee? And is it configured properly?
@ lanzen
Did you install the asus_eee module?
sudo modprobe asus_eee cat /proc/eee/fsb
@ Olorin
Yes, I don`t know why, but it worked yesterday :S Now I did the same as you did.
@ all
v0.9-4 online
Offline
Thank you emulrato. The scripts works fine for me!
One question: When I turn off the built-in wireless, the USB-Wireles that I sometimes use turns off too.
Is there any command or patch to be posible turn-off the built in wireless but with an external USB wifi running? Two wireless adaptors are too much for the battery life... And sometimes I need to plug in an external card.
Someone haves any idea?
Offline
elmurato wrote:
@ lanzen
Did you install the asus_eee module?Code:
sudo modprobe asus_eee cat /proc/eee/fsb
lsmod lists asus_eee among molules.
modprobing asus_eee hangs until I ctrl+c
cat answers no file or dir.
I'll try 0.9.4 now.
Offline
Initially 0.9.4 was hanging ad the modprobe command, so I decided to clean it all up and reinstall.
Now lsmod | grep asus_eee returns
asus_eee 5028 1
sudo modprobe asus_eee still hangs complaining that: "WARNING: All config files need .conf: /etc/modprobe.d/blacklist.backup, it will be ignored in a future release."
and cat /proc/eee says no such file or directory.
BUT... pressing #4 now shows a cpufreq variation OSD
Edit: At every press the Ondemand OSD always comes up. Anyway, I can change freq by the toolbar std applet, no big deal. ![]()
I'm still wondering what's happening.
Last edited by lanzen (2009-04-13 11:42:19 am)
Offline
1000h and same problem with fsb here
....
edit: just updated to the last version and now all it's ok
thanks elmurato
Last edited by azanutta (2009-04-13 2:47:47 pm)
Offline
@ quierounasus
Maybe your external wifi card uses the same driver as your internal one. Does it work if you disable your internal wifi card and then plug in your external one?
@ lanzen
The cpu frequency script needs the asus_eee module, so if it doesn`t work correctly the script won`t work, too. Which kernel are you using? And did you install the asus_eee DKMS module? Maybe you should try reinstalling it.
Offline
I've got three kernels. The test reports were done while using the one from your site, 2.6.29.1-3e.
Now I'm on array's kernel 2.6.28-8-netbook-eeepc and, yes, the #4 key is working with this kernel, but it seems to set powersave and ondemand, while performance auto reverts to powersave. The behavior is slightly inconstant.
No problem in reinstalling the asus_eee packages if I have to. I'll let you know.
The third kernel is the 2.6.28-11-generic and key #4 does not work. With this kernel and the array's, updating grub for wlan re-enabling key functionality is not enough (Yep, I've done it just once, of course). I have to add the pcihep parameters again right in the kernel line to see wlan connect again. I mean... just in grub defoptions works after unpdate-grub for the top kernel (yours) only.
Offline
I have re-installed the asus-eee-dkms package. This time I picked the one il the Jaunty_Eeeasy-Scripts dir. The previous one was from fewt's repos. I thought they were the very same package, isn't it so? Anyway, I rebooted and nothing has changed.
Edit: Now cat /proc/eee finds a directory.
Last edited by lanzen (2009-04-14 6:20:16 am)
Offline
elmurato wrote:
@ quierounasus
Maybe your external wifi card uses the same driver as your internal one. Does it work if you disable your internal wifi card and then plug in your external one?
I don't know about if it works, but I think no, because if I disable my internal card and then plug in the external, my net meter indicates some low traffic, but there aren't any network detected and network-manager says "wireless disabled".
My USB is a Belkin F5D7050 V4000, with a Zydas chipset and ZD1211RW driver; and the internal is a Ralink RT2860.
Offline
lanzen wrote:
sudo modprobe asus_eee still hangs complaining that: "WARNING: All config files need .conf: /etc/modprobe.d/blacklist.backup, it will be ignored in a future release."
That is not a complain
That is warning about a configuration file change of blacklist to blacklist.conf. Nothing to do with this modprobe though.
Offline
@Elmurato: The kernel on your site (here)
Is that one of these kernels (here)?
Because I tried 2.6.29.1 from there but got no wifi.
Last edited by ahbart (2009-04-14 10:15:52 am)
Offline
ahbart wrote:
lanzen wrote:
sudo modprobe asus_eee still hangs complaining that: "WARNING: All config files need .conf: /etc/modprobe.d/blacklist.backup, it will be ignored in a future release."
That is not a complain
Yeah, of course. It's my residual english humour ![]()
Offline
lanzen wrote:
I have re-installed the asus-eee-dkms package. This time I picked the one il the Jaunty_Eeeasy-Scripts dir. The previous one was from fewt's repos. I thought they were the very same package, isn't it so? Anyway, I rebooted and nothing has changed.
Edit: Now cat /proc/eee finds a directory.
No, this DKMS package is a different one. Azanutta found it, but we don`t know who actually made it :S If I understand you correctly, /proc/eee/ is now there and the cpu frequency script does its job?
@ ahbart
I took the kernel version 2.6.29.1 from kernel.org, used the .config of the 2.6.28-11-generic kernel and enabled the staging drivers (I removed also some unneded stuff like the mac-support, but that is not important).
Offline
I'm on a 1000HE running Kubuntu Jaunty with the 2.6.29.1 kernel. The scripts used to toggle things on/off seem to work fine - save for the out-of-place gtk notification messages. I'm modifying the scripts here to check for KDE, and if it's running, to use kdialog instead of notify-send to print the messages.
For example, here's the relevant part from eeepc-bt-toggle.sh:
...
case $BTSTATE in
0)
bt_on
if [ "$(pidof ksmserver)" ]
then
su $user -l -c 'DISPLAY=:0.0 kdialog --passivepopup "Bluetooth enabled" --title "EeePC ACPI"'
else
su $user -l -c 'DISPLAY=:0.0 notify-send "Bluetooth" "Enabled" -i bluetooth'
fi
;;
1)
bt_off
if [ "$(pidof ksmserver)" ]
then
su $user -l -c 'DISPLAY=:0.0 kdialog --passivepopup "Bluetooth disabled" --title "EeePC ACPI"'
else
su $user -l -c 'DISPLAY=:0.0 notify-send "Bluetooth" "Disabled" -i bluetooth'
fi
;;
esacAs for the other buttons, I'm using the same check to run the KDE apps over the Gnome ones. For example, I've modified eeepc-actions.sh so that when I press Fn+F9, it brings up ksysguard:
...
# 900A/901: Fn+F6 - 1000/1000H: Fn+F9
# Taskmanager
00000012)
if [ "$(pidof ksmserver)" ]
then
su $user -l -c 'DISPLAY=:0.0 kdialog --passivepopup "Starting System Monitor" --title "EeePC ACPI"'
su $user -l -c "DISPLAY=:0.0 ksysguard" &
else
su $user -l -c 'DISPLAY=:0.0 notify-send "Starting task-manager" " " -i gnome-monitor'
su $user -l -c "DISPLAY=:0.0 gnome-system-monitor" &
fi
;;
...We could probably put in a check for Xubuntu users, too. eg:
... elif [ "$(pidof xfce-mcs-manage)" ] then # Xfce-specific stuff here ...
Just a thought.
Offline
elmurato wrote:
If I understand you correctly, /proc/eee/ is now there and the cpu frequency script does its job?
It's really bizarre! Everything works fine now, but that key seems to have its own life! I've found out that if I press normally, the issue will show, but I apply a light and quick pressure sometimes, seldom, it works as expected. Watching live the event in syslog show it, too. Twice when it does it, once when it works. So, it could well be a (new) hardware problem, but others have noticed this too. It'd be interesting to see what other 1000Hers have to say about key #4.
One more thing about the 29-e3 kernel. Wifi seems to disconnect with no notice especially if no network exchange has been going on for some time. Is this known and/or happens to others? When this happens a click on the ssid name in the wifi list gets it on again, no damage done.
Offline