Configuración de ALSA en Netbook HP Mini 1020la para solucionar el problema de Audio y Micrófono en Ubuntu 9.04 y UNR

Asked by David Gomez

Desde hace ya casi 4 semanas vengo intentando reparar el Audio de mi HP Mini 1020la sin ningún éxito.

Por esto decidí instalar la versión MIE de HP para el Netbook y comprobar si es posible que tanto el audio externo como interno además del micrófono funcionaran en Ubuntu.
Para mi sorpresa descubrí que todo funciona a la perfección, pero obviamente no tengo intensiones de quedarme con el MIE por mas bien que funcione.

Mi idea entonces es aplicar la configuración que trae el MIE para el Audio a Ubuntu 9.04 y UNR, pero el caso es que no soy un conocer de Linux a ese nivel. Por esto necesito ayuda de la comunidad para poder aplicar estos cambios y que juntos solucionemos este problema que tiene en vilo a tantas personas deseosas de usar Ubuntu 9.04.

Durante este post voy a colocar toda la información que pude o supe recopilar sobre los controladores de audio en la netbook además de algunos screenshots que tal vez puedan ser útiles para aquellos conocedores a fondo del tema en la meta de poder solucionar este inconveniente.

- Primero que todo voy a comenzar con la información que pude recopilar del sistema.

==================================

$ hwinfo --sound

21: PCI 1b.0: 0403 Audio device
  [Created at pci.296]
  UDI: /org/freedesktop/Hal/devices/pci_8086_27d8
  Unique ID: u1Nb.MjZApDJ7QzC
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Hewlett-Packard Company 82801G (ICH7 Family) High Definition Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x27d8 "82801G (ICH7 Family) High Definition Audio Controller"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x361a
  Revision: 0x02
  Driver: "HDA Intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xfe938000-0xfe93bfff (rw,non-prefetchable)
  IRQ: 16 (41610 events)
  Module Alias: "pci:v00008086d000027D8sv0000103Csd0000361Abc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

$ aplay -l

**** Lista de PLAYBACK Dispositivos Hardware ****
tarjeta 0: Intel [HDA Intel], dispositivo 0: STAC92xx Analog [STAC92xx Analog]
  Subdispositivos: 0/1
  Subdispositivo #0: subdevice #0

$ cat /dev/sndstat

Sound Driver:3.8.1a-980706 (ALSA v1.0.16 emulation code)
Kernel: Linux dave-umpc 2.6.24-19-lpia #1 SMP Sat Feb 28 20:55:47 UTC 2009 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA Intel at 0xfe938000 irq 16

Audio devices:
0: STAC92xx Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: IDT 92HD75B2X5

$ lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GME Express Memory Controller Hub [8086:27ac] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 02)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 02)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 02)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 02)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 02)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 02)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 02)
01:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354]

$ lsmod | grep snd

snd_seq_midi 9376 0
snd_seq_oss 35328 0
snd_seq_dummy 4868 0
snd_pcm_oss 42144 0
snd_hda_intel 352528 3
snd_seq_midi_event 8320 2 snd_seq_midi,snd_seq_oss
snd_rawmidi 25632 1 snd_seq_midi
snd_hwdep 10500 1 snd_hda_intel
snd_pcm 78596 3 snd_pcm_oss,snd_hda_intel
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
snd_mixer_oss 17792 1 snd_pcm_oss
snd_seq 54096 6 snd_seq_midi,snd_seq_oss,snd_seq_dummy,snd_seq_midi_event
snd_timer 24836 3 snd_pcm,snd_seq
snd_seq_device 9484 5 snd_seq_midi,snd_seq_oss,snd_seq_dummy,snd_rawmidi,snd_seq
snd 56868 15 snd_seq_oss,snd_seq_dummy,snd_pcm_oss,snd_hda_intel,snd_rawmidi,snd_hwdep,snd_pcm,snd_mixer_oss,snd_seq,snd_timer,snd_seq_device
soundcore 8800 1 snd

$ cat /proc/asound/card*/codec* | grep Codec

Codec: IDT 92HD75B2X5

$ grep audio /etc/group

audio:x:29:dave

==================================

- Ahora les mostrare la información recolectada por el ALSA Information Script

==================================

http://www.alsa-project.org/db/?f=85b30a9e8d86cb369a6cc3cbc6df79fc5076332d

!!################################
!!ALSA Information Script v 0.4.56
!!################################

!!Script ran on: Sun May 3 16:48:15 UTC 2009

!!Linux Distribution
!!------------------

Ubuntu 8.04.1 \n \l

!!Kernel Information
!!------------------

Kernel release: 2.6.24-19-lpia
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: Yes

!!ALSA Version
!!------------

Driver version: 1.0.16
Library version:
Utilities version: 1.0.15

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - Yes

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Intel ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfe938000 irq 16

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:1b.0 0403: 8086:27d8 (rev 02)
 Subsystem: 103c:361a

!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : 0
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
index : -1,-1,-1,-1,-1,-1,-1,-1
model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
position_fix : 0,0,0,0,0,0,0,0
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
single_cmd : N

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: IDT 92HD75B2X5
Address: 0
Vendor Id: 0x111d7608
Subsystem Id: 0x103c361a
Revision Id: 0x100102
No Modem Function Group found
Default PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Default Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x02, mute=1
GPIO: io=8, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0
  IO[6]: enable=0, dir=0, wake=0, sticky=0, data=0
  IO[7]: enable=0, dir=0, wake=0, sticky=0, data=0
Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x081c: OUT HP Detect
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=30, enabled=1
  Connection: 3
     0x10 0x11 0x17*
Node 0x0b [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x081724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x01a11020: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
Node 0x0c [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x081724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x21a11030: [Jack] Mic at Sep Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0814: OUT Detect
  Pin Default 0x90110110: [Fixed] Speaker at Int N/A
    Conn = 1/8, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10 0x11 0x17*
Node 0x0e [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x081724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x01813040: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x0f [Pin Complex] wcaps 0x400181: Stereo
  Pincap 0x0814: OUT Detect
  Pin Default 0x40f000f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10 0x11 0x17*
Node 0x10 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals: [0x6a 0x6a]
  Converter: stream=5, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x11 [Audio Output] wcaps 0xd0c05: Stereo Amp-Out R/L
  Amp-Out caps: N/A
  Amp-Out vals: [0x00 0x00]
  Converter: stream=5, channel=0
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x12 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1c
  Processing caps: benign=0, ncoeff=0
Node 0x13 [Audio Input] wcaps 0x1d0541: Stereo
  Converter: stream=0, channel=0
  SDI-Select: 0
  Power: setting=D3, actual=D3
  Delay: 13 samples
  Connection: 1
     0x1d
  Processing caps: benign=0, ncoeff=0
Node 0x14 [Pin Complex] wcaps 0x400100: Mono
  Pincap 0x0830: IN OUT
  Pin Default 0x40f000f1: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x1
  Pin-ctls: 0x00:
  Connection: 1
     0x16
Node 0x15 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x10 0x11 0x17*
Node 0x16 [Audio Mixer] wcaps 0x200100: Mono
  Connection: 1
     0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x1f 0x1f] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Connection: 5
     0x10 0x11 0x14 0x1a 0x1b
Node 0x18 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:
  Pincap 0x0820: IN
  Pin Default 0x40f000f2: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00:
Node 0x19 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:
  Pincap 0x0820: IN
  Pin Default 0x40f000f3: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x3
  Pin-ctls: 0x00:
Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals: [0x04 0x04]
  Connection: 3
     0x0b 0x0c 0x0e*
Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-Out vals: [0x04 0x04]
  Connection: 3
     0x0b* 0x0c 0x0e
Node 0x1c [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals: [0x01 0x01]
  Connection: 4
     0x1a* 0x17 0x18 0x19
Node 0x1d [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
  Amp-Out vals: [0x01 0x01]
  Connection: 4
     0x1b* 0x17 0x18 0x19
Node 0x1e [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x40f000f4: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
  Connection: 1
     0x24
Node 0x1f [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x0810010: OUT EAPD
  EAPD 0x0:
  Pin Default 0x40f000f5: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x5
  Pin-ctls: 0x00:
  Power: setting=D0, actual=D0
  Connection: 2
     0x24* 0x25
Node 0x20 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x40f000f6: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x6
  Pin-ctls: 0x00:
  Connection: 1
     0x25
Node 0x21 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x22 [Audio Output] wcaps 0x40211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x21* 0x1c 0x1d
Node 0x25 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 3
     0x22* 0x1c 0x1d
Node 0x26 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1
  Amp-Out vals: [0x00]
Node 0x27 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=0, val=127
  Connection: 2
     0x10* 0x11
--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw---- 1 root audio 116, 0 May 3 11:24 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 4 May 3 11:24 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 24 May 3 11:24 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 May 3 11:47 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 1 May 3 11:24 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 May 3 11:24 /dev/snd/timer

!!ALSA configuration files
!!------------------------

!!System wide config file (/etc/asound.conf)

pcm.aec {
 type aec
 slave "plug:biquad_playback"
 capture_slave "plug:dsnoop"
 noise_cancel false
}

pcm.biquad_playback {
 @args [ CARD ]
 @args.CARD { type string }

 type biquad
 slave.pcm {
    # pass CARD to dmix
    type plug
    slave.pcm {
         @func concat
          strings [
            "dmix:CARD="
        $CARD
        ]
   }
 }

 band_0 {
        frequency 350
        gain 0
        filter "highpass"
 }

 band_1 {
        frequency 500
        gain 3000
        filter "peaking"
 }

 band_2 {
        frequency 1600
        gain -16000
        filter "peaking"
        }

 band_3 {
        frequency 8000
        gain 6000
        filter "peaking"
 }

 band_4 {
        frequency 12000
        gain 6000
        filter "peaking"
 }
}

pcm.biquad_capture {
  type biquad
  slave.pcm "plug:dsnoop"
}

pcm.bluetooth {
  type bluetooth
  profile "auto"
}

pcm.bluetooth-voice {
  type bluetooth
  profile "voice"
}

# Redirect the default device to go via the EQ - you may want to do
# this last, once you're sure everything is working. Otherwise all
# your audio programs will break/crash if something has gone wrong.
pcm.!default {
 @args [ CARD ]
 @args.CARD {
  type string
  default {
   @func getenv
   vars [
    ALSA_PCM_CARD
    ALSA_CARD
   ]
   default {
    @func refer
    name defaults.pcm.card
   }
  }
 }

 type asym
 playback.pcm {
       @func refer
       name "plug_biquad_playback"
       default {
             # pass CARD to biquad plugin
        type plug
           slave.pcm {
           @func concat
         strings [
              "biquad_playback:CARD="
          $CARD
          ]
            }
       }
        }
 capture.pcm "plug:biquad_capture"
}

# Redirect the OSS emulation through the EQ too (when programs are run through "aoss")
pcm.dsp0 {
 @args [ CARD ]
 @args.CARD {
  type string
  default {
   @func getenv
   vars [
    ALSA_PCM_CARD
    ALSA_CARD
   ]
   default {
    @func refer
    name defaults.pcm.card
   }
  }
 }

 type asym
 playback.pcm {
       @func refer
       name "plug_biquad_playback"
       default {
             # pass CARD to biquad plugin
        type plug
           slave.pcm {
           @func concat
         strings [
              "biquad_playback:CARD="
          $CARD
          ]
            }
       }
        }
 capture.pcm "plug:biquad_capture"
}

!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Intel]

Card hw:0 'Intel'/'HDA Intel at 0xfe938000 irq 16'
  Mixer name : 'IDT 92HD75B2X5'
  Components : 'HDA:111d7608'
  Controls : 14
  Simple ctrls : 10
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 53
  Mono:
  Front Left: Playback 0 [0%] [-39.75dB] [on]
  Front Right: Playback 0 [0%] [-39.75dB] [on]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 53
  Mono:
  Front Left: Playback 53 [100%] [0.00dB] [on]
  Front Right: Playback 53 [100%] [0.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 121
  Front Left: Capture 97 [80%] [-12.50dB] [on]
  Front Right: Capture 97 [80%] [-12.50dB] [on]
Simple mixer control 'Capture Mux',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 109
  Front Left: 60 [55%] [-458.25dB]
  Front Right: 60 [55%] [-458.25dB]
Simple mixer control 'Capture Mux',1
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 109
  Front Left: 60 [55%] [-458.25dB]
  Front Right: 60 [55%] [-458.25dB]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 121
  Front Left: Capture 97 [80%] [-12.50dB] [on]
  Front Right: Capture 97 [80%] [-12.50dB] [on]
Simple mixer control 'Analog Loopback 1',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'Analog Loopback 2',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Line'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'
  Item0: 'Mic'

!!Alsactl output
!!-------------

--startcollapse--
state.Intel {
 control.1 {
  comment.access 'read write'
  comment.type ENUMERATED
  comment.count 1
  comment.item.0 Mic
  comment.item.1 'Front Mic'
  comment.item.2 Line
  iface MIXER
  name 'Input Source'
  value Line
 }
 control.2 {
  comment.access 'read write'
  comment.type ENUMERATED
  comment.count 1
  comment.item.0 Mic
  comment.item.1 'Front Mic'
  comment.item.2 Line
  iface MIXER
  name 'Input Source'
  index 1
  value Mic
 }
 control.3 {
  comment.access 'read write'
  comment.type INTEGER
  comment.count 2
  comment.range '0 - 121'
  iface MIXER
  name 'Capture Volume'
  value.0 97
  value.1 97
 }
 control.4 {
  comment.access 'read write'
  comment.type BOOLEAN
  comment.count 2
  iface MIXER
  name 'Capture Switch'
  value.0 true
  value.1 true
 }
 control.5 {
  comment.access 'read write'
  comment.type INTEGER
  comment.count 2
  comment.range '0 - 109'
  iface MIXER
  name 'Capture Mux Volume'
  value.0 60
  value.1 60
 }
 control.6 {
  comment.access 'read write'
  comment.type INTEGER
  comment.count 2
  comment.range '0 - 121'
  iface MIXER
  name 'Capture Volume'
  index 1
  value.0 97
  value.1 97
 }
 control.7 {
  comment.access 'read write'
  comment.type BOOLEAN
  comment.count 2
  iface MIXER
  name 'Capture Switch'
  index 1
  value.0 true
  value.1 true
 }
 control.8 {
  comment.access 'read write'
  comment.type INTEGER
  comment.count 2
  comment.range '0 - 109'
  iface MIXER
  name 'Capture Mux Volume'
  index 1
  value.0 60
  value.1 60
 }
 control.9 {
  comment.access 'read write'
  comment.type BOOLEAN
  comment.count 2
  iface MIXER
  name 'Analog Loopback 1'
  value.0 false
  value.1 false
 }
 control.10 {
  comment.access 'read write'
  comment.type BOOLEAN
  comment.count 2
  iface MIXER
  name 'Analog Loopback 2'
  value.0 false
  value.1 false
 }
 control.11 {
  comment.access 'read write'
  comment.type INTEGER
  comment.count 2
  comment.range '0 - 53'
  iface MIXER
  name 'Front Playback Volume'
  value.0 53
  value.1 53
 }
 control.12 {
  comment.access 'read write'
  comment.type BOOLEAN
  comment.count 2
  iface MIXER
  name 'Front Playback Switch'
  value.0 true
  value.1 true
 }
 control.13 {
  comment.access 'read write'
  comment.type INTEGER
  comment.count 2
  comment.range '0 - 53'
  iface MIXER
  name 'Master Playback Volume'
  value.0 0
  value.1 0
 }
 control.14 {
  comment.access 'read write'
  comment.type BOOLEAN
  comment.count 2
  iface MIXER
  name 'Master Playback Switch'
  value.0 true
  value.1 true
 }
}
--endcollapse--

!!All Loaded Modules
!!------------------

Module
joydev
parport_pc
ppdev
parport
hpmini
uvcvideo
compat_ioctl32
videodev
v4l1_compat
v4l2_common
i915
rfcomm
l2cap
snd_seq_midi
snd_seq_oss
snd_seq_dummy
snd_pcm_oss
acpi_cpufreq
cpufreq_userspace
cpufreq_powersave
cpufreq_stats
cpufreq_conservative
snd_hda_intel
snd_seq_midi_event
snd_rawmidi
snd_hwdep
snd_pcm
snd_page_alloc
snd_mixer_oss
snd_seq
snd_timer
snd_seq_device
snd
hci_usb
bluetooth
drm
soundcore
intel_agp
agpgart
ieee80211_crypt_tkip
wl
ieee80211_crypt
sky2
iTCO_wdt
iTCO_vendor_support
serio_raw
psmouse
fuse
ahci
squashfs
unionfs
ehci_hcd
isofs
zlib_inflate

==================================

- Aquí les muestro la información que trae el archivo /etc/group

==================================

root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:dave
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:dave
fax:x:21:
voice:x:22:
cdrom:x:24:dave
floppy:x:25:dave
tape:x:26:
sudo:x:27:
audio:x:29:dave
dip:x:30:dave
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:dave
sasl:x:45:
plugdev:x:46:dave
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
dhcp:x:102:
syslog:x:103:
klog:x:104:
scanner:x:105:hplip
nvram:x:106:
fuse:x:107:dave
ssl-cert:x:108:
lpadmin:x:109:dave
ssh:x:110:
avahi-autoipd:x:111:
gdm:x:112:
messagebus:x:113:
avahi:x:114:
netdev:x:115:
polkituser:x:116:
haldaemon:x:117:
dave:x:1000:
admin:x:118:dave

==================================

- Para finalizar les muestro la configuración por defecto que trae el alsa-base en la HP Mini 1020la con MIE instalado.
Esta fue lo que mas me impresiono ya que por defecto el Ubuntu no trae ningún tipo de información en este archivo.

==================================

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388

==================================

Bueno, espero que toda esta información sea suficiente para que podamos solucionar este problema, yo mismo instalare de nuevo Ubuntu 9.04 en mi netbook para ayudar activamente en la solución.

Gracias a todos los interesados por su ayuda.

Screenshots:

http://img133.imageshack.us/img133/5313/controldevolumen.png

http://img390.imageshack.us/img390/4504/preferenciasdesonido.png

Question information

Language:
Spanish Edit question
Status:
Expired
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jorge Suárez de Lis (ys) said :
#1

Se trata de un problema conocido, que está siendo tratado en https://bugs.launchpad.net/ubuntu/+source/linux/+bug/318942/ y que sin duda será resuelto en una próxima actualización de la distribución.

Si quieres ayudar a las pruebas que están haciendo, puedes mirar los últimos comentarios del bug, donde han puesto un paquete .deb del kernel 2.6.28 con unos parches específicos aplicados: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/318942/comments/87 sin embargo parece que éstos rompen la wifi (seguramente no sea nada, pero si no eres un usuario experimentado será mejor que de momento no lo intentes).

Sin duda, si no vas a ayudar lo mejor es aplicar una solución temporal. La sugerida aquí https://bugs.launchpad.net/ubuntu/+source/linux/+bug/318942/comments/44 parece que funciona para la mayoría de la gente. Ten en cuenta que si se actualizasen los paquetes de alsa por algún motivo y todavía no se solucionase el problema, tendrías que volver a ejecutar esos pasos (al menos el último, ejecutar sudo m-a a-i alsa-source).

Suerte y coméntanos qué tal te ha ido.

Revision history for this message
David Gomez (dg-dave) said :
#2

Bueno, ya instale Ubuntu 9.04 en mi netbook de nuevo.

Lo que hice fue configurar el alsa-base y el /etc/group tal cual lo coloque aquí, y el audio me esta funcionan de un modo excelente.

Estuve mirando los post que colocaste y lo único que tratan es la falta de audio, ninguno soluciona el problema con el micrófono, cosa que tampoco pude modificando estos 2 archivos que menciono anteriormente.

Definitivamente no hay forma de solucionar este problema con el micrófono, sera acaso problema de los drivers entonces?

Revision history for this message
hiko_hitokiri (hiko-hitokiri) said :
#3

Hola. el problema de el microfono ese me paso a mi no es que no funcionara
ni nada por el estilo simplemente por default no trae volumen y la unica
forma de darle es desde el alsamixer desde la terminal. prueva con eso aver
si te funciona.

--
hiko_hitokiri sino vives el ahora para que quieres vivir mañana

Revision history for this message
David Gomez (dg-dave) said :
#4

No entiendo como dices tu que se debe hacer.

He intentado de todas las formas que se y he podido encontrar y lo único que consigo por medio de la terminal es abrir el ALSA MIxer como lo haría por medio de Gnome. El caso es que el ALSA Mixer no me muestra ningún Mic activado, y mucho menos me da la opción de quitarle el Mute a alguno.

Actualmente tengo el Audio funcionando a la perfección, pero esta es la hora en que no logro hacer funcionar ni el Mic externo y mucho menos el interno.

Ya se me acabaron las ideas.

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
hiko_hitokiri (hiko-hitokiri) said :
#6

LinkedIn
------------

Me gustaría añadirte a mi red profesional en LinkedIn.

-edgar

edgar martinez
Profesional de Desarrollo de programación
El Salvador

Confirma que conoces a edgar martinez:
https://www.linkedin.com/e/-l24exl-h65zafsk-6v/isd/8320889474/UkdZU11N/?hs=false&tok=2zDiiFhB04dlo1

--
Estás recibiendo invitaciones a conectar. Haz clic para darte de baja:
http://www.linkedin.com/e/-l24exl-h65zafsk-6v/l9SAbAAhwWidXdp8_low9A7UwZ4zVNKIfw7rQAlvO0kvzxUEabmw/goo/question69769%40answers%2Elaunchpad%2Enet/20061/I2799244921_1/?hs=false&tok=0SvNYEHGo4dlo1

(c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, EE.UU.