[Realtek ALC268] Recording problem on Acer Aspire One (ZG5)

Bug #692392 reported by Brian the Lion
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This is a report for Ubuntu 10.10 (Maverick Meerkat). After some investigation, my intuition is that it is the result of an interaction between PulseAudio and ALSA.

State #1
     Fresh install
     sudo apt-get update && sudo apt-get upgrade
Symptoms:
     Recording from the built-in microphone works from the Sound Recorder but not from Google Talk, Skype, etc.

State #2
     sudo apt-get install pavucontrol
     set the left and right inputs to different levels, as suggested on various forum posts
Symptoms:
     Recording from the built-in microphone works in Google Talk for a short time (< 2s), but then dies.

State #3
     sudo apt-get install linux-alsa-driver-modules-$(uname -r)
     sudo reboot
Symptoms:
     No change

State #4
     sudo apt-get purge libcanberra-pulse pulseaudio pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-gconf pulseaudio-module-udev pulseaudio-module-x11 gstreamer0.10-pulseaudio pulseaudio-utils pavucontrol
     sudo reboot
Symptoms:
     No change

State #5
     sudo echo "options snd-hda-intel model=acer-aspire" > /etc/modprobe.d/alsa-base.conf
     sudo reboot
Symptoms:
     Recording is now working in Google Talk, Skype, etc, but the result is extremely noisy. There is a loud hum/buzz in the background. Changing the input volume/gains in alsamixer causes the recording to go silent.

Hope that gives you some leads!
~br

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: alsa-base 1.0.23+dfsg-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: br 2300 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x58540000 irq 45'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1025015b,00100101'
   Controls : 9
   Simple ctrls : 6
Date: Sun Dec 19 19:49:07 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SelectedCard: 0 Intel HDA-Intel - HDA Intel
SourcePackage: alsa-driver
Symptom: audio
Title: [Realtek ALC268] Recording problem
dmi.bios.date: 05/09/2008
dmi.bios.vendor: Acer
dmi.bios.version: v0.3114
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.vendor: Acer
dmi.board.version: Base Board Version
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAcer:bvrv0.3114:bd05/09/2008:svnAcer:pnAOA150:pvr1:rvnAcer:rn:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
dmi.product.name: AOA150
dmi.product.version: 1
dmi.sys.vendor: Acer

Revision history for this message
Brian the Lion (rossabri) wrote :
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
As sound recorder works i canot blame alsa.
I subscribe ubuntu audio team

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
franco_bez (franco-bez) wrote :

This is a regression bug.

Using Jaunty Jackalope the internal Microphone worked as intended on the ZG5.
With Karmic I'm not sure.
Starting with Lucid Lynx the internal Microphone only works when the Volume of one chanel is set to 0.

Anyway as the internal microphone actually is a MONO device it makes no sense at all to have left and right channels, does it ?

Somehow the "internal wireing" of the alsa driver seems to anihilate the volume of the microphone if both left and right channels are set to the same level.

Additionally this bug seems to affect not only the Acer One ZG5, but following some threads on the german ubuntuusers forum, the "balance bug" is quite a common problem with intel-hda sound cards.

I would very much appreciate an option to the intel-hda module like "internal-mic-mono=1" that simply forces the left channel to 0 volume. Wouldn't this be easy to do ?

As a workaround I'm currently using a script that sets the left volume to 0
I call this script in rc.local and additionally have created a menu entry so I can easily call it when needed.

reset_mic.sh:

#! /bin/sh
/sbin/alsactl -f /etc/asound.state restore

-----------------------------

asound.state:

state.Intel {
 control.3 {
  comment.access 'read write'
  comment.type INTEGER
  comment.count 2
  comment.range '0 - 2'
  comment.dbmin 0
  comment.dbmax 4000
  iface MIXER
  name 'Mic Boost Capture Volume'
  value.0 0
  value.1 2
 }
 control.6 {
  comment.access 'read write'
  comment.type INTEGER
  comment.count 2
  comment.range '0 - 31'
  comment.dbmin -1500
  comment.dbmax 3150
  iface MIXER
  name 'Capture Volume'
  value.0 0
  value.1 31
 }
}

tags: added: regression-release
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.