You are not logged in.

#326 2008-10-09 23:08:26

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: Arch on Asus EEE 901

I've installed Arch on my eee901 and am posting from it now. I appreciate the amount of work that has gone into making the zen-eee kernel work so well.

I am using wicd for wireless and have no problems there at all.

The one issue I have is that the Fn-F5 key does not toggle displays for me. I use my eee for presentations, so this is a big problem for me.

I looked at the scripts in /etc/acpi/eee and can't see anything obviously wrong. I have acpid in my daemons array and the volume and backlight keys work fine.

Any ideas?


Smarter than a speeding bullet
My Goodreads profile

Offline

#327 2008-10-09 23:27:41

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

Re: Arch on Asus EEE 901

Rumor wrote:

I've installed Arch on my eee901 and am posting from it now. I appreciate the amount of work that has gone into making the zen-eee kernel work so well.

I am using wicd for wireless and have no problems there at all.

The one issue I have is that the Fn-F5 key does not toggle displays for me. I use my eee for presentations, so this is a big problem for me.

I looked at the scripts in /etc/acpi/eee and can't see anything obviously wrong. I have acpid in my daemons array and the volume and backlight keys work fine.

Any ideas?

That's the one function I haven't yet tested (though I had the chance this afternoon, and passed it up).  I'm working on the acpi scripts right now, if someone doesn't have a solution for you sooner, I'll try and figure out what's going on in a few days.

if it's any help, here's what the default Xandros Linux ACPI events look like:

       00000030)
                # echo "LCD" > /dev/console &
                /etc/acpi/esc2impress.sh
                # /bin/su user -c "/usr/bin/xrandr --output LVDS --preferred --output VGA --off"
                ;;
        00000031)
                # echo "CRT" > /dev/console &
                /etc/acpi/esc2impress.sh
                # /bin/su user -c "/usr/bin/xrandr --output VGA --mode 800x600 --output LVDS --off"
                ;;
        00000032)
                # echo "LCD-CRT" > /dev/console &
                /etc/acpi/esc2impress.sh
                # /bin/su user -c "/usr/bin/xrandr --output VGA --mode 800x480 --output LVDS --mode 800x480"

That "/etc/acpi/esc2impress.sh" script is just a hack for window modes in OpenOffice.

Offline

#328 2008-10-10 08:10:46

Robertek
Member
From: Czech Republic
Registered: 2007-06-02
Posts: 165
Website

Re: Arch on Asus EEE 901

chori wrote:
Rumor wrote:

I've installed Arch on my eee901 and am posting from it now. I appreciate the amount of work that has gone into making the zen-eee kernel work so well.

I am using wicd for wireless and have no problems there at all.

The one issue I have is that the Fn-F5 key does not toggle displays for me. I use my eee for presentations, so this is a big problem for me.

I looked at the scripts in /etc/acpi/eee and can't see anything obviously wrong. I have acpid in my daemons array and the volume and backlight keys work fine.

Any ideas?

That's the one function I haven't yet tested (though I had the chance this afternoon, and passed it up).  I'm working on the acpi scripts right now, if someone doesn't have a solution for you sooner, I'll try and figure out what's going on in a few days.

if it's any help, here's what the default Xandros Linux ACPI events look like:

       00000030)
                # echo "LCD" > /dev/console &
                /etc/acpi/esc2impress.sh
                # /bin/su user -c "/usr/bin/xrandr --output LVDS --preferred --output VGA --off"
                ;;
        00000031)
                # echo "CRT" > /dev/console &
                /etc/acpi/esc2impress.sh
                # /bin/su user -c "/usr/bin/xrandr --output VGA --mode 800x600 --output LVDS --off"
                ;;
        00000032)
                # echo "LCD-CRT" > /dev/console &
                /etc/acpi/esc2impress.sh
                # /bin/su user -c "/usr/bin/xrandr --output VGA --mode 800x480 --output LVDS --mode 800x480"

That "/etc/acpi/esc2impress.sh" script is just a hack for window modes in OpenOffice.

Problem is that this is wrong:

acpi event for the fn+F5 is: hotkey ATKD 00000030 xxxxxxxx
where xxxxxxxx is beginning 00000000 and every press of fn+F5 increase that => 00000001 00000002 00000003 ....... 00012fa1e8 ......

so it have to be calculated, it is in the old script but I will update it. If you have acpi-eee901 11.x you only should install bc

pacman -S bc

it will be in next release as dependancy

Offline

#329 2008-10-10 12:04:11

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

Re: Arch on Asus EEE 901

Robertek wrote:

Problem is that this is wrong:

acpi event for the fn+F5 is: hotkey ATKD 00000030 xxxxxxxx
where xxxxxxxx is beginning 00000000 and every press of fn+F5 increase that => 00000001 00000002 00000003 ....... 00012fa1e8 ......

Yes, I saw that.  Xandros uses a different ACPI, it may send different key codes every time the button is pressed (much like the ArchLinux acpi-eee901 hack generates a different keycode for each WLAN toggle.)

What may be useful from the Xandros script are not the key bindings, but the commands that get executed.

Last edited by chori (2008-10-10 12:04:37)

Offline

#330 2008-10-10 12:57:24

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

Re: Arch on Asus EEE 901

hi.
since i have an eee901 i decided to install zen-eee.
i added robertek repository to pacman and entered
pacman -S zen-eee901

edited GRUB

# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/zeneee root=/dev/disk/by-uuid/lots_of_letters_an_ numbers ro
initrd /boot/zeneee.img

but when i try to run the system i get :
i checked uuid matches /root

ERROR: Failed to parse block device name for '/dev/disk/by-uuid/lots_of_letters_an_ numbers' unknown
ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter.
Waiting for devices to settle...done.
Root device 'dev/disk/by-uuid/lots_of_letters_an_ numbers' doesn't exist, attempting to create it
ERROR: Faild to pars block device name for '/dev/disk/by-uuid/lots_of_letters_an_ numbers'
ERROR: Unable to create/detect root device '/dev/disk/by-uuid/lots_of_letters_an_ numbers'
Dropping recovery shell... type 'exit' to reboot
NOTE: klibc contains no 'ls' binary, use 'echo *' insted

If the device '/dev/disk/by-uuid/lots_of_letters_an_ numbers'  gets created while you are here,
try adding 'rootdelay=8' or higher to the kernel command-line
ramfs$

and i don't know what to do. tried to switch back to normal kernel but i get the same thing...

i checked pacman.log for the install and everything looks fine. succes etc.

Last edited by dr.lulz (2008-10-10 13:11:30)

Offline

#331 2008-10-10 13:08:55

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

Re: Arch on Asus EEE 901

dr.lulz wrote:

kernel /boot/zeneee root=dev/disk/by-uuid/lots_of_letters_an_ numbers ro

Looks like you're missing a slash at the beginning of the your path: "dev/..."

Offline

#332 2008-10-10 13:10:44

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

Re: Arch on Asus EEE 901

chori wrote:

Looks like you're missing a slash at the beginning of the your path: "dev/..."

sorry that's just a typo here. i have slash in grub.

normal kernel doesn't work too. it has the same config lines like fallback minus the "-fallback" in the name of img. only fallback image works.

Last edited by dr.lulz (2008-10-10 13:12:58)

Offline

#333 2008-10-10 13:24:16

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

Re: Arch on Asus EEE 901

dr.lulz wrote:
chori wrote:

Looks like you're missing a slash at the beginning of the your path: "dev/..."

sorry that's just a typo here. i have slash in grub.

normal kernel doesn't work too. it has the same config lines like fallback minus the "-fallback" in the name of img. only fallback image works.

What's the grub stanza for your fallback kernel?  Try putting the root partition directly ("/dev/sd??") as the root parameter, rather than the uuid ID, see if that works.

Offline

#334 2008-10-10 13:42:30

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

Re: Arch on Asus EEE 901

chori wrote:
dr.lulz wrote:
chori wrote:

Looks like you're missing a slash at the beginning of the your path: "dev/..."

sorry that's just a typo here. i have slash in grub.

normal kernel doesn't work too. it has the same config lines like fallback minus the "-fallback" in the name of img. only fallback image works.

What's the grub stanza for your fallback kernel?  Try putting the root partition directly ("/dev/sd??") as the root parameter, rather than the uuid ID, see if that works.

pheew, thanks it worked. when I boot the system I see some FATAL messages but at least it boots tongue

but now wifi doesn't work ehh.

Last edited by dr.lulz (2008-10-10 13:45:17)

Offline

#335 2008-10-10 13:46:33

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: Arch on Asus EEE 901

Robertek wrote:
chori wrote:
Rumor wrote:

The one issue I have is that the Fn-F5 key does not toggle displays for me. I use my eee for presentations, so this is a big problem for me.

That's the one function I haven't yet tested (though I had the chance this afternoon, and passed it up).  I'm working on the acpi scripts right now, if someone doesn't have a solution for you sooner, I'll try and figure out what's going on in a few days.

Problem is that this is wrong:

acpi event for the fn+F5 is: hotkey ATKD 00000030 xxxxxxxx
where xxxxxxxx is beginning 00000000 and every press of fn+F5 increase that => 00000001 00000002 00000003 ....... 00012fa1e8 ......

so it have to be calculated, it is in the old script but I will update it. If you have acpi-eee901 11.x you only should install bc

pacman -S bc

it will be in next release as dependancy

Done.

bc works . . . sort of.
It will toggle to the external display after a few presses. However, when it toggles, the external display is tiled. I can show a slideshow that will fill the top 2/3 of the screen. On the bottom third, you will see Impress at the edit screen. Here is a link to a screenshot so you can see what I mean: http://img.photobucket.com/albums/v304/ … mpress.png

I will look at the script and see if there is a place for setting the external resolution to clone the screen. But, like I said, I am no script guru.

Thanks for your help, we're one step closer!


Smarter than a speeding bullet
My Goodreads profile

Offline

#336 2008-10-10 14:11:02

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

Re: Arch on Asus EEE 901

i'm having a problem connecting to my WPA encrypted wifi at home.

before i updated the kernel it worked fine.
i run it like this :

iwpriv ra0 set Channel=X
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode="WPAPSK"
iwpriv ra0 set EncrypType="TKIP"
iwpriv ra0 set SSID="my_wifi_SSID"
iwpriv ra0 set WPAPSK="wpa_key"

dhcpcd -h myhostname ra0

after trying to get dhcpcd i get

err, ra0: timed out
warn, ra0: using IPV4LL adress "ip adress here"

Last edited by dr.lulz (2008-10-10 14:11:40)

Offline

#337 2008-10-10 14:11:45

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

Re: Arch on Asus EEE 901

Rumor wrote:

It will toggle to the external display after a few presses. However, when it toggles, the external display is tiled. I can show a slideshow that will fill the top 2/3 of the screen. On the bottom third, you will see Impress at the edit screen. Here is a link to a screenshot so you can see what I mean: http://img.photobucket.com/albums/v304/ … mpress.png

Here's the content of the Xandros "esc2impress.sh" script:

#!/bin/sh

# This script sends an escape key press and release event to OpenOffice
# Impress, which is not RandR aware. This forces the user to re-enter
# full-screen mode.

[ -z `pidof soffice.bin` ] && exit 0

for i in `xwininfo -root -tree | grep Impress | awk '{print $1}'`; do
        /usr/bin/send-escape-event $i
done

Not sure if that's helpful or not.  /usr/bin/send-escape-event is a compiled program in Xandros, but it does seem to work on ArchLinux.

Offline

#338 2008-10-10 15:07:50

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

Re: Arch on Asus EEE 901

dr.lulz wrote:

i'm having a problem connecting to my WPA encrypted wifi at home.

before i updated the kernel it worked fine.
i run it like this :

iwpriv ra0 set Channel=X
iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode="WPAPSK"
iwpriv ra0 set EncrypType="TKIP"
iwpriv ra0 set SSID="my_wifi_SSID"
iwpriv ra0 set WPAPSK="wpa_key"

dhcpcd -h myhostname ra0

after trying to get dhcpcd i get

err, ra0: timed out
warn, ra0: using IPV4LL adress "ip adress here"

i had the ralink RTA2860STA v1.8.0.0 drivers installed before updating to zen-eee901.

and the wifi drivers patch in the package was for v1.7.0.0 from what i see. could someone help me please?

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

Offline

#339 2008-10-10 18:08:17

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: Arch on Asus EEE 901

chori wrote:

Here's the content of the Xandros "esc2impress.sh" script:

#!/bin/sh

# This script sends an escape key press and release event to OpenOffice
# Impress, which is not RandR aware. This forces the user to re-enter
# full-screen mode.

[ -z `pidof soffice.bin` ] && exit 0

for i in `xwininfo -root -tree | grep Impress | awk '{print $1}'`; do
        /usr/bin/send-escape-event $i
done

Not sure if that's helpful or not.  /usr/bin/send-escape-event is a compiled program in Xandros, but it does seem to work on ArchLinux.

I'll have to wait to get home from work and look on my eee DVD to see if I can find send-escape-event.


Smarter than a speeding bullet
My Goodreads profile

Offline

#340 2008-10-10 20:38:13

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: Arch on Asus EEE 901

Ok, I fiddled around with the /etc/acpi/eee/display.sh file and was able to get full screen on both the eee and the external monitor.

The bit I changed is in bold below (I can't display bold text in a code window):
***BEGIN CODE***
#!/bin/sh
#This script is run when Display toggle button (Fn-F5) is pressed.

OUTPUT_DISPLAY_MODE="clone"

source /etc/acpi/eee.conf
source /etc/acpi/eee/user && x_user_func

action="$1"
# if we are being called directly from an ACPI script, do a little hack
if [ "$action" = "hotkey" ]; then
    MODE=`echo $4 | awk '{ print "ibase=16; " toupper($1) " % 3" }' | bc`
    case $MODE in
        0) action="lvds" ;;
        1) action="vga"  ;;
        2) action="both" ;;
    esac
fi

case $action in
    lvds)
        xrandr --output LVDS --preferred --output VGA --off
    ;;
    both)
        if [ "$OUTPUT_DISPLAY_MODE" == "clone" ]; then
         xrandr --output LVDS --preferred --output VGA --mode 1024x600
        else 
         xrandr --output LVDS --mode 1024x600 --output VGA --"$OUTPUT_DISPLAY_MODE" LVDS
        fi
    ;;
    vga) 
        xrandr --output LVDS --off --output VGA --preferred
    ;;
    *)   
        echo "Usage: $0 [lvds|both|vga]";
        exit 1
    ;;
esac
***END CODE***
A quick /etc/rc.d/acpid restart and the screens toggled just fine. I hope this helps anyone else who has had the same problem. Probably I am not the only person using one of these little laptops as a presentation tool.

Cheers!

Last edited by Rumor (2008-10-10 21:01:57)


Smarter than a speeding bullet
My Goodreads profile

Offline

#341 2008-10-10 22:54:00

Robertek
Member
From: Czech Republic
Registered: 2007-06-02
Posts: 165
Website

Re: Arch on Asus EEE 901

I have just updated acpi-eee to another version.

* Lots of clenups and integration since version 11, nearly everything moved to eee-handler.sh
* easy debugging of  undefined events
* scripts in /etc/acpi/eee

Please carefuly update the eee.conf

I will look at the resolution problems on monday when I return home where I have external LCD.

Offline

#342 2008-10-11 03:21:54

Blind
Member
From: Desert mountain
Registered: 2005-02-06
Posts: 386

Re: Arch on Asus EEE 901

Robertek wrote:

I have just updated acpi-eee to another version.

* Lots of clenups and integration since version 11, nearly everything moved to eee-handler.sh
* easy debugging of  undefined events
* scripts in /etc/acpi/eee

Please carefuly update the eee.conf

I will look at the resolution problems on monday when I return home where I have external LCD.

The package got here corrupt, or the MD5SUM was not updated...(tried a few times)

In any case, thanks for all the work!

Last edited by Blind (2008-10-11 03:22:35)

Offline

#343 2008-10-11 08:12:40

Eschatokyrios
Member
Registered: 2007-09-22
Posts: 51

Re: Arch on Asus EEE 901

Has anyone managed to get root LVM2 working on the zeneee901-1G-git kernel? I have it working with the stock arch kernel on my 1000h, and I figured getting it working with the custom one would be as simple as adding lvm2 to the hooks section of the custom mkinicpio and maybe adding dm_mod to the modules list. But apparantly the process of installing the custom kernel from pacman overwrites whatever changes you make to mkinitcpio-zeneee.conf, and when I tried making the ramdisk image manually from the stock mkinitcpio, that fails to detect my root partition on lvm when I boot with that kernel. I'm not sure what's going on here, anyone have any ideas?

Offline

#344 2008-10-11 11:31:42

Robertek
Member
From: Czech Republic
Registered: 2007-06-02
Posts: 165
Website

Re: Arch on Asus EEE 901

Blind wrote:

The package got here corrupt, or the MD5SUM was not updated...(tried a few times)

In any case, thanks for all the work!

Fixed

Offline

#345 2008-10-11 11:40:35

Robertek
Member
From: Czech Republic
Registered: 2007-06-02
Posts: 165
Website

Re: Arch on Asus EEE 901

Eschatokyrios wrote:

Has anyone managed to get root LVM2 working on the zeneee901-1G-git kernel? I have it working with the stock arch kernel on my 1000h, and I figured getting it working with the custom one would be as simple as adding lvm2 to the hooks section of the custom mkinicpio and maybe adding dm_mod to the modules list. But apparantly the process of installing the custom kernel from pacman overwrites whatever changes you make to mkinitcpio-zeneee.conf, and when I tried making the ramdisk image manually from the stock mkinitcpio, that fails to detect my root partition on lvm when I boot with that kernel. I'm not sure what's going on here, anyone have any ideas?

Im trying to fix this for a long time, but it ignores me. I hope it will work some time:)

mkinitcpio -c /etc/mkinitcpio-zeneee-git.conf -k 2.6.27-rc7-zen2eee -g /boot/zeneee-git.img

Offline

#346 2008-10-11 11:46:12

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

Re: Arch on Asus EEE 901

can somebody post a fully working eee.conf after this last update? just for me to have a point of reference, because I think my is screwed up...

Offline

#347 2008-10-11 14:02:21

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

Re: Arch on Asus EEE 901

Eschatokyrios wrote:

Has anyone managed to get root LVM2 working on the zeneee901-1G-git kernel? I have it working with the stock arch kernel on my 1000h, and I figured getting it working with the custom one would be as simple as adding lvm2 to the hooks section of the custom mkinicpio and maybe adding dm_mod to the modules list. But apparantly the process of installing the custom kernel from pacman overwrites whatever changes you make to mkinitcpio-zeneee.conf, and when I tried making the ramdisk image manually from the stock mkinitcpio, that fails to detect my root partition on lvm when I boot with that kernel. I'm not sure what's going on here, anyone have any ideas?

Just make your own mkinitcpio.conf with the default hooks (the arch default mkinitcpio.conf) and add the lvm2 module to the hooks.

Then use the

mkinitcpio -c /etc/your-mkinitcpio.conf -k 2.6.27-rc7-zen2eee -g /boot/zeneee-git.img

command to do make the initrd image

Offline

#348 2008-10-11 14:17:32

e-max
Member
Registered: 2006-11-27
Posts: 16

Re: Arch on Asus EEE 901

Hi again
Still have same segmentation fault with new stable(and git) and new acpi-eee901 packages on 'modprobe eee'.  No

Is it possible the reason is that i have asus 1000H , but not 901 ?

Offline

#349 2008-10-11 17:34:52

Robertek
Member
From: Czech Republic
Registered: 2007-06-02
Posts: 165
Website

Re: Arch on Asus EEE 901

e-max wrote:

Hi again
Still have same segmentation fault with new stable(and git) and new acpi-eee901 packages on 'modprobe eee'.  No

Is it possible the reason is that i have asus 1000H , but not 901 ?

Yes this is possible, kernel-eee901 is supposed to run on 1000 series, acpi-eee901 also. But eee module isnt even designed for 901 but it just run, so it is possible it wont run on 1000. Eee module was made for 70x to allow old celeron to scale. Try googling for some info if someone make it working on 1000.

Offline

#350 2008-10-12 12:49:03

Exitium
Member
From: Helsinki, Finland
Registered: 2008-08-20
Posts: 202

Re: Arch on Asus EEE 901

I've installed Arch on my 901 and it works mostly well, but...

WiFi. It doesn't work. EEE founds WiFi networks, but it cannot get IP (I'm using WICD). Connection with internet cable works very well. Any ideas how to get it work?

Using zen-eee kernel.

Offline

Board footer

Powered by FluxBB