Install Ubuntu Hardy (8.04.1) Guide

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

  1. WanderingStar

    bones

    Joined:
    Jul 15, 2008
    Messages:
    4
    Likes Received:
    0
    Same Result.

    I'm using Ubuntu 8.04.1 with most of the Modifications from this Thread.

    Perhaps old WLAN Driver?
     
    bones, Aug 16, 2008
  2. WanderingStar

    bones

    Joined:
    Jul 15, 2008
    Messages:
    4
    Likes Received:
    0
    Solved, with the current WLAN Driver the LED Works!
     
    bones, Aug 16, 2008
  3. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    Take a look at /etc/pm/sleep.d/. You can see an example of a sleep.d script in the Netbook Remix section of the wiki. You should be able to modify that to do what you want. Don´t forget to post it here.

    Allan
     
    axcairns, Aug 16, 2008
  4. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    Ubuntu will have absolutely no trouble with the hard drive and you won´t need any of the ´reducing ssd wear´ stuff either. I went for ssd because I don´t need much space and the ssd is better able to handle being dropped and consumes less power.

    Allan
     
    axcairns, Aug 16, 2008
  5. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    Works great for me.

    Did you put it in /etc/pm/sleep.d? Did you make it executable?

    Check out /var/log/pm-suspend.log

    EDIT - did you not read my response to the first post you made?

    Allan
     
    axcairns, Aug 16, 2008
  6. WanderingStar

    poningru

    Joined:
    Jul 27, 2008
    Messages:
    17
    Likes Received:
    0
    So I created this script that will install ubuntu, by dropping you into a netinstallation (essentially the alternative install) you dont need a cd you dont need a usb key or anything like that, just a nice internet connection at the time of installation (dialup wont do).
    Instructions from a default aspire one:
    1) download this script
    2) go into a terminal by: alt+f2, a window should pop up and type in 'terminal' (without the quotes) and press enter.
    3)Type these in to the terminal: cd Downloads
    4) chmod +x Install-script.sh
    5) sudo ./Install-script.sh
    6) go through the alternative install.

    The installation is not currently automated, working on that. The changes that will be made are things like wifi drivers, new kernel etc. accepting advise on what to change please add it here: viewtopic.php?f=28&t=906
    Thank you
     
    poningru, Aug 16, 2008
  7. WanderingStar

    einarth

    Joined:
    Jul 28, 2008
    Messages:
    17
    Likes Received:
    0
    Is there anybody that has followed the resent development in this thread concerning the sound issues that could update the guide with the latest information? I understand it is now possible to get everything to function at the same time?
     
    einarth, Aug 16, 2008
  8. WanderingStar

    Casao

    Joined:
    Aug 9, 2008
    Messages:
    28
    Likes Received:
    0

    Ah, you see, I am an idiot. I'd forgot I'd posted about it here so I posted again. I also made a mistake, I put a & instead of $ on $TMPFILE, so the whole thing died horribly. Thanks for pointing me to the log, it helped me figure it out. I'm giving it a test now but it should be fine.

    What is the final verdict on the audio? I've got it set to disable the internal mic which works pretty well, but of course I would prefer it working properly.

    Is there any way to prevent it from adding another duplicate Media card on the right side after suspend?
     
    Casao, Aug 17, 2008
  9. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    Everything works EXCEPT muting of the main speaker when you plug headphones in.
     
    axcairns, Aug 17, 2008
  10. WanderingStar

    melanoidin

    Joined:
    Aug 15, 2008
    Messages:
    4
    Likes Received:
    0
    Thanks for the info!
     
    melanoidin, Aug 17, 2008
  11. WanderingStar

    picasso

    Joined:
    Jul 26, 2008
    Messages:
    29
    Likes Received:
    0
    hi! i used this sysctl stuf fin a bash for the led. now wifi stopped working completely . how could i repair it??thx...
     
    picasso, Aug 17, 2008
  12. WanderingStar

    picasso

    Joined:
    Jul 26, 2008
    Messages:
    29
    Likes Received:
    0
    ....suddenly works with the led, so solved :p
     
    picasso, Aug 17, 2008
  13. WanderingStar

    witvis

    Joined:
    Jul 31, 2008
    Messages:
    17
    Likes Received:
    0


    Thank you for pointing me in the right direction, Allan.
    I looked at your script in the Netbook Remix section and did some Googling.
    Happy to report that I got things working.
    As Allan suggested, we need to be in /etc/pm/sleep.d
    We need to add a file, where it should be noted that naming the file is important!
    Files in /usr/lib/pm-utils/power.d and /etc/pm/sleep.d are executed during suspend, power down and hibernate and they are run in alphabetic order; during resume they are then run in reversed order.

    I found that the led's must be set after Reconfiguring network interfaces, as ordered by the file '50modules'. Therefore the new file name should be alphabetically 'smaller' than that file.

    So I did the following:

    Code:
    sudo gedit /etc/pm/sleep.d/30WLAN_led
    In this new file I entered:

    Code:
    case $1 in
    
        resume)
    	# Driving WiFi led’s
    	sysctl -w dev.wifi0.ledpin=3
    	sysctl -w dev.wifi0.softled=1
            ;;
    
    esac
    
    Ater that the file is made executable with

    Code:
    sudo chmod +x /etc/pm/sleep.d/30WLAN_led
    And voilá, the led's should work after resume.

    Please check and let me know if this works for you.

    Peter.
     
    witvis, Aug 17, 2008
  14. WanderingStar

    ags

    Joined:
    Jul 22, 2008
    Messages:
    34
    Likes Received:
    0
    This article by Petaramash (in French) is well worth a read. Petaramash addresses the resume problem with several acpi scripts.

    The rest of the article has lots of interesting ideas as well :D
     
    ags, Aug 17, 2008
  15. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    Google translation - http://translate.google.com/translate?u ... l=fr&tl=en

    EDIT - beware of cutting and pasting samples from this translation as Google has frakked many of them. Hover over the text you want to see an untranslated version.
     
    axcairns, Aug 18, 2008
  16. WanderingStar

    martymcr

    Joined:
    Jul 31, 2008
    Messages:
    10
    Likes Received:
    0
    Don't see any script - am I missing anything obvious?
     
    martymcr, Aug 19, 2008
  17. WanderingStar

    martymcr

    Joined:
    Jul 31, 2008
    Messages:
    10
    Likes Received:
    0
    Finally took the plunge and installed Ubuntu using the USB key method - worked really well and I'm happiest with this interface so far - hated the default Linpus software, tried XP on my 1.5GB/8GB SSD Acer One but found it too slow, or difficult to use when the different disk modes were switched on, but Ubuntu runs really well and I'm pleased - thanks for a great guide.

    The Wifi drivers have been upgrade so you might like to reflect that in the document on Ubuntu.com
     
    martymcr, Aug 19, 2008
  18. WanderingStar

    poningru

    Joined:
    Jul 27, 2008
    Messages:
    17
    Likes Received:
    0
    DOH
    here is the script, I guess I cant upload it here, btw mods this is really not cool.

    Bigger doh, this is the script to use the other one is wrong (older draft):

    https://wiki.ubuntu.com/LaptopTestingTe ... tallScript

    It seems that there is no way for me to input this script in here without somehow breaking this forum. I will post it on the ubuntu wiki.
    MODS: I have some exp running phpBB do you guys need help?
     
    poningru, Aug 19, 2008
  19. WanderingStar

    Casao

    Joined:
    Aug 9, 2008
    Messages:
    28
    Likes Received:
    0
    Thanks to whoever updated the wiki to include some of the grub and fstab settings. I've added them, hopefully it helps.

    I am wondering if anyone can give the final info on the sound system? If someone can put the info here, I would be more than happy to edit the wiki and add it. Just want to get it out there.
     
    Casao, Aug 20, 2008
  20. WanderingStar

    axcairns

    Joined:
    Aug 8, 2008
    Messages:
    92
    Likes Received:
    0
    I was going to do that myself but was holding off until we solve the muting of the speaker when headphones are plugged in.
     
    axcairns, Aug 20, 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.