声卡安装求助(已解决)

笔记本/便携移动设备,手机平板等软硬件
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

声卡安装求助(已解决)

#1

帖子 tom861221 » 2015-03-07 16:07

笔记本是联想的Y430P,安装的系统是XUbuntu14.04 LTS版,安装完成后系统音量控制的hardware output devices提示没有可用的输出设备;于是上官网下了驱动,根据说明书用 ./configure --with-cards=hda-intel编译最后提示错误
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: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
config.status: creating include/alsa-kconfig.h
config.status: include/alsa-kconfig.h is unchanged
Hacking autoconf.h...
声卡是ALC282的,内核是3.16.0-31-generic,请高手帮忙。
上次由 tom861221 在 2015-03-10 10:51,总共编辑 1 次。
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#2

帖子 tom861221 » 2015-03-07 16:15

./configure --with-cards=hda-intel执行后的完整过程
tom@tom-laptop:~/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa$ sudo ./configure --with-cards=hda-intel
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... /home/tom/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa
checking cross compile...
checking for directory with ALSA kernel sources... /home/tom/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18
checking for directory with kernel source... /lib/modules/3.16.0-31-generic/build
checking for directory with kernel build... /lib/modules/3.16.0-31-generic/build
checking for kernel linux/version.h ... generated/uapi/linux/version.h
checking for kernel linux/autoconf.h generated/autoconf.h... generated/autoconf.h
checking for kernel linux/utsrelease.h generated/utsrelease.h... generated/utsrelease.h
checking for kernel version... 3.16.0-31-generic
checking for GCC version... Kernel compiler: Used compiler: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

*** 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/3.16.0-31-generic/kernel/sound
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... no
checking for processor type... x86_64
checking for ISA DMA API... yes
checking for 32bit compat support... 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/kconfig.h... yes
checking for kernel linux/utsrelease.h... no
Creating a dummy <linux/utsrelease.h>...
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/pm_runtime.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 linux/export.h... yes
checking for kernel media/v4l2-dev.h... yes
checking for kernel media/v4l2-device.h... yes
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/ratelimit.h... yes
checking for kernel linux/kconfig.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.h... yes
checking for kernel linux/pm_qos_params.h... no
Creating <linux/pm_qos_params.h>...
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 linux/gpio.h... yes
checking for kernel linux/bug.h... yes
checking for kernel linux/math64.h... yes
checking for kernel linux/regulator/consumer.h... yes
checking for kernel linux/dmi.h... yes
checking for kernel linux/bitrev.h... yes
checking for kernel linux/hrtimer.h... yes
checking for kernel linux/vgaarb.h... yes
checking for kernel linux/vga_switcheroo.h... yes
checking for kernel linux/囗囗囗.h... yes
checking for kernel linux/gfp.h... yes
checking for kernel pcmcia/cs_types.h... no
Creating <pcmcia/cs_types.h>...
checking for kernel pcmcia/cs.h... no
Creating <pcmcia/cs.h>...
checking for kernel linux/lzo.h... yes
checking for kernel linux/async.h... yes
checking for kernel linux/bitrev.h... yes
checking for kernel linux/smp_lock.h... no
Creating a dummy <linux/smp_lock.h>...
checking for kernel linux/i8253.h... yes
checking for kernel linux/atomic.h... yes
Copying trace/events headers
checking for kernel linux/tracepoint.h... yes
checking for kernel trace/define_trace.h... yes
Creating a workaround <linux/tracepoint.h>...
checking for kernel module symbol versions... yes
checking for has ioport support... no
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... no
checking for Kernel ISA-PnP module support... no
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 vzalloc... yes
checking for div_u64... yes
checking for dev_name... yes
checking for dev_set_name... yes
checking for put_pid... yes
checking for pid_vnr... yes
checking for old kmod... no
checking for PDE... no
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... yes
checking for video_drvdata... yes
checking for V4L1 layer... no
checking for V4L2 layer... yes
checking for kernel media/v4l2-ctrls.h... 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 register_sound_special_device... yes
checking for driver extra-version...
checking for driver version... 1.0.2x-130606-v5.18rc8
checking for dynamic minor numbers... no
checking for sequencer support... yes
checking for OSS/Free emulation... checking for OSS CORE... yes
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 kernel linux/usb/audio-v2.h... yes
checking for kernel linux/usb/audio.h... yes
checking for valid v1 in linux/usb/audio.h... yes
checking for invalid v2 in linux/usb/audio.h... no
checking for valid linux/usb/audio-v2.h... no
Creating <linux/usb/audio-v2.h>...
checking for kernel linux/usb/ch9.h... yes
checking usb_alloc_coherent... 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 vm_iomap_memory... yes
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 pm_qos_request... yes
checking for static pm_qos_request... no
checking for new pm_qos_request... no
checking for new unlocked/compat_ioctl... yes
checking for builtin _Bool support... yes
checking for x86-compatible PC... no
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 FireWire support... yes
checking for set_pages_array_wc... yes
checking for cards to compile driver for... hda-intel
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: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
config.status: creating include/alsa-kconfig.h
config.status: include/alsa-kconfig.h is unchanged
Hacking autoconf.h...
tom@tom-laptop:~/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa$ ^C
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#3

帖子 tom861221 » 2015-03-07 16:16

./configure --with-cards=hda-intel执行后的完整过程
tom@tom-laptop:~/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa$ sudo ./configure --with-cards=hda-intel
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... /home/tom/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa
checking cross compile...
checking for directory with ALSA kernel sources... /home/tom/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18
checking for directory with kernel source... /lib/modules/3.16.0-31-generic/build
checking for directory with kernel build... /lib/modules/3.16.0-31-generic/build
checking for kernel linux/version.h ... generated/uapi/linux/version.h
checking for kernel linux/autoconf.h generated/autoconf.h... generated/autoconf.h
checking for kernel linux/utsrelease.h generated/utsrelease.h... generated/utsrelease.h
checking for kernel version... 3.16.0-31-generic
checking for GCC version... Kernel compiler: Used compiler: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

*** 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/3.16.0-31-generic/kernel/sound
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... no
checking for processor type... x86_64
checking for ISA DMA API... yes
checking for 32bit compat support... 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/kconfig.h... yes
checking for kernel linux/utsrelease.h... no
Creating a dummy <linux/utsrelease.h>...
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/pm_runtime.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 linux/export.h... yes
checking for kernel media/v4l2-dev.h... yes
checking for kernel media/v4l2-device.h... yes
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/ratelimit.h... yes
checking for kernel linux/kconfig.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.h... yes
checking for kernel linux/pm_qos_params.h... no
Creating <linux/pm_qos_params.h>...
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 linux/gpio.h... yes
checking for kernel linux/bug.h... yes
checking for kernel linux/math64.h... yes
checking for kernel linux/regulator/consumer.h... yes
checking for kernel linux/dmi.h... yes
checking for kernel linux/bitrev.h... yes
checking for kernel linux/hrtimer.h... yes
checking for kernel linux/vgaarb.h... yes
checking for kernel linux/vga_switcheroo.h... yes
checking for kernel linux/囗囗囗.h... yes
checking for kernel linux/gfp.h... yes
checking for kernel pcmcia/cs_types.h... no
Creating <pcmcia/cs_types.h>...
checking for kernel pcmcia/cs.h... no
Creating <pcmcia/cs.h>...
checking for kernel linux/lzo.h... yes
checking for kernel linux/async.h... yes
checking for kernel linux/bitrev.h... yes
checking for kernel linux/smp_lock.h... no
Creating a dummy <linux/smp_lock.h>...
checking for kernel linux/i8253.h... yes
checking for kernel linux/atomic.h... yes
Copying trace/events headers
checking for kernel linux/tracepoint.h... yes
checking for kernel trace/define_trace.h... yes
Creating a workaround <linux/tracepoint.h>...
checking for kernel module symbol versions... yes
checking for has ioport support... no
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... no
checking for Kernel ISA-PnP module support... no
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 vzalloc... yes
checking for div_u64... yes
checking for dev_name... yes
checking for dev_set_name... yes
checking for put_pid... yes
checking for pid_vnr... yes
checking for old kmod... no
checking for PDE... no
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... yes
checking for video_drvdata... yes
checking for V4L1 layer... no
checking for V4L2 layer... yes
checking for kernel media/v4l2-ctrls.h... 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 register_sound_special_device... yes
checking for driver extra-version...
checking for driver version... 1.0.2x-130606-v5.18rc8
checking for dynamic minor numbers... no
checking for sequencer support... yes
checking for OSS/Free emulation... checking for OSS CORE... yes
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 kernel linux/usb/audio-v2.h... yes
checking for kernel linux/usb/audio.h... yes
checking for valid v1 in linux/usb/audio.h... yes
checking for invalid v2 in linux/usb/audio.h... no
checking for valid linux/usb/audio-v2.h... no
Creating <linux/usb/audio-v2.h>...
checking for kernel linux/usb/ch9.h... yes
checking usb_alloc_coherent... 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 vm_iomap_memory... yes
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 pm_qos_request... yes
checking for static pm_qos_request... no
checking for new pm_qos_request... no
checking for new unlocked/compat_ioctl... yes
checking for builtin _Bool support... yes
checking for x86-compatible PC... no
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 FireWire support... yes
checking for set_pages_array_wc... yes
checking for cards to compile driver for... hda-intel
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: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
config.status: creating include/alsa-kconfig.h
config.status: include/alsa-kconfig.h is unchanged
Hacking autoconf.h...
tom@tom-laptop:~/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa$ ^C
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#4

帖子 tom861221 » 2015-03-07 16:17

./configure --with-cards=hda-intel执行后的完整过程
tom@tom-laptop:~/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa$ sudo ./configure --with-cards=hda-intel
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... /home/tom/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa
checking cross compile...
checking for directory with ALSA kernel sources... /home/tom/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18
checking for directory with kernel source... /lib/modules/3.16.0-31-generic/build
checking for directory with kernel build... /lib/modules/3.16.0-31-generic/build
checking for kernel linux/version.h ... generated/uapi/linux/version.h
checking for kernel linux/autoconf.h generated/autoconf.h... generated/autoconf.h
checking for kernel linux/utsrelease.h generated/utsrelease.h... generated/utsrelease.h
checking for kernel version... 3.16.0-31-generic
checking for GCC version... Kernel compiler: Used compiler: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

*** 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/3.16.0-31-generic/kernel/sound
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... no
checking for processor type... x86_64
checking for ISA DMA API... yes
checking for 32bit compat support... 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/kconfig.h... yes
checking for kernel linux/utsrelease.h... no
Creating a dummy <linux/utsrelease.h>...
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/pm_runtime.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 linux/export.h... yes
checking for kernel media/v4l2-dev.h... yes
checking for kernel media/v4l2-device.h... yes
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/ratelimit.h... yes
checking for kernel linux/kconfig.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.h... yes
checking for kernel linux/pm_qos_params.h... no
Creating <linux/pm_qos_params.h>...
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 linux/gpio.h... yes
checking for kernel linux/bug.h... yes
checking for kernel linux/math64.h... yes
checking for kernel linux/regulator/consumer.h... yes
checking for kernel linux/dmi.h... yes
checking for kernel linux/bitrev.h... yes
checking for kernel linux/hrtimer.h... yes
checking for kernel linux/vgaarb.h... yes
checking for kernel linux/vga_switcheroo.h... yes
checking for kernel linux/囗囗囗.h... yes
checking for kernel linux/gfp.h... yes
checking for kernel pcmcia/cs_types.h... no
Creating <pcmcia/cs_types.h>...
checking for kernel pcmcia/cs.h... no
Creating <pcmcia/cs.h>...
checking for kernel linux/lzo.h... yes
checking for kernel linux/async.h... yes
checking for kernel linux/bitrev.h... yes
checking for kernel linux/smp_lock.h... no
Creating a dummy <linux/smp_lock.h>...
checking for kernel linux/i8253.h... yes
checking for kernel linux/atomic.h... yes
Copying trace/events headers
checking for kernel linux/tracepoint.h... yes
checking for kernel trace/define_trace.h... yes
Creating a workaround <linux/tracepoint.h>...
checking for kernel module symbol versions... yes
checking for has ioport support... no
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... no
checking for Kernel ISA-PnP module support... no
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 vzalloc... yes
checking for div_u64... yes
checking for dev_name... yes
checking for dev_set_name... yes
checking for put_pid... yes
checking for pid_vnr... yes
checking for old kmod... no
checking for PDE... no
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... yes
checking for video_drvdata... yes
checking for V4L1 layer... no
checking for V4L2 layer... yes
checking for kernel media/v4l2-ctrls.h... 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 register_sound_special_device... yes
checking for driver extra-version...
checking for driver version... 1.0.2x-130606-v5.18rc8
checking for dynamic minor numbers... no
checking for sequencer support... yes
checking for OSS/Free emulation... checking for OSS CORE... yes
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 kernel linux/usb/audio-v2.h... yes
checking for kernel linux/usb/audio.h... yes
checking for valid v1 in linux/usb/audio.h... yes
checking for invalid v2 in linux/usb/audio.h... no
checking for valid linux/usb/audio-v2.h... no
Creating <linux/usb/audio-v2.h>...
checking for kernel linux/usb/ch9.h... yes
checking usb_alloc_coherent... 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 vm_iomap_memory... yes
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 pm_qos_request... yes
checking for static pm_qos_request... no
checking for new pm_qos_request... no
checking for new unlocked/compat_ioctl... yes
checking for builtin _Bool support... yes
checking for x86-compatible PC... no
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 FireWire support... yes
checking for set_pages_array_wc... yes
checking for cards to compile driver for... hda-intel
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: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
config.status: creating include/alsa-kconfig.h
config.status: include/alsa-kconfig.h is unchanged
Hacking autoconf.h...
tom@tom-laptop:~/下载/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa$ ^C
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 声卡安装求助

#5

帖子 poloshiao » 2015-03-07 16:32

安装完成后系统音量控制的hardware output devices提示没有可用的输出设备
把下面指令 複製 貼進終端機 執行
1. sudo lshw -numeric -class multimedia
把結果直接複製 貼上來
1-1. 如果聲卡是 USB 卡 增加
sudo lshw -numeric -businfo | grep multimedia
把結果直接複製 貼上來
2. sudo lspci -knn | grep Audio
把結果直接複製 貼上來
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#6

帖子 tom861221 » 2015-03-07 19:56

tom@tom-laptop:~$ sudo lshw -numeric -class multimedia
[sudo] password for tom:
*-multimedia:0 UNCLAIMED
description: Audio device
product: Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:C0C]
vendor: Intel Corporation [8086]
physical id: 3
bus info: pci@0000:00:03.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:c1610000-c1613fff
*-multimedia:1 UNCLAIMED
description: Audio device
product: 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8C20]
vendor: Intel Corporation [8086]
physical id: 1b
bus info: pci@0000:00:1b.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:c1614000-c1617fff
tom@tom-laptop:~$ sudo lspci -knn | grep Audio
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
tom@tom-laptop:~$
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#7

帖子 tom861221 » 2015-03-07 20:10

Screenshot - 2015年03月07日 - 20时16分44秒.png
Screenshot - 2015年03月07日 - 20时08分11秒.png
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#8

帖子 tom861221 » 2015-03-07 20:52

还有试用alsa-driver-1.0.25安装驱动configure后提示The file /lib/modules/3.16.0-31-generic/build/include/INCLUDE_VERSION_H does not exist.用--with-kernel=dir 指明路径依然报错。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 声卡安装求助

#9

帖子 poloshiao » 2015-03-08 6:53

sudo lspci -knn | grep Audio
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
1. 雙聲卡 都已經開啟
*-multimedia:0 UNCLAIMED
product: Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:C0C]
configuration: latency=0
2. 內建聲卡 沒有被驅動
一般 內建聲卡 在 CPU 中
*-multimedia:1 UNCLAIMED
product: 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8C20]
configuration: latency=0
3. 一般這個聲卡 在 顯卡 中

4. 你的兩個聲卡都沒有合適被驅動
意思是 你沒有聲卡 可以正常發聲

5. 測試硬體期間
先從 Bios 選擇 AC'97 / 類比 / 內建
在 Ubuntu 音效裝置/輸入/輸出 先選 類比 / 內建 / ... 等等
如果你的 輸入/輸出裝置 是 立體聲 這樣已經足夠
5-1. 詳細參閱
viewtopic.php?p=3121628#p3121628

6. 等你的基本硬體 輸入/輸出裝置 測試 OK
要使用高端的輸入/輸出裝置 再來測試 HDMI
http://zh.wikipedia.org/wiki/HDMI
http://en.wikipedia.org/wiki/HDMI#Audio.2Fvideo
6-1. 測試 OK 了 再來 研究 alsa
6-2. https://wiki.ubuntu.com/Audio/Alsamixer
PulseAudio controls underlying ALSA-level volume controls.
意思是 要研究 ALSA-level volume controls 先了解(上面的) PulseAudio

7. 當你要使用 ALSA 以前 請先看看
https://wiki.ubuntu.com/Audio/UpgradingAlsa
https://wiki.ubuntu.com/DebuggingSoundProblems
意思是 聲卡驅動 跟 Linux Kernel 緊密綁在一起
要升級 聲卡驅動 要注意 跟 Linux Kernel 是否相容
7-1. 避免看了某個網頁介紹 就下載來安裝 要先查清楚 跟 Linux Kernel 版本 是否相容
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#10

帖子 tom861221 » 2015-03-08 9:32

那个帖子之前看过了,可是联想的笔记本bios太简单没有声卡相关设置。另外你说声卡和内核的关系,官网驱动好像只支持3.0内核,这怎么破。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 声卡安装求助

#11

帖子 poloshiao » 2015-03-08 11:30

安装的系统是XUbuntu14.04 LTS版
可是联想的笔记本bios太简单没有声卡相关设置。另外你说声卡和内核的关系,官网驱动好像只支持3.0内核,
請提供官网驱动好像只支持3.0内核的官網網址
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 声卡安装求助

#13

帖子 poloshiao » 2015-03-08 15:39

viewtopic.php?p=3127211#p3127211
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
你的兩個聲卡都沒有合適被驅動
意思是 你沒有聲卡 可以正常發聲
參考下面的連結 先把一個 聲卡關閉 (安裝 pavucontrol)
search.php?keywords=pavucontrol+%E9%97% ... C%E5%B0%8B
關閉
Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
然後重開機 再
sudo lshw -numeric -class multimedia
看看
Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio [8086:0c0c]
是否已經被驅動

另外 看看 有沒有載入預裝的 snd_hda_intel 驅動模組
lsmod | grep snd_hda_intel

資料來源
https://www.kubuntuforums.net/showthrea ... post260256
Two snd_hda_intel - how to get rid of one?
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#14

帖子 tom861221 » 2015-03-08 17:42

谢谢大神,我先试试。
tom861221
帖子: 17
注册时间: 2014-11-09 12:42

Re: 声卡安装求助

#15

帖子 tom861221 » 2015-03-10 10:56

重装系统后发现喇叭有爆音,aplay -l发现声卡出现了,但是仍然没有声音,按照
poloshiao 写了:
viewtopic.php?p=3127211#p3127211
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
你的兩個聲卡都沒有合適被驅動
意思是 你沒有聲卡 可以正常發聲
參考下面的連結 先把一個 聲卡關閉 (安裝 pavucontrol)
search.php?keywords=pavucontrol+%E9%97% ... C%E5%B0%8B
關閉
Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
然後重開機 再
sudo lshw -numeric -class multimedia
看看
Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio [8086:0c0c]
是否已經被驅動

另外 看看 有沒有載入預裝的 snd_hda_intel 驅動模組
lsmod | grep snd_hda_intel

資料來源
https://www.kubuntuforums.net/showthrea ... post260256
Two snd_hda_intel - how to get rid of one?
操作还是没声音,后来借鉴http://forum.ubuntu.org.cn/viewtopic.php?t=324619帖子的做法,久违的声音终于出来了 。
特别感谢poloshiao的帮助。
回复