Install Ubuntu Hardy (8.04.1) Guide

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

  1. WanderingStar

    sam

    Joined:
    Jul 18, 2008
    Messages:
    6
    Likes Received:
    0
    You're right again. Now, with model=acer, "Mic" appears in the list of input sources and I'm able to record sounds and talk with Skype.
    But as you said on your previous post, headphones are not recognized (speaker is always on also if headphones are present).

    The strange is that even if I compiled and installed alsa 1.0.17, following the instructions of HdaIntelSoundHowto, if I run:
    Code:
    $ cat /proc/asound/version 
    Advanced Linux Sound Architecture Driver Version 1.0.16.
    Compiled on Jun 18 2008 for kernel 2.6.24-19-generic (SMP).
    So, alsa version seems to be 1.0.16, the Hardy version not the version I compiled, but the alsa-utils are correct
    Code:
    $ alsactl -v
    alsactl version 1.0.17
    $ alsamixer -h
    AlsaMixer v1.0.17
    What do you get the from cat /proc/asound/version?
    The headphones issue is still unsolved or are there any walkarounds?
    Anyway, also if the headphones are not recognized, now I can use the microphone and this is a great step forward!

    Thank you again for all the help.
    sam.
     
    sam, Jul 26, 2008
    #81
  2. WanderingStar

    sam

    Joined:
    Jul 18, 2008
    Messages:
    6
    Likes Received:
    0
    After searching for a solution I realised that the problem is that ubuntu is loading another module, the original alsa 1.0.16 module.
    I've found that ubuntu was loading the module from directory:
    Code:
    /lib/modules/2.6.24-19-generic/ubuntu/sound/alsa-driver
    and the new alsa driver I compiled was installed in:
    Code:
    /lib/modules/2.6.24-19-generic/kernel/sound
    So I do the following:
    Code:
    cd /lib/modules/2.6.24-19-generic/ubuntu/sound/
    sudo mv alsa-driver alsa-driver_bak
    sudo mkdir -p alsa-driver
    sudo cp -r /lib/modules/2.6.24-19-generic/kernel/sound/* /lib/modules/2.6.24-19-generic/ubuntu/sound/alsa-driver/
    
    after rebooting:
    Code:
    cat /proc/asound/version 
    Advanced Linux Sound Architecture Driver Version 1.0.17.
    Compiled on Jul 26 2008 for kernel 2.6.24-19-generic (SMP).
    
    But I noticed that if I use "model=acer" the headphones issue remains (speaker is active also when I put headphones).
    If I use "model=auto" headphones are correctly detected and external mic is working with gnome sound recorder using as input source "Digital" or "Capture", but with Skype Test Call I cannot hear my voice, so the problem now seems to be that external mic is working but not with Skype.

    sam.
     
    sam, Jul 26, 2008
    #82
  3. WanderingStar

    osdude

    Joined:
    Jul 20, 2008
    Messages:
    103
    Likes Received:
    0
    Location:
    East Coast USA
    Kubuntu installs and runs well. The instructions are pretty much identical.

    When one of the instructions call for 'gedit' use 'kate' (kate is the KDE text editor)

    don't know if the sound works, I turned most of the little bells and whistles off. This runs much btter than I expected (1.5GBRAM)
     
    osdude, Jul 26, 2008
    #83
  4. WanderingStar

    larsll

    Joined:
    Jul 26, 2008
    Messages:
    19
    Likes Received:
    0
    Is there any way we can easily switch between these modes? Right now it seems like some of the modes fit well in certain situations and others in other situations...

    Since all features are working in different settings I guess it is only a matter of time before a new model is introduced that allows us to use all the different features. :)
     
    larsll, Jul 26, 2008
    #84
  5. WanderingStar

    poningru

    Joined:
    Jul 27, 2008
    Messages:
    17
    Likes Received:
    0
    Hey guys how much of an interest would be there if I were to package up the wifi drivers?
    I would just get a PPA on launchpad and have you guys add that to the software sources list for kernel update purposes. So yeah let me know.
     
    poningru, Jul 27, 2008
    #85
  6. WanderingStar

    rsletta

    Joined:
    Jul 25, 2008
    Messages:
    4
    Likes Received:
    0
    That would be great. It would make it much easier for non-geek to get wifi access without too much trouble. :)
     
    rsletta, Jul 27, 2008
    #86
  7. WanderingStar

    osdude

    Joined:
    Jul 20, 2008
    Messages:
    103
    Likes Received:
    0
    Location:
    East Coast USA
    osdude, Jul 27, 2008
    #87
  8. WanderingStar

    menachem

    Joined:
    Jul 27, 2008
    Messages:
    1
    Likes Received:
    0
    I was able to get my internal mic working with Skype, using Kubuntu. The following steps are what I did to get it working, but I don't know what exactly it was that made it start working.

    * Used Module Assistant to rebuild ALSA (it failed the first time, I ran it a second time and it completed successfully) [found the instructions here: https://bugs.launchpad.net/ubuntu/+sour ... omments/86, but the whole thread is interesting]:
    Code:
    sudo apt-get install module-assistant
    sudo m-a update
    sudo m-a prepare
    sudo m-a a-i alsa
    sudo alsa force-unload
    sudo depmod -ae
    sudo modprobe snd-hda-intel
    * add to the end of /etc/modprobe.d/alsa-base:
    Code:
    sd-hda-intel model=auto
    * Went into KMix and turned everything up. I also made sure the input source is Mic (and not Front Mic).

    * Then I went into Skype's options and under "Sound Devices", unchecked "Allow Skype to Automatically adjust my mixer levels" and chose "HDA Intel (hw:Intel,0)" for "Sound In", instead of "default".

    I haven't made a skype call yet, but the test call worked.

    I don't know if it made a difference, but while trying to figure it out, I replaced /var/lib/alsa/asound.state with the asound.state found on the Acer Recovery DVD (there is a folder on the DVD with the Acer specific files).
     
    menachem, Jul 27, 2008
    #88
  9. WanderingStar

    baseline

    Joined:
    Jul 16, 2008
    Messages:
    43
    Likes Received:
    0
    baseline, Jul 27, 2008
    #89
  10. WanderingStar

    sam

    Joined:
    Jul 18, 2008
    Messages:
    6
    Likes Received:
    0
    I can confirm that External Mic is now working with Skype (and alsa v1.0.17).
    My settings are:
    Code:
    * alsa v1.0.17
    * options snd-hda-intel model=auto in /etc/modprobe.d/alsa-base
    * "Mic" set as "Input Source" in gnome volume control (and obviously not muted)
    * in Skype Audio Options be sure to set device "HDA Intel (hw:Intel,0)" as input device
    
    Tried with Skype Test Call. I can hear my voice. :p

    Hope this help someone.

    sam.
     
    sam, Jul 27, 2008
    #90
  11. WanderingStar

    WanderingStar

    Joined:
    Jul 15, 2008
    Messages:
    26
    Likes Received:
    0
    Location:
    Ottawa, On, Ca
    For those that have tried the audio fix listed, does sound still work after a suspend / resume and does headphone detection work? Doing it now, but want to be clear.

    Thanks,
    Jeff
     
    WanderingStar, Jul 27, 2008
    #91
  12. WanderingStar

    WanderingStar

    Joined:
    Jul 15, 2008
    Messages:
    26
    Likes Received:
    0
    Location:
    Ottawa, On, Ca
    To answer my own question:

    Doing the listed module assistant fix will make all inputs work (built in mic and the mic jack). Headphone detection still works after doing this. On my system however you will loose sound after suspending and resuming.

    That said, using option=toshiba an external mic works, as does headphone detection, and suspending / resuming.

    Jeff
     
    WanderingStar, Jul 27, 2008
    #92
  13. WanderingStar

    brentashley

    Joined:
    Jul 15, 2008
    Messages:
    20
    Likes Received:
    0
    Location:
    Brampton, Ontario, Canada
    I did this with my Ubuntu 8.04.1 and it recompiled alsa as 1.0.16. afterwards, the internal and external mics both work on Skype when I set Volume control/Options/Inputsource to Mic and select HDA Intel (hw:Intel,0) as the Sound In device on Skype.

    I now have a complete Ubuntu install on my AspireOne. Yayy!
     
    brentashley, Jul 27, 2008
    #93
  14. WanderingStar

    diogosousa

    Joined:
    Jul 15, 2008
    Messages:
    16
    Likes Received:
    0
    Indeed it works. MIC working. Now i'm getting this high frequency noise that makes it impossible to hear any sound. Any ideas?
     
    diogosousa, Jul 28, 2008
    #94
  15. WanderingStar

    dandesigns

    Joined:
    Jul 19, 2008
    Messages:
    103
    Likes Received:
    0
    so is it completely working? I'm about to ditch my modded linpus now. :D
     
    dandesigns, Jul 28, 2008
    #95
  16. WanderingStar

    diogosousa

    Joined:
    Jul 15, 2008
    Messages:
    16
    Likes Received:
    0
    I wouldn't say completely working, but it's close...
     
    diogosousa, Jul 28, 2008
    #96
  17. WanderingStar

    yehyehyeh

    Joined:
    Jul 20, 2008
    Messages:
    5
    Likes Received:
    0
    yehyehyeh, Jul 28, 2008
    #97
  18. WanderingStar

    WanderingStar

    Joined:
    Jul 15, 2008
    Messages:
    26
    Likes Received:
    0
    Location:
    Ottawa, On, Ca
    I'm working on an update as we speak with the update info.

    Could somebody confirm my result that with the Mic fix sound no longer functions after suspending/resuming?

    Thanks,
    Jeff
     
    WanderingStar, Jul 28, 2008
    #98
  19. WanderingStar

    egesia

    Joined:
    Jul 18, 2008
    Messages:
    11
    Likes Received:
    0
    Is the led working with the new wifi driver?
     
    egesia, Jul 28, 2008
    #99
  20. WanderingStar

    diogosousa

    Joined:
    Jul 15, 2008
    Messages:
    16
    Likes Received:
    0
    No it is not... :s
     
    diogosousa, Jul 28, 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.