当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu9.04下安装alc888的声卡问题
帖子发表于 : 2009-04-26 21:44 

注册: 2009-04-26 10:56
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
Note: Ubuntu OS, please use manual install.
Run commands need to add sudo at first words.

Manual install:
Step 1. unzip source code
tar xfvj alsa-driver-1.0.xx.tar.bz2

Step 2. Turn on sound support from kernel config
(soundcore module, default turn on)

Step 3. Complied source code
a. cd alsa-driver-1.0.xx
b. ./configure
c. make
d. make install
e. alsaconf
f. ./snddevices (Only kernel 2.4 does it)

Step 4. Edit your /etc/modules.conf or conf.modules depending on the distribution
(Please refer to the attached modules.conf)

snd-xxxx is the card ID.

-- Azalia controller --ALC880 ALC882 ALC260 ALC262 ALC883 ALC885 ALC888
--- Intel ICH6 ICH7 ---------
snd-hda-intel

-- AC97 controller --ALC655 ALC650 ALC250 ALC255
--- Intel ICH6 ICH7 , SiS 7012 and NVidia----------
snd-intel8x0
--- Via8233 Via686a -------------------------------
snd-via82xx
--- ATI Chipset -------------------------------
snd-atiixp

Copy and paste this to the bottom of your /etc/modules.conf or /etc/modprobe.conf file.
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-xxxx
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

Step 5. reboot your machine

Step 6. Use the alsamixer the disable mute (All audio line default is mute)
*Must to compile and to install the ALSA library and utility. (Use automatic install is already install)
excute alsamixer
这个是安装的步骤,但是在第三步. ./configure这个命令怎么操作?sodu./configure???谁能帮我些个详细点的操作过程出来。我能看懂他在说啥。。但是不知道怎么操作。请会的人告知下。


主要解决插入耳机喇叭照响的问题。有知道的人请告知我。


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu9.04下安装alc888的声卡问题
帖子发表于 : 2009-04-27 21:05 

注册: 2009-04-26 10:56
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
我已经搞定了~谢谢了


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu9.04下安装alc888的声卡问题
帖子发表于 : 2009-05-01 21:06 

注册: 2008-07-31 14:07
帖子: 73
送出感谢: 0 次
接收感谢: 0 次
:em20 :em20 :em20 第三步老是出错。。。。。还有第四步也是。。。。烦死了!!!!

root@caoyuanyi-laptop:/drivers/5.11/alsa-driver-1.0.19-5.11# sudo ./configure
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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... /drivers/5.11/alsa-driver-1.0.19-5.11
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.28-11-generic/build
checking for directory with kernel build...
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.28-11-generic
checking for GCC version... ./configure: eval: line 5183: syntax error near unexpected token `)'
./configure: eval: line 5183: `my_compiler_version=4.3.3-5ubuntu4)'
Kernel compiler: Used compiler: gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for built-in ALSA... no
checking for existing ALSA module... yes
checking for Red Hat kernel... auto
checking for Red Hat kernel... no
checking for SUSE kernel... auto
checking for SUSE kernel... no
checking for updating alsa-kernel version.h... yes
checking for CONFIG_EXPERIMENTAL... yes
checking for directory to store kernel modules... /lib/modules/2.6.28-11-generic/kernel/sound
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... yes
checking for processor type... i586
checking for i386 machine type... default
checking for ISA DMA API... yes
checking for kernel linux/config.h... no
Creating <linux/config.h>...
checking for deprecated linux/config.h... checking to modify of kernel linux/kmod.h... no
checking for kernel linux/utsrelease.h... yes
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/spinlock.h... yes
checking for kernel linux/irq.h... yes
checking for kernel linux/threads.h... yes
checking for kernel linux/rwsem.h... yes
checking for kernel linux/gameport.h... yes
checking for kernel media/v4l2-dev.h... yes
Removing a dummy media/v4l2-dev.h.
checking for kernel linux/devfs_fs_kernel.h... no
Creating a dummy <linux/devfs_fs_kernel.h>...
checking for kernel linux/highmem.h... yes
checking for kernel linux/workqueue.h... yes
checking for kernel linux/dma-mapping.h... yes
checking for kernel asm/hw_irq.h... yes
checking for kernel linux/device.h... yes
checking for kernel linux/platform_device.h... yes
checking for kernel linux/isa.h... yes
checking for kernel linux/jiffies.h... yes
checking for kernel linux/compat.h... yes
checking for kernel linux/log2.h... yes
checking for kernel linux/adb.h... yes
checking for kernel linux/cuda.h... yes
checking for kernel linux/pmu.h... yes
checking for kernel linux/io.h... yes
checking for kernel linux/moduleparam.h... yes
checking for kernel linux/syscalls.h... yes
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... yes
checking for kernel linux/bitmap.h... yes
checking for kernel linux/mutex.h... yes
checking for kernel linux/pm_qos_params.h... yes
checking for kernel linux/kthread.h... yes
checking for kernel asm/irq_regs.h... yes
checking for kernel linux/seq_file.h... yes
checking for kernel linux/debugfs.h... yes
checking for kernel module symbol versions... yes
checking for has ioport support... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... yes
checking for I2C_POWERMAC in kernel... unknown
checking for firmware loader... yes
checking for input subsystem in kernel... yes
checking for pc-speaker platform in kernel... yes
checking for SMP... yes
checking for Video device support in kernel... yes
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... yes
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for scnprintf... yes
checking for sscanf... yes
checking for vmalloc_to_page... yes
checking for old kmod... no
checking for PDE... yes
checking for pci_set_consistent_dma_mask... yes
checking for pci_dev_present... yes
checking for msleep... yes
checking for msleep_interrupt... yes
checking for msecs_to_jiffies... yes
checking for tty->count is the atomic type... no
checking for video_get_drvdata... yes
checking for video_drvdata... yes
checking for V4L1 layer... yes
checking for io_remap_pfn_range... yes
checking for kcalloc... yes
checking for kstrdup... yes
checking for kstrndup... yes
checking for kzalloc... yes
checking for create_workqueue with flags... no
checking for pci_ioremap_bar... yes
checking for saved_config_space in pci_dev... yes
checking for new pci_save_state... yes
checking for register_sound_special_device... yes
checking for driver extra-version...
checking for driver version... 1.0.19
checking for dynamic minor numbers... no
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for OSS PCM plugin system inclusion... yes
checking for RTC support... no
checking for HPET support... yes
checking for Procfs support... yes
checking for USB support... yes
checking for class_simple... no
checking for old driver suspend/resume callbacks... no
checking for removal of page-reservation for nopage/mmap... no
checking for nested class_device... no
checking for new IRQ handler... yes
checking for gfp_t... yes
checking for GFP_DMA32... yes
checking for page_to_pfn... yes
checking for PnP suspend/resume... yes
checking for device_create_drvdata... no
checking for new unlocked/compat_ioctl... yes
checking for x86-compatible PC... yes
checking for High-Res timers... yes
checking for kernel PCMCIA
checking for PCMCIA support... yes
checking for PC9800 support in kernel... no
checking for parallel port support... yes
checking for power management... yes
checking for CONFIG_HAS_DMA... yes
checking for cards to compile driver for... all
checking for additonal options to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/pci_ids_compat.h
config.status: creating include/i2c-id_compat.h
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
Hacking autoconf.h...
root@caoyuanyi-laptop:/drivers/5.11/alsa-driver-1.0.19-5.11# sudo make
make dep
make[1]: 正在进入目录 `/drivers/5.11/alsa-driver-1.0.19-5.11'
make[2]: 正在进入目录 `/drivers/5.11/alsa-driver-1.0.19-5.11/acore'
copying file alsa-kernel/core/info.c
/drivers/5.11/alsa-driver-1.0.19-5.11/utils/patch-alsa: 24: patch: not found
make[2]: *** [info.c] 错误 1
make[2]:正在离开目录 `/drivers/5.11/alsa-driver-1.0.19-5.11/acore'
make[1]: *** [dep] 错误 1
make[1]:正在离开目录 `/drivers/5.11/alsa-driver-1.0.19-5.11'
make: *** [include/sndversions.h] 错误 2
root@caoyuanyi-laptop:/drivers/5.11/alsa-driver-1.0.19-5.11# sudo make install
if [ -L /usr/include/sound ]; then \
rm -f /usr/include/sound; \
ln -sf /drivers/5.11/alsa-driver-1.0.19-5.11/include/sound /usr/include/sound; \
else \
rm -rf /usr/include/sound; \
install -d -m 755 -g root -o root /usr/include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /usr/include/sound; \
done \
fi
find /lib/modules/2.6.28-11-generic/kernel/sound -name 'snd*.*o' | xargs rm -f
find /lib/modules/2.6.28-11-generic/kernel/sound -name 'snd*.*o.gz' | xargs rm -f
find /lib/modules/2.6.28-11-generic/kernel/sound -name 'ac97_bus.*o' | xargs rm -f
find /lib/modules/2.6.28-11-generic/kernel/sound -name 'ac97_bus.*o.gz' | xargs rm -f
make[1]: 正在进入目录 `/drivers/5.11/alsa-driver-1.0.19-5.11/acore'
mkdir -p /lib/modules/2.6.28-11-generic/kernel/sound/acore
cp snd-hrtimer.ko snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko /lib/modules/2.6.28-11-generic/kernel/sound/acore
cp: 无法 stat “snd-hrtimer.ko”: 没有该文件或目录
cp: 无法 stat “snd-hwdep.ko”: 没有该文件或目录
cp: 无法 stat “snd-page-alloc.ko”: 没有该文件或目录
cp: 无法 stat “snd-pcm.ko”: 没有该文件或目录
cp: 无法 stat “snd-rawmidi.ko”: 没有该文件或目录
cp: 无法 stat “snd-timer.ko”: 没有该文件或目录
cp: 无法 stat “snd.ko”: 没有该文件或目录
make[1]: *** [modules_install] 错误 1
make[1]:正在离开目录 `/drivers/5.11/alsa-driver-1.0.19-5.11/acore'
make: *** [install-modules] 错误 1


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu9.04下安装alc888的声卡问题
帖子发表于 : 2009-05-01 21:13 

注册: 2008-07-31 14:07
帖子: 73
送出感谢: 0 次
接收感谢: 0 次
:em06 :em06 :em06 知道了,原来手动编译任何包之前要安装一个BUILD-ESSENTIAL :em03 :em03 :em03 装好了。。。。ALC888给俺下跪了 :em02


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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