You are not logged in.

#401 2008-10-14 23:36:41

saz
Member
From: Lisbon
Registered: 2008-04-19
Posts: 115

Re: Arch on Asus EEE 901

with quotes and eee still uses 105 50 1 by default... ohh I see... I can't have both of then on can I? I mean pwrmngt and pwrmngt_auto.. for one to be on the other must be off?

btw, somekind of stupid bug, after suspending my eee, when I activate it again it is with brightness at minimum (screen off)...

btw2, how can I mute that annoying beep when it suspends? It's so loud it almost blow my eardrums!!

Last edited by saz (2008-10-14 23:39:50)

Offline

#402 2008-10-14 23:42:19

saz
Member
From: Lisbon
Registered: 2008-04-19
Posts: 115

Re: Arch on Asus EEE 901

oh.. so stupid... now it isn't showing the osd when I change the speed =/

Offline

#403 2008-10-14 23:46:07

saz
Member
From: Lisbon
Registered: 2008-04-19
Posts: 115

Re: Arch on Asus EEE 901

ok.. took out the quotes and it's showing them again!

Offline

#404 2008-10-14 23:47:24

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

saz wrote:

oh.. so stupid... now it isn't showing the osd when I change the speed =/

ENABLE_PWRMGMT=Y :  just change the FSB and flash the icons when you press the silver key
ENABLE_PWRMGMT=Y + ENABLE_PWRMGMT_AUTO=Y:  same as above, but also change the FSB when you suspend, resume, plug, unplug the computer.  Will flash same icons as above, plus FSB level when you plug/unplug the computer.

BOTH need to be enabled for ENABLE_PWRMGMT_AUTO to work.

Offline

#405 2008-10-15 00:09:55

saz
Member
From: Lisbon
Registered: 2008-04-19
Posts: 115

Re: Arch on Asus EEE 901

ok! tks for the great work chori!

what about no brightness when resuming? is it suposed to be that way?

Offline

#406 2008-10-15 11:57:46

slappinjohn
Member
Registered: 2007-10-31
Posts: 48

Re: Arch on Asus EEE 901

@Robertek/@chori

you have to add the following lines to /etc/rc.d/fsb to make shure that the fsb values are stored on shutdown

DAEMON_NAME="fsb"
...
start)
...
add_daemon ${DAEMON_NAME}
stat_done
...
stop)
...
rm_daemon ${DAEMON_NAME}
stat_done
...

otherwise the script will not be run with /etc/rc.d/fsb stop on shutdown!

Offline

#407 2008-10-15 13:06:18

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

slappinjohn wrote:

@Robertek/@chori

you have to add the following lines to /etc/rc.d/fsb to make shure that the fsb values are stored on shutdown

DAEMON_NAME="fsb"
...
start)
...
add_daemon ${DAEMON_NAME}
stat_done
...
stop)
...
rm_daemon ${DAEMON_NAME}
stat_done
...

otherwise the script will not be run with /etc/rc.d/fsb stop on shutdown!

Thanks.  I'll fix that now and send it off to Robertek.

Offline

#408 2008-10-15 13:19:07

slappinjohn
Member
Registered: 2007-10-31
Posts: 48

Re: Arch on Asus EEE 901

chori wrote:

Thanks.  I'll fix that now and send it off to Robertek.

I've written an acpi-script for bluetooth-toggling. I'll send it via mail to Robertek

Offline

#409 2008-10-15 13:49:21

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

slappinjohn wrote:

I've written an acpi-script for bluetooth-toggling. I'll send it via mail to Robertek

I sent one to him yesterday, too.  I also modified asusosd to show crummy bluetooth toggle icons (I'm not a graphic designer, I don't even play one on TV).  Perhaps we could combine our scripts?

Offline

#410 2008-10-15 17:49:25

Gringo
Member
From: The Netherlands
Registered: 2008-07-31
Posts: 37

Re: Arch on Asus EEE 901

ACPI-eee901 is a fantastic set of scripts. I'm astonished by how well it works and how often it's being updated. The fact that it uses only one config file matches the KISS filosophy of Arch Linux and makes it integrate really well. I want to thank all the developers for their great effort. I also would like to do some requests and ask a few questions.

AsusOSD crashes when I'm switching from AC to Battery mode and vice versa. I have AC plug & unplug events on in eee.conf.
When I use FN+F3 to lower brightness level I can see on AsusOSD that my screen blacks out before it has reached the lowest brightness setting. This would either mean it's skipping the lowest brightness settings or that AsusOSD isn't correct in it's display (not sure about this, I'm only a user, not a developer).
It would be nice to have minimum and maximum levels for brightness as a comment in eee.conf like there  is for WiFi power saving.

I'm using the silver user 2 (the most right) button to upscale the FSB. What's the command to lower the FSB and how do I check the current FSB value?

Thanks in advance.
Gringo

Offline

#411 2008-10-15 18:06:05

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

Gringo wrote:

AsusOSD crashes when I'm switching from AC to Battery mode and vice versa. I have AC plug & unplug events on in eee.conf.

What do you configured in eee.conf for these events?  What are the other PWRMGMT settings in your eee.conf file?  Any useful messages in dmesg or /var/log/*?

Gringo wrote:

I'm using the silver user 2 (the most right) button to upscale the FSB. What's the command to lower the FSB and how do I check the current FSB value?

My version of AsusOSD is hardcoded to display FSB events only when BUTTON_USER1 is pressed, and  ENABLE_PWRMGMT=Y.  You'll want to configure BUTTON_USER1 to execute the fsb script.

To lower the FSB to a safe level, low voltage (run this as root):

echo 85 50 0 > /proc/eee/fsb

To see current settings:

cat /proc/eee/fsb

I highly recommend you read this page before messing with your FSB settings.

Offline

#412 2008-10-15 18:10:02

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

tehabe wrote:

Is it intentional that the sound is off when I boot my eeePC (perfect for libraries)?

1) Is volume muted? (Fn+F7)
2) Have you modified your alsamixer settings?
3) Do you have the 'alsa' init script in /etc/rc.d/, and is 'alsa' in your DAEMONS list in /etc/rc.conf?

Offline

#413 2008-10-15 18:32:35

Gringo
Member
From: The Netherlands
Registered: 2008-07-31
Posts: 37

Re: Arch on Asus EEE 901

chori wrote:
Gringo wrote:

AsusOSD crashes when I'm switching from AC to Battery mode and vice versa. I have AC plug & unplug events on in eee.conf.

What do you configured in eee.conf for these events?  What are the other PWRMGMT settings in your eee.conf file?  Any useful messages in dmesg or /var/log/*?

I have uncommented the default lines in eee.conf which are:
AC_PLUGGED_COMMAND="/etc/acpi/eee/fsb.sh autoACon"
AC_UNPLUGGED_COMMAND="/etc/acpi/eee/fsb.sh autoACoff"

dmesg and /var/log/acpi.log don't reveal anything useful.

chori wrote:
Gringo wrote:

I'm using the silver user 2 (the most right) button to upscale the FSB. What's the command to lower the FSB and how do I check the current FSB value?

My version of AsusOSD is hardcoded to display FSB events only when BUTTON_USER1 is pressed, and  ENABLE_PWRMGMT=Y.  You'll want to configure BUTTON_USER1 to execute the fsb script.

I have Power management enabled, but also auto power management. Should I choose one of both? I like the automized scripts, but I want to be able to handle the FSB value also manually. I am using the USER1 key btw, I made a mistake in my last post.

chori wrote:

To lower the FSB to a safe level, low voltage (run this as root):

echo 85 50 0 > /proc/eee/fsb

To see current settings:

cat /proc/eee/fsb

I highly recommend you read this page before messing with your FSB settings.

Thanks for the URL. I'm using the latest zen-eee901-1G-git and I don't have a /proc/eee folder. Only a /proc/acpi/asus/ folder with no fsb file in it.

Offline

#414 2008-10-15 18:52:27

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

Gringo wrote:

Thanks for the URL. I'm using the latest zen-eee901-1G-git and I don't have a /proc/eee folder. Only a /proc/acpi/asus/ folder with no fsb file in it.

Oh, well there's your problem.  You'll need to load the 'eee' module:  add 'eee' to your MODULES list in /etc/rc.conf, then reboot, and see if you have /proc/eee/fsb then.

You can modify the FSB manually any time you want with the echo command mentioned in my previous post.

You'll need ENABLE_PWRMGMT=Y and  ENABLE_PWRMGMT_AUTO=Y to enable the auto settings.  if you don't want the auto settings, just the hotkey, then use just ENABLE_PWRMGMT=Y (ENABLE_PWRMGMT_AUTO=N, or commented out).

I'll look into the asusosd bug that causes it to crash.  I'll also look more into how acpid and asusosd do logging.

Offline

#415 2008-10-15 19:15:42

Gringo
Member
From: The Netherlands
Registered: 2008-07-31
Posts: 37

Re: Arch on Asus EEE 901

chori wrote:
Gringo wrote:

Thanks for the URL. I'm using the latest zen-eee901-1G-git and I don't have a /proc/eee folder. Only a /proc/acpi/asus/ folder with no fsb file in it.

Oh, well there's your problem.  You'll need to load the 'eee' module:  add 'eee' to your MODULES list in /etc/rc.conf, then reboot, and see if you have /proc/eee/fsb then.

You can modify the FSB manually any time you want with the echo command mentioned in my previous post.

You'll need ENABLE_PWRMGMT=Y and  ENABLE_PWRMGMT_AUTO=Y to enable the auto settings.  if you don't want the auto settings, just the hotkey, then use just ENABLE_PWRMGMT=Y (ENABLE_PWRMGMT_AUTO=N, or commented out).

I'll look into the asusosd bug that causes it to crash.  I'll also look more into how acpid and asusosd do logging.

Thanks so much for the fast answers. I feel stupid I wasn't aware of the eee module. I thought it was build-in sad You're a great help. I'll let you know if the problem with the AsusOSD persists.

EDIT: Oh, and by the way; what's the maximum setting for brightness in eee.conf?

EDIT2: Ok, so I still have the problem with AsusOSD. The program doesn't crash, though. It just doesn't display thee OSD itself anymore. asusosd is still running on the background. It happened when I removed the AC plug and reinserted after 10 seconds or so.

Last edited by Gringo (2008-10-15 22:02:36)

Offline

#416 2008-10-16 00:27:19

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

Gringo wrote:

EDIT2: Ok, so I still have the problem with AsusOSD. The program doesn't crash, though. It just doesn't display thee OSD itself anymore. asusosd is still running on the background. It happened when I removed the AC plug and reinserted after 10 seconds or so.

OK, that sounds more like what I've seen before (I've never had a problem with OSD crashing).

Do icons show up on other events after you pull out and plug in the AC cord?  Or does asusosd stop working entirely?

Offline

#417 2008-10-16 06:51:39

Gringo
Member
From: The Netherlands
Registered: 2008-07-31
Posts: 37

Re: Arch on Asus EEE 901

chori wrote:
Gringo wrote:

EDIT2: Ok, so I still have the problem with AsusOSD. The program doesn't crash, though. It just doesn't display thee OSD itself anymore. asusosd is still running on the background. It happened when I removed the AC plug and reinserted after 10 seconds or so.

OK, that sounds more like what I've seen before (I've never had a problem with OSD crashing).

Do icons show up on other events after you pull out and plug in the AC cord?  Or does asusosd stop working entirely?

It stops working entirely (but the application is still running). It doesn't show icons for any event.

Offline

#418 2008-10-16 09:55:50

fgrano
Member
Registered: 2006-10-25
Posts: 29

Re: Arch on Asus EEE 901

I'm confused, there are 2 precompiled kernels: eee-kernel901 & zen-eee901. I have no idea which I should use?? What is the difference?

Offline

#419 2008-10-16 13:02:53

inf
Member
From: Vantaa, Finland
Registered: 2006-07-18
Posts: 102
Website

Re: Arch on Asus EEE 901

eee-kernel901 isn't maintained anymore i think, so use zen-eee

Offline

#420 2008-10-16 13:18:23

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

Gringo wrote:

It stops working entirely (but the application is still running). It doesn't show icons for any event.

I haven't been able to reproduce the problem, but this usually happens when acpid stops running or is restarted behind the scenes:  asusosd is left listening to an invalid filehandle for /var/run/acpid.socket.

Try this:
1.  Look at the timestamp for /var/run/acpid.socket:

$ ls -l /var/run/acpid.socket

2.  Unplug your power cord, wait ten seconds, then plug it in again.

3.  Look at the timestamp of the file again:

$ ls -l /var/run/acpid.socket

If the timestamp has changed, or the file doesn't exist after you've unplugged/plugged in the cord, it indicates that acpid has crashed at some point.

I'm going to work on improved logging for asusosd, and see if I can fix this filehandle problem.

Last edited by chori (2008-10-16 13:18:52)

Offline

#421 2008-10-16 13:37:12

Gringo
Member
From: The Netherlands
Registered: 2008-07-31
Posts: 37

Re: Arch on Asus EEE 901

chori wrote:
Gringo wrote:

It stops working entirely (but the application is still running). It doesn't show icons for any event.

I haven't been able to reproduce the problem, but this usually happens when acpid stops running or is restarted behind the scenes:  asusosd is left listening to an invalid filehandle for /var/run/acpid.socket.

Try this:
1.  Look at the timestamp for /var/run/acpid.socket:

$ ls -l /var/run/acpid.socket

2.  Unplug your power cord, wait ten seconds, then plug it in again.

3.  Look at the timestamp of the file again:

$ ls -l /var/run/acpid.socket

If the timestamp has changed, or the file doesn't exist after you've unplugged/plugged in the cord, it indicates that acpid has crashed at some point.

I'm going to work on improved logging for asusosd, and see if I can fix this filehandle problem.

I was just about to post that I have been able to reproduce the problem. AsusOSD does indeed crash when I restart acpid, for example when I want acpid to load newer eee.conf settings. acpid.socket's timestamp doesn't change when I plug or unplug the powercord.

I have had some serious boot problems since I'm using FSB. I've never had a screen stuck at the BIOS boot screen, but now I have. 4 times even, today. One time I had to eject the battery and put it back in. It would be very convenient if the FSB could not only store the current FSB value but also set it at normal FSB when shutting down.

Offline

#422 2008-10-16 13:51:35

chori
Member
From: Wisconsin, USA
Registered: 2008-09-02
Posts: 145

Re: Arch on Asus EEE 901

Gringo wrote:

I have had some serious boot problems since I'm using FSB. I've never had a screen stuck at the BIOS boot screen, but now I have. 4 times even, today. One time I had to eject the battery and put it back in. It would be very convenient if the FSB could not only store the current FSB value but also set it at normal FSB when shutting down.

You can edit the script /etc/rc.d/fsb to execute "echo 100 50 1 > /proc/eee/fsb" in the "stop)" stanza, then call fsb.sh save.

Offline

#423 2008-10-16 14:17:00

ik0
Member
From: Bulgaria
Registered: 2004-07-23
Posts: 16
Website

Re: Arch on Asus EEE 901

inf wrote:

eee-kernel901 isn't maintained anymore i think, so use zen-eee

Is that true ? I still use eee-kernel901 and waiting for 2.6.27.  Will it be release ?

Offline

#424 2008-10-16 14:17:43

Gringo
Member
From: The Netherlands
Registered: 2008-07-31
Posts: 37

Re: Arch on Asus EEE 901

chori wrote:

You can edit the script /etc/rc.d/fsb to execute "echo 100 50 1 > /proc/eee/fsb" in the "stop)" stanza, then call fsb.sh save.

Thanks. Why are we using 100 50 1 as performance FSB? My eeePC starts with "105 50 1" as it's default values.

Offline

#425 2008-10-16 16:10:49

dr.lulz
Member
Registered: 2008-10-05
Posts: 11

Re: Arch on Asus EEE 901

hi,
I really must say that you guys do marvelous job with this kernel smile
I only have two questions concerning battery issues. First - is there some kind of battery manager that would show me how much time i have left or at least percentage of charging? And second - do I have to load laptop-mode module or does the "eee" module handle all the stuff related to laptop-mode?

oh and by the way- I'm using zen-eee901 kernel, is there a difference with the git version? or is it only a test version from which the working stuff is transferred to zen-eee901 kernel?

EDIT- forgot to ask about Loading Modules...
when i boot kernel i have FATAL errors with modules :

FATAL: Module snd_page_alloc not found
FATAL: Module snd_pcm not found
FATAL: Module snd_timer not found
FATAL: Module snd not found
FATAL: Module snd_hda_intel not found
FATAL: Module soundcore not found

and i don't know why... i have alsa installed and configured...

sorry for my english.

Last edited by dr.lulz (2008-10-16 16:22:51)

Offline

Board footer

Powered by FluxBB