Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2008-05-24 5:52:50 am

Duckman
New member
Registered: 2008-05-24
Posts: 7

Microphone on eeepc 900 with ubuntu 8.04

Everthing works on my eeepc 900 except the mic, which is sad...
Does anyone has a working microphone on the 900 (ubuntu 8.04).  I tried every possible alsamixer combination. No luck. Input source is front mic, i guess.

Any ideas?

Thx

Duckman

Offline

 

#2 2008-05-25 1:07:44 am

buddylok
New member
Registered: 2008-05-25
Posts: 6

Re: Microphone on eeepc 900 with ubuntu 8.04

i couldn't get my mic to work on my EeePC 900 (ubuntu 8.04).

you are right,  it is the front mic.

I can get everything else to work on my 900 (eg, cpu scaling, wifi, webcam, sound output etc...)

Hope someone can help us with the microphone recording issue.

Offline

 

#3 2008-05-25 5:37:42 am

Duckman
New member
Registered: 2008-05-24
Posts: 7

Re: Microphone on eeepc 900 with ubuntu 8.04

Here is the alsa info. Maybe some crack can read this and find the sound capture (mic) problem:

http://www.file-upload.net/download-873 … o.txt.html

Duckman

Offline

 

#4 2008-05-25 12:25:59 pm

simon08
Senior Member
Registered: 2008-01-13
Posts: 116

Re: Microphone on eeepc 900 with ubuntu 8.04

I'm also in this position. Everything else is working prefectly in 8.04 on eee 900.

The only thing left for me to get working is the mic..

Offline

 

#5 2008-05-26 11:41:26 am

Duckman
New member
Registered: 2008-05-24
Posts: 7

Re: Microphone on eeepc 900 with ubuntu 8.04

Microphone fix @
https://help.ubuntu.com/community/EeePC … 86e0d6a192

ATTENTION: eeepc 900 users shouldnt add this line:

Edit /etc/modprobe.d/alsa-base and add the line “options snd-hda-intel model=3stack-dig”

but this ONE:

Edit /etc/modprobe.d/alsa-base and add the line “options snd-hda-intel model=auto”

The fix using module-assistant worked for me, but the sound quality of the microphone must be finetuned (RMB over Volume icon - Volume Control). Its very difficult to find the perfect settings..... Skype voice quality is very poor....

*****Edit****
These settings work:

1. Mic must be muted:
http://www.bilder-hochladen.net/files/6u3i-2.png

2. Capture and Digital controls must be adjusted:
http://www.bilder-hochladen.net/files/6u3i-1.png

(Aufnahme = Capture)
(Digital = Digital)

Note: Every kernel update breaks the microphone fix along with many other things....
*****Edit****

Duckman

Last edited by Duckman (2008-05-30 3:25:40 am)

Offline

 

#6 2008-06-11 12:13:40 pm

specked
New member
Registered: 2008-06-11
Posts: 7

Re: Microphone on eeepc 900 with ubuntu 8.04

I have the 900

doing:

Code:

sudo apt-get install module-assistant
sudo m-a update
sudo m-a prepare
sudo m-a a-i alsa

breaks my sound. So I didn't try it again.

I did add the line:

Code:

Edit /etc/modprobe.d/alsa-base and add the line “options snd-hda-intel model=auto”

Now my mic will playback through my speakers. Meaning if I blow or say something into the mic I can hear myself through the speakers. But I can not get sound recorder, skype, etc... to capture from the device. Any suggestions?

Thank you.

Last edited by specked (2008-06-11 12:14:54 pm)

Offline

 

#7 2008-06-12 5:39:57 am

Duckman
New member
Registered: 2008-05-24
Posts: 7

Re: Microphone on eeepc 900 with ubuntu 8.04

specked wrote:

I have the 900

doing:

Code:

sudo apt-get install module-assistant
sudo m-a update
sudo m-a prepare
sudo m-a a-i alsa

breaks my sound. So I didn't try it again.

Make sure you have eeepc-acpi installed, too. This is important, I guess.

Also read the following documents carefully:
Installing eeepc-acpi: http://wiki.eeeuser.com/getting_ubuntu_ … _perfectly
Fixes: https://help.ubuntu.com/community/EeePC/Fixes
Hints: http://ubuntu-eee.tuxfamily.org/index.p … =Main_Page

Furthermore lock (Synaptic) your kernel after you get everything to work perfectly because kernel updates will break wifi, mic, webcam, eeepc-acpi and hotkeys. Sad but true.

Good luck

Duckman

Offline

 

#8 2008-06-15 2:41:39 am

whereisaaron
Member
Registered: 2008-06-15
Posts: 15

Re: Microphone on eeepc 900 with ubuntu 8.04

BTW, there is a similar thread on this same topic.

I have eeePC 900 microphone problems too. I would like to test if a lower bit-rate for recording would help, but don't know how to test that. Here's what I have done:

1) I've installed Ubuntu 8.04 with kernel 2.6.24-18-generic and all Ubuntu updates on an eeePC 900.

2) I've applied the various fixes from the wiki and forum, and now everything works for me except the microphone. The sound playback worked with just the base Ubuntu install, but the microphone has never worked.

3) I have added the 'options snd-hda-intel model=auto' setting.

4) I checked all the alsamixer settings: The 'Front Mic', 'Microphone', 'Capture', and 'Digital', are all set to 77% and un-muted. The input source is set to 'Front Mic'. The 'PCM', and 'Front' are also set to 77-78% and unmuted, the 'Master' is set 100% and unmuted.

5) In the 'Sound Preferences', playback is set to 'Autodetect' the test buttons and system sounds work. The 'Sound Capture' is set to 'ALSA', but the test plays only a few clicks and then goes silent. The 'Default Mixer' device is 'HDA Intel (Alsa mixer)' and the default track is 'Front Mic'.

Here's what I get:

1) The sound recorder records nothing but 'clicks' and a little static from both 'Digital' and 'Capture' no matter how loud I shout. Skype records no discernible noise.

2) By unmuting the 'Front Mic' playback and increasing its volume to ~80% I can clearly hear myself blow on the mic from through the eeePC's speakers. Muting the 'Front Mic' playback turns this off. (Muting the 'Mic' does not affect it).

3) I notice that if I set the 'Sound capture' to 'Test sound' and then click on the 'Test' button, I will here a few milliseconds of tone played back but it soon stutters and goes silent. Pressing 'Test' several time I get different results, sometimes up to a second of stuttering tone, sometime just a click or two and then silence.

The results of trying to capture the 'Test sound' make me wonder if the default capture bit-rate is set too high for the eeePC 900 to keep up with. Is that plausible and does anyone know how to test this theory? Update: I tried recording at different rates with 'arecord' but it made no difference, only background static was recorded.

Update: I zapped the EeePC 900 back to the original Xandros with the recovery CD. The microphone works with both the Xandros Sound Recorder and Skype. You have to be talking a point-blank range to get any sort of volume (as others reported) but it does work. So this shows it is some sort of software problem getting it going under Ubuntu - there is hope smile

Aaron.

Last edited by whereisaaron (2008-06-15 7:02:53 am)

Offline

 

#9 2008-06-16 10:55:40 am

specked
New member
Registered: 2008-06-11
Posts: 7

Re: Microphone on eeepc 900 with ubuntu 8.04

Duckman wrote:

I have the 900
Also read the following documents carefully:
Installing eeepc-acpi: http://wiki.eeeuser.com/getting_ubuntu_ … _perfectly
Fixes: https://help.ubuntu.com/community/EeePC/Fixes
Hints: http://ubuntu-eee.tuxfamily.org/index.p … =Main_Page

If I do:

Code:

sudo apt-get install module-assistant eeepc-acpi-source
sudo m-a a-i eeepc-acpi
sudo sh -c 'echo eeepc-acpi >> /etc/modules'

and it breaks my sound. How do I undo it. Last time I had to completely reinstall ubuntu and I don't want to go through that again.

Thanks

Offline

 

#10 2008-06-16 5:44:13 pm

zac206
New member
Registered: 2008-06-03
Posts: 2

Re: Microphone on eeepc 900 with ubuntu 8.04

whereisaaron wrote:

BTW, there is a similar thread on this same topic.

I have eeePC 900 microphone problems too. I would like to test if a lower bit-rate for recording would help, but don't know how to test that. Here's what I have done...........

Aaron.

I have the exact same problem. Tried everything I found, nothing works. I can hear myself on the speaker if I talk loud into the microphone, but neither skype nor sound recorder will hear anything.Really anoying especialy since it perfectly works under Xandros...

Offline

 

#11 2008-06-18 3:16:23 pm

dohkoxar
Member
Registered: 2008-06-17
Posts: 26

Re: Microphone on eeepc 900 with ubuntu 8.04

aghhh this is fustrating sad what does it take to get this fixed? If anyone knows a linux guru than can help us out.. I love my eee pc but Xandros sucks IMHO.

I have tried Ubuntu 8.04, eeebuntu rc2 and ubuntu eee 8.04 and none could get everything fixed after the install, I fixed a few things but webcam never worked in ubuntu and ubuntu eee and mic doesn't work in any of the three.

I hope we can get a fix soon sad

Offline

 

#12 2008-06-18 5:41:28 pm

whereisaaron
Member
Registered: 2008-06-15
Posts: 15

Re: Microphone on eeepc 900 with ubuntu 8.04

Well the good news is the camera on the 900 can be fixed quite easily, you just need to install a newer version of the uvcvideo.ko module.

Be careful about updating your Ubuntu kernel, as that undoes a lot of the fixes (like wifi) and you have to repeat them.

dohkoxar wrote:

aghhh this is fustrating sad what does it take to get this fixed? If anyone knows a linux guru than can help us out.. I love my eee pc but Xandros sucks IMHO.

I have tried Ubuntu 8.04, eeebuntu rc2 and ubuntu eee 8.04 and none could get everything fixed after the install, I fixed a few things but webcam never worked in ubuntu and ubuntu eee and mic doesn't work in any of the three.

I hope we can get a fix soon sad

Offline

 

#13 2008-06-19 4:06:06 pm

specked
New member
Registered: 2008-06-11
Posts: 7

Re: Microphone on eeepc 900 with ubuntu 8.04

could anyone tell me what this does:

Code:

sudo m-a a-o eeepc-acpi

Thanks

Typo: it was a-i not a-o

Last edited by specked (2008-06-19 4:39:23 pm)

Offline

 

#14 2008-06-19 4:13:20 pm

oupsemma
ExtrEmE User
From: LinuxLand
Registered: 2008-01-29
Posts: 2858

Re: Microphone on eeepc 900 with ubuntu 8.04

specked wrote:

could anyone tell me what this does:

Code:

sudo m-a a-o eeepc-acpi

Thanks

Are you sure it is m-a a-o and not m-a a-i ?
This is for the module assistant  module-assistant   auto-install )

Ps : you can refer to the man-page for module-assistant

Last edited by oupsemma (2008-06-19 4:38:14 pm)


1000H with Arch Gnome, Eeebuntu 3 Openbox, Fedora Rawhide Lxde

Offline

 

#15 2008-06-19 4:36:39 pm

oupsemma
ExtrEmE User
From: LinuxLand
Registered: 2008-01-29
Posts: 2858

Re: Microphone on eeepc 900 with ubuntu 8.04

If it's Silent Tortoise 's script you've been following , read it again , because it is written :
sudo m-a a-i eeepc acpi .


1000H with Arch Gnome, Eeebuntu 3 Openbox, Fedora Rawhide Lxde

Offline

 

#16 2008-06-23 1:11:39 am

quickfire
New member
Registered: 2008-06-20
Posts: 3

Re: Microphone on eeepc 900 with ubuntu 8.04

Finally, I fixed my front mic on 900 by rebuild the sound driver module "snd-hda-intel.ko". I'm using Fedora 9. It's a hard and long way and the solution highly depends on the version of kernel so I can't list 1,2,3 steps because everyone's kernel's version and configuration may be different.


I compared the eeepc's kernel source downloaded from "http://eeepc.asus.com/global/download.htm" and my current kernel source(2.6.25.3). Then modified my kernel source's patch_realtek.c consulting eeepc source's patch_realtek.c, here's my change:

1.Copy all the entries in structs "alc662_volume_init_verbs" and "alc662_3stack_init_verbs" of eeepc source into struct "alc662_init_verbs" of my kernel source and delete all the original entries in it. Note that there should be one and only one empty entry("{ }") at the end of the struct.

2.Remove "0x23" in the array named "capture_mixers" declared in function "alc662_mux_enum_put" and change the capacity of the array from "2" to "1".

3 To enable mic boost, add the following two lines to the end of function "alc662_parse_auto_config" before "return 1;":
err = alc_auto_add_mic_boost(codec);
if (err < 0) return err;


And then rebuild modules. With the new "snd-hda-intel.ko" my front mic works, on both sound recorder and skype. I'm using ALSA and pulseaudio, in the system's audio settings, I use pulseaudio as all playback devices and use ALSA as capture and mixer devices. There's nothing in my /etc/modules.conf or /etc/modprobe.conf and I have no /etc/modprobe.d/alsa-base.


OK. That's just what I saw and what I did. I'm a beginner with kernel making and know nothing about hardware. Maybe some change is unnecessary.


But it's a bad solution, too complicated, and if my kernel updates to a new version I must compare the source again, modify the source again and rebuild the module again. Hope there's a simple way. Maybe some configuration in alsa-base that force the module recognize the sound card as alc861vd will work. I'll try it.

Last edited by quickfire (2008-06-23 1:29:48 am)

Offline

 

#17 2008-06-23 2:28:32 am

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Microphone on eeepc 900 with ubuntu 8.04

I might be able to help, quickfire.

If you post your patch somewhere, I can integrate it into my custom eeepc kernel/modules along with the other patches/enhancements I've collected. (See sig. link)

It would be easy for me to apply the patch, build a new debian package of the pre-built modules (including madwifi, eeepc-acpi, uvcvideo and alsa) and add it to my repository. If the patch works, I'd theoretically be able to keep it alive for future versions of the kernel... barring no major conflicts tongue

Note this repository is currently only for ubuntu Hardy... but worth a shot smile


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#18 2008-06-23 9:55:51 pm

quickfire
New member
Registered: 2008-06-20
Posts: 3

Re: Microphone on eeepc 900 with ubuntu 8.04

OK. The modification on alc662_init_verbs is unnecessary. The patch is much simpler now.

Code:

--- linux-2.6.25.3/sound/pci/hda/patch_realtek.c    Tue Jun 24 09:41:03 2008
+++ linux-2.6.25.3/sound/pci/hda/patch_realtek.c    Tue Jun 24 09:49:15 2008
@@ -12831,7 +12831,7 @@
     struct alc_spec *spec = codec->spec;
     const struct hda_input_mux *imux = spec->input_mux;
     unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
-    static hda_nid_t capture_mixers[2] = { 0x23, 0x22 };
+    static hda_nid_t capture_mixers[1] = { 0x22 };
     hda_nid_t nid = capture_mixers[adc_idx];
     unsigned int *cur_val = &spec->cur_mux[adc_idx];
     unsigned int i, idx;
@@ -13666,6 +13666,10 @@
     spec->init_verbs[spec->num_init_verbs++] = alc662_auto_init_verbs;
     spec->mixers[spec->num_mixers] = alc662_capture_mixer;
     spec->num_mixers++;
+    
+    err = alc_auto_add_mic_boost(codec);
+    if (err < 0) return err;
+    
     return 1;
 }

Offline

 

#19 2008-06-24 3:20:27 am

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Microphone on eeepc 900 with ubuntu 8.04

Hmm... I applied the patch onto my eeepc kernel, installed it on my EeePC 900 and I think my mic is working!

At first I noticed that all the test sounds I recorded crackled a lot. I soon realized that its related to your CPU speed. If you run at full 900 MHz, it appears to record fine. Interesting.
(It would be nice if we could instruct snd_hda_intel to request a 'performance' policy on cpufreq, while it's recording tongue

I'm going to run some more tests tomorrow morning, and if all goes well I'll post this compiled patch into my eeepc repository.
If you're linked into the repository and using the eeepc kernel, the patch should be auto-downloaded to your device, free of charge!

Great find, quickfire big_smile ... you're probably one of the first to simplify it like this.

Last edited by adamm (2008-06-24 3:28:41 am)


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#20 2008-06-24 12:24:08 pm

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Microphone on eeepc 900 with ubuntu 8.04

I've posted the patched code but I need beta testers before I can release it on my repository.

I've started a new thread:
http://forum.eeeuser.com/viewtopic.php?id=33794

If you're running either an EeePC 700 (et al) or EeePC 900, give it a shot!

Hopefully the mic works for both models tongue


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#21 2008-06-24 12:32:58 pm

damian
Member
From: UK
Registered: 2008-05-02
Posts: 70

Re: Microphone on eeepc 900 with ubuntu 8.04

Just compiling this patch now, had to do it manually, but with so few changes it was quite easy.

So let you know when this 2.6.25.7 kernel has compiled and the modules built!

edit: It's working but a horrendous amount of background noise sad I'll have to play with the mixers smile

Last edited by damian (2008-06-24 1:47:26 pm)


Asus Eee PC 900 (20Gb,White), Ubuntu with 2.6.25.7 kernel

Offline

 

#22 2008-06-24 2:03:12 pm

damian
Member
From: UK
Registered: 2008-05-02
Posts: 70

Re: Microphone on eeepc 900 with ubuntu 8.04

adamm wrote:

Hmm... I applied the patch onto my eeepc kernel, installed it on my EeePC 900 and I think my mic is working!

At first I noticed that all the test sounds I recorded crackled a lot. I soon realized that its related to your CPU speed. If you run at full 900 MHz, it appears to record fine. Interesting.
(It would be nice if we could instruct snd_hda_intel to request a 'performance' policy on cpufreq, while it's recording tongue

I'm going to run some more tests tomorrow morning, and if all goes well I'll post this compiled patch into my eeepc repository.
If you're linked into the repository and using the eeepc kernel, the patch should be auto-downloaded to your device, free of charge!

Great find, quickfire big_smile ... you're probably one of the first to simplify it like this.

Adam, are you sure the crackling is directly related to CPU speed? The reason I ask is I lowered mine 112Mhz, used Sound Recorder and changed the 'Record As' to WAV, not OGG. I think the OGG processing might require a few extra CPU cycles to record live.


Asus Eee PC 900 (20Gb,White), Ubuntu with 2.6.25.7 kernel

Offline

 

#23 2008-06-24 2:07:57 pm

adamm
Senior Member
From: Alberta, Canada
Registered: 2008-06-05
Posts: 573

Re: Microphone on eeepc 900 with ubuntu 8.04

damian wrote:

Adam, are you sure the crackling is directly related to CPU speed? The reason I ask is I lowered mine 112Mhz, used Sound Recorder and changed the 'Record As' to WAV, not OGG. I think the OGG processing might require a few extra CPU cycles to record live.

I set my min speed to 337 MHz, according to /etc/sysfs.conf
Also, I am still using p4_clockmod. Maybe eee900freq reacts differently?

Or, maybe gnome-sound-recorder is smart enough to say, "Hey, your CPU is below X MHz, you must be on an original Pentium and there's no way you can encode OGG. Let me change that format for you!"

How helpful! tongue


Ubuntu EeePC-optimized kernel repository: http://www.array.org/ubuntu/

Offline

 

#24 2008-06-24 2:14:03 pm

damian
Member
From: UK
Registered: 2008-05-02
Posts: 70

Re: Microphone on eeepc 900 with ubuntu 8.04

adamm wrote:

damian wrote:

Adam, are you sure the crackling is directly related to CPU speed? The reason I ask is I lowered mine 112Mhz, used Sound Recorder and changed the 'Record As' to WAV, not OGG. I think the OGG processing might require a few extra CPU cycles to record live.

I set my min speed to 337 MHz, according to /etc/sysfs.conf
Also, I am still using p4_clockmod. Maybe eee900freq reacts differently?

Or, maybe gnome-sound-recorder is smart enough to say, "Hey, your CPU is below X MHz, you must be on an original Pentium and there's no way you can encode OGG. Let me change that format for you!"

How helpful! tongue

I was using p4_clockmod, although I can poke 0 the cpufv value too, there's no difference in the quality (a term I use loosely!)

I'm definitely not 'modding' gnome-sound-recorder to do that check!!!!


Asus Eee PC 900 (20Gb,White), Ubuntu with 2.6.25.7 kernel

Offline

 

#25 2008-06-25 5:12:54 pm

wavesinmc
Senior Member
Registered: 2008-03-21
Posts: 169

Re: Microphone on eeepc 900 with ubuntu 8.04

Success! With Much thanks to Whereisaaron...

I followed the instructions below as well and was frustrated with no microphone or input with headphone mic. I am using the 701 and not the 900 but had the same issues with the microphone...VERY frustrating!

I felt Whereisaaron was on to something by trying to adjust the settings using the graphic interface (I'm a newbie). Using his/(her?) settings, I kept tweaking 'til I got my mic!!! yay! I have NO idea what part of my tweaking caused the success btw. This has taken forever so I thought I would share my settings below this post since most of this post is what I followed. I have cut parts of the previous post to make this post shorter...

whereisaaron wrote:

.

I have eeePC 900 microphone problems too.  Here's what I have done:

1) I've installed Ubuntu 8.04 with kernel 2.6.24-18-generic and all Ubuntu updates on an eeePC 900.

2) I've applied the various fixes from the wiki and forum, and now everything works for me except the microphone. The sound playback worked with just the base Ubuntu install, but the microphone has never worked.

3) I have added the 'options snd-hda-intel model=auto' setting.

4) I checked all the alsamixer settings: The 'Front Mic', 'Microphone', 'Capture', and 'Digital', are all set to 77% and un-muted. The input source is set to 'Front Mic'. The 'PCM', and 'Front' are also set to 77-78% and unmuted, the 'Master' is set 100% and unmuted.

5) In the 'Sound Preferences', playback is set to 'Autodetect' the test buttons and system sounds work. The 'Sound Capture' is set to 'ALSA', but the test plays only a few clicks and then goes silent. The 'Default Mixer' device is 'HDA Intel (Alsa mixer)' and the default track is 'Front Mic'.

Aaron.

In step 5) above, I did something slightly different...I set "Default Mixer" to "Realtek ALC662..." and the highlighted word in the scrolling section is "Microphone" not "Front Mic"

Using Applications/Sound Recorder with "Record from input: Digital" and "Record as" CD Quality, Lossy (ogg...)" I was able to record and hear my voice through the mic AND the headphones I have.

When I right-click on the speaker icon in the tray, here are my settings:

Preferences: Realteck AL662 Revl (Oss...) and the word "microphone" selected.

Right-click again: Edit/Preferences: I selected EVERY track! put a check mark by all...close this window then.
Make sure in the window that shows, nothing is muted, this is the "PLayback" tab section.

"Recording" tab: "capture" and "digital" are almost all the way up

"Switches" tab: "headphone" and "IEC958 capture" are selected.

"options" tab: input source, front mic

That's it! Sound at last with UbuntuEee 8.04!!

Again, I am a newbie so ignore any mistakes...all I know is this WORKS and I am very happy about that!


Pink 4g Surf with factory RAM access cover, camera, 5200 battery and carrying case...hmmm...
I installed 8g SDHC 1gB RAM
Easy Peasy (don't know version)
"PinkEee"

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson