Ubuntu 11.04音がしません。

Ubuntu 11.04音がしません。

Ubuntu Natty Narwhal x86を実行しているノートブック(MSI E-620)に問題があります。取り付けてヘッドホンを接続したところ、出力だけ出てきましたね。ノートパソコンのスピーカーから音は出ません。たくさんの努力をしてきました。これで、オーディオ設定にサウンドデバイスが一覧表示されなくなりました。

alsa-driverをインストールしようとするたびに、次のエラーが発生します。

root@andre-EX620:/home/andre/Downloads/alsa-src/alsa-driver-1.0.8# ./configure 
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/andre/Downloads/alsa-src/alsa-driver-1.0.8
checking cross compile... 
checking for directory with kernel source... /lib/modules/2.6.38-11-generic/build
checking for directory with kernel build... 
checking for kernel version... 0.0.0
checking for GCC version... ./configure: eval: line 3547: syntax error near unexpected token `)'
./configure: eval: line 3547: `my_compiler_version=4.5.2-8ubuntu4)'

しかし、オーディオ機器はそこにあります。

root@andre-EX620:/home/andre/Downloads/alsa-src/alsa-driver-1.0.8# lspci | grep -i Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
06:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]

どんな提案がありますか?

解決策:

次の行を実行して問題を解決しました。

su root
vi /etc/modprobe.d/alsa-base.conf #Am Ende 'options snd-hda-intel model=3stack-6ch-dig', bzw. eine Option von hier einfügen: http://wiki.ubuntuusers.de/Soundkarten_konfigurieren/HDA?redirect=no#Beispielkonfigurationeneinfügen

add-apt-repository ppa:ubuntu-audio-dev/ppa
apt-get update
apt-get install linux-alsa-driver-modules-$(uname -r)
alsaconf
restart -r now

ベストアンサー1

ドライバを再コンパイルするのがサウンドを得るための最良の方法であるかどうかはわかりませんが、それを克服するのに役立つと思いますconfigure。スクリプトは明らかに「エキゾチックな」バージョン文字列でテストされていません。この質問の作成者に通知することをお勧めします。問題の行は

eval $versionvar="$ac_compiler_version"

ここで何が起こるのかは、eval変数名、等号、および割り当てる文字列で構成される文字列が評価されることです。これは間違っています。変数名、等号、およびシェルフラグメントで構成される文字列を評価して、割り当てる文字列を生成する必要があります。つまり、引用符が間違っています。正しい方法は次のとおりです。

eval $versionvar=\"\$ac_compiler_version\"

evalinのすべての使用には同じ修正を適用する必要がありますconfigure.in

おすすめ記事