LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-27-2004, 12:00 PM   #1
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
How to configure Old Azt2320 soundcard ?


I am configuring an old Pentium 1 and I want to get sound from it. I has Aztech 2320 ISA PnP soundcard. I don't know much about Linux and sound and I'm not sure how to install drivers for the soundcard. I've heared about ALSA so I visited the alsa project web site and the database said my soundcard is supported. I downloaded the alsa-driver, alsa-libs and the alsa-utils packages and installed them, but the instructions said i must start .config with some parameters in order to configure alsa and then to install the driver module with modprobe. The problem is that there is no config script anywhere in any dir, so i can't start it. Also the modprobe command can't locate the module snd-azt2320 module. I know it is in the alsa-driver package but i don't know if it must be added in some file to be visible for the modprobe command.

Please be so kind to explain me what i must do.
 
Old 04-27-2004, 12:17 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
./configure

In the directory you untarred in.
not .configure
 
Old 04-27-2004, 12:35 PM   #3
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
Yeah I know, it is a writing mistake. And I've installed the packages from the a slackware mirror, so I haven't untared them, just used the command installpkg. And I'm sure there is not any "config" file, so I can't execute it with ./
 
Old 04-27-2004, 12:37 PM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
./configure

Is independant of a package, configure is done by automake, and uses the Makefile or scripts included with a tarball.

Please read below.
http://www.alsa-project.org/alsa-doc...module=azt2320

Last edited by AutOPSY; 04-27-2004 at 12:39 PM.
 
Old 04-27-2004, 01:09 PM   #5
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
Ok, but "modprobe snd-azt2320" returns "Can't locate module snd-azt2320". Where does it expect to locate it ?
 
Old 04-28-2004, 06:26 AM   #6
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
I tried alsaconf but it can't detect any sound card and exits. I was reading the var/log/messages to see what does the kernel know about my sound card. It always detects my sound card but after careful reading I realized it detects azt 1008 sound card, not azt 2320 and i'm sure my sound card is azt 2320.
I know I must add a kernel module for my sound card but modprobe doesn't work. maybe it needs some additional info in one or more files but i'm not familiar with kernel modules or config files, so please help me.

Last edited by iZvi; 04-28-2004 at 06:27 AM.
 
Old 05-01-2004, 06:25 AM   #7
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
Any suggestions ?
 
Old 05-13-2004, 08:42 PM   #8
reneaguirre
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
I had your same problem, in fact I tried to use my 'old' Mandrake 9.0 install disk on an old PC with the same sound card.

I just found this installation information:
http://www.alsa-project.org/alsa-doc...module=azt2320

Just edit your modules.conf file, after you 'modprobe' the sound modules make sure it works properly (after adjusting the mixer settings).

If everything is Ok, I think next time you start up the /etc/init.d/alsa, /et/init.d/sound (at least that's my distros script) will 'modprobe' the drivers for you.

regards.
 
Old 05-16-2004, 08:07 AM   #9
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
The modprobe can't do the job. Seems that it has no idea about any sound modules. Can you tell me what should I write in my modules.conf file? It is empty in the moment.
 
Old 05-18-2004, 04:19 PM   #10
reneaguirre
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
From the Quick install:
#=== start to copy here ==========
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-azt2320
# 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
#==== end copy here ============

This worked for me, now I have another problem: 'No sound at all'!.

My card is detected as azt1008, when I opened my PC I found the AZT2320 chip, that's why I was searching for AZT2320 information. Neither module works form me, I can't even load properly the azt1008.

Hope this works for you (completly).
 
Old 05-19-2004, 09:17 AM   #11
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
Thank you ! Now I'm listening to an mp3 on this old machine! This was your first posts here and you was ready to help other people! Once again thank you!

You helped me to realise something important. I was downloaded the compiled modules from slackware-current, but they're for kernel 2.4.26 and mine is 2.4.22. After I copied the above as you adviced me, I modprobed the driver and it complained about wrong dependancies in "/lib/modules/2.4.26". After this I realised that I'm using the wrong drivers. I uninstalled the packages from current and installed the modules for 9.1 and then modprobe snd-azt2320 worked just fine. Than I used "alsaconf", it detected my soundcard and configured it. in the final stage I used alsamixer to unmute my soundcard. Now the sound works and the quality is good.

My kernel also detects the card as azt1008 at boot time. However on the chip is written 2320. What exactly is the problem with your sound? Is it configured but not working or not working because not configured?
 
Old 05-19-2004, 10:44 AM   #12
reneaguirre
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
Good to know!,

My kernel is mandrake 2.4.19, I even applied a patch to improve 'azt1008' detection, I even re-compile my kernel.

I had no time to install the newest alsa drivers, this will be my next 'task'.
Maybe before I install a newest distro, mmh, still I don't decide.

Anyway, I didn't give up, I have more ideas.

Regards.

Rene
 
Old 05-19-2004, 04:04 PM   #13
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
How do you install the alsa drivers? Do you compile them or do you use compiled packages like me? And azt1008 is the plug&play ID of the card. The driver you need is probably the same as me (snd-azt2320). I browsed the source code for this driver and the pnpid azt1008 was supported. You should use driver modules which are compatible with your kernel. What happens when type "modprobe snd-azt2320". Is there a correct info for the soundcard in modules.dep ? And have you had this card working in Linux before? I believe that your problem isn't very complicated, just like mine.

Hope you'll have it working soon.
 
Old 05-21-2004, 10:57 AM   #14
reneaguirre
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
Actually,

I'm kind of dissapointed with that card, I just paid $35 for the whole PC (Pentium II 350Mhz, 128Mhz RAM), and my intention was to use it first to 'play' with Linux, then make something productive with it (some useful hardware project).

From the first place when I used my Knoppix disk I nottice some problems with the sound, this was no surprise for me.

Then, I wanted to install Gentoo, indeed I did, but I had so much troubles with the packages (because I don't have any network connection on that machine), that I gave up.

So, I used my 'old Mandrake 9.0 disks', with the same sound problem. As I told you before, the sound seems to be fixed, the snd-azt2320 module does not complain about anything, and dmesg does not show even any warning at all. The snd-azt1008 seems just impossible to use (even when this is the autodetected driver always, for any kernel for any distro).

I downloaded the latest alsa source, I'll try later to compile and setup, or just go some some $5 more common audio card junk (sb, ess, ...).

But I have a personal challenge to make this sound card work as it is.

I'll post the solution if I succeed (I mean if I don't give up).
 
Old 05-21-2004, 03:37 PM   #15
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Original Poster
Rep: Reputation: 35
My card simply works. The sound is ok in both Windows and Linux (with your help). I've even speaked with friends in the LAN using the microphone input. However I don't know what kind of software should make use of the microphone in Linux. Is it possible to be a software but not driver issue? I don't know but with Slackware you need only to install compiled packages and to run alsaconfig(and to be smarter than me and use the correct packages) and the next time you boot the machine the scripts will insert the apropriate module. And this is Slackware - it is known as a difficult and not user-friendly distro, so with Mandrake it should be even more easy.
I don't know about such a module "snd-azt1008" neither in the drivers package nor in the alsa sources. And the thing which is detected is just the card identity not the driver.
Good luck!

Offtopic: Can you tell me how to make the sound unmuted by default? I don't want to run alsamixer every time I start my PC. Something like saving the settings will be very satisfying.
 
  


Reply



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
How to configure OpenAL to output to a different soundcard? Dracarys Linux - Software 0 01-20-2005 09:14 AM
How can I configure my Soundcard? LukeReed Linux - Laptop and Netbook 3 06-20-2004 10:40 PM
Cannot configure soundcard phish08 Linux - Hardware 3 05-18-2004 08:56 PM
How do I configure my SoundCard jsandro7 Linux - Newbie 6 11-04-2003 12:25 PM
howto configure my soundcard? jaitropfaim Linux - Hardware 2 02-21-2003 01:51 PM

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

All times are GMT -5. The time now is 02:45 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