LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-05-2007, 01:45 PM   #1
vo1pwf
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
Red face realtek alc883 record sound wont work


mp3's wavs etc all play as well as system sounds, but nothing will record audio from either the mic or the line in

if it helps to find the source of the trouble, when I plug a mic into the mic port I hear everything I say into the mic come out of the speakers but the sound recorder app nor any other listening program can hear or detect anything is there

running ubuntu 7.10 on a acer aspire 5100 laptop I have tried installing alsa drivers from source, uninstalling alsa completly and reinstalling them.. I did a restore from the factory cd and everythign works fine in vista and xp, this is a major hurdle for me I really really really need to get recording happening

oh linux guru's what say you
 
Old 11-14-2007, 08:58 PM   #2
Vultaire
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
I also have an Acer laptop (Aspire 3103WLMi), and I've been having issues with the mic ever since I got it. It uses the ALC883 as well, which seems to resolve to the snd_hda_intel alsa driver. I think this codec has been working for some machines, but it has settings for working with several different configurations, and I have yet to find one which will work to record anything properly on my system.

This problem appears to also be present in the latest kernel source (git clone from Linus's tree last night). So I think I'm going to start a thread on one of the alsa mailing lists to see what I can find out.

Could you do me a favor? Could you run this script (http://bulletproof.servebeer.com/als...s/alsa-info.sh) and pass me the pastebin address it gives you? That way maybe I can have more than one example of an Acer system having problems with this device?

Thanks.
 
Old 11-16-2007, 01:19 AM   #3
Vultaire
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
I found a solution!

The snd_hda_intel module needs to be started with one of the Acer options, like so:

Code:
modprobe snd_hda_intel model=acer-aspire
  -or-
modprobe snd_hda_intel model=acer
(I had to use the acer-aspire code.)

Since you're running a Debian-based distro, if you want this to be a startup option, try adding this to your /etc/modprobe.d/alsa-base:

Code:
options snd-hda-intel model=acer-aspire
In addition, make sure that your mic boost is set up in addition to your normal capture volume.

Cheers,
Paul Goins
 
Old 11-17-2007, 10:55 AM   #4
vo1pwf
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
where to put it

where inside the alsa-base file do you insert the code??
 
Old 11-17-2007, 11:19 AM   #5
vo1pwf
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
partially working

I now get sound to come in perfectly. but afer soo many seconds it stops
if I restart sound by....
rmmod snd-hda-intel
modprobe snd-hda-intel model=acer-aspire same thign happens, works for a bit then dies, but I cant get hardly a minute of recording time out of it
 
Old 11-17-2007, 08:08 PM   #6
vo1pwf
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
uploaded from the script file

the url is pastebin.ca/778960
 
Old 11-17-2007, 10:04 PM   #7
Vultaire
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
Well, I'll try to do some more extensive testing come Monday (it's the machine I use at my work). I've noticed that on a fresh bootup the sound gets cut off after like a second or two, then I have to unload/reload the driver, then it starts working perfect. The testing I did involved running audacity, which was having problems recording multiple tracks in the same file among other things. With the new settings it seemed to be working fine... but I didn't test for over 60 seconds, I'm pretty sure. I'll see if I can reproduce what you're experiencing - and if not, then maybe we'll need to contact the alsa devs.

While you're still having this problem, I would suggest getting on the alsa-user mailing list, which is what I've done as well. Here's the link: http://lists.sourceforge.net/mailman/listinfo/alsa-user

- Paul
 
Old 11-18-2007, 06:03 PM   #8
Vultaire
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
I tested again this morning using Audacity. I recorded 3 segments in a row, from a fresh boot without restarting the driver or Alsa. First segment was about 5-10 seconds, next was 3, and the next was a little over a minute. Everything went flawlessly... I do know that Debian testing had a few more alsa updates that came in, and it's possible some of that might have resolved my issues. Unless it's an intermittent thing that hasn't popped back up yet, my problem is completely solved with the "model=acer-aspire" fix.

Only bit of advice I can give you now is what I gave in the last message. There is ongoing discussion about this issue on the mailing list, so please join in.

And for reference, I'm running Debian's stock 2.6.22-2-k7 kernel, and my installed alsa-related packages are as follows:

alsa-base: 1.0.15-2
alsa-firmware-loaders: 1.0.14-2
alsa-headers: (none)
alsa-oss: 1.0.15-1
alsa-source: (none)
alsa-tools: (none)
alsa-tools-gui: (none)
alsa-utils: 1.0.15-1
libasound2: 1.0.15-1

Last edited by Vultaire; 11-19-2007 at 12:16 AM.
 
  


Reply



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
microphone does not work with Realtek ALC883 HDA fakie_flip Linux - Hardware 47 03-26-2012 07:25 PM
Configuring Realtek ALC883 onboard audio? cdrom600 Linux - Hardware 5 03-12-2010 07:10 AM
KMix problem with Realtek ALC883 sound ccin1492 Linux - Hardware 12 12-11-2007 04:20 PM
Sound Card Doesn't Work.....that's a problem....Kinda need that to record!!! ShockProductions Fedora 3 08-10-2007 02:22 PM
getting realtek alc850 work with 5.1 sound system bergwiesel Linux - Hardware 4 06-01-2006 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration