New improved Hotkey Enabler
Forum » Development / Asus Hotkeys » New improved Hotkey Enabler
Started by: elParkeurelParkeur
On: 1238069533|%e %b %Y, %H:%M %Z|agohover
Number of posts: 99
rss icon RSS: New posts
New improved Hotkey Enabler
elParkeurelParkeur 1238069533|%e %b %Y, %H:%M %Z|agohover
3636968459_4422bf0773_o_d.png

ASUS EEE1000H Hotkeys Enabler (improved version)

As I was not satisfied with the functionality of the original hotkey enabler, I decided to make a modified version.

Download latest version:

The file is now hosted on Mediafire … so it should not get deleted after 30 days.
http://www.mediafire.com/?nyzmw52wumg

Changes:

0.4

  • AutoLocation script now switches the location based on the best known hotspot and not on the first one
  • AutoLocation script now growls the new location
  • new script: iTunes - Play / Pause
  • new script: iTunes - Next Track
  • new script: iTunes - Previous Track
  • new script: Battery / AC notification
  • new script: Presentation Mode
  • new script: Lock Screen
  • HotkEee app now shows more descriptive script names
  • AutoLocation settings can be configured in preferences of HotkEee app
  • change of BT hotkey action can be unlocked in HotkEee preferences for non-BT devices
  • new icon of HotkEee app

0.3a

  • fixed broken VolUp script
  • VolMute script now saves current volume and restores it when mute key is pressed again
  • removed 5px right space in TileWindows script

0.3

  • sleep on lid close enabled (was missing in last version)
  • modified kext to be loadable with 10.5.7
  • the bluetooth menu extra was not loaded after boot when bluetooth was turned off
  • new AutoLocation script to change the Network Location depending on the availlable WiFi networks
  • new HotkEee application to configure the hotkey actions in a more convenient way
  • separated WiFi and Bluetooth toggle
  • removed no longer needed audio and ethernet fixes

0.2

  • corrected post- and preflight installer scripts
  • metapackage now includes the subpackages (sorry)

0.1

  • Removed CardReader and Camera ON/OFF as they have no significant influence on battery life.
  • Growl notification are no longer handled by growlnotify but by GrowlHelperApp. Now they have proper icons and can be configured in Growl preferences
  • No more need to edit the kext to modify hotkey settings. (see below)
  • Simulation of the Volume Bezel. (see below for Growl settings)
  • New and improved scripts
  • Added Attensic LAN driver fix
  • no more need for: Audeee, sleepwatcher, growlnotify

Availlable Functions:

Hibernate
Start hibernation
WirelessToggle
Toggle between BT / WiFi / both. This is done via MacOS functions and not via direct hardware access.
WiFiToggle
Toggle WiFi ON/OFF via MacOS functions
BluetoothToggle
Toggle BT ON/OFF via Hardware functions
DisplayToggle
Toggle the primary display in dual display mode and deactivate mirror mode when activated
PresentationMode
Toggle special power management settings for presentations
AudioToggle
Toggle between speaker and headphones output
VolDn/Up/Mute
Volume functions (see below for instructions on how to simulate the Volume Bezel)
ScaleScreen
Interpolate the screen resolution to 1280x800 to access controls of too big windows. This will have effect on all applications that are started after pressing the hotkey.
TileWindows
The two windows of the foremost application will be tiles vertically. This can be used to simulate a 2-pane Finder.
ActivityMonitor
Launches the Activity Monitor app or quits it, if it was already running.
iTunes
Play/Pause and Next/Prev Track control of iTunes
LockScreen
Switch to login window to lock your mac
AutoLocation
When turning on WiFi the script tries to change the network location depending on the availlable networks

Modifying a Hotkey:

All hotkeys are mapped to special symlinks. The Fn keys point to the symlinks f01.sh - f12.sh and the silver keys to silver1.sh - silver4.sh. These symllinks are located in

/Acpi4Asus/launchers

To change a hotkey configuration, you just have to re-create the symlink to point to the desired script. This way you can also map your own scripts to the hotkeys - you just have to modify the symlink. There is no more need to edit the kext.

To change a hotkey configuration, you just have to launch the new HotkEee app. You can set up everything there…

flickr:3592623403

Automatically set Network Location when activating WiFi

With this function you can check for availlable wireless networks and change your network location depending on them. You may ask what this is usefull for. I use it to automatically switch my location between home, work and university as all of them have different proxy settings configured.

For this to work, you have to create a different network locations for every w-lan router you want to connect to. Then you have to name the location:

ssid xx:xx:xx:xx:xx:xx
ssid
SSID of the wireless network
xx:xx:xx:xx:xx:xx
BSSID (mac address) of the router

Whenever you activate WiFi the script will check for availlable networks, order them by RSSI and change the location according to the best known network.

Growl Notifications

There is an issue with the init script which prevents the hotkeys enabler from registering with growl. To enable the growl support you have to run the init script once:

/Acpi4Asus/scripts/init.sh

Volume Bezel:

The simulate the MacOS Volume Bezel you have to apply the following settings to the Volume notification in growl preferences:

flickr:3387479120
last edited on 1245306146|%e %b %Y, %H:%M %Z|agohover by elParkeur + show more
unfold New improved Hotkey Enabler by elParkeurelParkeur, 1238069533|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
nhirtnhirt 1238080705|%e %b %Y, %H:%M %Z|agohover

This is great news, thank you!!!

I tried it right away and run into a lot of problems (knowing that I had already installed successfully the older version):

First the preflight script aborts during install: I think it does not have the rights needed to move the ACPI4ASUS.kext (need sudo).
When deleting/moving the directories, dsdt.aml and kext it starts.
But then it stops again with postflight execution problem.

When opening the mpkg with Pacifist it seems that all the install pkgs are missing (or is it normal that the mpkg file is only 10KB with all the included tools)…

Keep us posted, I'm really looking forward to testing this…

Cheers,

Nik

unfold Re: New improved Hotkey Enabler by nhirtnhirt, 1238080705|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238100845|%e %b %Y, %H:%M %Z|agohover

Thanks for your hint nhirt. You are right … I forgot to sudo in the pre- and postflight scripts. I corrected that and uploaded an updated version. Please re-download the file.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238100845|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
nhirtnhirt 1238306852|%e %b %Y, %H:%M %Z|agohover

elParkeur,

Would you mind sharing (or sending me directly) the source code (XCode project I suppose) for the Acpi4Asus kext?
I'm working on a fan control app and I can't figure out how to write to those ACPI ports…
(I'd like to compare to the Linux kernel driver that's floating around,
because somehow I can't figure out how to port the linux functions (in, outb, …)

Your help would be greatly appreciated!!!

Thanks,

Nik

unfold Re: New improved Hotkey Enabler by nhirtnhirt, 1238306852|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
dadazdadaz 1240394574|%e %b %Y, %H:%M %Z|agohover

Hi

I can't download the file. It says that it isn't on a premium account.

Could you post it again ?

Thanks

Dadaz

unfold Re: New improved Hotkey Enabler by dadazdadaz, 1240394574|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
Frank KaschFrank Kasch 1240758387|%e %b %Y, %H:%M %Z|agohover

Hi elParkeur

"* New Version with updated pre- and postflight scripts and dsdt.aml and including sub-packages *
http://rapidshare.com/files/214063296/Asus_EEE1000H_-_Hotkeys_Enabler.mpkg.zip"

the link doesn't work. Is there any other way to download this file? Thanks for your help!

Cheers
Frank

unfold Re: New improved Hotkey Enabler by Frank KaschFrank Kasch, 1240758387|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
rl92rl92 1242561022|%e %b %Y, %H:%M %Z|agohover

hi, this package doesn't work with original mac os x 10.5.7 update…
can you resolve this problem??

last edited on 1242586489|%e %b %Y, %H:%M %Z|agohover by rl92 + show more
unfold Re: New improved Hotkey Enabler by rl92rl92, 1242561022|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1242679929|%e %b %Y, %H:%M %Z|agohover

I will have a look when my eee is fully working again. I did a fresh retail install but now I am unable to get the gma kext working.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1242679929|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
cororokcororok 1238085720|%e %b %Y, %H:%M %Z|agohover

Great!!!!

elParkeur! Could you tell me how to on & off wifi by dsdt.dsl

I'm trying to modify dsdt.dsl.

because when I click the sleep menu, sometimes kernel panic occurs immediately.

I found some code inside dsdt.dsl (generated by DSDT_Patcher1.0.1e)
// http://www.infinitemac.com/f7/various-dsdt-mods-t1960/

Method (WLDS, 1, Serialized) //wireless set
                        {
                            Return (OWLS (Arg0))
                        }

                        Method (WLDG, 0, Serialized) // wireless get
                        {
                            Return (OWLG ())
                        }

but I don't know what to do that….

I just want to on & off wifi by any Fn+key or silver key.

thank you

unfold Re: New improved Hotkey Enabler by cororokcororok, 1238085720|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238101245|%e %b %Y, %H:%M %Z|agohover

WiFi on/off does not work based on the dsdt.aml. I tried lot's of things but none of them worked. In my modified hotkey enabler I disabled the BT and WiFi functionality in the dsdt.aml and used software functions instead.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238101245|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
cororokcororok 1238104522|%e %b %Y, %H:%M %Z|agohover

thank you elParkeur.

Do I have to install some kext or others before install your package?

I couldn't install that. at the end of the installation, it said "fail"

I 'm using growl and CHUD?(since audioeee)

last edited on 1238104581|%e %b %Y, %H:%M %Z|agohover by cororok + show more
unfold Re: New improved Hotkey Enabler by cororokcororok, 1238104522|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1238110400|%e %b %Y, %H:%M %Z|agohover

The installer seems to hang on preparing the install… :(

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1238110400|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238128568|%e %b %Y, %H:%M %Z|agohover

It does not hang on my System. I removed all the stuff, re-installed the original package by PentiumPC and then installed my package without any problems. Make sure that you downloaded the latest version as I fixed the install scripts.

If it still does not work, you could try to manually remove the following files/folders:

  • /Acpi4Asus/
  • /dsdt.aml
  • /System/Library/Extensions/ACPI4ASUS.kext

You could also try to delete the Acpi4Asus Receipt of the original kext from /Library/Receipts

Please let me know, if any of the steps work for you.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238128568|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1238135535|%e %b %Y, %H:%M %Z|agohover

Nope, still the same… the package seems to be corrupted… I can't open it with Pacifist because it seems some packages are missing in it.

When I open it with the finder, there is no dsdt.aml file etc. just some basic files into Content/Resources

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1238135535|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238142084|%e %b %Y, %H:%M %Z|agohover

Shame on me. I forgot to tick the option to include the install packages into the meta package when I built it. I re-created the package with included install packages now. Please re-download.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238142084|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
slither2007slither2007 1238165032|%e %b %Y, %H:%M %Z|agohover

Thanks for working on this elParkeur. Just out of curiosity did you compile this against the 10.5.6 kernel?

Regards,

Steve.

unfold Re: New improved Hotkey Enabler by slither2007slither2007, 1238165032|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1238171742|%e %b %Y, %H:%M %Z|agohover

Ok works great now ;)

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1238171742|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1238172379|%e %b %Y, %H:%M %Z|agohover

Quick question: Where is the ACPI4Asus App into growl pref pane oO????

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1238172379|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238182742|%e %b %Y, %H:%M %Z|agohover

The ACPI4Asus app registeres for growl at boot when the /Acpi4Asus/scripts/init.sh is executed. There seems to be either a timing issue or an issue with the root user that runs all the scripts. As a workaround, you have to execute the script manually once to register with growl.

I will provide a bugfix with the next release.

last edited on 1238183340|%e %b %Y, %H:%M %Z|agohover by elParkeur + show more
unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238182742|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1238186364|%e %b %Y, %H:%M %Z|agohover

Great now it works :)

Thanks

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1238186364|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
fleebailey33fleebailey33 1238201221|%e %b %Y, %H:%M %Z|agohover

any other models?
such as eee 1000SSd model?

unfold Re: New improved Hotkey Enabler by fleebailey33fleebailey33, 1238201221|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
fleebailey33fleebailey33 1238201677|%e %b %Y, %H:%M %Z|agohover

it seems to work. kernel panic. though.

fn keys dont work. but i dont need audiee. i will play around more

unfold Re: New improved Hotkey Enabler by fleebailey33fleebailey33, 1238201677|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
fleebailey33fleebailey33 1238202457|%e %b %Y, %H:%M %Z|agohover

i have to run the scrip everytime for audieee

weird

unfold Re: New improved Hotkey Enabler by fleebailey33fleebailey33, 1238202457|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
fleebailey33fleebailey33 1238202749|%e %b %Y, %H:%M %Z|agohover

ok, sorry so many posts.

The scripts work. but none of the keys. if i manually run a script it works fine. any idas?

unfold Re: New improved Hotkey Enabler by fleebailey33fleebailey33, 1238202749|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
fleebailey33fleebailey33 1238267156|%e %b %Y, %H:%M %Z|agohover

ok. i was sorta going crazy with this.

it is installed. if i run the init.sh it starts the sound.
i noticed the acpi4asus is not being loaded. any solutions?
other acpi kexts are being loaded

http://pastebin.com/m5cbcce2d

that is my kextstat from terminal. any help appreciated!

you can email me directly at fleebailey33 {at} gmail.com

unfold Re: New improved Hotkey Enabler by fleebailey33fleebailey33, 1238267156|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
slither2007slither2007 1238319729|%e %b %Y, %H:%M %Z|agohover

If anyone wants to map JUST the F10, F11 & F12 keys to the Apple Keyboards original mute, volUp, volDown buttons have a look here : http://www.insanelymac.com/forum/index.php?showtopic=86757

I found this to be a good combo with the above hotkey-enabler. You do sacrifice using the F10, F11, F12 shortcuts however.

My mute/volup/voldown work instantly and show the original apple bezel for each function WITH POP SOUND TOO! :)

Regards,

Steve.

last edited on 1238320381|%e %b %Y, %H:%M %Z|agohover by slither2007 + show more
unfold Re: New improved Hotkey Enabler by slither2007slither2007, 1238319729|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
slither2007slither2007 1238322793|%e %b %Y, %H:%M %Z|agohover

scratch that I forgot there was Spark which is much easier to set up.

unfold Re: New improved Hotkey Enabler by slither2007slither2007, 1238322793|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
slither2007slither2007 1238325327|%e %b %Y, %H:%M %Z|agohover

I found minor issues and one tip.

Issue 1 : When waking the audio output is set twice which results in two Growl bezel notifications appearing.

Fix 1 : Comment out the AudioToggle.sh in the wake.sh file.

Issue 2 : Bluetooth turn off off. I tested this by running /usr/local/bin/blueutil off/on. This breaks the little if elseif, elseif, else test going on in the WifiToggle.sh script. Meaning that you can initially turn the wifi off but since the bluetooth can't be turned of it does nothing from then after when the fn button is pressed.

Fix 2 : I removed the two BT related else if condition tests from the WifiToggle.sh script. It now just toggles wifi on off.

Tip : To get the most eye candy out of Growl set your default to bezel and then you don't have to set each ACPI4ASUS notification setting to bezel when setting it up.

Note : I got the Bluetooth toggle working by editing the dsdt.aml but it defeats the purpose of being able to cycle between wifi and bluetooth easily.

unfold Re: New improved Hotkey Enabler by slither2007slither2007, 1238325327|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238358823|%e %b %Y, %H:%M %Z|agohover

Wake issue:
The AudioToggle.sh is called from init.sh and wake.sh. It seems, that the init .sh is also launched upron wake. I thought it would only be launched upon boot. I will change the scripts accordingsly.

BT issue:
I will investigate the BT issue tomorow. Changing the BT status should have no effect on the script routine…
I know, that you hardware BT toggle worked in the initial release of the enabler. But as I wanted a combined WiFi/BT toggle, i removed the code from the dsdt.aml. Maybe we could combine our knowledge to get the hardware wifi toggle working…

Growl:
I have only the volume notification set to bezel and the other ones to smoke because I find the latter less disturbing.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238358823|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
slither2007slither2007 1238371639|%e %b %Y, %H:%M %Z|agohover

I spent quite a while trying to understand the dsdt.aml and found some good documents to read on ACPI for Asus but could not find anyway to turn the wifi back on after it had been turned off.

I think turning the wifi on/off using the binary app is a good approach. Although having it cycle through a series of if conditions wouldn't be hard to whip up in ACPI but I'm not sure it would work since we can't get the wifi card to be detected again after it's turned off via a dsdt.aml fn+keypress.

I think you're right about the default growl bezel as my firefox download complete notifications where starting to appear in the center of the screen….lolol.

I'll have another dig.

unfold Re: New improved Hotkey Enabler by slither2007slither2007, 1238371639|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238394573|%e %b %Y, %H:%M %Z|agohover

I also played a lot with the dsdt.aml. My latest thoughts were, that we pass the wrong value to the OWLS method to turn the wifi off. A call to OWLS(0) does a complete power off of the wifi card but maybe a standby state would be required to be able to turn it back on. I think it's also not just a one or a zero to pass to the wifi methods as these methods perform some bit manipulations. But I haven't found anny working solution, too.

Did you have success with requesting the driver source from PentiumPC? There are some bugs and limitations that would need some fixing, but that's impossible without the source.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238394573|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
cororokcororok 1238425947|%e %b %Y, %H:%M %Z|agohover

I don't know about ACPI
but in the Ubuntu world, there is some similar one.
eeepc-acpi
http://forum.eeeuser.com/viewtopic.php?id=49081

in the middle the above page,
there is some interesting one..

v1.3:
* Wifi state restore on boot

~~~

wifi_on_rt2860()
{
  modprobe pciehp pciehp_force=1 pciehp_poll_mode=1
  sleep 1
  echo 1 > $wlan_control
  sleep 1 
  modprobe rt2860sta
}

wifi_on_athpci()
{
  modprobe -r pciehp
  sleep 1
  modprobe pciehp pciehp_force=1
  sleep 1
  echo 1 > $wlan_control
  sleep 1 
  modprobe ath_pci
}

~~~
last edited on 1238454890|%e %b %Y, %H:%M %Z|agohover by cororok + show more
unfold Re: New improved Hotkey Enabler by cororokcororok, 1238425947|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
slither2007slither2007 1238452871|%e %b %Y, %H:%M %Z|agohover

Hi elParkuer,

I figured out why the bluetooth wasn't working. I hadn't applied the info.plist edit to my bluetooth kext. For those who need a point in the right direction this link will allow you to enable/disable your bluetooth. Without it the above hotkey enabler won't be able to toggle it on/off.

10.5.6 Bluetooth On/Off Fix :
http://ipis-osx.wikidot.com/forum/t-108855/working-bluetooth-kext#post-343386

I asked PentiumPC for his source but never got a reply. I invested some time in making a basic driver but got stuck at one point when it came to creating source events. I couldn't find any other material regarding my issue otherwise I would have been able to start listening and reacting to events fired from the AKD.

I'll keep thinking of a way to fire off the apple mute/vol keys from the command line with a fast app or something so we get the original bezel's and fast reaction time.

In the meantime I found this interesting link that has a basic unix script for toggling wifi on / off in linux.

Now this doesn't really relate to the ACPI states needed to be passed to OWLG but (I'm going off topic now) could provide a little insight into the Attansic L1E driver that doesn't sleep twice nicely. The author was mentioning that in his case the hardware state and driver state were not matching….i wonder if this is what's happening with our ethernet driver???hmm… http://cliffhacks.blogspot.com/2007/11/eeebuntu-tip-unloadingreloading-wifi.html

last edited on 1238453734|%e %b %Y, %H:%M %Z|agohover by slither2007 + show more
unfold Re: New improved Hotkey Enabler by slither2007slither2007, 1238452871|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238487649|%e %b %Y, %H:%M %Z|agohover

Ii had another idea to get the original apple volume bezel when using the fn keys. I think most of you used Spark to map the volume functions to the function keys. My setup was:

  • set ctrl+f10 = mute
  • set ctrl+f11 = vol down
  • set ctrl+f12 = vol up

Now one only has to send to correct key codes of ctrl+fxx when pressing fn+fxx. This can be realized very easily with applescript and works well. But there is still a delay between button press and volume adjustment. IMHO, this does not seem to be a problem with my scripts but with the driver as the scripts react imediately when launched in terminal.

If you are willing to use spark, I can provide the new scripts to get the original volume bezel. I know, that this is not a perfect solution but would allow you to use the fn keys for all the functions.

Does someone has experience with applescript gui or cocoa coding to create a small program to configure the hotkeys in a more convenient way?

last edited on 1238487867|%e %b %Y, %H:%M %Z|agohover by elParkeur + show more
unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238487649|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
slither2007slither2007 1238492423|%e %b %Y, %H:%M %Z|agohover

I made a minor modification to my wifi script so growl notifies you when both wifi and bt is enabled and disabled.

Right-click and "Save Image As…" the image below to /Acpi4asus/gfx/WirelessBTWifi.png
WirelessBTWifi.png

Edit and modify the following if statements of your /Acpi4asus/launchers/f02.sh script to resemble this :

if (btStatus and wifiStatus) then
        execCmd(wifiBin, "-setairportpower off")
        Growl("WiFiToggle", "WiFi Status", "WiFi is now OFF", "WiFi")
else if (not btStatus and not wifiStatus) then
        execCmd(wifiBin, "-setairportpower on")
        Growl("WiFiToggle", "WiFi Status", "WiFi is now ON", "WiFi")
else if (wifiStatus and not btStatus) then
        execCmd(btBin, "on")
        Growl("BTToggle", "Bluetooth Status", "Wifi and Bluetooth are now ON", "BTWifi")
else
        execCmd(btBin, "off")
        Growl("BTToggle", "Bluetooth Status", "Bluetooth and Wifi are now OFF", "BTWifi")
end if
last edited on 1238492730|%e %b %Y, %H:%M %Z|agohover by slither2007 + show more
unfold Re: New improved Hotkey Enabler by slither2007slither2007, 1238492423|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1238499000|%e %b %Y, %H:%M %Z|agohover

Hi,

I did the update, but I can't make it works, here is my code:

#!/bin/bash
#################################################

  1. Asus EEE1000H Hotkeys Enabler #
  2. #
  3. SCRIPT: WirelessToggle.sh #
  4. FUNCTION: Script that toggles between WiFi #
  5. and bluetooth. The sequence is: #
  6. 0 > WiFi > WiFi + BT > BT > 0 #
  7. VERSION: 0.1 #
  8. AUTHOR: elParkeur #

#################################################

/usr/bin/osascript «-EOF
property wifiBin : "/usr/sbin/networksetup"
property btBin : "/usr/local/bin/blueutil"

on execCmd(bin, command)
set res to do shell script bin & " " & command
if res contains "Error" then
display dialog res
quit
end if
return res
end execCmd

on Growl(notifName, notifTitle, notifDesc, notifIcon)
tell application "GrowlHelperApp"
notify with name ¬
notifName title ¬
notifTitle description ¬
notifDesc application name ¬
"ACPI4Asus" image from location ¬
"/Acpi4Asus/gfx/Wireless" & notifIcon & ".png"
end tell
end Growl

set wifiStatus to true
set btStatus to true
set wlSwitch to true

— get wifi status
if execCmd(wifiBin, "-getairportpower") ends with "Off" then
set wifiStatus to false
end if

— get bt status
if execCmd(btBin, "status") ends with "off" then
set btStatus to false
end if

if (btStatus and wifiStatus) then
execCmd(wifiBin, "-setairportpower off")
Growl("WiFiToggle", "WiFi Status", "WiFi is now OFF", "WiFi")
else if (not btStatus and not wifiStatus) then
execCmd(wifiBin, "-setairportpower on")
Growl("WiFiToggle", "WiFi Status", "WiFi is now ON", "WiFi")
else if (wifiStatus and not btStatus) then
execCmd(btBin, "on")
Growl("BTToggle", "Bluetooth Status", "Wifi and Bluetooth are now ON", "BTWifi")
else
execCmd(btBin, "off")
Growl("BTToggle", "Bluetooth Status", "Bluetooth and Wifi are now OFF", "BTWifi")
end if
EOF

Is there something wrong?

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1238499000|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238531382|%e %b %Y, %H:%M %Z|agohover

I will include your modification into the next update. Maybe we could create another icon as yours is really small when I use the smoke notification style. I tried to create an icon that combines both bt and wifi in one circle but that did not look that good either.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238531382|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
CaberCaber 1238705437|%e %b %Y, %H:%M %Z|agohover

I tried installing this on my 901. The screen keys work but the sound keys don't. any idea if this is fixable or should I re-install Audeee?

Caber;0

unfold Re: New improved Hotkey Enabler by CaberCaber, 1238705437|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
slither2007slither2007 1238717845|%e %b %Y, %H:%M %Z|agohover

The events that pentiumpc's asus driver are listening for may be different slightly on the 901. Since we don't have his source it's not possible to change that right now without re-writing the driver from scratch.

I find that even though his driver registers the key presses instantly the applescript that calls the volume up/down/mute is slow so I'm using Spark.

As for the Audio output swap functionality you could use spark to set a "ctrl +F<whichever>" key combo to run the script that cycles through the headphone/speaker.

First check that the script itself works first by running it from the Terminal. If the outputs were swapped then see if you can configure spark. This will save you clicking on Audeee each time to swap outputs.

unfold Re: New improved Hotkey Enabler by slither2007slither2007, 1238717845|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1238743207|%e %b %Y, %H:%M %Z|agohover

After you press one of the non-working fn key combos you could try to run

sudo dmesg | tail

in terminal. If the driver registered the key press, there schould be some messages in dmesg.

As I stated above … the delay of the volume keys is caused by the driver itself. It seems that it needs some time before it catches the key event. It would require the source to check if one could optimize this…

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1238743207|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
unixfraggerunixfragger 1240843863|%e %b %Y, %H:%M %Z|agohover

Hi, please reupp on other hoster like mediafire !

greetz unixfragger

unfold Re: New improved Hotkey Enabler by unixfraggerunixfragger, 1240843863|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1241049505|%e %b %Y, %H:%M %Z|agohover

I have uploaded it: http://thireus.dareyourmind.net/Asus%20EEE1000H%20-%20Hotkeys%20Enabler.mpkg.zip

I think this is the last version, but not sure about it. :/

EDIT: Yes it's ok this is the latest version :)

TO THE DEV: I don't know why, but FN + F2 doesn't work anymore :/ I tried a fresh install, but still the same since I have tried to edit with the provided modification…

Also I could be interesting to improve the keys now that we have a working kext for audio. So no more Audieee!

last edited on 1241050274|%e %b %Y, %H:%M %Z|agohover by Thireus + show more
unfold Re: New improved Hotkey Enabler by ThireusThireus, 1241049505|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1242799701|%e %b %Y, %H:%M %Z|agohover

Here is a quick fix for the dependencies error that occurs after the 10.5.7 update:

1) Open the file

/System/Library/Extensions/ACPI4Asus.kext/Contents/Info.plist

2) At the very bottom of the file you will find

<key>OSBundleLibraries</key>
        <dict>
                <key>com.apple.iokit.IOACPIFamily</key>
                <string>1.2.0</string>
                <key>com.apple.kernel</key>
                <string>9.6.0</string>
                <key>com.apple.kpi.iokit</key>
                <string>9.0.0</string>
                <key>com.apple.kpi.libkern</key>
                <string>9.0.0</string>
                <key>com.apple.kpi.mach</key>
                <string>9.0.0</string>
        </dict>

3) There you will have to change the version of com.apple.kernel from 9.6.0 to 9.7.0.

This will fix the ACPI driver for all of you that use a bios revision prior to 1902. If you already updates your bios to the latest version and use the dsdt.aml from Alex you will have to wait until I included the additional ACPI functions into that file. As business occupies most of my time, it could take a few days. So stay tuned…

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1242799701|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1242817049|%e %b %Y, %H:%M %Z|agohover

It works great :)
Thanks.

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1242817049|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
(account deleted) 1243116901|%e %b %Y, %H:%M %Z|agohover

Hey,
after i installed this Package, my battery indicator went away. Energy Saver tells me "No Batteries available". Also just the Power Button, worked but none of the Silver Buttons nor the Fn+ combinations.

The Display backlight turned on after wakeup which is great.

kextstat did not show any ACPI4ASUS kext. Since im using a 9.7.0 Kernel i changed the Line in the Info.plist. Still no luck.

As for the Audio toggle without audioeee im using VoodooHDA http://code.google.com/p/voodoohda/downloads/list now, which doesnt need this anyway.

unfold Re: New improved Hotkey Enabler by (account deleted), 1243116901|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
andif62andif62 1244494296|%e %b %Y, %H:%M %Z|agohover

Got the same problem with "no batteries available" here. All the other stuff except the BT hotkey is working fine but I want my battery indicator back!
Removing these files/folders:
* /Acpi4Asus/
* /dsdt.aml
* /System/Library/Extensions/ACPI4ASUS.kext

didn´t work for me…

unfold Re: New improved Hotkey Enabler by andif62andif62, 1244494296|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244604177|%e %b %Y, %H:%M %Z|agohover

Which model are you using and which distro do you have installed?

You could try to install VoodooBattery.kext to get you battery indicator back.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244604177|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
andif62andif62 1244782709|%e %b %Y, %H:%M %Z|agohover

Seems I´ve destroyed my working configuration…
After deinstalling Acpi4Asus the battery indicator was still not working.
So I´ve made a BIOS update using Niks files (http://www.enik.ch/2009/05/osx-leopard-1057-update-on-the-eee-1000h/; the new 1902 Alex BIOS)
but after this there is no more brightness control and sleep mode. Closing the lid make the screen go dark but my Eee doesn´t go to sleep.
It won´t "wake up" from this state either. I have to do a reboot to get a working screen. :-(
Even shutdown won´t switch the machine off.
Desparately looking for a hint…

last edited on 1244784882|%e %b %Y, %H:%M %Z|agohover by andif62 + show more
unfold Re: New improved Hotkey Enabler by andif62andif62, 1244782709|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
andif62andif62 1244841547|%e %b %Y, %H:%M %Z|agohover

Fixed the problem by exchanging my 1 GB RAM with 2 GB.
Seems dsdt.aml is optimized for this…

unfold Re: New improved Hotkey Enabler by andif62andif62, 1244841547|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1244842714|%e %b %Y, %H:%M %Z|agohover

Indeed and a lot of users reported it (me too!)

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1244842714|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244086629|%e %b %Y, %H:%M %Z|agohover

There is a new version out…

Download:

see first post of this topic

Changes:

  • sleep on lid close enabled (was missing in last version)
  • modified kext to be loadable with 10.5.7
  • the bluetooth menu extra was not loaded after boot when bluetooth was turned off
  • new AutoLocation script to change the Network Location depending on the availlable WiFi networks
  • new HotkEee application to configure the hotkey actions in a more convenient way
  • separated WiFi and Bluetooth toggle
  • removed no longer needed audio and ethernet fixes

Modifying a Hotkey:

Modifying a hotkey action was never easier before. You just have to launch the new HotkEee app and set up everything there…**

flickr:3592623403
unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244086629|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
rl92rl92 1244112967|%e %b %Y, %H:%M %Z|agohover

hi.. i have try you new hotkey enabler..
i found a problem with the wifi (fn+f2)
it actives wifi, shearches the network and it doesn't find the network… then it turns off wifi…
can i resolve this issue??

thank you…

unfold Re: New improved Hotkey Enabler by rl92rl92, 1244112967|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244117543|%e %b %Y, %H:%M %Z|agohover

Hmm … this should not happen. Even if the AutoLocation script does not find any networks, WiFi should remain powered on. Have you installed the dsdt.aml of the package or do you use another one?

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244117543|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
rl92rl92 1244130116|%e %b %Y, %H:%M %Z|agohover

i had the old thireus dsdt, then i installed the package and i don't change dsdt…

unfold Re: New improved Hotkey Enabler by rl92rl92, 1244130116|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1244141690|%e %b %Y, %H:%M %Z|agohover

I have just installed this package and dsdt works great ;)

It seems that the install automatically change your dsdt file :)

So no more need to use my dsdt file, the one provided into the package works great!

last edited on 1244142150|%e %b %Y, %H:%M %Z|agohover by Thireus + show more
unfold Re: New improved Hotkey Enabler by ThireusThireus, 1244141690|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244138300|%e %b %Y, %H:%M %Z|agohover

This could be the reason as I changed the button mapping of fn+f2. Please try the wifi functionality with the dsdt.aml of the package.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244138300|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1244141128|%e %b %Y, %H:%M %Z|agohover

The new version is great. Some features need to be improved such as the volume hotkeys that are not working well.

A change that must be done:

When we use the "Foremost windows tiled" feature, there are 5px on the right. To avoid it just do this change into the TileWindows.sh file:

FIND:

— why the -5?
set size of w to {(item 3 of bound) - (item 1 of bound) - 5, ¬
(item 4 of bound) - (item 2 of bound) - 5}

REPLACE IT TO THIS:

— why the -5?
set size of w to {(item 3 of bound) - (item 1 of bound), ¬
(item 4 of bound) - (item 2 of bound)}

last edited on 1244141557|%e %b %Y, %H:%M %Z|agohover by Thireus + show more
unfold Re: New improved Hotkey Enabler by ThireusThireus, 1244141128|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244191535|%e %b %Y, %H:%M %Z|agohover

I uploaded a new revised version with fixed VolUp script, enhanced VolMute script and TileWindows script without 5px right space. The volume keys still react slow … but as I pointed out before, this is an issue with the driver which I cannot fix without the source code.

See the first post for the download link…

last edited on 1244191655|%e %b %Y, %H:%M %Z|agohover by elParkeur + show more
unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244191535|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
rl92rl92 1244214249|%e %b %Y, %H:%M %Z|agohover

my fn+f2 doesn't work….
i use your dsdt patch…
it tryes to search wifi network, it doesn't find the network and it turn off wifi card…

unfold Re: New improved Hotkey Enabler by rl92rl92, 1244214249|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244263981|%e %b %Y, %H:%M %Z|agohover

Do you use an airport card or the ralink card? The script only works with airport cards.

You could also check, if airport is deactivated in you current network location.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244263981|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
rl92rl92 1244272006|%e %b %Y, %H:%M %Z|agohover

hi, i use the original ralink card…
i am waiting a airport wireless card from china…
ok… your hotkey enabler is fantastic…
thank you very much…

unfold Re: New improved Hotkey Enabler by rl92rl92, 1244272006|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
zmeYpczmeYpc 1244267969|%e %b %Y, %H:%M %Z|agohover

Good work, I am impressed, elParkeur, :) and I am decided more and more to test the EeeKey™ Enabler. As understand the .sh are scripts one may switch? I would suggest you to remove these savvy names and have them replaced by common friendlier names for every assignable action, eg >Launch Activity Monitor< //for >ActivityMonitor.sh< …

I will check if I satisfy the prerequisites and will go for it, as soon as I do my smbios.plist posts and got more time…


Я EeeMac 1000H Ѧ BIOS 2103_ASUS Ѧ DSDT dadaz_2103_HotkEee_0.4 Ѧ RAM 2 GB Ѧ Storage 160 GB + 120 GB Ѧ BootLoader Chameleon 2.0 R431 Ѧ OS Windows XP SP3 BG, Mac OS X 10.5.8 & Ubuntu 9.04 R

unfold Re: New improved Hotkey Enabler by zmeYpczmeYpc, 1244267969|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
Simonb42Simonb42 1244482595|%e %b %Y, %H:%M %Z|agohover

I love the new HotKey Enabler; it's finally working for me except for hibernate which still only works with the EFI V9 bootloader.

I would only like to be able to change other buttons' assignments and to create new choices: for example, my 1000HA doesn't have bluetooth so I'd use the button to lauch TextEdit.app for example. Would it be possible for now? I see that the bluetooth shortcut is pretty much hard-coded. Also, anyway to link it to shortcuts Spark was already handling (like iTunes controls)?

Thanks, and great job again!


"MacBook Mini" Eee PC 1000HA * Intel Atom N270 * 2 GB DDR2-5400 * Seagate 7200.3 250GB * BIOS 1902_patched * Chameleon 2.0 RC2 * Mac OS X 10.5.6 retail install & Windows XP (bootloader down ATM, but who cares) * Used daily for Uni :)

last edited on 1244482689|%e %b %Y, %H:%M %Z|agohover by Simonb42 + show more
unfold Re: New improved Hotkey Enabler by Simonb42Simonb42, 1244482595|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244604547|%e %b %Y, %H:%M %Z|agohover

For the bluetooth shortcut you could try to create a llink from BT_ON_notify and BT_OFF_notify to your desired script. Unfortunately, this is pretty much hardcoded within the driver which I cannot change. So in Terminal you would have to execute the following command:

rm /Acpi4Asus/scripts/BT_ON_notify.sh
rm /Acpi4Asus/scripts/BT_OFF_notify.sh
ln -s /Your/desired/script.sh /Acpi4Asus/script/BT_ON_notify.sh
ln -s /Your/desired/script.sh /Acpi4Asus/script/BT_OFF_notify.sh

Regarding the iTunes shortcuts … which functions would you like to control?

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244604547|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
Simonb42Simonb42 1244636753|%e %b %Y, %H:%M %Z|agohover

Controlling Play-Pause, Next and Previous tracks would be nice. I prefer (and am used to) the way Spark takes care of Volume so I'd use FN+F10 to F12.

What would the script to start an App look like? Is it as simple as editing the script that opens Activity Monitor and replacing the target App? And would I still get feedback telling me I toggled Bluetooth or can that be changed also?


"MacBook Mini" Eee PC 1000HA * Intel Atom N270 * 2 GB DDR2-5400 * Seagate 7200.3 250GB * BIOS 1902_patched * Chameleon 2.0 RC2 * Mac OS X 10.5.6 retail install & Windows XP (bootloader down ATM, but who cares) * Used daily for Uni :)

unfold Re: New improved Hotkey Enabler by Simonb42Simonb42, 1244636753|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244713730|%e %b %Y, %H:%M %Z|agohover

You will not get any bluetooth notification, if you replace the bt scripts with your own one. Could you please check, which script gets launched when you press the 4th silver button? To do so, you have to do the following:

  • open terminal app
  • press the silver button
  • type in terminal sudo dmesg

You should see some debug output of the driver that also includes the executed script. Do the above steps twice to check, of both scripts (ON and OFF) get executed or only one of them.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244713730|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
Simonb42Simonb42 1244723249|%e %b %Y, %H:%M %Z|agohover

]::audioCtlOssMixerSet(0x494b504, 6, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 7, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 8, 90, 90)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 9, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 10, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 11, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 12, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 13, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 14, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 15, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 16, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 17, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 18, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 19, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 20, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 21, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 22, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 23, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 24, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSetRecSrc(0x494b504, 0x80)
warning: couldn't set recording source to microphone
OSS mixer reinitialization…
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 0, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 1, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 2, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 3, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 4, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 5, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 6, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 7, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 8, 90, 90)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 9, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 10, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 11, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 12, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 13, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 14, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 15, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 16, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 17, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 18, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 19, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 20, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 21, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 22, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 23, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 24, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSetRecSrc(0x494b560, 0x80)
Recsel (mic): nid 36 source 0 unmute
Recsel (mic): nid 36 source 5 mute
Resume done.
Auth result for: 00:1f:f3:02:36:85 MAC AUTH succeeded
AirPort: Link Up on en0
ACPI4ASUS: Executing /Acpi4Asus/scripts/BAT_notify.sh
ACPI4ASUS: Power Source Change : BatteriesACPI4ASUS: Fn Keys Pressed : Fn+F02 : WLAN / Bluetooth
ACPI4ASUS: WIFI is ON | ACPI4ASUS: Executing /Acpi4Asus/scripts/BT_ON_notify.sh
Bluetooth is ON
VoodooHDADevice[0x3b00400]::performPowerStateChange(1, 2)
VoodooHDAEngine[0x4a6de00]::performAudioEngineStart
calling channelStart() for channel 0
PCMDIR_PLAY: Stream setup format=10001000 speed=44100
PCMDIR_PLAY: Stream setup nid=2: format=0x4031, digFormat=0x0001
VoodooHDAEngine[0x4a6de00]::performAudioEngineStop
calling channelStop() for channel 0
VoodooHDADevice[0x3b00400]::performPowerStateChange(2, 1)


t(0x494b504, 8, 90, 90)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 9, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 10, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 11, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 12, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 13, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 14, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 15, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 16, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 17, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 18, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 19, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 20, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 21, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 22, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 23, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b504, 24, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSetRecSrc(0x494b504, 0x80)
warning: couldn't set recording source to microphone
OSS mixer reinitialization…
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 0, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 1, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 2, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 3, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 4, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 5, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 6, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 7, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 8, 90, 90)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 9, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 10, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 11, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 12, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 13, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 14, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 15, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 16, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 17, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 18, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 19, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 20, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 21, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 22, 99, 99)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 23, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSet(0x494b560, 24, 0, 0)
VoodooHDADevice[0x3b00400]::audioCtlOssMixerSetRecSrc(0x494b560, 0x80)
Recsel (mic): nid 36 source 0 unmute
Recsel (mic): nid 36 source 5 mute
Resume done.
Auth result for: 00:1f:f3:02:36:85 MAC AUTH succeeded
AirPort: Link Up on en0
ACPI4ASUS: Executing /Acpi4Asus/scripts/BAT_notify.sh
ACPI4ASUS: Power Source Change : BatteriesACPI4ASUS: Fn Keys Pressed : Fn+F02 : WLAN / Bluetooth
ACPI4ASUS: WIFI is ON | ACPI4ASUS: Executing /Acpi4Asus/scripts/BT_ON_notify.sh
Bluetooth is ON
VoodooHDADevice[0x3b00400]::performPowerStateChange(1, 2)
VoodooHDAEngine[0x4a6de00]::performAudioEngineStart
calling channelStart() for channel 0
PCMDIR_PLAY: Stream setup format=10001000 speed=44100
PCMDIR_PLAY: Stream setup nid=2: format=0x4031, digFormat=0x0001
VoodooHDAEngine[0x4a6de00]::performAudioEngineStop
calling channelStop() for channel 0
VoodooHDADevice[0x3b00400]::performPowerStateChange(2, 1)
ACPI4ASUS: Fn Keys Pressed : Fn+F02 : WLAN / Bluetooth
ACPI4ASUS: WIFI is ON | ACPI4ASUS: Executing /Acpi4Asus/scripts/BT_OFF_notify.sh
Bluetooth is OFF


Ok, 2 scripts seem to be executed… and I don't understand much of it… Now how do I make a new script?


"MacBook Mini" Eee PC 1000HA * Intel Atom N270 * 2 GB DDR2-5400 * Seagate 7200.3 250GB * BIOS 1902_patched * Chameleon 2.0 RC2 * Mac OS X 10.5.6 retail install & Windows XP (bootloader down ATM, but who cares) * Used daily for Uni :)

unfold Re: New improved Hotkey Enabler by Simonb42Simonb42, 1244723249|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1244725129|%e %b %Y, %H:%M %Z|agohover

Only BT_ON_notify.sh gets launched when you press the hotkey. So just make a copy of ActivityMonitor.sh and name it BT_ON_notify. Be sure to delete the original one. Then you will only have to change the Activity Monitor app within the script with your desired application.

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1244725129|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
Simonb42Simonb42 1244773352|%e %b %Y, %H:%M %Z|agohover

I've done that. It launches my app once, but then keeps telling me Bluetooth is off. So I can't open my app more than one. I've tried replacing the BT_OFF script too with the same thing but it doesn't work at all…


"MacBook Mini" Eee PC 1000HA * Intel Atom N270 * 2 GB DDR2-5400 * Seagate 7200.3 250GB * BIOS 1902_patched * Chameleon 2.0 RC2 * Mac OS X 10.5.6 retail install & Windows XP (bootloader down ATM, but who cares) * Used daily for Uni :)

unfold Re: New improved Hotkey Enabler by Simonb42Simonb42, 1244773352|%e %b %Y, %H:%M %Z|agohover
Version 0.4 out
elParkeurelParkeur 1245296353|%e %b %Y, %H:%M %Z|agohover

ASUS EEE1000H Hotkeys Enabler 0.4

The next update hit the road. You can download version 0.4 of the Hotkey Enabler (see first post).

Changes:

0.4

  • AutoLocation script now switches the location based on the best known hotspot and not on the first one
  • AutoLocation script now growls the new location
  • new script: iTunes - Play / Pause
  • new script: iTunes - Next Track
  • new script: iTunes - Previous Track
  • new script: Battery / AC notification
  • new script: Presentation Mode
  • new script: Lock Screen
  • HotkEee app now shows more descriptive script names
  • AutoLocation settings can be configured in preferences of HotkEee app
  • change of BT hotkey action can be unlocked in HotkEee preferences for non-BT devices
  • new icon of HotkEee app
unfold Version 0.4 out by elParkeurelParkeur, 1245296353|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
Simonb42Simonb42 1245309115|%e %b %Y, %H:%M %Z|agohover

Wow, I'm impressed. I can't find much more that I could be hoping for now! I really like the battery notification script :) This is all making my Eee even more convenient to use.

Now would it be possible to make an easy to use script for launching applications, much like what works for the grey buttons on windows?

Just a question, would the scripts-ACPI code work on a 900HA (FN keys I mean; silver buttons excluded, obviously)? I'm thinking about sizing down…


"MacBook Mini" Eee PC 1000HA * Intel Atom N270 * 2 GB DDR2-5400 * Seagate 7200.3 250GB * BIOS 1902_patched * Chameleon 2.0 RC2 * Mac OS X 10.5.6 retail install & Windows XP (bootloader down ATM, but who cares) * Used daily for Uni :)

unfold Re: Version 0.4 out by Simonb42Simonb42, 1245309115|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
elParkeurelParkeur 1245311179|%e %b %Y, %H:%M %Z|agohover

The app launcher script is on my todo list. I'm currently thinking about a convenient way to configure the application to launch with the HotkEee app.

I cannot guarantee that the dsdt also works for the 900HA. If you could provide me a dsdt file of the 900HA I could have a look.

unfold Re: Version 0.4 out by elParkeurelParkeur, 1245311179|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
ThireusThireus 1245315800|%e %b %Y, %H:%M %Z|agohover
#!/bin/bash
#################################################
# Asus EEE1000H Hotkeys Enabler                 #
#                                               #
# SCRIPT:   WirelessUtilityCardbusPCI.sh        #
# FUNCTION: Script that launches                #
#           WirelessUtilityCardbusPCI           #
# VERSION:  0.1                                 #
# AUTHOR:   Thireus                             #
#################################################

open -a WirelessUtilityCardbusPCI

Great new version. I don't know why but I don't have bluetooth anymore… Will try to see why.

EDIT: Ok this is not due to this application :) LOL, bluetooth was disabled into my BIOS xD

last edited on 1245316771|%e %b %Y, %H:%M %Z|agohover by Thireus + show more
unfold Re: Version 0.4 out by ThireusThireus, 1245315800|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
rl92rl92 1245321396|%e %b %Y, %H:%M %Z|agohover

does wifi script work with ralink card or also with airport card?

thank you. you are great

unfold Re: Version 0.4 out by rl92rl92, 1245321396|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
elParkeurelParkeur 1245652215|%e %b %Y, %H:%M %Z|agohover

The WiFi function only works with Airport Cards.

unfold Re: Version 0.4 out by elParkeurelParkeur, 1245652215|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
MayhMayh 1245638599|%e %b %Y, %H:%M %Z|agohover

Please! How to uninstall this #$%?& Hotkey Enabler from my system???!!
It doesn't work for me, by pressing Fn-F2 Wi-Fi turns Disabled in BIOS. Repeately pressings don't turn it on.

unfold Re: Version 0.4 out by MayhMayh, 1245638599|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
elParkeurelParkeur 1245652928|%e %b %Y, %H:%M %Z|agohover

You should think about you atitude here. #$%?& is not the right tone to judge my Hotkey Enabler which I create in my free time (which is not that much with studies, 2 jobs and a family) and which I offer you for free. You should consider a more polite way of asking for help!

So, to get rid of the #$%?& piece of software, you have to delete:

  • /dsdt.aml
  • /Acpi4Asus/
  • /System/Library/Extensions/ACPI4Asus.kext
  • /Applications/HotkEee.app
unfold Re: Version 0.4 out by elParkeurelParkeur, 1245652928|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
nhirtnhirt 1245675428|%e %b %Y, %H:%M %Z|agohover

Mayh,

Your behavior is ABSOLUTELY unacceptable (yes I am shouting for once).
As elParkeur says, we're taking on our free time to help people out here and it's trolls like you that make me think of continuing my efforts (not that they were huge, but still ;-) in developing this community.

This is about positive attitude and respect, so if you don't like "this #$%?& Hotkey Enabler" then reinstall or go back to XP so you can complain to Micro$oft.
This is not an Apple support forum, nor do we owe you anything…

The least thing would be to apologize to elParkeur about your choice of language as he put in huge amounts of time to make this package happen.
Otherwise I would suggest that you don't come back here…

Let's keep this blog positive and helpful,

Nik

unfold Re: Version 0.4 out by nhirtnhirt, 1245675428|%e %b %Y, %H:%M %Z|agohover
Re: Version 0.4 out
andif62andif62 1245684089|%e %b %Y, %H:%M %Z|agohover

I can only subscribe to this view! Looking back a few months, hackintoshing an Eee PC was nothing more than just a proof-of-concept…
Now, thanks to those guys like elParkeur, nhirt, Thireus etc. etc. we´ve got a small OS X capable netbook!!!
It´s still in an experimental state, but everyone on this blog should know this.
You´ve got the choice to try it out for yourself or leave it ;-)

unfold Re: Version 0.4 out by andif62andif62, 1245684089|%e %b %Y, %H:%M %Z|agohover
DSDT file for 1GB RAM
elParkeurelParkeur 1245315058|%e %b %Y, %H:%M %Z|agohover

I found the entry in the dsdt that specifies the system ram and causes the battery meter problems in machines with only 1GB ram. Could anybody with 1GB ram test the file and report, if the battery meter is working? Unfortunately, I sold my 1GB ram module when I upgraded to 2GB … so I cannot test it on my own.

You can download the file here

last edited on 1245353341|%e %b %Y, %H:%M %Z|agohover by elParkeur + show more
unfold DSDT file for 1GB RAM by elParkeurelParkeur, 1245315058|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
andif62andif62 1245347815|%e %b %Y, %H:%M %Z|agohover

Sorry, Marko, but this link doesn´t work!

unfold Re: DSDT file for 1GB RAM by andif62andif62, 1245347815|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
elParkeurelParkeur 1245353383|%e %b %Y, %H:%M %Z|agohover

Link fixed…

unfold Re: DSDT file for 1GB RAM by elParkeurelParkeur, 1245353383|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
andif62andif62 1245357091|%e %b %Y, %H:%M %Z|agohover

Each with the new dsdt.aml file everything is working when I´m logged in as admin. As a regular user the only hotkey working is FN-F2 for Wireless Lan. No other hotkey and no notification pop-up at all :-(
Tried to start the init.sh but it needs admin rights…

last edited on 1245357157|%e %b %Y, %H:%M %Z|agohover by andif62 + show more
unfold Re: DSDT file for 1GB RAM by andif62andif62, 1245357091|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
elParkeurelParkeur 1245361346|%e %b %Y, %H:%M %Z|agohover

In Terminal run

defaults write /Library/Preferences/com.asus.driver.acpi user your_user_name

Replace your_user_name with the short name (unix name) of your normal user account.

For the notifications you can check in your growl preferences if the ACPI4ASUS notifications are properly registered. If not, run the following AppleScript:

set the allNotificationsList to ¬
  {"AudioToggle", "AutoLocation", "BatNotif", "BTToggle", "DisplayToggle", "Hibernation", "LockScreen", "ScaleScreen", "TileWindows", "Volume", "WiFiToggle"}

set the enabledNotificationsList to ¬
  {"AudioToggle", "AutoLocation", "BatNotif", "BTToggle", "DisplayToggle", "Hibernation", "LockScreen", "ScaleScreen", "TileWindows", "Volume", "WiFiToggle"}

tell application "GrowlHelperApp"
        register as application "ACPI4Asus" ¬
                all notifications allNotificationsList ¬
                default notifications enabledNotificationsList ¬
                icon of application "HotkEee"
end tell
unfold Re: DSDT file for 1GB RAM by elParkeurelParkeur, 1245361346|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
andif62andif62 1245421926|%e %b %Y, %H:%M %Z|agohover

Running your script did it. Thanks a lot!

unfold Re: DSDT file for 1GB RAM by andif62andif62, 1245421926|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
gilestgilest 1245463936|%e %b %Y, %H:%M %Z|agohover

hey guys i also have 1gb ram and this dsdt file doesn't seem to make any difference for me, battery icon still shows an x in it.

i have tried voodoo battery and AppleACPIBatteryManager.kext, no luck.

elparkeur, in your dsdt above, the hex for a 1gb system is:
OperationRegion (BIOS, SystemMemory, 0x3FF7CD7D, 0xFF)
right? i have tried adding this to Thireus' dsdt to no avail, is this the only part that needs changing for different ram?

i want to extract my own dsdt without booting using a dsdt file, can i do this if i have a hacked bios and just remove the dsdt file? worth a shot i guess.
edit: tried it and i can't boot without a dsdt because of the graphics fix, just get that blue screen. daamn.

andif62, what kexts are you using for the battery, and are you running them from extra/extensions of system/library/extensions?

just wanna see my battery charge y'all ;_;

Edit: fixed, hooray! I found another dsdt file for 1gb ram (for some reason the mediafire one didn't work):
http://www.savefile.com/projects/808775491
sleep and battery are working great now!

last edited on 1245470315|%e %b %Y, %H:%M %Z|agohover by gilest + show more
unfold Re: DSDT file for 1GB RAM by gilestgilest, 1245463936|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
elParkeurelParkeur 1245474179|%e %b %Y, %H:%M %Z|agohover

That's strange. I checked the file you mentioned for the SystemMemory settings.

my dsdt
3FF7CD7D16 = 107320460510 Bytes = 102310 MB

your dsdt
0x3F7AE06416 = 106501744410 Bytes = 101510 MB

I wonder why there is a difference of 8 MB.

@Andreas: Is your battery meter really working with my file?

unfold Re: DSDT file for 1GB RAM by elParkeurelParkeur, 1245474179|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
gilestgilest 1245476298|%e %b %Y, %H:%M %Z|agohover

you're right, it is weird. i didn't really expect it to work but it did. and it solved *a lot* of issues for me straight away.

sleep works perfectly now, i can wake up with the spacebar or whatever, if i tried to sleep with the old dsdt it would just turn the screen off and the status indicators would remain on, required a hard reset every time i accidentally went to sleep.

for some reason while i was messing around with bios/dsdt/kext combinations, OpenHaltRestart stopped working altogether being loaded from either extensions directory, this was fixed also.

i am back to the 1902 unmodded bios and i have pretty much everything working, battery is very accurate, acts just like on a macbook, except i can remove my battery and the symbol will become the x symbol again, but only until i put the battery back in, sweet!

unfold Re: DSDT file for 1GB RAM by gilestgilest, 1245476298|%e %b %Y, %H:%M %Z|agohover
Re: DSDT file for 1GB RAM
andif62andif62 1245482361|%e %b %Y, %H:%M %Z|agohover

Battery meter is working without any problems!

unfold Re: DSDT file for 1GB RAM by andif62andif62, 1245482361|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
AllegriAllegri 1245822739|%e %b %Y, %H:%M %Z|agohover

Thanks elParkeur for a great app, the ASUS is a Mac now for sure…
It works and looks like the real thing!

I just had small issue because I’m running 10.5.6 I had to reverse the version of com.apple.kernel from 9.7.0 to 9.6.0 in the Info.plist. After the manual change I needed to fix the kext permissions with Kext helper. The app responded immediately after that.

Thx!
Fred

PS. Just saw a small cosmetic thing now. If I mute the volume and I don’t hit mute again but directly a volume fn key it starts from null. I think with Mac it starts from the level before I muted. It’s really a tiny detail…

unfold Re: New improved Hotkey Enabler by AllegriAllegri, 1245822739|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1245828411|%e %b %Y, %H:%M %Z|agohover

I will include two versions of the kext in the next release.

I have to think about you mute suggestion. It's not that trivial because I have to differentiate between volume set to 0 and volume muted to 0 …

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1245828411|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
AllegriAllegri 1245843012|%e %b %Y, %H:%M %Z|agohover

Sure,

I understand that it has to done in another way… Put your energy in more releveant matters when it comes to the mute level. I really appreciate your app…

Fred

unfold Re: New improved Hotkey Enabler by AllegriAllegri, 1245843012|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
ThireusThireus 1246206144|%e %b %Y, %H:%M %Z|agohover

Here is my DSDT to make it work with HotKey Enabler and the 1000H 2003 BIOS:

http://thireus.dareyourmind.net/DSDT_2003_Thireus.zip

:)

unfold Re: New improved Hotkey Enabler by ThireusThireus, 1246206144|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
sd_mattosd_matto 1246329138|%e %b %Y, %H:%M %Z|agohover

First, I want to thank you for an awesome program. Thanks so much.

Now, to the issues raised by installing it on my system (2GB Asus 1002ha - Triple boot (Mac OS 10.5.7 Retail, Fedora 11, Windows 7 RC) - Darwin + Chameleon as the bootloaders). I installed your hotkey enabler using your installer, and replaced the dsdt.aml file I had created for my system (on which Fn-F5, Fn-F6 worked no problem) with the one in your installer package.

Once your program was installed, I observed the following:

Hibernate (Fn-F1) works fine going into hibernate; pushing any combination of keys does not allow exit of hibernate to occur.

WiFi Toggle (Fn-F2) works fine; no issues.

Screen brightness reduce (Fn-F5) and screen brightness increase (Fn-F6) no longer work; it is probably a dsdt.aml issue, as they worked no problem when I had my dsdt.aml on installed.

Mute (Fn-F10) does not work (similar dsdt.aml issue? Not sure), whereas Vol down (Fn-F11) and Vol up (Fn-F12) work no problem (so I have stopped my Spark daemon).

Not sure about the other buttons.

Anyways, thoughts about how to address the 2 screen brightness issues and the vol mute issue above, as well as the exit hibernation issue, would be much appreciated. I would post my original dsdt.aml file on here, but I am not sure how to do that.

Having said all that, thanks again for having produced this program; much appreciated here.

unfold Re: New improved Hotkey Enabler by sd_mattosd_matto, 1246329138|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
emptycanvasemptycanvas 1249151810|%e %b %Y, %H:%M %Z|agohover

I also have an eeepc 1002HA but the atheros wifi and the battery meter don't work. Not saying any fn key work.
Can you give me your dsdt please?
Its 1GB RAM.
Or help.

last edited on 1249151977|%e %b %Y, %H:%M %Z|agohover by emptycanvas + show more
unfold Re: New improved Hotkey Enabler by emptycanvasemptycanvas, 1249151810|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
zmeYpczmeYpc 1250229818|%e %b %Y, %H:%M %Z|agohover

Hi elParkeur, thank you for the wonderful utility!
I want to sum here my problems with Asus EEE1000H - Hotkeys Enabler.mpkg v.0.4 and my update to 10.5.8:
1. Prior to update my system to 10.5.8 I've removed the older version of HotkEee and all paths.
2. I was on 1000H_2003 BIOS (with moded OEM logo) and DSDT.AML 2102 with ASUS Hot key (by dadaz). My dsdt.aml is always loaded from /Extra/dsdt.aml as set in my com.apple.Boot.plist file.
3. I kept the ACPI4ASUS.kext installed in /S/L/E patched for 10.5.8 as you have suggested above.
4. I did the HotkEee 0.4, and:
// On first restart I had a KP but after shutdown and reboot the System has loaded normally.
// ACPI4ASUS.kext was unloaded and put in /Aspi4Asus.bak folder. It doesn't load in Terminal.
// In my root path there was another dsdt.aml.

Is it safe to replace this /dsdt.aml with one I load from /Extra/dsdt.aml?
Is it safe to install kexthelper the ACPI4ASUS.kext in /S/L/E?

//Regards, NF


Я EeeMac 1000H Ѧ BIOS 2103_ASUS Ѧ DSDT dadaz_2103_HotkEee_0.4 Ѧ RAM 2 GB Ѧ Storage 160 GB + 120 GB Ѧ BootLoader Chameleon 2.0 R431 Ѧ OS Windows XP SP3 BG, Mac OS X 10.5.8 & Ubuntu 9.04 R

unfold Re: New improved Hotkey Enabler by zmeYpczmeYpc, 1250229818|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
elParkeurelParkeur 1256323014|%e %b %Y, %H:%M %Z|agohover

So … after more than one year of using OS X in my eee, one of my colleagues offered me his half year old Macbook at very good conditions. I could not resist and bought that baby. As I will sell my eee, I will no longer have the opportunity to improve the hotkey enabler.

All the source files (Enabler app, pkg source and scripts) will be availlable soon, in case someone else feels like continuing my work.

Thanks for the great time here and all the fun hacking OS X…

unfold Re: New improved Hotkey Enabler by elParkeurelParkeur, 1256323014|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
dadazdadaz 1256385535|%e %b %Y, %H:%M %Z|agohover

You've made the good choice.

Thanks for sharing your work with us.

unfold Re: New improved Hotkey Enabler by dadazdadaz, 1256385535|%e %b %Y, %H:%M %Z|agohover
Re: New improved Hotkey Enabler
nhirtnhirt 1256547808|%e %b %Y, %H:%M %Z|agohover

Thanks for your work and for publishing the source code - this is true community oriented thinking…
And… Welcome to the bright side of real Macs, you sure won't regret it ;-)

Nik

unfold Re: New improved Hotkey Enabler by nhirtnhirt, 1256547808|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License