LinuxQuestions.org
Help answer threads with 0 replies.
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 12-20-2003, 12:17 AM   #1
hagman
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
au8820, ALSA and 2.6.0 Kernel


I'm having some problems with my soundcard (AzTech PCI 338-A3D), it's based on the au8820 chip. au8820 is only supported in alsa-drivers and NOT the kernel. I've tried alot of kernel configs but just can't get it to work, modules are loaded.
It's works perfectly with the 2.2.44 kernel, so why oh why won't it work with 2.6?

Code:
$ amixer
amixer: Mixer attach default error: No such device
hmmm, any idea?

1. give me a quick, but full config guide, kernel and alsa drivers.
2. find/make a kernel patch for au8820.

i'm a little newbish so spare the complexity

Slackware 9.1 (what else?)
Kernel 2.6.0
Soundcard: AzTech PCI 338-A3D
Chipset: au8820
alsa-xxx: 1.0.0 RC2
 
Old 12-20-2003, 07:13 AM   #2
Hiper
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Slackware 10.0
Posts: 100

Rep: Reputation: 15
Here is what I did to get my au8830 working
compiled kernel 2.6.0 only with built-in sound support, but no alsa or oss support
in alsa-driver , ./configure --with-cards=au8830
also installed alsa-lib alsa-utils and alsa-oss

*I think running alsaconf (as root) will configure your system but here are the steps I did if you preffer*

in /etc/rc.d/rc.modules added
/sbin/modprobe snd_au8830
then set volume with alsamixer, do alsactl store (as root)
and added alsactl restore to /etc/rc.d/rc.local

and that should do it, just replace 8830 with 8820

hope that helped

Last edited by Hiper; 12-20-2003 at 07:32 AM.
 
Old 12-20-2003, 12:01 PM   #3
hagman
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
It did not work for me,,,, silence is all I hear

It seems to be a mixer problem...?, I don't know sh* about this!
Any soundgeeks here?


Hiper: What version of alsa did you use?

root:~ # aumix -v:+100
aumix: error opening mixer
root:~ # alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
root:~ # lsmod
Module Size Used by
snd_pcm_oss 48932 0
snd_mixer_oss 16960 1 snd_pcm_oss
snd_au8820 39072 0
snd_pcm 87904 2 snd_pcm_oss,snd_au8820
snd_page_alloc 9060 1 snd_pcm
snd_timer 22016 1 snd_pcm
snd_ac97_codec 60580 1 snd_au8820
snd_mpu401_uart 6240 1 snd_au8820
snd_rawmidi 20672 1 snd_mpu401_uart
snd_seq_device 6660 1 snd_rawmidi
snd 45764 9 snd_pcm_oss,snd_mixer_oss,snd_au8820,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,sn d_seq_device

Last edited by hagman; 12-20-2003 at 02:32 PM.
 
Old 12-20-2003, 02:36 PM   #4
hagman
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
root:~ alsactl store
alsactl: save_state:1061: No soundcards found...

any clues, anyone?
 
Old 12-20-2003, 06:39 PM   #5
Hiper
Member
 
Registered: Aug 2003
Location: Portugal
Distribution: Slackware 10.0
Posts: 100

Rep: Reputation: 15
I used 1.0.0rc2 (the latest)
Are you sure you compiled sound support in the kernel? (it's the very first option in the sound section)
try modprobe soundcore if you compiled as a module

have you altered something in /dev ?
I also had to do some chmods on /dev to get sound without root, but that should not the case
also check out the instructions for your sound card in the ALSA site.
 
Old 12-26-2003, 06:07 PM   #6
alexLinux
LQ Newbie
 
Registered: Dec 2003
Location: usa - md
Distribution: slackware, debian, knoppix, redhat
Posts: 10

Rep: Reputation: 0
i was having the same probs, messing around a bit i kinda got it to work.
you can try the following and hopefully u get lucky like i did .

After you've gotten done w/ everything prior to this post
i.e install driver, libs, utils, ./snddevices, modprobe etc.


check if theres a "sound" directory under /dev
if theres none, make one
Code:
mkdir /dev/sound
and in it
make a soft link, mixer pointing to /dev/amixer0
Code:
ln -s /dev/amixer0 /dev/sound/mixer
using (gnome)
in the control panel right click on the little speaker, uncheck "mute", turn the volume up.
and that works.
however the error with amixer / alsamixer doesnt go away :/

edit: u'll need to also
chmod 755 /dev/amixer0 /dev/mixer0
ps: if using other GUIs (fluxbox, etc) you can use the Mixer a mixer from DockApp Warehouse to adjust your sound

Last edited by alexLinux; 01-06-2004 at 01:35 PM.
 
Old 01-06-2004, 09:50 AM   #7
hagman
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
Tnx for the little guide, ill go throuh it tonight i hope.
 
Old 01-18-2004, 12:35 PM   #8
alexLinux
LQ Newbie
 
Registered: Dec 2003
Location: usa - md
Distribution: slackware, debian, knoppix, redhat
Posts: 10

Rep: Reputation: 0
just figured out how to not get the (snd_ctl_open_noupdate) Invalid ctl error

create a link to /usr/local/share/alsa in /usr/share

that is:

Code:
ln -s /usr/local/share/alsa /usr/share/alsa
or you can also use
[CODE]
./configure --prefix=/usr
[/CODE
for libs utils etc (nb: not driver)
but that would mix up user compiled/installed apps with pre-packaged apps.

either ways works and allow you to use the Alsa driver/plugins with apps like xmms etc. instead of OSS


--alex
 
  


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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Getting Aureal AU8820 sound card working... ExCIA Debian 2 05-19-2005 04:09 AM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM
au8820 based soundcard in redhat 9 Velocity Linux - Hardware 0 08-21-2003 05:46 PM
sound with au8820 joesbox Slackware 3 06-20-2003 05:27 PM

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

All times are GMT -5. The time now is 04:47 PM.

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