Soundmax driver, how to install?
I'm new to linux. Red hat 9.0 can't detect sound card "SoundMax". I'm using P4P800 deluxe motherboard http://usa.asus.com/products/mb/sock...d/overview.HTM
I download the driver for sound card from asus.com and saved in "/root". The file is 1985linux.zip (after extract /root/Linux/alsa-driver-0.9.6/*.* files and folders ) I don't know to install this driver! I try to run "./configure" but it appear an errors Quote:
|
you will need to install the development packages before you can compile anything. You should find the basics on your install disk(s), you will need:
kernel headers rpm kernel modules rpm and maybe kernel source rpm. install them from the disk using your package manager. |
I add the kernel developement from Package Management
I add the kernel developement from Package Management and it doesn't not work, it display the same error
.... checking for directory with kernel source... /lib/modules/2.4.20-31.9/build checking for kernel version... The file /lib/modules/2.4.20-31.9/build/include/linux/version.h does not exist. Please, install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /usr/src/linux). [root@localhost alsa-driver-0.9.1adi]# [root@localhost alsa-driver-0.9.1adi]# Anyone can help me out? I am new to Redhat 9.0 too and I just update redhat with yum. |
do you have a link in /usr/src/ called "linux" and does it link to /usr/src/linux-2.4.20 or something similar? If you don't have this directory then you haven't got the sources installed.
Also the message says you don't have /lib/modules/2.4.20-31.9/build/include/linux/version.h Please have a look at what you HAVE got in /usr/src & /lib/modules. /usr/src contains the source code for your kernel, this is not used to boot your system, the actual kernel is in /boot probably /boot/vmlinuz /lib/modules contains the loadable modules (device drivers) used by your running kernel. alternatively use your package manager to find out if you have these installed: kernel-headers.###.rpm kernel-modules.###.rpm kernel-source.###.rpm |
A7V8X-X
Thanks Tuttle for helping me. I
I want to be independent of Microsoft product. I spent whole night to fix my dsl and finally able to use gaim. Now, the remaining is the sound. Please help me out. I update my system via up2date and yum. I compiled and install, and it still doesn't work. Motherboard: A7V8X-X SoundCard: ADI 1980 File I am trying to installed: ad1888_Linux.zip I unziped. Step 1. [root@localhost alsa-driver-0.9.1adi]# ./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 executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes 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 ANSI C header files... yes checking for gcc option to accept ANSI C... none needed 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... /root/yum/ad1888_Linux/alsa-driver-0.9.1adi checking cross compile... checking for directory with kernel source... /lib/modules/2.4.20-31.9/build checking for kernel version... 2.4.20-31.9 checking for kenrel linux/pm.h... "yes" checking for kenrel linux/spinlock.h... "yes" checking for kenrel linux/irq.h... "yes" checking for kenrel linux/threads.h... "yes" checking for kenrel linux/rwsem.h... "yes" checking for kenrel linux/gameport.h... "yes" checking for kenrel linux/devfs_fs_kernel.h... "yes" checking for kenrel linux/workqueue.h... "yes" checking for kernel module symbol versions... "yes" checking for PCI support in kernel... "yes" checking for SGI/MIPS (HAL2) architecture... "no" checking for directory to store kernel modules... /lib/modules/2.4.20-31.9/kernel/sound checking for verbose printk... on checking for debug level... none checking for ISA support in kernel... "yes" checking for processor type... k7 checking for SMP... "no" checking for ISA PnP driver in kernel... yes checking for ISA PnP support... yes checking for vmalloc_to_page... "yes" checking for driver version... 0.9.1 checking for sequencer support... yes checking for OSS/Free emulation... yes checking for RTC callback support in kernel... "no" checking for USB support... "no" checking for USB module support... "yes" checking for kernel PCMCIA checking for PCMCIA support... "no" checking for PCMCIA module support... "yes" checking for PC9800 support in kernel... "no" checking for which soundcards to compile driver for... all configure: creating ./config.status config.status: creating version config.status: creating Makefile.conf config.status: creating snddevices config.status: creating utils/alsa-driver.spec config.status: creating utils/buildrpm config.status: creating toplevel.config config.status: creating include/config.h config.status: include/config.h is unchanged config.status: creating include/config1.h config.status: creating include/version.h config.status: include/version.h is unchanged [root@localhost alsa-driver-0.9.1adi]# ./configure --with-cards=intel8x0 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 executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes 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 ANSI C header files... yes checking for gcc option to accept ANSI C... none needed 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... /root/yum/ad1888_Linux/alsa-driver-0.9.1adi checking cross compile... checking for directory with kernel source... /lib/modules/2.4.20-31.9/build checking for kernel version... 2.4.20-31.9 checking for kenrel linux/pm.h... "yes" checking for kenrel linux/spinlock.h... "yes" checking for kenrel linux/irq.h... "yes" checking for kenrel linux/threads.h... "yes" checking for kenrel linux/rwsem.h... "yes" checking for kenrel linux/gameport.h... "yes" checking for kenrel linux/devfs_fs_kernel.h... "yes" checking for kenrel linux/workqueue.h... "yes" checking for kernel module symbol versions... "yes" checking for PCI support in kernel... "yes" checking for SGI/MIPS (HAL2) architecture... "no" checking for directory to store kernel modules... /lib/modules/2.4.20-31.9/kernel/sound checking for verbose printk... on checking for debug level... none checking for ISA support in kernel... "yes" checking for processor type... k7 checking for SMP... "no" checking for ISA PnP driver in kernel... yes checking for ISA PnP support... yes checking for vmalloc_to_page... "yes" checking for driver version... 0.9.1 checking for sequencer support... yes checking for OSS/Free emulation... yes checking for RTC callback support in kernel... "no" checking for USB support... "no" checking for USB module support... "yes" checking for kernel PCMCIA checking for PCMCIA support... "no" checking for PCMCIA module support... "yes" checking for PC9800 support in kernel... "no" checking for which soundcards to compile driver for... intel8x0 configure: creating ./config.status config.status: creating version config.status: creating Makefile.conf config.status: creating snddevices config.status: creating utils/alsa-driver.spec config.status: creating utils/buildrpm config.status: creating toplevel.config config.status: creating include/config.h config.status: include/config.h is unchanged config.status: creating include/config1.h config.status: creating include/version.h config.status: include/version.h is unchanged [root@localhost alsa-driver-0.9.1adi]# Step 2. [root@localhost alsa-driver-0.9.1adi]# make install ... ... fi if [ -d /sbin/init.d ]; then \ install -m 755 -g root -o root utils/alsasound /sbin/init.d/alsasound; \ elif [ -d /etc/rc.d/init.d ]; then \ install -m 755 -g root -o root utils/alsasound /etc/rc.d/init.d/alsasound; \ elif [ -d /etc/init.d ]; then \ install -m 755 -g root -o root utils/alsasound /etc/init.d/alsasound; \ fi cat WARNING WARNING!!! The mixer channels for the ALSA driver are muted by default!!! ************************************************************************** You would use some ALSA or OSS mixer to set the appropriate volume. ////////////////////////////////How to unable muted? Is it that I still don't have sound after reboot? [root@localhost alsa-driver-0.9.1adi]# [root@localhost alsa-driver-0.9.1adi]# Step 3. [root@localhost alsa-driver-0.9.1adi]# ./snddevices Creating /dev/mixer?... done Creating /dev/sequencer... done Creating /dev/midi?... done Creating /dev/dsp?... done Creating /dev/audio?... done Creating /dev/sndstat... done Creating /dev/music... done Creating /dev/dmmidi?... done Creating /dev/dmfm?... done Creating /dev/amixer?... done Creating /dev/adsp?... done Creating /dev/amidi?... done Creating /dev/admmidi?... done create symbolic link `/dev/mixer' to `/dev/mixer0' create symbolic link `/dev/midi' to `/dev/midi0' create symbolic link `/dev/dsp' to `/dev/dsp0' create symbolic link `/dev/audio' to `/dev/audio0' create symbolic link `/dev/sequencer2' to `/dev/music' create symbolic link `/dev/adsp' to `/dev/adsp0' create symbolic link `/dev/amidi' to `/dev/amidi0' ALSA dynamic sound device filesystem create symbolic link `/dev/snd' to `/proc/asound/dev' ALSA loader devices Creating /dev/aload?... done Creating /dev/aloadSEQ... done [root@localhost alsa-driver-0.9.1adi]# Step 4. I edit /etc/modules.conf to : // What I add # ALSA native device support alias char-major-116 snd options snd major=116 cards_limit=1 alias snd-card-0 snd-intel8x0 # OSS/Free setup alias char-major-14 soundcore alias sound-slot-0 snd-intel8x0 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 post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || : pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || : alias eth0 via-rhine alias usb-controller ehci-hcd alias usb-controller1 usb-uhci options sound dmabuf=1 options adlib_card io=0x388 // end of what I add // What it is before I add alias sound-slot-0 via82cxxx_audio post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || : pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || : // end of what I add Step 5. I reboot the system. Thanks, tuttle :confused: 16 |
Quote:
also, i noticed that you ran "./configure" then "make install". I assume you ran "make" after "./configure"? or did the README suggest what you did? edit: ps. (as root) run "alsactl store" to save settings and "alsactl restore" to er... restore! |
Thanks Tuttle again.
I did read the Readme.txt and intall file several time and try to install it many time. I did the install: ./configure --with-cards=intel8x0 make install ./snddevices and modify the modules.config ------------------------------ How to use alsa mixer? I did try in the terminal. [root@localhost alsa-driver-0.9.1adi]# alsamixer bash: alsamixer: command not found |
unfortunately it seems you dont have alsa installed. try using your package manager to find out if these are installed:
alsa-driver-###.rpm alsa-lib-###.rpm alsa-oss-###.rpm alsa-utils-###.rpm if not then find and install those packages and install them (in that order), it may be a long road to go but.... you will be satisfied in the knowledge YOU did it |
next step: find and install kernel-2.4.26 woot! I'm off to bed *yawns*
edit: don't try that until you are sure of how to do it! sorry, rambling now, night night! |
All times are GMT -5. The time now is 11:21 AM. |