当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 【求助】ubuntu下ALC888不能发声
帖子发表于 : 2008-11-03 13:56 

注册: 2008-10-24 23:53
帖子: 8
送出感谢: 0 次
接收感谢: 0 次
求助:ubuntu下ALC888不能发声

本人是个地地道道的新手,刚刚安装ubuntu8.04桌面版,发现不能发声。
参照wiki.ubuntu.org.cn硬件支持中的这篇文章:
http://wiki.ubuntu.org.cn/index.php?title=%E5%A3%B0%E5%8D%A1%E6%8E%92%E9%9A%9C%E6%AD%A5%E9%AA%A4&variant=zh-cn
进行调试,仍然不行。所以求助大家,谢谢

首先说说我的做法:
1.在终端中运行lsmod,得到

代码:
root@eva:~#lsmod
Module         Size    Used by
...
snd_hda_intel  344856   4
...


看来声卡模块已经被加载了。

2.我安装了alsa-utils-1.0.18,运行alsamixer v1.0.15,得到芯片型号:

引用:
chip:Realtek ALC888


3.从www.alsa-project.org网站下载了最新的alsa驱动:alsa-driver-1.0.18.tar.bz2,在下载得到的文件文件目录alsa-driver-1.0.18/alsa-kernel/Documention下找到文件ALSA-Configuration,从中找到关于我的芯片的信息,如下:

引用:
ALC883/888
3stack-dig 3-jack with SPDIF I/O
6stack-dig 6-jack digital with SPDIF I/O
3stack-6ch 3-jack 6-channel
3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
6stack-dig-demo 6-jack digital for Intel demo board
acer Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
acer-aspire Acer Aspire 9810
medion Medion Laptops
medion-md2 Medion MD2
targa-dig Targa/MSI
targa-2ch-dig Targs/MSI with 2-channel
laptop-eapd 3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
lenovo-101e Lenovo 101E
lenovo-nb0763 Lenovo NB0763
lenovo-ms7195-dig Lenovo MS7195
lenovo-sky Lenovo Sky
haier-w66 Haier W66
3stack-hp HP machines with 3stack (Lucknow, Samba boards)
6stack-dell Dell machines with 6stack (Inspiron 530)
mitac Mitac 8252D
clevo-m720 Clevo M720 laptop series
fujitsu-pi2515 Fujitsu AMILO Pi2515
3stack-6ch-intel Intel DG33* boards
auto auto-config reading BIOS (default)


4.在系统目录/etc/modprobe.d文件夹下,找到option文件的内容如下:

引用:
# Enable double-buffering so gstreamer et. al. work
options quickcam compatible=2

# Default hostap to managed mode
options hostap_pci iw_mode=2
options hostap_cs iw_mode=2


5.下面要编译安装alsa-driver-1.0.18
我先新建了文件夹/usr/src/alsa,将alsa-driver-1.0.18.tar.bz2移至文件夹内,终端中运行

sudo tar xjf alsa-driver-1.0.18.tar.bz2,
cd alsa-driver-1.0.18

然后在编译安装中出问题了:

代码:
sc@eva:/usr/src/alsa/alsa-driver-1.0.18$ sudo ./configure
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.


这是什么意思?

一下是alsa-driver-1.0.18文件夹下install文件的部分内容:



Quick install
=============

1) You must have full configured source for the Linux kernel which you
want to use for the ALSA drivers. Note that ALSA drivers are part
of the kernel, so there is necessary to resolve all symbol dependencies
between the used kernel and ALSA driver code. Partly installed kernels
(for example from distributor makers) can be unuseable for this action.

2) You must turn on sound support (soundcore module).

3) Run './configure' script.

* General Options
If you do not want ISA PnP support, use --with-isapnp=no switch.
If you do not want sequencer support, use --with-sequencer=no switch.
If you do not want OSS/Free emulation, use --with-oss=no switch.
If you have udev or devfs and want to use more than eight cards, use
--enable-dynamic-minors switch.
If you want to turn on debug mode, use --with-debug=full switch.
If you want to debug soundcard detection, try --with-debug=detect switch.

* Kernel Source Tree
On 2.4/2.6 kernels, the location of the kernel source tree is
parsed automatilly from the running kernel.
If it's not in the standard place, specify the path via
--with-kernel=<kernel_directory>.
On 2.6 kernels, the build directory has to be given via
--with-build=<kernel_build_dir> option additionally, too.

* Drivers to Compile
The card drivers to be compiled can be selected via --with-cards option.
Pass the card driver name without "snd-" prefix. To specify
multiple drivers, list names with comma (,).
Passing "all" will compile all possible drivers (and this is the
default choice).
Some drivers have compile options. They can be passed via
--with-card-options option. Multiple options can be passed with comma,
too. The default is "all".
For available cards and options, see ./configure --help.

Note that you have to specify all items you want to enable unless
you pass "all". Or, pass "all" and additionally "NAME=n". This will
enable all but the ones that with =n suffix. See examples below.

* Example
./configure --with-debug=full
Enable debug option "full"

./configure --with-cards=sb16,emu10k1 --with-card-options=sb16-csp
Build for cards sb16 and emu10k1 drivers and enable sb16-csp
option. But all other card options are *disabled*.

./configure --with-cards=all,hda-intel=n
Build drivers except for hda-intel.

4) Run 'make'.

5) Run 'make install' as root.
If you have already a system with ALSA init script, you should install
just only modules via 'make install-modules' so that the existing init
script won't be replaced.

6) Run the './snddevices' script to create new sound devices in /dev directory.
Skip this step, if you have already /dev/snd/* files, or if you're
using a DEVFS or udev.

7) Edit your kernel module config (either /etc/modprobe.conf or
/etc/modules.conf, depending on the kernel version). If you are not
sure, what to do, you may try the alsaconf script available in
the alsa-utils package.

8) Run 'modprobe snd-xxxx' where xxxx is the name of your card.
Note: All ALSA ISA drivers support ISA PnP natively, so you don't need
isapnptools any more. Don't use both together. It will
conflict. For disabling the ALSA ISA PnP support, specify
--with-isapnp=no configure switch.


关于alsa-driver-1.0.18的编译安装,我实在是不明白了,请各位帮帮忙,谢谢


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 【求助】ubuntu下ALC888不能发声
帖子发表于 : 2008-12-28 11:05 

注册: 2008-04-12 14:31
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
我成功安装了那个驱动,no error,但是还是没有声音~


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 【求助】ubuntu下ALC888不能发声
帖子发表于 : 2009-03-02 21:38 

注册: 2009-03-02 20:13
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
我的也是报这个错啊


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译