Install Ubuntu Hardy (8.04.1) Guide

Discussion in 'Linux' started by WanderingStar, Jul 17, 2008.

  1. WanderingStar

    Donat

    Joined:
    Aug 5, 2008
    Messages:
    25
    Likes Received:
    0
    Location:
    UK
    Hum, not quite about what exactly to do...

    I'm guessing I start by getting the source code (seeing as repositories still only have 1.0.16, would that be the drivers the firmware, all of them that I should get?

    then I configure make and make install I guess.

    after that do I need to repeat any of the module assistant steps from the tutorial?

    thanks for any help
     
    Donat, Aug 13, 2008
  2. WanderingStar

    bit-ninja

    Joined:
    Jul 23, 2008
    Messages:
    31
    Likes Received:
    0
    Location:
    Houston, TX
    The easy way to install ALSA 1.0.17....

    http://ubuntuforums.org/showthread.php?t=820959

    There is a script with instructions. I am not quite sure about changing the config before compiling. I just ran the script as-is and it worked for me.

    Beware it takes a while to build....
     
    bit-ninja, Aug 13, 2008
  3. WanderingStar

    aliosa27

    Joined:
    Aug 13, 2008
    Messages:
    5
    Likes Received:
    0
    here ya go......this will make the wireless led blinky blink durring wireless traffic and association

    sysctl -w dev.wifi0.softled=1
    sysctl -w dev.wifi0.ledpin=3

    I updated the guide to say that the led for the wifi works...


    hakuna matata
     
    aliosa27, Aug 13, 2008
  4. WanderingStar

    dmit

    Joined:
    Aug 2, 2008
    Messages:
    4
    Likes Received:
    0
    Hmm, no led blinking at all. Issuing the sysctl -w dev.wifi0.softled=1 command prevents wifi from working completely, the command sysctl -w dev.wifi0.softled=2 turns it back on. But no single blink..
     
    dmit, Aug 13, 2008
  5. WanderingStar

    witvis

    Joined:
    Jul 31, 2008
    Messages:
    17
    Likes Received:
    0
    Does not work for me!
    With the commands in the /etc/rc.local I get no connect to the wireless network (and no led flashing) and
    entering the commands directly causes the existing connection to disconnect and never come up again (asks for pass phrase repeatedly without connecting).
    Again no flashing led.....
     
    witvis, Aug 13, 2008
  6. WanderingStar

    aliosa27

    Joined:
    Aug 13, 2008
    Messages:
    5
    Likes Received:
    0
    Yeh, odd....I supposed i should of rebooted after, it seems to work once the system is up and running..but if the commands are ran durring startup, all sorts of weird issues happen..I will get it figured out shortly
     
    aliosa27, Aug 14, 2008
  7. WanderingStar

    aliosa27

    Joined:
    Aug 13, 2008
    Messages:
    5
    Likes Received:
    0
    edit i see what i did...2 softleds...i didn't send the right pair
     
    aliosa27, Aug 14, 2008
  8. WanderingStar

    aliosa27

    Joined:
    Aug 13, 2008
    Messages:
    5
    Likes Received:
    0
    softled is 1 and ledpin is 3
     
    aliosa27, Aug 14, 2008
  9. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    Aliosa,

    Do the wifi kill switch commands also go in rc.local?

    Thanks,

    Allan
     
    axcairns, Aug 14, 2008
  10. WanderingStar

    2manydjs

    Joined:
    Jul 16, 2008
    Messages:
    300
    Likes Received:
    0
    Great! Thanks a lot for finding and posting on this. It works fine on my machine. However I would prefer to see a constant-on led when wifi is on and off when it's not. Any idea how to get that?

    On the wifi kill switch; it seems to only kill the wifi on software level as my power consumption is about the same. Also Ubuntu doesn't understand the wifi is turned off and tries to find a wifi connection.
     
    2manydjs, Aug 14, 2008
  11. WanderingStar

    2manydjs

    Joined:
    Jul 16, 2008
    Messages:
    300
    Likes Received:
    0
    I have added the following to the guide:
    Code:
    # Economize the SSD
    sysctl -w vm.swappiness=1               # Strongly discourage swapping
    sysctl -w vm.vfs_cache_pressure=50      # Don't shrink the inode cache aggressively
    
    # As in the rc.last.ctrl of Linpus
    echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
    cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_max > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
    
    echo 3000 > /proc/sys/vm/dirty_writeback_centisecs
    echo 20 > /proc/sys/vm/dirty_ratio
    echo 10 > /proc/sys/vm/dirty_background_ratio
    
    echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
    echo 10 > /sys/module/snd_hda_intel/parameters/power_save
    echo 5 > /proc/sys/vm/laptop_mode
    
    #Decrease power usage of USB while idle
    [ -L /sys/bus/usb/devices/1-5/power/level ] && echo auto > /sys/bus/usb/devices/1-5/power/level
    [ -L /sys/bus/usb/devices/5-5/power/level ] && echo auto > /sys/bus/usb/devices/5-5/power/level
    I have been using this without a problem. Let me know if something is wrong with it, or change it yourself.
     
    2manydjs, Aug 14, 2008
  12. WanderingStar

    witvis

    Joined:
    Jul 31, 2008
    Messages:
    17
    Likes Received:
    0
    This does indeed work.
    However it does not come up again after resume...
    It does after reboot.

    Peter.
     
    witvis, Aug 14, 2008
  13. WanderingStar

    macles

    Joined:
    Jul 22, 2008
    Messages:
    198
    Likes Received:
    0
    Ubuntunians, i'm not sure if you noticed but Acer has released the full kernel source. One of the things i noticed is a patched sdhci.c driver, maybe helping with sd card problems in Ubuntu.
     
    macles, Aug 14, 2008
  14. WanderingStar

    cka

    Joined:
    Jul 18, 2008
    Messages:
    8
    Likes Received:
    0
    Nice!

    I got the wifi LED working, but it seemed to me that in order to keep it solid you'd have to use the negative value (being the opposite of how it works now and all.) Low & behold, when I run the command sudo sysctl -w dev.wifi0.ledpin=-3, the light goes solid. :cool:
     
    cka, Aug 14, 2008
  15. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    This script, plus setting model=acer and creating asound.conf as described in viewtopic.php?f=28&t=164&st=0&sk=t&sd=a&start=180#p6686 have pretty much solved all my sound and mike related problems. Should these replace the existing sound tweaks in the wiki?

    Allan
     
    axcairns, Aug 14, 2008
  16. WanderingStar

    einarth

    Joined:
    Jul 28, 2008
    Messages:
    17
    Likes Received:
    0
    2manydjs, I believe there is an error in the script you posted above.
    The line:
    Code:
    echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
    should be modified to:
    Code:
    echo 1 > /sys/devices/system/cpu/sched_smt_power_savings
    I will modify the guide if someone can confirm that this is the case with there installation also. (It is easy to investigate what files are located in the directory specified by the path).
     
    einarth, Aug 14, 2008
  17. WanderingStar

    SbM

    Joined:
    Jul 14, 2008
    Messages:
    505
    Likes Received:
    0
    Indeed I have no "mc" file but a "smt" one in my /sys/devices/system/cpu/ folder.
     
    SbM, Aug 14, 2008
  18. WanderingStar

    Casao

    Joined:
    Aug 9, 2008
    Messages:
    28
    Likes Received:
    0
    I need some help getting this installed. I've been trying for, like, 2 days now to get this to work with no results.

    I'm following the guide pretty much exactly. The error I get is:

    udevd-event[1445]: run_program: '/sbin/modeprove' abnormal exit

    It drops me to the busybox initramfs prompt after that. I've got the 8gig Linpus model, what the hell is going on and how do I fix it? I know my way around Windows and OSX, but Linux is fairly new to me. Any help would be greatly appreciated.
     
    Casao, Aug 15, 2008
  19. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    I spoke too soon. Main speaker mutes for only about a second when headphones are plugged in. Any suggestions? I might experiment with different model= settings.

    Allan
     
    axcairns, Aug 15, 2008
  20. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    At what step do you get this error?
     
    axcairns, Aug 15, 2008
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.