Page 1 of 15 12311 ... LastLast
Results 1 to 10 of 147

Thread: How To: ubuntu natty (11.04) on asus a53s (k53sv family)

  1. #1
    Join Date
    Jun 2006
    Location
    Vienna, Austria
    Beans
    87
    Distro
    Ubuntu

    How To: ubuntu natty (11.04) on asus a53s (k53sv family)

    hiya,

    i just got my asus 2 days ago and wanted to share my findings with you how to get nearly everthing working:

    its an asus a53s which is nearly the same as a k53sv:
    core i5, 4gb, 500gb wd scorpio blue, gt 540m 2gb vram, cardreader, NO bluetooth

    just for the record:
    it originally came with BIOS version 208, i updated it to 210 and then to version 300 (i thought it would fix fan issues, but it didn't)


    still not working:

    * camera is upside-down (you can find solutions using google easily or here on the forums / NOT every asus laptop has this problem!)
    * stability issue #2 (heavy lags resulting in freeze)
    * harddisk clicking with WD scorpio blue -> try post #33 and report back please -this works for me!

    what will work after doing these steps:

    * stable WLAN (ath9k driver in 2.6.38 natty is buggy)
    * Touchpad (2 Finger Scrolling/disable on typing) (will actually get detected as touchpad, not as mouse on default natty install)
    * Nvidia offloading through bumblebee WITHOUT the fan going mad (uploaded scripts to bumblebee to fix fan issues)
    * fn keys like volume up/down - play/pause/next/prev (see post #9)
    * stability issue #1 (related to intel sandybridge drivers - update to patched kernel to fix GUI hangs, try post #25 - works for me | fixed in 2.6.38-11)
    * cardreader fix (follow _byrons_ post)
    * BLUETOOTH (follow _byrons_ post again )

    not confirmed by anyone expect me
    * hdd performance issues (repartition whole drive cause its a 4k advanced format hdd, aligning partition table will fix those small lags - if you don't have 'em, nevermind #5)


    WLAN:
    my hardware:
    Code:
    03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    symptoms:
    slow wlan connection, copying files over LAN normally will work for 5-10 minutes then it will drop completely.. you had to disconnect and connect again to get it working for another 5-10 minutes

    one of many bugreports to this problem:
    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/761176

    speed before: 120-170kb/s max.

    as 2.6.39 seems to bring new bugs, lets just update (dirty way) the ath9k driver (based on this guide http://ubuntuforums.org/showthread.php?t=1481983)

    Code:
    wget http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.39/compat-wireless-2.6.39-1.tar.bz2
    tar xfvj compat-wireless-2.6.39-1.tar.bz2
    cd compat-wireless-2.6.39-1
    ./scripts/driver-select ath9k
    make
    sudo make install
    sudo make unload
    sudo modprobe ath9k
    or just reboot insteat of the last 2 steps

    after driver update: 2500-3000kb/s on g-wlan... same situation

    Touchpad:

    gets detected as mouse so no scrolling etc..

    to get it detected and working (can be configured in the "mouse" preferences):

    https://bugs.launchpad.net/ubuntu/+s...04/comments/64

    after following these steps
    reboot or unload old module and load new one:

    Code:
    sudo rmmod psmouse && sudo modprobe psmouse
    Nvidia offloading/disabling NVIDIA card to get over 4hrs of battery life:

    you will need git:
    Code:
    sudo aptitude install git
    after its finished do these steps:
    Code:
    git clone http://github.com/MrMEEE/bumblebee.git
    cd bumblebee/
    sudo ./install.sh
    if you get asked which config you want to use, choose the one from "Thomas Krutz" - this will fix any fan issues

    be aware, this will add another xorg ppa to install a newer nvidia driver.
    but it should work

    reboot

    you can now try if it worked:

    Code:
    optirun glxgears
    to use the nvidia card
    and
    Code:
    glxgears
    to use intel card

    any change to the GL libraries (like bumblebee PPA or xorg-edgers PPA will break intel DRI after installing/setting up bumblebee, so be aware! i think the bumblebee install.sh moves around some files)

    hope this helps someone





    obsolete as of 4.7.2011

    i submitted my enable/disable scripts
    when you get asked which config you want to use, just choose the one from "Thomas Krutz"



    to disable the nvidia card you can use the following commands:

    Code:
    bumblebee-enablecard, bumblebee-disablecard, ...
    if you get caught by the same bug as me that after installing bumbleebee and the fan starts spinning at full speed
    i did this to fix it

    in /usr/src/acpi_call-1.0 i modified asus1215n.sh:

    Code:
    #!/bin/sh
    # Power control for Asus 1215N Optimus
    # by Pete Eberlein
    
    if ! lsmod | grep -q acpi_call; then
        echo "Error: acpi_call module not loaded"
        exit
    fi
    
    acpi_call () {
        echo "$*" > /proc/acpi/call
        cat /proc/acpi/call
    }
    
    
    case "$1" in
    off)
        echo _DSM $(acpi_call "\_SB.PCI0.PEGR.GFX0._DSM" \
    	"{0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47," \
    	 "0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0}" \
    	 "0x100 0x1A {0x1,0x0,0x0,0x3}")
    	# ok to turn off: Buffer {0x59 0x0 0x0 0x11}
    	# is already off: Buffer {0x41 0x0 0x0 0x11}
        echo _PS3 $(acpi_call "\_SB.PCI0.PEGR.GFX0._PS3")
    ;;
    on)
        echo _PS0 $(acpi_call "\_SB.PCI0.PEGR.GFX0._PS0")
    ;;
    *)
        echo "Usage: $0 [on|off]"
    esac
    
    
    #echo P3MO $(acpi_call "\_SB.PCI0.PEGR.GFX0.P3MO")
    echo DGPS $(acpi_call "\_SB.PCI0.PEGR.GFX0.DGPS")
    PSC=$(acpi_call "\_SB.PCI0.PEGR.GFX0._PSC")
    echo _PSC ${PSC}
    case "$PSC" in
    0x0)
        PSC="on"
    ;;
    0x3)
        PSC="off"
    ;;
    esac
    echo "Asus 1215N Optimus appears to be ${PSC}"

    now you have to edit bumblebee-enablecard and bumblebee-disablecard to use this file:
    in enablecard: find the last lines
    Code:
    #echo _PS0 $(acpi_call "\_SB.PCI0.PEG1.GFX0.DON")
    #echo _PS0 $(acpi_call "\_SB.PCI0.PEGR.GFX0.DON")
    modprobe nvidia-current
    and put a # before the echos

    write this right after the commented echo lines in the enablecard script:
    Code:
    /full/path/to/asus1215n-modified.sh on
    in the disablecard script do the same, put a # on the last line and add
    Code:
    /full/path/to/asus1215n-modified.sh off
    et voila, turn the pc off to get rid of the full speed fan (reboot wont help) and then boot your ubuntu again.. everything should work now .. at least it does work for me.
    Last edited by cucisan; August 18th, 2011 at 12:47 PM. Reason: cardreader/bluetooth fixes from _byron_

  2. #2
    Join Date
    Aug 2010
    Location
    Nikolaev, Ukraine
    Beans
    5
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Howto: Asus a53sv/k53sv

    Sorry, but i think that you aren't right about K53SV.
    As for me, I can't get Bluetooth in that laptop working almost for two weeks.
    I don't know what is inside A53SV, but mine K53SV has an Atheros AR5B195 combo card (hybrid of ar9285 wlan and ar3011 bt)installed there - wlan works fine, bluetooth - not.
    Everything except bluetooth is working out of the box. Thanks for the graphics switching manual.
    Please tell me if bluetooth is working/not working for you in A53SV.
    Thanks.

  3. #3
    Join Date
    Jun 2006
    Location
    Vienna, Austria
    Beans
    87
    Distro
    Ubuntu

    Re: Howto: Asus a53sv/k53sv

    hm i dont have bluetooth in my A53SV

    on my notebook a label says: modell a53s / mainboard: k53sv

    but thx for your post, ill update the topic

  4. #4
    Join Date
    Feb 2005
    Beans
    5

    Re: Howto: Asus a53sv/k53sv

    FINALLY! Thankyou! I no longer get my fan running at full speed as soon as my nvidia card is powered off.

  5. #5
    Join Date
    Jun 2006
    Location
    Vienna, Austria
    Beans
    87
    Distro
    Ubuntu

    Re: Howto: Asus a53sv/k53sv

    another thing i noticed, that the system is considerable laggy when generating normal IO activity like starting firefox while watching a movie.

    i read somewhere that ppl who changed the harddrive got rid of those lags (windows users on amazon)

    i opened the notebook to see whats inside and found out its a relativly good harddrive: western digital scorpio blue 500gb model WD5000BPVT which means it uses 4K advanced format.

    a quick peak on the partition table with
    Code:
    fdisk -l -u
    showed me this

    Code:
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1              63    45062324    22531131   1c  Hidden W95 FAT32 (LBA)
    Partition 1 does not start on physical sector boundary.
    /dev/sda2   *    45062325   289251773   122094724+   7  HPFS/NTFS
    Partition 2 does not start on physical sector boundary.
    /dev/sda3       289253374   976771071   343758849    5  Extended
    Partition 3 does not start on physical sector boundary.
    /dev/sda5       289253376   297439231     4092928   82  Linux swap / Solaris
    /dev/sda6       297441280   976771071   339664896   83  Linux

    sidenote: sda3 was the data drive (d on windows when i first turned it on

    afaik partitions on a 4K harddrive have to start on sectors which are dividable by 8 (without remainders) - or otherwise it will be slower/more fragmented...

    well, im now in the process to backup the contents of the recovery partition (sda1) and reformat the whole drive... i dont care for windows right now (as i use it only 2-3times a year or to flash a bios - which you should consider as there are 2 newer versions online than the one that was on the board - though i didnt notice any difference but risking a brick is fun, isnt it?)

    i will report back if it changes anything (IO lags are gone... that would be awesome! )

  6. #6
    Join Date
    Jun 2006
    Location
    Vienna, Austria
    Beans
    87
    Distro
    Ubuntu

    Re: Howto: Asus a53sv/k53sv

    well that worked out quite well.... not noticing any lags on normal IO usage... strike

  7. #7
    Join Date
    Oct 2010
    Beans
    35

    Re: Howto: Asus a53sv/k53sv

    Hello. did u also get the functions key working?
    i found a patched kernele here, but the download link is not working
    http://ubuntuforums.org/showthread.p...ht=asus-nb-wmi

    also, i have a minor issue with the touchpad. for some reason, it`s working at the login screen, and after login, it`s disabled. using sudo rmmod psmouse && sudo modprobe psmouse, does the trick but i have to do it every time. I applied the patch, for detecting the touchpad, as you mentioned in the post, but i was getting a shaky, jittery cursor, so i upgraded to xserver-xorg-input-synaptics_1.4.0-1+b1_amd64.deb, and now is fine, but it`s getting disabled after login. any ideas? thx.

  8. #8
    Join Date
    Jun 2006
    Location
    Vienna, Austria
    Beans
    87
    Distro
    Ubuntu

    Re: Howto: Asus a53sv/k53sv

    hrm strange... not all function keys are working:

    working:
    brightness controls
    calculator key
    wlan on/off

    not working:
    volume up/down
    media controls (play/pause/stop/next/prev)

    others:
    not tested because useless for me


    what kinda touchpad do you have?
    after elantech dkms module install, it gets detected as

    Code:
    [    18.846] (II) XINPUT: Adding extended input device "ETPS/2 Elantech ETF1059 Click-Pad" (type: TOUCHPAD)
    in Xorg.0.log

    and i must say it works quite well...

  9. #9
    Join Date
    Jun 2006
    Location
    Vienna, Austria
    Beans
    87
    Distro
    Ubuntu

    Re: Howto: Asus a53sv/k53sv

    Code:
    git clone git://git.iksaif.net/acpi4asus-dkms.git
    cd acpi4asus-dkms
    make
    sudo make install
    sudo modprobe asus-nb-wmi
    all keys are working strike

    with natty default kernel...

    *edit*:

    as soon as a kernel update is coming, the files installed will be overwritten.
    but being the dkms branch is quite easy to make it "stick"

    Code:
    sudo aptitude install debhelper
    cd acpi4asus-dkms
    dpkg-buildpackage
    sudo dpkg -i [newlycreated-package].deb
    Last edited by cucisan; June 30th, 2011 at 12:25 PM.

  10. #10
    Join Date
    Jun 2006
    Location
    Vienna, Austria
    Beans
    87
    Distro
    Ubuntu

    Re: Howto: Asus a53sv/k53sv

    another thing:

    intel sandy bridge support in natty is well.. quite bad

    symptoms: lockups/garbled screen (errors in dmesg)

    you can try if this fix helps you for now:

    in /etc/rc.local add this line before "exit 0"
    Code:
    echo 1 > /sys/module/i915/parameters/semaphores
    when i have time i will try to find a way to update mesa/kernel to get better sandybridge support ... without breaking bumblebee (which i currently ran into)

    also performance of some steam games through wine 1.3 (wine ppa) is bad like css (which was twice as fast on much older laptop with nvidia card)

Page 1 of 15 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •