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 08-12-2004, 12:18 PM   #1
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Rep: Reputation: 15
ALSA and Azalia soundcard


I've been holding off on asking this because I *know* it's gotta be something sooo obvious that I am not seeing it.

I'm using Gentoo with a Gentoo-patched 2.6.7 kernel.

I have an Intel HDA Azalia soundcard with the CMI9880L codec.. I wasn't sure exactly what it was, and if it would work, I read more and I think I understand now.

See alsa-cvslog:

Quote:
Update of /cvsroot/alsa/alsa-driver/pci/azx
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29210

Modified Files:
codec_enum.c
Log Message:
From C.L. Tien:

Fixed the inifinte loop in the probing of c-media 9880 codec.
The only thing I am thinking is that a c-media 9880 is very different from a c-media 9880L, but as you will see, I think that the driver must be the correct one..

lspci shows this for sound:
0000:00:1b.0 Class 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
Subsystem: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d3800000 (64-bit, non-prefetchable)
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] #10 [0091]


So.

Since the driver is not yet in a stable release, I got the development version. Of everything BTW, not just the driver, to prevent conflicts. The module is called snd_azx.

The modules load and appear used, see lsmod:

Module Size Used by
snd_mixer_oss 20864 1
snd_azx 32184 5
snd_pcm 92164 1 snd_azx
snd_timer 26372 1 snd_pcm
snd 54116 12 snd_mixer_oss,snd_azx,snd_pcm,snd_timer
snd_page_alloc 10376 1 snd_pcm


Here's the problem then.

It kind-of works. Alsamixer works about 5% of the time, usually right after a fresh boot. But when it does it only shows 2 channels. Turned up all the way. If you try and change the volume, it usually segfaults. The rest of the time, it just hangs. Hangs meaning you can't even Ctrl-C out of it. If you are on a tty you can't get rid of it at all! KMix hangs too, most of the time, and again when it does work it shows 2 channels.. according to the driver source code it should have way more than that.

My kernel is configured like this, according to a quick checking script:

CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MPU401=m

Modprobe is configured like this:

alias char-major-14-* soundcore
alias char-major-116-* snd
alias snd-card-0 snd-azx
alias sound-slot-0 snd-azx
alias sound-slot-1 snd-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
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.6rc2.
Compiled on Aug 11 2004 for kernel 2.6.7-gentoo-r12 (SMP).
0 [HDA ]: Azalia - ICH6 HDA
ICH6 HDA at 0xd3800000 irq 16
0: [0- 0]: ctl
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer
cat: /proc/asound/hwdep: No such file or directory
00-00: ICH6 HDA : ICH6 HDA : playback 1 : capture 1

What does that mean, that /proc/asound/hwdep is not found?

Maybe it is permissions, but then it doesn't work as root.. I've tried snddevices script and everything, nothing works. I can get it to play music but I can't hear it.

I'm thinking maybe it's the wrong driver, or it's still in a very unstable form and therefore doesn't work, but I was wondering of anything else could cause this problem. If noone here can help me I'll try emailing the people who wrote the drivers and see if they can help me.

Thanks in advance.

Last edited by mary; 08-12-2004 at 12:57 PM.
 
Old 08-13-2004, 04:22 PM   #2
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Original Poster
Rep: Reputation: 15
*bump*

Anyone know what might cause this problem?

I just installed Fedora, I still have the problem.
 
Old 09-11-2004, 08:29 AM   #3
eleas
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 6

Rep: Reputation: 0
I have the same card, also can't get it to work (didn't try CVS, only alsa 1.0.7rc1). I guess the driver just doesn't fully work yet

Please let me know when you find anything out about this.
 
Old 09-11-2004, 09:22 AM   #4
TheAlamo
LQ Newbie
 
Registered: Sep 2004
Location: Frankfurt/Germany
Distribution: gentoo
Posts: 3

Rep: Reputation: 0
Hi,

1.0.7rc1 and CVS are pretty much the same at the moment.

Documentation of 1.0.6 says "Added Intel ICH6 HD Audio (Azalia) driver". In my opinion this is but a fragment of a driver.

OK, you can modprobe it. aplay gives terrible noise coming out of the speakers.
alsamixer -> crash
alsactl -> kaboom

think we will have to wait another two or thee years, until they will provide a driver which is fully functional. Intel hardware is just too exotic.
 
Old 09-11-2004, 09:56 AM   #5
eleas
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Hm, years? I hope, 2 or 3 months will be enough - any longer and I'll have to buy another sound card to use until this gets fixed. Actually, I might do that in 2 or 3 weeks already or earlier if I find a really cheap one. Hopefully the ALSA devs are working on this problem though, and we'll have sound soon

I just looked at azx.c in CVS, and I don't feel I'm qualified to find the problem in there :P But maybe should write to them and offer help with testing?
 
Old 09-11-2004, 11:02 AM   #6
TheAlamo
LQ Newbie
 
Registered: Sep 2004
Location: Frankfurt/Germany
Distribution: gentoo
Posts: 3

Rep: Reputation: 0
Hm, maybe we should.

But on the other hand, mary posted a similar massage to the alsa-devel mailing list on august 20th. According to the mailing list archive she hasn't even got an answer which is disappointing.

If you take a look at azx.c in cvs, you will find, that the changes of the last weeks were only cosmetic (fixed compilation, removed debugging messages and stuff like that). This is also disappointing.

If I take a look at who is working on the drivers, then it seems to me, as if some of them were closely related to SuSE. Well, at least according to their mailing addresses. If I wanted to sell Personal Editions, then I'd take more effort.

Took my old Soundblaster Live which of course runs perfect with the emu10k1 driver. But this renders those audio plugs on the front panel useless, which is disappointing.
 
Old 09-12-2004, 06:10 AM   #7
eleas
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Yeah, just found that mailing list post. It even has a kernel traceback for the crash! (How do you create such a traceback btw.? And is it possible to also debug a freeze, not a crash?)

Anyway, you're right, doesn't look like anyone is currently working on this.

A new 10$ card it is for me then (my last non on-board soundcard is an ISA SB16 which doesn't fit)..
 
Old 09-12-2004, 07:03 AM   #8
TheAlamo
LQ Newbie
 
Registered: Sep 2004
Location: Frankfurt/Germany
Distribution: gentoo
Posts: 3

Rep: Reputation: 0
Quote:
Originally posted by eleas
Yeah, just found that mailing list post. It even has a kernel traceback for the crash! (How do you create such a traceback btw.? And is it possible to also debug a freeze, not a crash?)
creating a message like she did should be easy.
With no sound drivers loaded, key in the following commands:
modprobe snd-azx
alsamixer
dmesg
Well, thats enough for me to produce similar output.

Debbuging those crashes, well, I'm not familiar with c-programming and sound drivers. What a newbie like you and me possibly could do is:
./configure the driver with --with-debug=detect
This causes the output of those snd_printdd statements to be written to /var/log/messages and you can have a look at it with dmesg.
Insert my own snd_printdd's and try to "hunt down" locations in the code where the problems occur.
But in my opinion that's hard work, and I guess due to the freezes I would have to fsck my harddrive more than once.
 
Old 10-17-2004, 10:12 PM   #9
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Original Poster
Rep: Reputation: 15
Well, I bought an SB Audigy soundcard, because I got sick of dealing with this.

But, there is something on the mailing list, about fixing a kernel crash with the azx driver... I haven't tried it, since I have the SB card now, but maybe it will work now?

I had emailed Andy Kopp at Intel, who was one of the people credited for writing the driver, he told me that the driver was limited, and therefore having 2 channels was normal, but he acted as if the card should work - although limited.

I wish you luck getting your sound working.
 
Old 10-18-2004, 07:45 AM   #10
eleas
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Thanks, I looked at the sourceforge mail archive, seems the crash fix is only for the detecting stage though - but my impression was the azx driver will need some other changes before it gets useable. I also bought a new card by now, and I'll only try the azx driver again when it has found its way into a debian kernel.
 
Old 03-31-2011, 08:17 PM   #11
dlsatt
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
azalia sound card

I have a vaio e series laptop with a azalia sound card. Fatdog 64(puppy) is the only distro where I have sound. All other distros show the mixer setting correct, but no sound. Only Fatdog 64 511 ?
 
  


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
Need Soundcard/ALSA help gooball Linux - Hardware 1 09-14-2005 08:16 AM
ALSA with Via soundcard on Gentoo lengau Linux - Hardware 18 07-10-2005 09:04 AM
Cannot get soundcard to work through ALSA 10xOXR Linux - Newbie 5 06-23-2005 03:09 PM
Unknown symbol error with azalia soundcard debianbox Debian 3 02-28-2005 07:13 AM
ALSA help - set soundcard TazG Linux - Hardware 1 09-24-2004 02:59 PM

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

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