Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#76 2008-08-21 1:03:08 pm

elmurato
Senior Member
From: Germany
Registered: 2008-08-07
Posts: 330
Website

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Thanks everyone. I'm very happy to hear that it works. Today I released the version 1.1. These things are new:

* Username will be detected automatically, no need to add it manually (from Niceeepc)
* OSDs for Wifi, BT and VGA added (from Niceeepc)
* Fn+F7 from the EeePC 1000/1000H added (does the same as the first hotkey at the moment)
* Added alternatives for Xubuntu, etc. if acpi_listen fails (you need to comment the lines out in "/etc/acpi/eeepc-actions.sh")
* Conflicting scripts will now be moved to /etc/acpi/backup instead of being deleted
* Comments updated

The installation works the same way. For the german users here: http://eeewiki.de/index.php/Ubuntu_8.04 … _ativieren

@ Rod Hull
Yes this problem sucks but I don`t know a way to fix this. If someone knows that please let me know...


>> ASUS EeePC 901 12G black - 8GB SDHC - Ubuntu 10.04 (testing) <<
Eeeasy Scripts (Hardy & Intrepid)
Eeeasy Scripts (Jaunty)
www.netbooknews.de

Offline

 

#77 2008-08-21 1:13:48 pm

rogue_ronin
Member
From: Thailand
Registered: 2007-11-17
Posts: 56

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Does anyone else get a brightness OSD popup on Xubuntu when the AC is connected? (NOT when the brightness up F6 is pressed, though.) What is generating that OSD image?  It would be nice to use whatever it is to make an OSD for Xubuntu, as I gather that the usual Ubuntu OSD is generated via Gnome. Or remove it if it cannot make the other keys' popups.

Thanks,

m a r

ps: yup, repeating -- it got lost in the silkscreen discussion... And I'll be trying elmurato's script this weekend.

Offline

 

#78 2008-08-21 5:04:58 pm

Rod Hull
Senior Member
From: UK
Registered: 2008-04-26
Posts: 224

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

The new version with OSD is virtually perfect IMO!

If we can figure out enabling the larger virtual X space, then the VGA could be easily customised to fit any sized screen. The video card in the EEE is definitely able to output to much higher resolutions than 1024x768...

Offline

 

#79 2008-08-21 9:07:33 pm

jakewine
Member
Registered: 2008-08-10
Posts: 26

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

newb note:

you can't just repeat the directions to install the new script. when you wget the new version ubuntu appends ".1" to the name if you haven't deleted the old download yet. you need to either delete the original .gz file or change the tar command to reference the new filename.


eee 1000H + ubuntu 8.04.1 + adamm's kernel + elmurato's hotkeys

Offline

 

#80 2008-08-22 12:18:59 am

thomasb
Member
Registered: 2008-08-18
Posts: 11

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

rogue_ronin wrote:

(...)  It would be nice to use whatever it is to make an OSD for Xubuntu, as I gather that the usual Ubuntu OSD is generated via Gnome. Or remove it if it cannot make the other keys' popups.

Good question.  I did a little investigating myself and discovered that the following:

1.  The acpi daemon (acpid) reports events to the socket /var/run/acpid.socket
2.  The following processes are listening to /var/run/acpid.socket:

     /usr/bin/x-session-manager
     /usr/bin/xfce-mcs-manager
     /usr/lib/libgconf2-4/gconfd-2
     /usr/bin/gnome-keyring-daemon
     /usr/bin/xfwm4
     /usr/bin/Thunar
     /usr/lib/gamin/gam_server
     /usr/bin/xfdesktop
     /usr/bin/dbus-daemon
     /usr/bin/xfce4-panel
     /usr/lib/xfce4/panel-plugins/xfce4-menu-plugin
     /usr/lib/xfce4-places-plugin/xfce4/panel-plugins/xfce4-places-plugin
     /usr/bin/update-notifier
     /usr/bin/gnome-power-manager
     /usr/bin/nm-applet
     /usr/bin/python (running /usr/share/system-config-printer/applet.py)
     /usr/lib/thunar/xfce4/panel-plugins/thunar-tpa
     /usr/bin/gnome-keyring-daemon
     /usr/lib/notification-daemon/notification-daemon

Whew, if this is Xubuntu, I can only imagine how many more daemons must be running on a full-blown Ubuntu installation.

After perusing some man pages, and doing a little bit of online research, it looks like the most relevant daemon for us Xubuntu users is the notification daemon.

"The Desktop Notifications framework provides a standard way of doing passive pop-up notifications on the Linux desktop. These are designed to notify the user of something without interrupting their work with a dialog box that they must close. Passive popups can automatically disappear after a short period of time." -- from the Ubuntu package description

The specification for the Notification Daemon can be found at http://www.galago-project.org/specs/not … /index.php

Looks to me that with a bit of work, Elmurato's script (via the DBUS communication architecture) can tell the notification daemon to display OSD popups, of failing that, I can modify the C program I uploaded earlier to do it.  I will look into this over the weekend, but wanted to share this in case anyone else is interested.

Thomas

Offline

 

#81 2008-08-22 9:28:46 am

rogue_ronin
Member
From: Thailand
Registered: 2007-11-17
Posts: 56

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

thomasb!

You always come back with the best information.  Props to you, man. It would take me years to find out that stuff.

Any hints or howtos on modding the scripts to use the notification-daemon would be awesome.

It sounds like your c program would be useful; can it be configured for each ACPI event?

m a r

Offline

 

#82 2008-08-23 12:30:01 pm

rogue_ronin
Member
From: Thailand
Registered: 2007-11-17
Posts: 56

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Well, I applied a little google-fu, and I found notify-send.  It comes in the libnotify-bin package.

Code:

notify-send -i /usr/share/icons/hicolor/48x48/apps/gnome-brightness-applet.png -t 300 -u normal BRIGHTNESS "Increasing brightness..."

Seems to pop up just long enough to read -- because everytime you hit the hotkey, it will pop up a new message window.  Too long a delay, and you're looking at a screenful of windows.

As an aside, I'm not sure that this client can do the nice little image popups.  It'll display the images, but has no options to suppress the background window. Nor can you move the position.

Off to search for another notification-daemon client.

m a r

Offline

 

#83 2008-08-23 2:31:19 pm

rogue_ronin
Member
From: Thailand
Registered: 2007-11-17
Posts: 56

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Wrong, wrong, wrong. I was wrong.

You totally CAN position the popup. And if you declare the same position, re-hitting the keys will simply lay a popup on top of the previous one -- they'll die off from underneath, so it won't look wierd.

Some basic HTML formatting is allowed, including images (although I haven't been able images to make it work -- anyone?)

While notification-daemon may be the source of the random ac-plug popup, I don't think notify-send is doing the work.  Something else is likely pinging the daemon.

(Also, there is a notification-daemon-xfce, but I have to uninstall update-notifier...)

m a r

ps: here's an example of how to position a popup:

Code:

notify-send -i face-plain -t 1500 -u normal --hint=int:'x':340 -h int:'y':680 Brightness "Brightness <i>UP</i>"

Last edited by rogue_ronin (2008-08-23 2:52:08 pm)

Offline

 

#84 2008-08-24 4:04:28 pm

lardandweed
Member
Registered: 2008-08-13
Posts: 16

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Just tried this out over a clean install of Hardy on my 1000h and i must say everything pretty much works nicely ... so double thanks to you elmurato and the people who have helped in some way or other! =p

just a few issues with the vga toggle hotkey:
   

- it adjusts my volume as well. Upon turning on the external display, it will decrease the volume slightly (OSD pops up as well). Turning it off again will mute the sound entirely
- also if the the vga cable is not plugged in, the external display can be turned on but NOT off. or at least OSD will only show that it's on
- and also the aspect ratio thingy that Rod Hull mentioned

Haven't tried out the wifi since i ain't got any at home. Will try it out at school tmr and see if i have any problems connecting to the network


Anyway, these are just minor annoyances to me atm. I'm just a week old on Linux, so probably would be because i did something dumb. haha

Offline

 

#85 2008-08-24 7:29:27 pm

elmurato
Senior Member
From: Germany
Registered: 2008-08-07
Posts: 330
Website

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

@lardandweed
Does the file /etc/acpi/events/asus-volume-up exists? If yes remove it. Or try the new version 1.2.

@ all
Version 1.2 now online:

* OSD for brightness (special thanks to Carlos Jenkins alias Havok!)
* CPU frequency control (3. new hotkey)
* Webcam toggle (4. new hotkey)
* Fan control (must be enabled manually and the modules i2c-i801 and eee must be loaded)
* Fixed OSD-Bug for Fn+F5

Last edited by elmurato (2008-08-24 7:51:46 pm)


>> ASUS EeePC 901 12G black - 8GB SDHC - Ubuntu 10.04 (testing) <<
Eeeasy Scripts (Hardy & Intrepid)
Eeeasy Scripts (Jaunty)
www.netbooknews.de

Offline

 

#86 2008-08-25 9:45:17 am

lardandweed
Member
Registered: 2008-08-13
Posts: 16

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Wow! fast!!

Tried v1.2 on a clean install. and it's perfect big_smile

The only thing left is the problem with the screen real-estate of the external display. But I don't really need to do presentations with this machine. I haven't seen how it looks like using a projector (Only tested on my LCD). I'll try to find a room in school tmr and see if it's really irksome =p

Oh, and tried wifi today too. Low signal and getting disconnects every now and then, but its probably the location since my friend got a worse signal with his thinkpad. He managed to maintain connection despite the poor reception tho. Think i'll have to test it out more over the next few days. Anyway, i should probably ask about this in a separate thread.

Well, thank u!!

Offline

 

#87 2008-08-25 1:30:05 pm

LadyBug
Member
From: Finland
Registered: 2008-08-06
Posts: 47

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Hmm, I just installed your scripts. Otherwise everything seems to work, except for the external display Fn+F5.
There's no OSD for it, should there be? I haven't actually plugged in an external display, but I expected something to happen when I pressed Fn+F5. Do I need to tweak xorg.conf or something?

However, great work, I especially like that you got the four hotkeys working!


- LadyBug, unmodified 901 with Jaunty UNR and experimenting with various eee scriptsets.

Offline

 

#88 2008-08-25 1:45:12 pm

elmurato
Senior Member
From: Germany
Registered: 2008-08-07
Posts: 330
Website

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Could you enter

Code:

tail -f /var/log/acpid

in your terminal and post the output after pressing Fn+F5?

Last edited by elmurato (2008-08-25 1:45:39 pm)


>> ASUS EeePC 901 12G black - 8GB SDHC - Ubuntu 10.04 (testing) <<
Eeeasy Scripts (Hardy & Intrepid)
Eeeasy Scripts (Jaunty)
www.netbooknews.de

Offline

 

#89 2008-08-25 1:53:25 pm

LadyBug
Member
From: Finland
Registered: 2008-08-06
Posts: 47

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Here's the acpi log:

Code:

[Mon Aug 25 20:50:12 2008] received event "hotkey ATKD 00000030 0000000d"
[Mon Aug 25 20:50:12 2008] notifying client 5005[111:123]
[Mon Aug 25 20:50:12 2008] notifying client 5517[1000:1000]
[Mon Aug 25 20:50:12 2008] notifying client 5144[0:0]
[Mon Aug 25 20:50:12 2008] executing action "/etc/acpi/eeepc-actions.sh hotkey ATKD 00000030 0000000d"
[Mon Aug 25 20:50:12 2008] BEGIN HANDLER MESSAGES
[Mon Aug 25 20:50:13 2008] END HANDLER MESSAGES
[Mon Aug 25 20:50:13 2008] action exited with status 0
[Mon Aug 25 20:50:13 2008] completed event "hotkey ATKD 00000030 0000000d"

Thanks.


- LadyBug, unmodified 901 with Jaunty UNR and experimenting with various eee scriptsets.

Offline

 

#90 2008-08-25 2:07:06 pm

elmurato
Senior Member
From: Germany
Registered: 2008-08-07
Posts: 330
Website

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Hmm there are no errors... And I just tried it with my 17'' monitor and it works. Could you try it manually?

Code:

sudo /etc/acpi/eeepc-vga-toggle.sh

>> ASUS EeePC 901 12G black - 8GB SDHC - Ubuntu 10.04 (testing) <<
Eeeasy Scripts (Hardy & Intrepid)
Eeeasy Scripts (Jaunty)
www.netbooknews.de

Offline

 

#91 2008-08-25 2:47:31 pm

LadyBug
Member
From: Finland
Registered: 2008-08-06
Posts: 47

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

OK, VGA toggle problem solved. It turned out that if I have an external monitor attached, the Fn-F5 works just fine. However, if I don't have anything attached to the VGA port, nothing is displayed.

I still think something should be displayed even without external display to avoid this kind of confusion, but that's my personal opinion.

But thanks!


- LadyBug, unmodified 901 with Jaunty UNR and experimenting with various eee scriptsets.

Offline

 

#92 2008-08-25 3:00:36 pm

lardandweed
Member
Registered: 2008-08-13
Posts: 16

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

I think if the external display is not plugged in, the hot-key will not work at all (rather than just no OSD notification). The external VGA remains off

Offline

 

#93 2008-08-25 4:25:04 pm

elmurato
Senior Member
From: Germany
Registered: 2008-08-07
Posts: 330
Website

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

lardandweed wrote:

I think if the external display is not plugged in, the hot-key will not work at all (rather than just no OSD notification). The external VGA remains off

Exactly. I think a "No display connected" notification is unnecessary... But if you want I could add it.


>> ASUS EeePC 901 12G black - 8GB SDHC - Ubuntu 10.04 (testing) <<
Eeeasy Scripts (Hardy & Intrepid)
Eeeasy Scripts (Jaunty)
www.netbooknews.de

Offline

 

#94 2008-08-26 5:02:46 am

Linked
New member
From: Finland
Registered: 2008-08-19
Posts: 9

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Very nice work elmurato, everything works perfectly on my 901. smile


EeePC 901 20GB Black - 16GB RunCore Pro - Kingston 2GB 677MHz - nLite'd XP SP3 - WinSetupFromUSB

Linux: Xubuntu 8.04 + Adamm's custom kernel + elmurato's ACPI scripts

Offline

 

#95 2008-08-27 9:20:56 am

capatt
Member
Registered: 2008-08-15
Posts: 57

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Hello
     I'm a semi-newbie and have been following this thread with interest.  Seems like elmurato's script is ready for my 901, on which I've installed adamm's kernel.  One hitch, after installing the kernel I couldn't get wifi to work until after installing Ralink's linux driver.

    So, all I have to do is run the "ACPI scripts v1.2 by me" script in the very first post, then reboot?  No modifications required for my login/user name?  Is it conceivable that future updates from the Ubuntu repositories could possibly break something down the road?

     Anything else I should do?

Thank you!


ASUS EEE PC 901, Dual Boot WinXP SP3 & eeebuntu 8.10, boot: 32GB Runcore; 2GB RAM, 16 GB SDHC
Atlanta, GA

Offline

 

#96 2008-08-27 9:37:11 am

juampick
New member
Registered: 2008-08-27
Posts: 6

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

Hi!!! First sorry about my English, I"m from Argentina and I'm learning it.
I bought a eeepc 1000h last week and I'm completely fell in love with it. tongue
After searching a lot in too sites I found the excelent job of elmurato!!! It works ok all in my pc but only the bluetooth toggle on-off don't work and the notifier also.
What can I do??? I have "elmurato 1.2v acpi" and Ubuntu eee 8.04.
The log when I press the 2nd button show me this:

juampi@juampi-laptop:~$ tail /var/log/acpid

[Wed Aug 27 10:36:12 2008] completed event "hotkey ATKD 0000001b 00000017"
[Wed Aug 27 10:36:13 2008] received event "hotkey ATKD 0000001b 00000018"
[Wed Aug 27 10:36:13 2008] notifying client 5058[111:123]
[Wed Aug 27 10:36:13 2008] notifying client 5204[0:0]
[Wed Aug 27 10:36:13 2008] executing action "/etc/acpi/eeepc-actions.sh hotkey ATKD 0000001b 00000018"
[Wed Aug 27 10:36:13 2008] BEGIN HANDLER MESSAGES
cat: /proc/acpi/asus/bt: No such file or directory
[Wed Aug 27 10:36:13 2008] END HANDLER MESSAGES
[Wed Aug 27 10:36:13 2008] action exited with status 0
[Wed Aug 27 10:36:13 2008] completed event "hotkey ATKD 0000001b 00000018"

I'm be glad if you can help me. Thanks a lot

JP

Offline

 

#97 2008-08-27 12:17:42 pm

LadyBug
Member
From: Finland
Registered: 2008-08-06
Posts: 47

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

juampick wrote:

cat: /proc/acpi/asus/bt: No such file or directory

Check whether Bluetooth is really enabled in your BIOS.


- LadyBug, unmodified 901 with Jaunty UNR and experimenting with various eee scriptsets.

Offline

 

#98 2008-08-27 12:42:57 pm

elmurato
Senior Member
From: Germany
Registered: 2008-08-07
Posts: 330
Website

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

@ capatt
Why did your wireless adapter din`t work? Strange... After the installation of the ACPI scripts you do not even need to reboot (normally). Updates performed by Ubuntu shouldn`t break it, but I can`t guarantee it wink

@ juampick
Seems like your eeepc-acpi module is not loaded. Could you post the result of

Code:

lsmod | grep eeepc

?


>> ASUS EeePC 901 12G black - 8GB SDHC - Ubuntu 10.04 (testing) <<
Eeeasy Scripts (Hardy & Intrepid)
Eeeasy Scripts (Jaunty)
www.netbooknews.de

Offline

 

#99 2008-08-27 2:29:08 pm

capatt
Member
Registered: 2008-08-15
Posts: 57

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

I have no idea why my wifi didn't work after I upgraded the kernel.  I followed instructions to the letter, and the hardware capability was enabled in the bios.  I fell back on the instructions here to install the Ralink linux driver:  http://ubuntu-eee.com/index.php5?title= … on_the_901

I'm going to install your script within the next day or two.  All I need to know is just run the script, right?

Thank you (and the others here) for all that hard work!


ASUS EEE PC 901, Dual Boot WinXP SP3 & eeebuntu 8.10, boot: 32GB Runcore; 2GB RAM, 16 GB SDHC
Atlanta, GA

Offline

 

#100 2008-08-27 2:32:27 pm

juampick
New member
Registered: 2008-08-27
Posts: 6

Re: [HELP NEEDED] Ubuntu-Support-Script for EeePC 901/1000/1000H

@LadyBug and @elmurato

Yes it is enable because I'm using a Microsoft Wireless Bluetooth 5000 mouse in windows correctly and here in Ubuntu also I can configure it and it works perfectly.
The on-of toggle button is what does't works (and his notifier OSD).

So, what can we do??

Here is the result of the command:

lsmod | grep eeepc:
eeepc_acpi              8720  0

Thanks a lot!!!!

Bye

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson