LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-18-2007, 06:24 PM   #31
gandalf3
LQ Newbie
 
Registered: Jan 2006
Posts: 7

Rep: Reputation: 0

I'm having problems with my computer's built-in microphone, and with an external microphone as well. The built-in microphone doesn't catch anything, and the external one only works intermittently.

dmseg:

Quote:
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
lspci:

Quote:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
I tried to get the script posted earlier in the thread, but I couldn't download it.

I'm using Debian testing, kernel 2.6.21, alsa 1.0.14.

Last edited by gandalf3; 07-18-2007 at 06:58 PM.
 
Old 09-02-2007, 10:42 AM   #32
asd0
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
my system was a 6stack-dig too

Linux: Ubuntu 7.04
Notebook: FSC Amilo 1818
Soundcard: Realtek ALC883 HDA
Output was working and capture was not working by default.
Code:
$ dmesg|grep hda
[   19.248000] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
$ sudo modprobe snd-hda-intel model=6stack-dig
did the job for my system too, now capture works.

GrueMaster: Do you need any more information to add default support for this system to alsa?
 
Old 09-02-2007, 11:06 AM   #33
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Yes. Please run this script and post the results. If possible, try downloading the newest release, alsa-driver-1.0.15rc1 and installing it before running this script. chances are there is better support for your system through a different model, if not full out-of-the-box support. In any case, it would be better to have accurate support for your laptop instead of using a 6-stack configuration that enable channels that don't exist on your hardware.
 
Old 09-02-2007, 12:54 PM   #34
asd0
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Sound Capture doesn't work while running a Virtualbox-WindowsXP guest under Ubuntu

After installing alsa-driver-1.0.15rc1 and rebooting I ran the alsa-info.sh > output. Sound capture is working with this driver version.

Unfortunately I found out, that sound capture doesn't work while I'm running my Virtualbox-WindowsXP-guest (on my Ubuntu host) (Sound output works in both systems at the same time. Capture doesn't work neither in Ubuntu nor in the Virtualbox-WindowsXP, while it is running).

This is may be a more Virtualbox-related problem, but may be someone had the same problem too.

Thank you in advance for any suggestions.
 
Old 09-03-2007, 11:56 AM   #35
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Couple of things.

First, did you try any of the newer models listed for the alc883 codec, or is this in "auto" mode? I'd like to be able to add more accurate support for your system. One test you could run is to recompile the drivers with "./configure --with-debug=detect --with-cards=hda-intel". This will add more output to dmesg that will tell me which ports are being configured for which function.

Second, on the Virtualbox-WindowsXP-guest sound issue, try this experiment:

Boot Linux host OS. Set mixer levels and do a full function test (record, playback, etc). Next, take a snapshot of the audio settings (cat /proc/asound/card0/codec#1 > ~/no-vm.out ). Now, start VirtualBox with XP and test audio in XP. If capture is disabled, take another snapshot of the audio settings in Linux (cat /proc/asound/card0/codec#1 > ~vm.out ). Don't change any mixer settings in between. Now, you can do a diff on the two files to see what changed (or send me both files and I can determine what changed). Send them to my userid <AT> gmail.com.

Tobin
 
Old 09-03-2007, 11:19 PM   #36
asd0
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by GrueMaster View Post
First, did you try any of the newer models listed for the alc883 codec, or is this in "auto" mode?
What do you mean with trying newer models and where are they listed? (Sorry, I'm new to alsa, all I know about it I read in this thread).

Quote:
One test you could run is to recompile the drivers with "./configure --with-debug=detect --with-cards=hda-intel".
The new version of alsa-info.sh is located here and here is the "dmesg | grep hda".

Quote:
Second, on the Virtualbox-WindowsXP-guest sound issue, try this experiment: ...
The no-vm.out is here.
Code:
$ diff no-vm.out vm.out 
41c41
<   Amp-In vals:  [0x00 0x00]
---
>   Amp-In vals:  [0x0f 0x0f]
after closing the VM capture works again and the diff looks like this:
Code:
$ diff no-vm.out vm.out 
41c41
<   Amp-In vals:  [0x16 0x16]
---
>   Amp-In vals:  [0x0f 0x0f]
after starting the VM again the diff was empty and after closing it again it was:
Code:
$ diff no-vm.out vm.out
41c41
<   Amp-In vals:  [0x0e 0x0e]
---
>   Amp-In vals:  [0x16 0x16]
I hope this information is useful... Tell me, if you need anymore! I'm really interested in a working sound capture system [since certain voip programs need Windows. I don't know may be some programs should run with wine, but I prefer VirtualBox]. Thanks for your help!
 
Old 09-04-2007, 01:23 AM   #37
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Here is a list of models to try:

3stack-dig
3stack-6ch-dig
3stack-6ch
6stack-dig
targa-dig
targa-2ch-dig
acer
acer-aspire
medion
medion-md2
laptop-eapd
lenovo-101e
lenovo-nb0763
lenovo-ms7195-dig
haier-w66
6stack-hp
3stack-hp

I'm thinking the medion-md2 will be more accurate, based on your dmesg output. Please try it and let me know. Try the others as well.

Also, on the Virtualbox portion, can you access /proc/asound/card0/codec#1 while Virtualbox is running? I haven't used this VM software yet, but if you can, that would tell me if Windows is changing any of the audio settings.

Last edited by GrueMaster; 09-04-2007 at 01:26 AM.
 
Old 09-04-2007, 10:26 AM   #38
asd0
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Thumbs up

I believe you misunderstood my previous post, I should have written more clearly. In my previous post the first diff was while running VirtualBox, the second after closing it. After starting it again the diff was empty and the third is after closing it again. no-vm.out was updated only while VirtualBox was not running, vm.out was updated only while VirtualBox was running.

The medion-md2 made sound capture work under VirtualBox-WindowsXP-guest and under linux while VirtualBox was running. Somehow the modprobe worked only while VirtualBox wasn't running AND sometimes I did not take effect even while VirtualBox wasn't running.

Is there a efficient way to determine which of these drivers fits best, or have I to change the driver, to test sound, start the VM test sound, shutdown VM each time? And should the dmesg line "Unknown model for ALC883, trying auto-probe from BIOS" disappear with the right driver?

Now I'll place medion-md2 in the /etc/modprobe.d/alsa-base and test, how steady it will be working. Later I'll add the results to this post.

Edit: Ok, seems to be working fine. The mentioned line disappeared from dmesg, here is the current output. And an other problem was fixed too :-) - using headphones, sound was played through the speakers too, now the speakers are muted while headphones are put in.

Thank you very much for your help, I'll add later informations about troubles if occurring.

Last edited by asd0; 09-05-2007 at 05:12 PM.
 
Old 09-04-2007, 12:28 PM   #39
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Unfortunately, the only way to ensure clean testing is to make sure that no software is accessing the audio device while unloading/reloading drivers. But it appears that the "medion-md2" model fixes your system. To further verify, I have created a patch here. If you could test it, that would be great, and I can submit it for inclusion in 1.0.15.

To apply the patch, follow these steps:

cd <alsa-driver>/alsa-kernel # replace <alsa-driver> with the path to the driver version you downloaded.
patch -p1 < FSC-1818.patch
cd ..
make && sudo make install # this will just rebuild snd-hda-intel with the patch. Shouldn't need to reconfigure.

After the patched driver is installed, make sure there are no "model=<model>" options in /etc/modprobe*, and reload the driver.

Run more tests, and if everything looks good, I'll upload this later this week.

Tobin
 
Old 09-05-2007, 05:46 PM   #40
asd0
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
The bad news: I wrote "seems to be working fine" - was wrong.
medion-md2 made the microphone work under VirtualBox-WindowsXP (VB-XP), but the speakers were muted _not only_ while headphones plugged in, they did not work completely And the capture volume was really low and adjusting it in alsamixer was really strange, only a certain pitch level was hearable, higher and lower pitches shut the microphone down... so this driver was not the right one. I tested the other models too, some of them made the microphone work under VB-XP (3stack-6ch, haier-w66), but the speakers weren't working. 3stack-hp was quite similar to medion-md2, but sometimes the speakers were working...

The good news: Capture works now with the default driver (no option) while VB-XP is not running. I don't know may be because of the new alsa version. I'm sorry, my testing quality was quite bad - I should have found out this earlier. But this reduces the problem: Only while VB-XP is running, capture is not working.

I think based on this information, the patch is obsolete. Do you have any further suggestions, how to make capturing work in VB-XP and Linux while VB-XP is running? Thank you for your good support until now!

Last edited by asd0; 09-05-2007 at 06:08 PM.
 
Old 09-05-2007, 08:29 PM   #41
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Well, it certainly narrows it down. I'll try to get a new model cobbled together this week and send you a patch. To summarize:

Full audio support with 6stack-dig, except capture doesn't work when running virtualbox.
Capture works with virtualbox when using medion-md2, but nothing else works.

Is this correct? Please verify as much as possible, thanks.

Tobin
 
Old 09-08-2007, 03:18 PM   #42
asd0
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by GrueMaster View Post
Full audio support with 6stack-dig, except capture doesn't work when running virtualbox.
Capture works with virtualbox when using medion-md2, but nothing else works.
This is correct, but in default mode (without any options) the alsamixer view and behaviour is different from 6stack-dig and seems to me fitting better to the hardware. I don't know how to determine which model is selected in the default mode (in case that "default model" is no distinct name).
 
Old 09-09-2007, 07:42 PM   #43
Mr_Flibble
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
I have an Asrock 4CoreDual-VSTA with an ALC888. The snd-hda-intel module was selected automatically by Yast on OpenSUSE 10.2. Without the model param, the module reports this as an ALC883 and defaults to the 3stack-dig config. I have now added 6stack-dig which should be the correct config for this board. My problem is that although the microphone can be heard, the volume is very low and the capture level control seems to have no effect on it. If I turn of the capture on the level control the microphone is muted so I know it's partially working. I'm using Skype for this.

The output from alsa-info.sh is uploaded to http://pastebin.ca/689677, Thanks

Last edited by Mr_Flibble; 09-10-2007 at 12:52 AM.
 
Old 09-11-2007, 05:08 AM   #44
Andersonian
LQ Newbie
 
Registered: Oct 2006
Location: California / Moldova
Distribution: bunch of Ubuntu flavors
Posts: 29

Rep: Reputation: 15
Here's the output of the script in my case. http://pastebin.ca/691653

For me things mostly work correctly. Sometimes, like today I couldn't get any signal from the mic into any application. Tried alsaconf, rebooted, messed with KMix and Volume Control and boom!, it works.
Same infamous Gigabyte 965P-S3.

Last edited by Andersonian; 09-11-2007 at 05:14 AM.
 
Old 09-11-2007, 08:57 AM   #45
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Andersonian: Your system is listed in the newer driver code. Please download alsa-1.0.15rc1 from http://alsa-project.org and try it.

asd0 & Mr_Flibble: Could you reconfigure the modules with "./configure --with-cards=hda-intel --with-debug=detect && make && sudo make install"? This will generate some debugging output in dmesg. Before reloading the driver with debugging enabled, run "dmesg -c >/dev/null" to clear the dmesg log, then reload the driver without any model options and send me the output.

Thanks,

Tobin
 
  


Reply

Tags
soundcard


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Realtek ALC883 onboard audio? cdrom600 Linux - Hardware 5 03-12-2010 07:10 AM
HDA Intel/Realtek microphone/line in very quiet format C: Linux - Hardware 1 02-20-2007 01:50 PM
integrated hda audio modem bluetooth , (intel hda audio does not work) reggae linux Linux - Laptop and Netbook 1 07-05-2006 10:13 PM
integrated hda audio modem bluetooth , (intel hda audio does not work) reggae linux Linux - Laptop and Netbook 2 07-05-2006 03:38 PM


All times are GMT -5. The time now is 06:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration