[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ALSA on 2.4.23-pre5-ben0 (iMac CRT) broken



Sorry for cross-posting.  This bug looks like it affects the following packages:

* ALSA (0.9.8)
* OSS audio drivers (kernel 2.4)
* gnome-media

From a user's point of view, difficult to tell which one is the culprit, thus
difficult to take a guess at which package should receive the 'reportbug', so...

*****

On my iMac CRT, I compiled alsa-source with only snd-powermac. The module gets
loaded by alsa-utils, except there is no sound and the alsamixer refuses to
work; the sliders won't move, except for the Beep one.

Also, the controls proposed in Gnome2 mixer simply don't match what this iMac
has. Unless I'm mistaken it has:

1) external output (stereo out)
2) built-in speakers (stereo out)
3) external input (stereo in)
4) built-in microphone (mono in)
5) CD audio input (stereo in) 
6) ...possibly more, e.g. separate volumes for the two headphones?

*****

What Gnome2 mixer gives me instead (on OSS, using dmasound_pmac - it works, but
hickups on e.g. sustained hard-disk accesses):

1) main output (stereo out)
2) built-in speakers (stereo out)
3) external input (stereo in)
4) built-in microphone (mono in)
5) CD audio input (stereo in) 
6) PCM ***doesn't seem to affect anything***

...however, even though the speakers and master volumes successfully manage to
control tehir functions independantly, in practice, nothing seems to manage to
correctly save the settings independantly; when I reboot, both have the value
last saved for the Main volume.

Also, the master volume actually kills the output if I bring the slider to the
maximum value.

Besides, I always get the following in syslog, when moving the sliders:

Nov 16 15:58:52 localhost modprobe: modprobe: Can't locate module sound-slot-1
Nov 16 15:58:52 localhost modprobe: modprobe: Can't locate module sound-service-1-0
Nov 16 15:58:52 localhost modprobe: modprobe: Can't locate module sound-slot-1
Nov 16 15:58:52 localhost modprobe: modprobe: Can't locate module sound-service-1-0
Nov 16 16:03:17 localhost modprobe: modprobe: Can't locate module char-major-10-134

*****

What Gnome2 mixer gives me instead (on ALSA, using snd-powermac - doesn't work):

1) main output (stereo out)
2) built-in speakers (MONO out)
3) external input (stereo in)
4) built-in microphone (STEREO in)
5) CD audio input (stereo in) 

As you can see, incorrect features are provided for the outputs AND microphone.
Besides, I always get the following in syslog, when moving the sliders:

Nov 16 16:10:40 localhost modprobe: modprobe: Can't locate module sound-slot-1
Nov 16 16:10:40 localhost modprobe: modprobe: Can't locate module sound-service-1-0
Nov 16 16:10:40 localhost modprobe: modprobe: Can't locate module sound-slot-1
Nov 16 16:10:40 localhost modprobe: modprobe: Can't locate module sound-service-1-0
Nov 16 16:13:52 localhost modprobe: modprobe: Can't locate module char-major-10-134

What is common in both ALSA and OSS syslog lines on Gnome2 is an off-by-one error.

*****

I tried running 'alsamixer' from commandline and get the following controls
(looks a LOT closer to the hardware I have, although the Mic should be mono):

   Master   Headphon   Headphon   Line   CD   Mic  PCSpeak   AutoMut   Beep  

All sliders refuse to be moved, except the one controlling "Beep".

*****

What I have in my /etc/alsa/modutils/0.9:

### DEBCONF MAGIC
# This file was automatically generated by alsa-base's debconf stuff
 
alias char-major-116 snd
alias char-major-14 soundcore
 
options snd major=116 cards_limit=4
 
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/dsp* snd-pcm-oss
 
alias snd-card-0 snd-powermac
 
alias snd-slot-0 snd-card-0
alias sound-slot-0 snd-slot-0

*****

Can anyone shed any light on this?
Thanks!

-- 
Martin-Éric Racine, ICT Consultant
http://www.pp.fishpool.fi/~q-funk/




Reply to: