You are not logged in.

#1 2009-12-31 21:09:58

XAM
Member
Registered: 2009-12-31
Posts: 12

Can't install my Realtek HD Audio card (on my motherboard)

So, I just downloaded the latest linux audio drivers for my Realtek HD Audio card, which is on my motherboard.
The problem is the installation isnt working hmm

tar xfvj LinuxPkg_5.13rc9.tar.bz2
tar: Record size = 8 blocks                         
./realtek-linux-audiopack-5.13/                     
./realtek-linux-audiopack-5.13/Readme.txt           
./realtek-linux-audiopack-5.13/version               
./realtek-linux-audiopack-5.13/alsa-utils-1.0.21.tar.bz2
./realtek-linux-audiopack-5.13/install                 
./realtek-linux-audiopack-5.13/alsa-lib-1.0.21a.tar.bz2
./realtek-linux-audiopack-5.13/alsa-driver-1.0.21-5.13rc9.tar.bz2
./realtek-linux-audiopack-5.13/test.wav.bz2                     
[root@XAM Desktop]# cd realtek-linux-audiopack-5.13/             
[root@XAM realtek-linux-audiopack-5.13]# ls
alsa-driver-1.0.21-5.13rc9.tar.bz2  alsa-lib-1.0.21a.tar.bz2  alsa-utils-1.0.21.tar.bz2  install  Readme.txt  test.wav.bz2  version
[root@XAM realtek-linux-audiopack-5.13]# ./install                                                                                 
.....Decompress Driver source v1.0.21-5.13rc9                                                                                     
Remove old sound driver                                                                                                           
Compile Driver........                                                                                                             
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... /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/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21                               
checking cross compile...                                                                                                         
checking for directory with kernel source... /lib/modules/2.6.31-ARCH/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.31-ARCH                                                                                         
checking for GCC version... Kernel compiler: gcc 4.4.2 (GCC)  Used compiler: gcc (GCC) 4.4.2 20091208 (prerelease)                 
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.31-ARCH/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/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                                                                                       
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 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 module symbol versions... no                                                                                   
checking for has ioport support... yes                                                                                             
checking for PCI support in kernel... yes                                                                                         
checking for I2C driver in kernel... module                                                                                       
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 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... yes                                                                                 
checking for video_get_drvdata... yes                                                                                             
checking for video_drvdata... yes                                                                                                 
checking for V4L1 layer... yes                                                                                                     
checking for V4L2 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.21                                                                                             
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... no                                                                                                   
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 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 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: creating include/config1.h                                                                                         
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
Hacking autoconf.h...
make dep
make[1]: Entering directory `/home/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21'
make[2]: Entering directory `/home/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21/acore'
copying file alsa-kernel/core/info.c
/home/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21/utils/patch-alsa: line 22: patch: command not found
make[2]: *** [info.c] Error 1
make[2]: Leaving directory `/home/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/home/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21'
make: *** [include/sndversions.h] Error 2
if [ -L /usr/include/sound ]; then \
                rm -f /usr/include/sound; \
                ln -sf /home/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21/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.31-ARCH/kernel/sound -name 'snd*.*o' | xargs rm -f
find /lib/modules/2.6.31-ARCH/kernel/sound -name 'snd*.*o.gz' | xargs rm -f
find /lib/modules/2.6.31-ARCH/kernel/sound -name 'ac97_bus.*o' | xargs rm -f
find /lib/modules/2.6.31-ARCH/kernel/sound -name 'ac97_bus.*o.gz' | xargs rm -f
make[1]: Entering directory `/home/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21/acore'
mkdir -p /lib/modules/2.6.31-ARCH/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-timer.ko snd.ko /lib/modules/2.6.31-ARCH/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/home/xam/Desktop/realtek-linux-audiopack-5.13/alsa-driver-1.0.21/acore'
make: *** [install-modules] Error 1
Creating mixer?...done.
Creating sequencer...done.
Creating midi0?...done.
Creating dsp?...done.
Creating audio?...done.
Creating sndstat...done.
Creating music...done.
Creating dmmidi?...done.
Creating dmfm?...done.
Creating amixer?...done.
Creating adsp?...done.
Creating amidi?...done.
Creating admmidi?...done.
rm: cannot remove `/dev/snd': Is a directory
rm: cannot remove `/dev/snd/by-path': Is a directory
rmdir: failed to remove `/dev/snd': Directory not empty
Creating snd/control?...done.
Creating snd/seq...done.
Creating snd/timer...done.
Creating snd/hw??...done.
Creating snd/midi??...done.
Creating snd/pcm??p...done.
Creating snd/pcm??c...done.
Creating aload?...done.
Creating aloadSEQ...done.
Remove Folder.....
./install: line 102: alsaconf: command not found

The problem isnt that it can't launch alsaconf, there are some errors in the 'make' process which I can't figure out how to solve.
A little help would be great, thanks in advance!

Offline

#2 2009-12-31 23:06:49

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Can't install my Realtek HD Audio card (on my motherboard)

Doesn't it work out-of-the-box? The latest kernel should have a driver for your soundcard.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB