
Ubuntu日本語フォーラム

ログインしていません。
フォーラムの皆さんこんにちは。
タイトルの通り、Virtualbox 4.1.10 にクリーンインストールした Ubuntu 12.04 で音が出ません。
道場の第44回や、Japanese Team Wiki の「音が出ない場合の対処について」https://wiki.ubuntulinux.jp/UbuntuTips/Hardware/SoundTroubleshooting を参考に対応を試みましたがよくわかりません。
サウンド設定で、音量がミュートになっていないことは確認しています。
alsamixer を試すと、Speaker がMMになっており値が0になっています。
これを00で値100には変更できるのですが、サウンド設定でテストを行なっても音が出ません。
また、サウンドの出力先を何度か切り替えているうちに、MMで値0に戻ってしまいます。
なお、以前から使っている Ubuntu 11.10 では音が出ます。
※こちらも同じ Virtualbox 上にインストール。
Virtualbox を最新の 4.1.14 にアップグレードしてみましたが状況は変わりません。
以下に12.04と11.10について、関連するであろうコマンドの実行結果を載せておきます。
また、両者の /etc/modprobe.d/alsa-base.conf に違いはありませんでした。
よろしくおねがいします。
----- 12.04 はじめ -----
$ lspci | egrep -i multimedia\|audio
00:05.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01)
$
$ lspci -v -s `lspci | grep -i audio | sed -e 's/\(\w*\)\s.*/\1/'`
00:05.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01)
Subsystem: SigmaTel Device 7680
Flags: bus master, fast devsel, latency 64, IRQ 5
Memory at f0804000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel
$
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0804000 irq 5
$
$ cat /proc/asound/card0/codec* | grep -i codec
Codec: SigmaTel STAC9221 A1
$
$ aplay -L | grep -i pulse
Playback/recording through the PulseAudio sound server
$
$ aplay -l
**** ハードウェアデバイス PLAYBACK のリスト ****
カード 0: Intel [HDA Intel], デバイス 0: STAC92xx Analog [STAC92xx Analog]
サブデバイス: 1/1
サブデバイス #0: subdevice #0
カード 0: Intel [HDA Intel], デバイス 1: STAC92xx Digital [STAC92xx Digital]
サブデバイス: 1/1
サブデバイス #0: subdevice #0
$
----- 12.04 おわり -----
----- 11.10 はじめ -----
$ lspci | egrep -i multimedia\|audio
00:05.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01)
$
$ lspci -v -s `lspci | grep -i audio | sed -e 's/\(\w*\)\s.*/\1/'`
00:05.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 01)
Subsystem: SigmaTel Device 7680
Flags: bus master, fast devsel, latency 64, IRQ 5
Memory at f0804000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
$
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0804000 irq 5
$
$ cat /proc/asound/card0/codec* | grep -i codec
Codec: SigmaTel STAC9221 A1
$
$ aplay -L | grep -i pulse
Playback/recording through the PulseAudio sound server
pulse
Playback/recording through the PulseAudio sound server
$
$ aplay -l
**** ハードウェアデバイス PLAYBACK のリスト ****
カード 0: Intel [HDA Intel], デバイス 0: STAC92xx Analog [STAC92xx Analog]
サブデバイス: 1/1
サブデバイス #0: subdevice #0
カード 0: Intel [HDA Intel], デバイス 1: STAC92xx Digital [STAC92xx Digital]
サブデバイス: 1/1
サブデバイス #0: subdevice #0
$
----- 11.10 おわり -----
----- /etc/modprobe.d/alsa-base.conf はじめ -----
# 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 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist 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 --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist 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 --quiet --use-blacklist saa7134-alsa ; : ; }
# 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-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
----- /etc/modprobe.d/alsa-base.conf おわり -----
オフライン
自分は設定の内容は分からないのですが視点を変えてみて VirtualBox の仮想PCの設定[オーディオ]項目を変えてみては如何でしょうか?
オフライン
試してみました。
Host環境: Kubuntu 12.04
Guest環境: Ubuntu 12.04 (GuestAddition有り)
VBox: 4.1.14
の環境でもHDA Intelの動作はおかしいようです。
調査方法や、根本原因の解決については案は無いのですが、
とりあえずの回避策としては、
サウンドデバイスをICH AC97にすると、上記環境では音がでましたので、このサウンドデバイスを試してみるというはいかがでしょう。
オフライン
makopiさん、hmatsueさん、回答ありがとうございます。
> とりあえずの回避策としては、
> サウンドデバイスをICH AC97にすると、上記環境では音がでましたので、このサウンドデバイスを試してみるというはいかがでしょう。
「ICH AC97」にすると、みごとに音が出ました。
Kernel driverを入れ替えたりしなきゃいけないのかと思っていたのに、こんな方法で解決するとは思ってもいませんでした。
大変感謝しております。
ありがとうございました。
オフライン