You are not logged in.

#251 2008-02-01 15:36:28

jochen
Member
From: Germany
Registered: 2004-06-01
Posts: 102

Re: Arch on Eee PC

For suspend I replaced the file /etc/acpi/suspend2ram.sh provided by acpid_eee with the following lines:

#!/bin/bash
BRN=`cat /proc/acpi/asus/brn` 
/usr/sbin/s2ram -f --vbe_post --vbe_mode
sleep 1
echo -n "$BRN">/proc/acpi/asus/brn

Wifi connectivity is there immediate after resume.

You need to install uswsusp (from aur) for this to work.

Offline

#252 2008-02-01 16:04:33

dkite
Member
Registered: 2007-06-01
Posts: 62

Re: Arch on Eee PC

faelar wrote:

Hum, I'm currently testing dual screen. On my monitor, it says "out of range" on LCD only mode, but I can clone the screen, it appears stretched but it works.
And no solution for the /etc/resolv.conf, but I'm not the only one who have problems with it.
What network manager are you using ? Maybe I should try a previous version of wicd, I'm on 1.4.1-4

There is an issue with dhclient not working with some routers. Mine does fine with a cheap Belkin, but doesnt' work with my Linksys.

There is a suggestion to put opendns server addresses in /etc/resolv.conf and change the attributes so it can't be changed. I'm going to test it today.

Another idea, haven't tried yet, is to rename dhclient, and create a link to dhcpcd so wicd uses it instead.

All too hackish for me. Maybe time to try netcfg2 and help get that working. I really dislike netmanager.

Derek

Offline

#253 2008-02-02 18:31:00

saten
Member
From: milano
Registered: 2007-12-24
Posts: 39
Website

Re: Arch on Eee PC

faelar wrote:

Hum, I'm currently testing dual screen. On my monitor, it says "out of range" on LCD only mode, but I can clone the screen, it appears stretched but it works.
And no solution for the /etc/resolv.conf, but I'm not the only one who have problems with it.
What network manager are you using ? Maybe I should try a previous version of wicd, I'm on 1.4.1-4

try using the intel driver in xorg and use these settings :

    Driver      "intel"# "i810"
        Option "LinearAlloc" "6144" #mplayer option
    VendorName  "Intel Corporation"
    BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID       "PCI:0:2:0"
           Option "XAANoOffscreenPixmaps" "true"




    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "800x480"
        Virtual 1440 900

Offline

#254 2008-02-03 15:18:37

faelar
Member
From: Amiens (FR)
Registered: 2007-12-18
Posts: 232
Website

Re: Arch on Eee PC

It makes my screen "bigger" on the EEE, it moves when I put the cursor at the edges of the screen.

Offline

#255 2008-02-03 17:44:42

shrd
Member
Registered: 2008-01-23
Posts: 22

Re: Arch on Eee PC

i have problem of brightness with intel driver in place of i810 driver.
i am interesting by the screen moving with cursor on edges of the screen. what option do that ? virtual ? it does nothing with fluxbox

Offline

#256 2008-02-03 17:51:22

faelar
Member
From: Amiens (FR)
Registered: 2007-12-18
Posts: 232
Website

Re: Arch on Eee PC

Only this three lines differ from my xorg.conf (I don't use mplayer so I skipped the LinearAlloc)

Option "XAANoOffscreenPixmaps" "true"

Modes "800x480"
Virtual 1440 900

Offline

#257 2008-02-03 18:46:06

IdoMcFly
Member
Registered: 2007-12-18
Posts: 28

Re: Arch on Eee PC

Hi,

I've read everything here and the wiki page, but can't figure out if absolutely everything is working whithout a flaw?
suspend, resume with wifi, all the Fn keys, suspend on closing the screen, battery status etc... I plan to install Arch with xmonad on the SSD instead of Xandros.

Thank you for any information! (maybe is it a good idea to put the what's working, what's not working yet on the wiki page?)

Last edited by IdoMcFly (2008-02-03 18:50:56)

Offline

#258 2008-02-04 01:22:09

shrd
Member
Registered: 2008-01-23
Posts: 22

Re: Arch on Eee PC

I can now scroll the screen up and down, it is very nice on the eee the vertical scroling, thx ( i set  Virtual 800 800) => finish the problem of window too big and out of screen at launch
is there an option to display osd in the center of the screen in place of top left? or in the virtual area

else i have added in suspend2ram.sh for my sd card (else error occurs after suspend) :

umount -l /mnt/sd      #(/mnt/sd is my sd card directory)
BRN=`cat /proc/acpi/asus/brn`
/usr/sbin/s2ram -f --vbe_post --vbe_mode
sleep 1
echo -n "$BRN">/proc/acpi/asus/brn
sleep 4      #(need 4 s)
mount /mnt/sd

Last edited by shrd (2008-02-04 01:49:35)

Offline

#259 2008-02-04 01:40:55

shrd
Member
Registered: 2008-01-23
Posts: 22

Re: Arch on Eee PC

IdoMcFly wrote:

Hi,

I've read everything here and the wiki page, but can't figure out if absolutely everything is working whithout a flaw?
suspend, resume with wifi, all the Fn keys, suspend on closing the screen, battery status etc... I plan to install Arch with xmonad on the SSD instead of Xandros.

Thank you for any information! (maybe is it a good idea to put the what's working, what's not working yet on the wiki page?)

99% works now
the last problems for me :
- make a gui of 'cat /proc/acpi/battery/BAT0/state'
- sometimes wifi do not resume with fn key stop / start  : wlan.sh must to be improved
- "loadind udev uevents" took too long time at boot with stock kernel (eee kernel in AUR is faster but i have some other problems with it)

wicd has problem with suspend / resume : dhclient is called very late after resume => solved with the last suspend2ram.sh with s2ram (no need of wlan.sh call include in original suspend2ram.sh)

Last edited by shrd (2008-02-04 01:45:02)

Offline

#260 2008-02-04 12:06:03

IdoMcFly
Member
Registered: 2007-12-18
Posts: 28

Re: Arch on Eee PC

thank you for the info smile

What are the problems encountered with the kernel26eee ? (boot time is critical to me)

Offline

#261 2008-02-04 17:38:22

kant1
Member
Registered: 2006-11-28
Posts: 57

Re: Arch on Eee PC

A quick thought on acpid_eee.  Wonderful!  Thank you so much dkite!

However I noticed that the PKGBUILD installs everything to /usr/local, which I think is not really Arch-like.  I went through my PKGBUILD and changed it to just use the /usr hierarchy for consistency's sake (and a couple sed commands).

Perhaps this would be a worthwhile change??

Last edited by kant1 (2008-02-04 19:39:38)

Offline

#262 2008-02-05 02:39:41

dkite
Member
Registered: 2007-06-01
Posts: 62

Re: Arch on Eee PC

kant1 wrote:

A quick thought on acpid_eee.  Wonderful!  Thank you so much dkite!

However I noticed that the PKGBUILD installs everything to /usr/local, which I think is not really Arch-like.  I went through my PKGBUILD and changed it to just use the /usr hierarchy for consistency's sake (and a couple sed commands).

Perhaps this would be a worthwhile change??

The asusosd code has hard coded paths into /usr/local. The .png images are stored there. My intention is to fix that, but haven't had time. Patches are welcome smile

Derek

Offline

#263 2008-02-05 02:41:37

dkite
Member
Registered: 2007-06-01
Posts: 62

Re: Arch on Eee PC

shrd wrote:

99% works now
the last problems for me :
- make a gui of 'cat /proc/acpi/battery/BAT0/state'
- sometimes wifi do not resume with fn key stop / start  : wlan.sh must to be improved
- "loadind udev uevents" took too long time at boot with stock kernel (eee kernel in AUR is faster but i have some other problems with it)

wicd has problem with suspend / resume : dhclient is called very late after resume => solved with the last suspend2ram.sh with s2ram (no need of wlan.sh call include in original suspend2ram.sh)

When you say wifi doesn't resume, do you mean that ath0 isn't created? All that wlan.sh does is remove the modules, turn the radio off/ turn radio on, load the modules.

Derek

Offline

#264 2008-02-05 05:05:55

kant1
Member
Registered: 2006-11-28
Posts: 57

Re: Arch on Eee PC

dkite wrote:
kant1 wrote:

A quick thought on acpid_eee.  Wonderful!  Thank you so much dkite!

However I noticed that the PKGBUILD installs everything to /usr/local, which I think is not really Arch-like.  I went through my PKGBUILD and changed it to just use the /usr hierarchy for consistency's sake (and a couple sed commands).

Perhaps this would be a worthwhile change??

The asusosd code has hard coded paths into /usr/local. The .png images are stored there. My intention is to fix that, but haven't had time. Patches are welcome smile

Derek

With pleasure...

diff -Naur acpid_eee/Asusosd.desktop acpid_eee2/Asusosd.desktop
--- acpid_eee/Asusosd.desktop    2008-01-09 13:17:56.000000000 -0800
+++ acpid_eee2/Asusosd.desktop    2008-02-04 21:03:18.000000000 -0800
@@ -2,7 +2,7 @@
 Comment=
 Comment[en_US]=
 Encoding=UTF-8
-Exec=/usr/local/bin/asusosd
+Exec=/usr/bin/asusosd
 GenericName=
 GenericName[en_US]=
 Icon=exec
diff -Naur acpid_eee/PKGBUILD acpid_eee2/PKGBUILD
--- acpid_eee/PKGBUILD    2008-01-09 13:32:16.000000000 -0800
+++ acpid_eee2/PKGBUILD    2008-02-04 21:03:18.000000000 -0800
@@ -27,8 +27,12 @@
     unrar e -y ASUS_ACPI_071126.rar
     tar -xzf asus_osd.tar.gz
     cd asus_osd
+
+    # Switch to /usr instead of /usr/local 2008.02.04 MWJ
+    sed -i 's|/usr/local|/usr|g' *
+
     make
-    /bin/install -D -m0755 asusosd $startdir/pkg/usr/local/bin/asusosd
+    /bin/install -D -m0755 asusosd $startdir/pkg/usr/bin/asusosd
     cd ${startdir}/src
     deb2targz asus-acpi_1.38-1xandros5_i386.deb
     tar -xzf asus-acpi_1.38-1xandros5_i386.tar.gz
@@ -38,8 +42,8 @@
     /bin/install -D -m0755 ../hotkey.sh $startdir/pkg/etc/acpi/hotkey.sh
     /bin/install -D -m0755 ../suspend2ram.sh $startdir/pkg/etc/acpi/suspend2ram.sh
     /bin/install -D -m0644 ../Asusosd.desktop $startdir/pkg/etc/xdg/autostart/Asusosd.desktop
-    cp usr/local/bin/*.sh ${startdir}/pkg/usr/local/bin
-    mkdir ${startdir}/pkg/usr/local/share
-    cp -r usr/local/share/* ${startdir}/pkg/usr/local/share
+    cp usr/local/bin/*.sh ${startdir}/pkg/usr/bin
+    mkdir ${startdir}/pkg/usr/share
+    cp -r usr/local/share/* ${startdir}/pkg/usr/share
 
 }
diff -Naur acpid_eee/suspend2ram.sh acpid_eee2/suspend2ram.sh
--- acpid_eee/suspend2ram.sh    2008-01-11 20:22:34.000000000 -0800
+++ acpid_eee2/suspend2ram.sh    2008-02-04 21:03:18.000000000 -0800
@@ -35,7 +35,7 @@
 
     # save system clock, if needed
     # reset numlock - system wakes with numlock off
-    su user -c "DISPLAY=:0.0 /usr/local/bin/numlockx off"
+    su user -c "DISPLAY=:0.0 /usr/bin/numlockx off"
 
     # flush the buffers to disk
     sync

Offline

#265 2008-02-05 16:01:40

dkite
Member
Registered: 2007-06-01
Posts: 62

Re: Arch on Eee PC

Thanks for the patch. The asusosd code also has hard coded paths to /usr/local/share. The code is in  asus_osd.tar.gz which is in the rar file from asus.

Derek

Offline

#266 2008-02-05 18:10:38

shrd
Member
Registered: 2008-01-23
Posts: 22

Re: Arch on Eee PC

dkite wrote:

When you say wifi doesn't resume, do you mean that ath0 isn't created? All that wlan.sh does is remove the modules, turn the radio off/ turn radio on, load the modules.

Derek

Yes ath0 is sometimes not created

Offline

#267 2008-02-05 18:21:21

kant1
Member
Registered: 2006-11-28
Posts: 57

Re: Arch on Eee PC

dkite, the patch i posted above does a 'sed -i' on all the files extracted from asus_osd.  so it fixes all the /usr/local/share links too.  all the graphics work great and asusosd works beautifully.

Offline

#268 2008-02-05 21:42:58

IdoMcFly
Member
Registered: 2007-12-18
Posts: 28

Re: Arch on Eee PC

is the boot time slower than he xandros provided with the eeePC?

Offline

#269 2008-02-06 01:17:29

dkite
Member
Registered: 2007-06-01
Posts: 62

Re: Arch on Eee PC

shrd wrote:
dkite wrote:

When you say wifi doesn't resume, do you mean that ath0 isn't created? All that wlan.sh does is remove the modules, turn the radio off/ turn radio on, load the modules.

Derek

Yes ath0 is sometimes not created

Is there any error in dmesg? I found that playing with the timing in wlan.sh made a difference, ie. giving time for the hardware to settle.

I've got the 701, do you have a different model?

Derek

Offline

#270 2008-02-06 20:29:42

elbecko
Member
Registered: 2008-01-24
Posts: 34
Website

Re: Arch on Eee PC

IdoMcFly wrote:

is the boot time slower than he xandros provided with the eeePC?

My EeePC (w/2G RAM) takes 40 secs to boot, timed from pushing power button to desktop showing up with all stuff loaded including compiz. Booting from SSD with kernel26eee, kdemod installed instead of kde, auto-login enabled, KDEWM=compiz-fusion, blah blah blah...

Arch stock kernel, kernel26, took more than two times longer if I remember right.


701 Black 4G / 900 Black 4+16G / kernel-eee 2.6.26-1 / KDE(mod)

Offline

#271 2008-02-06 21:10:57

stylopath
Member
Registered: 2007-07-26
Posts: 112

Re: Arch on Eee PC

You run compiz on the eee? I always thought the eee would be much to slow for that!

Offline

#272 2008-02-06 21:40:23

DanielW
Member
Registered: 2008-01-27
Posts: 23

Re: Arch on Eee PC

Am I the only one with weird problems with kernel26eee?

I get dmesg output like this:

http://archlinux.pastebin.com/m57e09ccb

The problem are the ath modules. If i blacklist them, everything works fine. Also suspend2ram.

With the ath modules für wifi loaded suspend hangs at "rmmod ath-pci"  and a get the buggy output at boot.

DanielW

Offline

#273 2008-02-06 23:59:27

dkite
Member
Registered: 2007-06-01
Posts: 62

Re: Arch on Eee PC

DanielW wrote:

Am I the only one with weird problems with kernel26eee?

I get dmesg output like this:

http://archlinux.pastebin.com/m57e09ccb

The problem are the ath modules. If i blacklist them, everything works fine. Also suspend2ram.

With the ath modules für wifi loaded suspend hangs at "rmmod ath-pci"  and a get the buggy output at boot.

DanielW

I get the messages when booting with kernel26eee, but wifi works fine.

Derek

Offline

#274 2008-02-07 00:59:22

kant1
Member
Registered: 2006-11-28
Posts: 57

Re: Arch on Eee PC

Anyone have external monitor working well?

I am using kernel26, eeemodules, acpid_eee.  I went back to the intel driver since i810 didn't look promising.  It's true there is a little brightness problem with intel (it seems to forget your last brightness setting), but other than that it is working fine.

I tried following some instructions on the eee forums with xrandr.  I can get it to work (for instance xrandr --output VGA --auto), but xrandr restarts X every time, so it's not seamless.  So, with an x restart each time I switch modes, it works.  I can't get both of them to show up at the same time correctly (the laptop goes to the same size as the monitor and the screen scrolls).

So, if this is the best it gets, I'll just move on and post my configs to whomever is interested.  But if someone has gotten this working better, I'm all ears... smile

Offline

#275 2008-02-07 10:51:57

saten
Member
From: milano
Registered: 2007-12-24
Posts: 39
Website

Re: Arch on Eee PC

kant1 wrote:

Anyone have external monitor working well?

I am using kernel26, eeemodules, acpid_eee.  I went back to the intel driver since i810 didn't look promising.  It's true there is a little brightness problem with intel (it seems to forget your last brightness setting), but other than that it is working fine.

I tried following some instructions on the eee forums with xrandr.  I can get it to work (for instance xrandr --output VGA --auto), but xrandr restarts X every time, so it's not seamless.  So, with an x restart each time I switch modes, it works.  I can't get both of them to show up at the same time correctly (the laptop goes to the same size as the monitor and the screen scrolls).

So, if this is the best it gets, I'll just move on and post my configs to whomever is interested.  But if someone has gotten this working better, I'm all ears... smile

hi, i think my way is better.

use the intel driver and the external res is 1440x900:

xorg.conf says:

section device

    Driver      "intel"# "i810"
        Option "LinearAlloc" "6144" #mplayer option
    VendorName  "Intel Corporation"
    BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID       "PCI:0:2:0"
           Option "XAANoOffscreenPixmaps" "true"
           Option "AccelMethod" "exa"

section screen

    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "800x480"
#        Virtual 1440 900
Virtual 1440 1380
    EndSubSection

in this fashion, when x starts i can use:

xrandr --output LVDS --below VGA --mode 800x480

so i have the internal display as an extension of the external one, positioned below. with xfce4 you can configure multiple backgrounds for each display, at the time i've experienced some strange problems when using xfce built in composite extension, but i don't really need that.
you can otherwise choose to turn the interal display off using:

xrandr --output LVDS --off

note that the virtual res in xorg.conf is the maximum width of both screens (depending on the fact of placing them one above/below of the other rather than right/left) and the maximum height.
in my configuration i have them summed in height, so 1380 is 900+480

note that there are some restrictions to the maximum virtual res


saten

Offline

Board footer

Powered by FluxBB