Como obter som no macbook pro 4.1

1

Acabei de instalar o Xubuntu 12.04.2. Minha placa de som é detectada:

thomas@thomas-pc:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
Home directory /home/thomas not ours.
card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Tudo é colocado no máximo em alsamixer e nada é silenciado (todos os controles deslizantes estão no OO. Meus alto-falantes não funcionam, mas quando eu conecto um fone de ouvido eu ouço muito suavemente. Quando conecto meu som e coloco o som muito alto (3 blocos-de-reclamar-vizinhos barulhento) eu ouvi-lo em um nível normal, mas crepitante.

eu adicionei

options snd-hda-intel model=mbp5
amixer set IEC958 off

para no final de /etc/modprobe.d/alsa-base.conf .

Quando ainda não está funcionando, tentei tudo aqui: link

1

>>> list-sinks
1 sink(s) available.
  * index: 0
    name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE 
    priority: 9959
    volume: 0: 100% 1: 100%
            0: 0.00 dB 1: 0.00 dB
            balance 0.00
    base volume: 100%
                 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 0
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
    card: 0 <alsa_card.pci-0000_00_1b.0>
    module: 4
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "ALC889A Analog"
        alsa.id = "ALC889A Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "HDA Intel"
        alsa.long_card_name = "HDA Intel at 0x9b500000 irq 46"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1b.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.name = "82801H (ICH8 Family) HD Audio Controller"
        device.form_factor = "internal"
        device.string = "front:0"
        device.buffering.buffer_size = "65536"
        device.buffering.fragment_size = "32768"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "Built-in Audio Analog Stereo"
        alsa.mixer_name = "Realtek ALC889A"
        alsa.components = "HDA:10ec0885,106b3a00,00100103"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        analog-output-speaker: Speakers (priority 10000, available: unknown)
            properties:

        analog-output-headphones: Headphones (priority 9000, available: no)
            properties:

    active port: <analog-output-speaker>

2 e 3: não parece um problema de permissão, o som está muito distante (veja o parágrafo de abertura).

4

thomas@thomas-pc:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
Home directory /home/thomas not ours.
card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

5

thomas@thomas-pc:~$ find /lib/modules/'uname -r' | grep snd
/lib/modules/3.2.0-48-generic/kernel/sound/core/snd-hwdep.ko
/lib/modules/3.2.0-48-generic/kernel/sound/core/snd-pcm.ko
[.. huge lists continues ..]
/lib/modules/3.2.0-48-generic/kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
/lib/modules/3.2.0-48-generic/kernel/sound/pcmcia/vx/snd-vxpocket.ko
thomas@thomas-pc:~$ 

6

thomas@thomas-pc:~$ lspci -v | grep -A7 -i "audio"
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
    Subsystem: Apple Inc. Device 00a4
    Flags: bus master, fast devsel, latency 0, IRQ 46
    Memory at 9b500000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd-hda-intel

7 Eu acho que é suportado. O Linux mint e o Xubuntu 13.04 não tiveram problemas com sons. Tudo funcionou da caixa

Obrigado antecipadamente

Editar: saída alsa-info.sh:

WARNING: /etc/modprobe.d/alsa-base.conf line 45: ignoring bad line starting with 'amixer'
ALSA Information Script v 0.4.62
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  lsmod
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See './alsa-info.sh --help' for command line options.

WARNING: /etc/modprobe.d/alsa-base.conf line 45: ignoring bad line starting with 'amixer'
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ...  Done!

Your ALSA information is located at http://www.alsa-project.org/db/?f=6cffc584284d4c0b266eb53249824ef83d6c4e3e

Please inform the person helping you.

thomas@thomas-pc:~$ 
    
por Thomas 28.06.2013 / 21:31

1 resposta

0

Atualize o Ubuntu. Isso pode resolver o problema. Se você ainda tiver o problema, execute:

killall pulseaudio; rm -r ~/.pulse*

Se isso não ajudar, execute:

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa; sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop  linux-image-'uname -r' libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop  linux-image-'uname -r' libasound2; killall pulseaudio; rm -r ~/.pulse*; sudo usermod -aG 'cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'' 'whoami'

Depois disso, reinicie. Se não ajudou, poste a saída deste comando:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && chmod +x ./alsa-info.sh && ./alsa-info.sh

Siga as instruções aqui para obter um guia completo sobre como solucionar problemas de som.

    
por Dillmo 28.06.2013 / 21:35