
Ubuntu日本語フォーラム

ログインしていません。
タイトルどおりです。
以下、1つの事例として他の方の参考になれば幸いです。
まだ初心者なので、記述や言い方ががおかしいところがあったら
すみません。
症状:
当方のPC(HP Compaq nw8440)に一昨日、
http://www.ubuntulinux.jp/products/JA-Localized/download
からダウンロードしたUbuntu Desktop 日本語 Remix CDを
使用して上記PCにクリーンインストールした後、
ネットにつないだ後に出るUbuntuのアップデートのポップアップに
したがって、何も考えずに全部アップデートし、再起動すると、
音が出なくなる模様です。
2度試しました。
二百数十のアップデートでどれが問題を起こすかなどは
チェックしていません。
解決方法:
http://ichiyonnana.blog24.fc2.com/blog-entry-16.html
で紹介された方法で解決しました。
/etc/pulse/default.pa の
### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Alternatively use the static hardware detection module (for systems that
### lack udev support)
load-module module-detect
.endif
を
### Automatically load driver modules depending on the hardware available
#.ifexists module-udev-detect.so
#load-module module-udev-detect
#.else
### Alternatively use the static hardware detection module (for systems that
### lack udev support)
load-module module-detect
#.endif
に変更(4行コメントアウト)し、PCを再起動。
>ここで見ました
http://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/394500/comments/14
とのことです。
----------------------------------
当方の環境は
HP Compaq nw8440 (T2500)
です。
https://forums.ubuntulinux.jp/viewtopic.php?pid=43545
のhmatueさんの発言(2009-11-07 19:23:51)を参考に出力してみました。
>lspci -v | grep -i Audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
>dpkg -l pulseaudio
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ 名前 バージョ 説明
+++-==============-==============-============================================
ii pulseaudio 1:0.9.19-0ubun PulseAudio sound server
>lspci -v | less
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: Hewlett-Packard Company Device 30a3
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f4700000 (64-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 0xf4700000 irq 16
>aplay -L
front:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)
pulse
Playback/recording through the PulseAudio sound server
>lsmod | grep snd
snd_hda_codec_si3054 4636 1
snd_hda_codec_analog 59292 1
snd_hda_intel 26920 3
snd_hda_codec 75708 3 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel
snd_hwdep 7200 1 snd_hda_codec
snd_pcm_oss 37920 0
snd_mixer_oss 16028 1 snd_pcm_oss
snd_pcm 75296 6 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 2656 0
snd_seq_oss 28576 0
snd_seq_midi 6432 0
snd_rawmidi 22208 1 snd_seq_midi
snd_seq_midi_event 6940 2 snd_seq_oss,snd_seq_midi
snd_seq 50224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 22276 2 snd_pcm,snd_seq
snd_seq_device 6920 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 59204 17 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 7264 1 snd
snd_page_alloc 9156 2 snd_hda_intel,snd_pcm
---------------------------------------
冒頭に書いた/etc/pulse/default.paを変更する方法を試す前に、
こちらのフォーラムにあった
以下の手順を行っていますが、解決しませんでした。
1.ALSAをアンインストール
% sudo apt-get purge alsa
% sudo apt-get autoremove
2.(一応)再起動
% sudo reboot
3.PulseAudioを再インストール
※ apt-get install --reinstallは使わずに
% sudo apt-get purge pulseaudio
% sudo apt-get install pulseaudio
4.再起動
5.音声チェック → OK♪installは使わずに
以上の方法ではだめでした。
再度、Alsaだけインストール(と再起動)してみるもダメでした。
その後、Alsaを削除してPulseAudioだけインストール(と再起動)しましたが
ダメでした。
以下、参考までに9.10をCD起動した時(正常に音が出ます)に
取得した情報も載せておきます。
>lspci -v | grep -i Audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
>dpkg -l pulseaudio
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ 名前 バージョ 説明
+++-==============-==============-============================================
ii pulseaudio 1:0.9.19-0ubun PulseAudio sound server
>cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf4700000 irq 16
>aplay -L
front:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, AD198x Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)
pulse
Playback/recording through the PulseAudio sound server
>lsmod | grep snd
snd_hda_codec_si3054 4636 1
snd_hda_codec_analog 59292 1
snd_hda_intel 26920 5
snd_hda_codec 75708 3 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel
snd_hwdep 7200 1 snd_hda_codec
snd_pcm_oss 37920 0
snd_mixer_oss 16028 1 snd_pcm_oss
snd_pcm 75296 6 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 2656 0
snd_seq_oss 28576 0
snd_seq_midi 6432 0
snd_rawmidi 22208 1 snd_seq_midi
snd_seq_midi_event 6940 2 snd_seq_oss,snd_seq_midi
snd_seq 50224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 22276 2 snd_pcm,snd_seq
snd_seq_device 6920 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 59204 21 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 7264 1 snd
snd_page_alloc 9156 2 snd_hda_intel,snd_pcm
>dpkg -l \*alsa\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ 名前 バージョ 説明
+++-==============-==============-============================================
un alsa <なし> (説明 (description) がありません)
ii alsa-base 1.0.20+dfsg-1u ALSA driver configuration files
un alsa-oss <なし> (説明 (description) がありません)
ii alsa-utils 1.0.20-2ubuntu ALSA utilities
ii bluez-alsa 4.51-0ubuntu2 Bluetooth audio support
ii gstreamer0.10- 0.10.25-2ubunt GStreamer plugin for ALSA
ii libesd-alsa0 0.2.41-5 Enlightened Sound Daemon (ALSA) - Shared lib
ii libsdl1.2debia 1.2.13-4ubuntu Simple DirectMedia Layer (with X11 and ALSA
>gksu gedit /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-us122l 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
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Power down HDA controllers after 10 idle seconds
options snd-hda-intel power_save=10 power_save_controller=N
CD起動した後(音が正常に出る状態)にサウンドの設定を見ると、
[ハードウェア]タブでは、
「Internal Audio」を認識しています。
これがインストール直後にアップデートすると表示されなくなり、
音も出なくなります。
しかし、冒頭の/etc/pulse/default.paを変更する方法を使うと、
同じくサウンドの設定で「Internal Audio」は表示はされませんが、
音声は出るようになります。
オフライン
自己レスです。
念のため、
/etc/pulse/default.pa
の編集方法ですが、Ubuntuのデスクトップから、
アプリケーション→アクセサリ→端末
を起動して、
sudo nano /etc/pulse/default.pa
と入力して、Enterキーを押す。
次にあとはUbuntuへのログイン時に入力するパスワードを求められるので、入力してEnterキーを
押した後に編集できます。
編集時は編集場所までカーソルキーを押して移動できます。
/etc/pulse/default.pa
の変更が終わって、保存する方法は、
1、Ctrlキーを押しながらx
2、yキーを押す
3、Enterキーを押す
4、exitと入力してEnterキーを押す
で端末も終了して、編集も完了です。
オフライン