Link to home
Start Free TrialLog in
Avatar of shubhr
shubhr

asked on

linux redhad 8 sound card ad1816 driver

I need driver for sound card on my hp kayak xu 6/300 .I think it is ad 1816.
I found only this on net :
alias sound ad1816
pre-install sound /sbin/insmod sound dmabuf=1
options ad1816 io=0x500 irq=5 dma=0 dma2=3 ad1816_clockfreq=33000
alias midi opl3
options opl3 io=0x388

but I don't know how to use it .
I add those lines in modules.conf but still no use !
pls. help.I am new with Linux and want to listen my mp3.

thanks.


Avatar of arn0ld
arn0ld

1. google advanced (for all problems and questions)
    ad1816 linux
2. 1st entry leads to:
http://www.alsa-project.org/alsa-doc/doc-php/template.php3?company=Analog+Devices&card=AD1816&chip=AD1816&module=ad1816a
Hope you had restarted and tried!
But still you can go for properly working drivers, already available. You just check if any other driver has a compatibility with yours.

Just opt for any other generic sound blaster for your card in the setup utility - sound card.

If the driver is compatible it will play an audio file successfully. Else go for some other option. If the play was successful, just restart.

Usually there will be some card that supports the same chip as yours has. Its a wild guess! It may or may not work but will not damage your card! I have tried it safely before with my CMI8738 chipset.
Avatar of shubhr

ASKER

thanks guys ,

I tried above link ,inserted text in modules.conf
restarted ,but still nothing ,my linux is 8.0 version .
anything else you can suggest ?

        # ALSA portion
        alias char-major-116 snd
        alias snd-card-0 snd-ad1816a
     # module options should go here

        # OSS/Free portion
        alias char-major-14 soundcore
        alias sound-slot-0 snd-card-0
     
     # card #1
     alias sound-service-0-0 snd-mixer-oss
     alias sound-service-0-1 snd-seq-oss
     alias sound-service-0-3 snd-pcm-oss
     alias sound-service-0-8 snd-seq-oss
     alias sound-service-0-12 snd-pcm-oss
 

In this case, try insmod, module-by-module - soundcore 1st, snd-ad1816a last.  My config requires  isa-pnp.

Examine /var/log/messages
Hey subhr,
first of all, you have to install the drivers from alsa, not just add the lines to your conf.modules or whatever.
First of all, click on the below link and download the file to your hard disk/floppy:
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.5.12a.tar.bz2
After that log in as root and go to /usr/local/alsa folder( create a new folder in /usr/local/ called alsa if need be)
Then type bunzip2 alsa-driver-.. whatever the file that you have downloaded.
Then a new file would be created with the same name but a different extension.
Then type tar xzvf "the new file created.tar" whatever the name is.
then a new folder would be created called alsa-0.5... whatever ( I don't remember the exact name)
Then go into the newly created directory and type
./configure --with-cards="type the name of your card"
please type ./configure --help for help on the supported soundcards if need be.
after that command runs.
Please type make
this would run a huge number of commnds ( compiling the drivers )
Then type make install.
This would install the drivers onto your system files.
Then try to run any sound application.
first try aumix at the command prompt.
Revert asap.
Thanks,
Satej
Avatar of shubhr

ASKER

Dear Satej ,

thanks for details .

but I am very unfamiliar with linux ..can you explain me a little more deytais..I am still lost .

First of all, click on the below link and download the file to your hard disk/floppy:ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.5.12a.tar.bz2

DONE SAVE IT IN MY HOME/SHUBHR DIRECTORY .

After that log in as root and go to /usr/local/alsa folder( create a new folder in /usr/local/ called alsa if need be)

CREATED FLODER .
Then type bunzip2 alsa-driver-.. whatever the file that you have downloaded.

WHERE I HAVE TO TYPE ? I AM USING GRAPHICAL INTERFACE .
DO YOU WANT ME TO EXTRACRT THIS DOWNLOADED FILE ?

IF YES OK I DOUBLE CLICK ON DOWNLOADED FILE AND EXTRACT ALSA-DRIVER-0.5.12A FOLDER IN MY HOME/SHUBHR DIRECTORY .

Then a new file would be created with the same name but a different extension.
Then type tar xzvf "the new file created.tar" whatever the name is.

AGAIN WHERE I HAVE TO TYPE THIS ? AND DO I HAVE TO ADD .TAR TO THE NEW FOLDER CREATED ?

AND WHAT I HAVE TO DO WITH ALSA FOLDER IN USR/LOCAL DIRECTORY ?

DO YOU WANT ME TO PASTE EXTRACTED FOLDER IN THIS ALSA DIRECTORY ?
 
then a new folder would be created called alsa-0.5... whatever ( I don't remember the exact name)
Then go into the newly created directory and type
./configure --with-cards="type the name of your card"
please type ./configure --help for help on the supported soundcards if need be.
after that command runs.
Please type make
this would run a huge number of commnds ( compiling the drivers )
Then type make install.
This would install the drivers onto your system files.
Then try to run any sound application.
first try aumix at the command prompt.
Revert asap.

Avatar of shubhr

ASKER

Dear Satej ,

thanks for details .

but I am very unfamiliar with linux ..can you explain me a little more deytais..I am still lost .

First of all, click on the below link and download the file to your hard disk/floppy:ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.5.12a.tar.bz2

DONE SAVE IT IN MY HOME/SHUBHR DIRECTORY .

After that log in as root and go to /usr/local/alsa folder( create a new folder in /usr/local/ called alsa if need be)

CREATED FLODER .
Then type bunzip2 alsa-driver-.. whatever the file that you have downloaded.

WHERE I HAVE TO TYPE ? I AM USING GRAPHICAL INTERFACE .
DO YOU WANT ME TO EXTRACRT THIS DOWNLOADED FILE ?

IF YES OK I DOUBLE CLICK ON DOWNLOADED FILE AND EXTRACT ALSA-DRIVER-0.5.12A FOLDER IN MY HOME/SHUBHR DIRECTORY .

Then a new file would be created with the same name but a different extension.
Then type tar xzvf "the new file created.tar" whatever the name is.

AGAIN WHERE I HAVE TO TYPE THIS ? AND DO I HAVE TO ADD .TAR TO THE NEW FOLDER CREATED ?

AND WHAT I HAVE TO DO WITH ALSA FOLDER IN USR/LOCAL DIRECTORY ?

DO YOU WANT ME TO PASTE EXTRACTED FOLDER IN THIS ALSA DIRECTORY ?
 
then a new folder would be created called alsa-0.5... whatever ( I don't remember the exact name)
Then go into the newly created directory and type
./configure --with-cards="type the name of your card"
please type ./configure --help for help on the supported soundcards if need be.
after that command runs.
Please type make
this would run a huge number of commnds ( compiling the drivers )
Then type make install.
This would install the drivers onto your system files.
Then try to run any sound application.
first try aumix at the command prompt.
Revert asap.

Avatar of shubhr

ASKER

ok .

I got upto

./configure --with-card=ad1816a

seems configure script executes ok but

while running make command it gives me 2 errors

error1 : leaving directory '../usr/local/alsa/alsa-driver-0.5.12a'

and after this if I type :

make Install I get again 2 errors :

[dep] error 1

[include/sndversions.h] error 2

pls. help .
Dear shubrhr,
        If you are using the graphical interface , first open a termianl window.
Than you typed ./configure --with-cards=ad1816a
Please post the output onto this screen.
Then you ran make.
It gave errors you said.
Now that has happened to me many a times, either becoz, some library files were missing/ or I had to manually tell the program the location of the library files where version.h existed.
Please copy and paste the exact output  onto this screen and I promise I will help you get to the root of it. Dep error 1 are all linked to some missing library file. Did you install the entire distribution on to the drive or did you do a selective install. If you did  a selective install, please install all the libraries using gnorpm or any other installation software for that version of Linux on your system. Please copy and paste a few lines before and after the error message during the make process. Sorry for the delay in my reply becoz, I was on vacation.
Thanks,
Satej
shubhr:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Be PAQ'd/Points No Refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of RomMod
RomMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial