View previous topic :: View next topic |
Author |
Message |
ronc n00b
Joined: 08 Jun 2004 Posts: 70
|
Posted: Wed Dec 07, 2005 5:02 pm Post subject: Problems with ATI IXP SB400 Sound Card |
|
|
I've got a box with an ATI IXP SB400 AC'97 Audio Controller. I went through the Gentoo ALSA Guide, and everything worked (through alsaconf) except that I could never load alsamixer (or any other mixer for that matter). There is something going wrong with a module. I have snd-atiixp in my modules.autoload.d/kernel-2.6 file, and I've modprobe snd-atiixp manually (no error message). However, when I /etc/init.d/alsasound restart, I get the following:
Code: | # /etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ...
/usr/sbin/alsactl: save_state:1163: No soundcards found... [ !! ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
* Loading ALSA modules ...
* Loading: snd-card-0 ...
FATAL: Module snd_*** not found. [ !! ]
* Loading: snd-pcm-oss ... [ ok ]
* Loading: snd-seq ... [ ok ]
* ERROR: Failed to load necessary drivers [ ok ]
* Restoring Mixer Levels ... [ ok ]
|
I got the ID of the sound card for lspci. Could it be that lspci is mislead and I've got some other sound card? Alsaconf identified the sound card. I would have thought that everything was alright. Moreover, why would there be a "Module snd_***" line in the message if the snd-atiipx card is correct? |
|
Back to top |
|
|
kabage Guru
Joined: 31 Jan 2005 Posts: 340
|
Posted: Fri Dec 09, 2005 5:15 am Post subject: Dont forget make.conf |
|
|
Do you have something like this in your make.conf file?
Code: | ALSA_CARDS="atiixp atiixp-modem" |
I dont have atiixp module in auto load, I've always assumed it loads the module associated with make.conf
, in other words the alsa start up script may have troubles loading a module that is already loaded, maybe?
I noticed you transposed the spelling of the driver in the post, so maybe its just a simple
spelling error. _________________ The solutions are easy. Its finding them that is hard. |
|
Back to top |
|
|
ronc n00b
Joined: 08 Jun 2004 Posts: 70
|
Posted: Sat Dec 10, 2005 12:38 am Post subject: Still not working |
|
|
Sorry about the typo.
You suggested that I modify the USE term in the make.conf file. When I posted the message, I did not use the alsa-driver method. Rather, I used the kernel method. However, after your suggestion, I worked backwards on the ALSA guide and took the alsa-driver route. Exact same results.
Another odd symptom is that snd-*** driver issue came up when I (re)ran alsaconf. alsaconf didn't give me any error messages, but it didn't specify snd-atiixp (rather, it only mentioned snd-***). Is it possible that alsaconf messed up? |
|
Back to top |
|
|
kabage Guru
Joined: 31 Jan 2005 Posts: 340
|
Posted: Sat Dec 10, 2005 12:54 am Post subject: NOT a USE term |
|
|
One line all by itself in make.conf, notice the names of my alsa cards are your cards with the "snd-***"
because the startup script appends "snd-" to the name of the ALSA_CARDS="card/s names" variable
I am guessing the init script needs this no matter how Alsa is installed.
I have your exact card, (of course that doesnt guarentee it will work but probably should)
Code: | kabage2 blender # lspci -vv | grep audio
0000:00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 02)
|
of course atiixp-modem is not needed , unless you use slmodemd . I've tried both slmodemd, and hsfmodem
to get modem working but no luck. (modem is part of the same chip) _________________ The solutions are easy. Its finding them that is hard. |
|
Back to top |
|
|
ronc n00b
Joined: 08 Jun 2004 Posts: 70
|
Posted: Sat Dec 10, 2005 1:16 pm Post subject: |
|
|
I had put that line into my make.conf file. In fact, I swiped the example that you provided in this thread. Still same results. alsaconf didn't identify the driver (*** intead of atiixp). I left the modem in there because you had it (although I haven't tried the modem).
I'm at a loss to figure this one out. Other linux distributiosn (Knotix and Mandriva) found the card without problems, so I know Linux can do it.
Just for sake of completeness, here is the relevant entry from lspci:
Code: | 00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 01) |
... and here is the contents of make.conf
Code: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="gtk gnome qt kde dvd alsa cdr usb python perl pcmcia vorbis oggvorbis java mozilla hal dvdr firefox howl flac win32codecs xine"
ALSA_CARDS="atiixp atiixp-modem"
|
|
|
Back to top |
|
|
kabage Guru
Joined: 31 Jan 2005 Posts: 340
|
Posted: Sat Dec 10, 2005 4:44 pm Post subject: There still a couple of things to try |
|
|
1. If you are still using the external driver, reemerge alsa-driver,
also check modprobe
2. Does your /etc/modules.conf have some lines made by alsa
like so.
Code: | # --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.9a ---
alias snd-card-0 snd-atiixp
alias sound-slot-0 snd-atiixp
alias snd-card-1 snd-atiixp-modem
alias sound-slot-0 snd-atiixp-modem
#alias sound-service-0-1 snd-mixer.oss
# --- END: Generated by ALSACONF, do not edit. ---
|
Just think if nothing else you're learning something about the "Alsa Modem", If you ever get it working let me know, I mess with it once in awhile.
Oh and I am using some alsa-1.0.10 prerelease from the alsa http://www.alsa-project.org/ web site
Which is now behind the current stable version. Probably irrelevant but something to chew on. _________________ The solutions are easy. Its finding them that is hard. |
|
Back to top |
|
|
ronc n00b
Joined: 08 Jun 2004 Posts: 70
|
Posted: Wed Dec 14, 2005 11:16 pm Post subject: |
|
|
Well, mine didn't look quite like yours, but it is easy to see where the snd-*** came from.
Code: | # OSS/Free portion - card #1
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.10rc3 ---
alias snd-card-0 snd-*** err [lib/liblow.c(329)]:
alias sound-slot-0 snd-*** err [lib/liblow.c(329)]:
# --- END: Generated by ALSACONF, do not edit. ---
### modules-update: end processing /etc/modules.d/alsa
### modules-update: start processing /etc/modules.d/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc
### modules-update: end processing /etc/modules.d/i386
|
I re-emerged alsa-driver and modified /etc/modules.d to include the alias' that you had and comment out the snd-*** lines. Then I modprobe snd-atiixp -- which worked without comment. The relevant part of lsmod is:
Code: | Module Size Used by
snd_pcm_oss 37952 0
snd_mixer_oss 13056 1 snd_pcm_oss
snd_seq_oss 24640 0
snd_seq_midi_event 3488 1 snd_seq_oss
snd_seq 35184 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 5100 2 snd_seq_oss,snd_seq
snd_atiixp 12460 0
snd_ac97_codec 63744 1 snd_atiixp
snd_ac97_bus 1216 1 snd_ac97_codec
snd_pcm 53188 3 snd_pcm_oss,snd_atiixp,snd_ac97_codec
snd_timer 16228 2 snd_seq,snd_pcm
snd 34020 9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_atiixp,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 6600 2 snd_atiixp,snd_pcm
|
... then I /etc/init.d/alsasound restart and got the same error as before (i.e., snd-*** err).
Man, I am stumped. I've had trouble with alsa on other Gentoo installations, but not this much trouble. At least the other ones worked eventually. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|