VPCEB2AFJで音を鳴らす

Ubuntu 10.4 Netbook editionを入れてすぐには音が出なかった。しかし、色々手を尽くしたら質素だがanalog speakerから音が出るようになった。何をやってたか忘れてしまったので、とりあえず自分の足跡をたどってみる。まず確認事項。

  • System -> Sound
    • sound effect tab:
      • sound theme = ubuntu
      • Enable window and button sound [checked]
    • hard ware tab:
      • Choose: Internal Audio
      • Profile: Analog Stereo Duplex
    • Input tab:
      • Internal Audio Analog Stereo
    • Output tab:
      • Internal Audio Analog Stereo / Stereo
      • Connector: Analog Speakers
    • Applications tab: ignore :D

see this http://d.hatena.ne.jp/korokorokoron/20100119/1263911842 and use your terminal.

$ lspci -v | grep Audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
01:00.1 Audio device: ATI Technologies Inc Redwood HDMI Audio [Radeon HD 5600 Series]

$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf5e00000 irq 36
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xf0040000 irq 37

$ head -n 2 /proc/asound/card*/codec*
==> /proc/asound/card0/codec#0 <==
Codec: Realtek ALC269
Address: 0

==> /proc/asound/card1/codec#0 <==
Codec: ATI R6xx HDMI
Address: 0

next, I downloaded a latest ALSA-Driver's source package.
I got "alsa-driver-1.0.23.tar.bz2 3.2 MB 4/16/10 8:22:00 PM" at ftp://ftp.alsa-project.org/pub/driver/.

$ grep -l -r ALC269 alsa-driver-1.0.23
alsa-driver-1.0.23/sound/Documentation/HD-Audio-Models.txt
alsa-driver-1.0.23/sound/pci/hda/patch_realtek.c
alsa-driver-1.0.23/alsa-kernel/Documentation/HD-Audio-Models.txt
alsa-driver-1.0.23/alsa-kernel/pci/hda/patch_realtek.c

$ less alsa-driver-1.0.23/alsa-kernel/Documentation/HD-Audio-Models.txt
ALC269
======
  basic         Basic preset
  quanta        Quanta FL1
  eeepc-p703    ASUS Eeepc P703 P900A
  eeepc-p901    ASUS Eeepc P901 S101
  fujitsu       FSC Amilo
  lifebook      Fujitsu Lifebook S6420
  auto          auto-config reading BIOS (default)

$ grep intel /etc/modprobe.d/alsa-base.conf
options snd-intel8x0m index=-2

I found a intel's definition line. but I append this.

options snd-hda-intel model=vaio

Because, I read this article http://ubuntuforums.org/showthread.php?t=1468048&page=2.



and I installed this package because I read this https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/588031

  1. Install snd-hda-tools from https://launchpad.net/~diwic/+archive/ppa
  2. Reboot ( this is IMPORTANT ! ).

and... what.. I can't remember anything..

I can't found System->Sound->Output:connector:Analog Speaker. There were only two connectors (see list). So I had choose an 'Analog Output' at that time ( this is wrong ).

  • Analog Headphone
  • Analog Output

but Now I found the "Analog Speaker" ( this is correct ). We can hear by speaker. that's not hear by Output jack ;D

hmm.. I installed alsa-intel-hda-optiplex driver (by synaptic) ? Otherwise, I installed PulseAudio* , alsa*, audio* ?

If you can't solve this issue, try to install something :D


appendix

$ dmesg | grep -e hda -e ALSA -e HDA
[   28.722744] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   28.722827] HDA Intel 0000:00:1b.0: irq 36 for MSI/MSI-X
[   28.722880] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   28.959094] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
[   28.961008] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   28.961069] HDA Intel 0000:01:00.1: irq 37 for MSI/MSI-X
[   28.961094] HDA Intel 0000:01:00.1: setting latency timer to 64
[   33.240212] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[  256.874163] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.