LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-05-2004, 09:11 PM   #1
letdoit
Member
 
Registered: Mar 2003
Posts: 38

Rep: Reputation: 15
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:
[root@localhost alsa-driver-0.9.6]# ./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/Linux/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8smp/build
checking for kernel version... The file /lib/modules/2.4.20-8smp/build/include/l
inux/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).
Please show me how to install this driver
 
Old 05-05-2004, 10:33 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
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.
 
Old 05-18-2004, 09:45 PM   #3
f1wing
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
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.
 
Old 05-19-2004, 08:38 AM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
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
 
Old 05-19-2004, 03:47 PM   #5
f1wing
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
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

16
 
Old 05-19-2004, 03:55 PM   #6
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
////////////////////////////////How to unable muted? Is it that I still don't have sound after reboot?
try running "alsamixer" it is the proper way to adjust the volumes for the alsa sound system.

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!

Last edited by Tuttle; 05-19-2004 at 03:57 PM.
 
Old 05-19-2004, 04:04 PM   #7
f1wing
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
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
 
Old 05-19-2004, 04:13 PM   #8
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
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
 
Old 05-19-2004, 04:16 PM   #9
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
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!

Last edited by Tuttle; 05-19-2004 at 04:19 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Driver prob: Black screen after driver install linuxboynz Linux - Laptop and Netbook 2 10-19-2004 02:52 AM
SoundMAX sound card driver on Toshiba A15 ziggo0 Linux - Hardware 0 08-02-2004 09:16 AM
soundmax 4xl driver binumvk Linux - Hardware 2 06-07-2004 06:22 PM
how can i get sound driver for my a7v266-mx(asus,soundmax)in REDHAT lakshminarayan Linux - Software 1 06-06-2004 06:00 AM
I need a driver for onboard SoundMax from A7V8X-X for Slackware 9.0, please! Hackiller Linux - General 7 07-06-2003 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration