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

Re: Sound problems... had OSS working... now neither ALSA or OSS works(complicated)



This is in follow-up to an earlier post... http://lists.debian.org/debian-user/2007/05/msg03451.html

I'm sort of back to where I was before this started... but a bit more confused.

I figured-out the volume wasn't high enough to hear the music. (On that, I don't know
what the wisdom is of defaulting the volume to zero is.  It doesn't make a whole lot of sense to me.)

I played with 'alsamixer' and 'aumix'.  Both seem to adjust the same things.

Any case, it seems the lines in 'modprobe.conf' added by 'alsaconf' are important:
# more /etc/modprobe.conf
install trident /sbin/modprobe --ignore-install trident && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove trident { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove trident
<snippage>

Without those two lines the KDE sound system isn't happy.


Any case, I'm back to where I was yesterday-- in summary:
* Flash animation in IceWeasel -- kaputt.
* KDE sound -- works.
* xine (sound) -- works.
* XMMS -- works.


That said... when I do:
-----
# aplay "Bach - Conzona in D minor - BWV 588.mp3"
Playing raw data 'Bach - Conzona in D minor - BWV 588.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono
-----
I get a whole bunch of random noise.

The same (random noise) results when I do:
# speaker-test


The modules changed a bit with the addition of the lines to '/etc/modprobe.conf' (without the two lines):
-----
# lsmod |grep snd
snd_pcm_oss            53344  0
snd_mixer_oss          19872  1 snd_pcm_oss
snd_ali5451            23556  0
snd_ac97_codec         78360  1 snd_ali5451
snd_pcm                92712  3 snd_pcm_oss,snd_ali5451,snd_ac97_codec
snd_timer              24644  1 snd_pcm
snd                    55300  6 snd_pcm_oss,snd_mixer_oss,snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9664  1 snd
snd_page_alloc         10020  1 snd_pcm
-----

Beyond that, I learned that -- the number following the 4 or 5 digit number
signifies use somehow.  When I have XMMS running and producing music the above
looks like this:
-----
# lsmod |grep snd
snd_pcm_oss            53344  1
snd_mixer_oss          19872  1 snd_pcm_oss
snd_ali5451            23556  1
snd_ac97_codec         78360  1 snd_ali5451
snd_pcm                92712  3 snd_pcm_oss,snd_ali5451,snd_ac97_codec
snd_timer              24644  1 snd_pcm
snd                    55300  6 snd_pcm_oss,snd_mixer_oss,snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9664  2 snd
snd_page_alloc         10020  1 snd_pcm
-----

Playing music and with the two lines in '/etc/modprobe.conf' + a reboot:
-----
# lsmod |grep snd
snd_seq                52560  0
snd_seq_device          8652  1 snd_seq
snd_pcm_oss            53344  1
snd_mixer_oss          19872  1 snd_pcm_oss
snd_ali5451            23556  2
snd_ac97_codec         78360  1 snd_ali5451
snd_pcm                92712  3 snd_pcm_oss,snd_ali5451,snd_ac97_codec
snd_timer              24644  2 snd_seq,snd_pcm
snd                    55300  10 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9664  2 snd
snd_page_alloc         10020  1 snd_pcm
-----


At the moment, I'm not sure what to make of the situation.

The OSS driver (trident) isn't loaded. So, I have the impression it is ALSA that
is giving me sound.
1. The use of 'snd_ali5451' suggests ALSA is being used.
2. 'cat /proc/asound/version' suggests ALSA is indeed installed...


That said, I'm bothered by the fact that OSS seems to have devices...
# cat /proc/asound/oss/devices
  0: [0- 0]: mixer
  3: [0- 3]: digital audio

I'm also bothered by the fact that 'speaker-test' and 'aplay' don't work.

I don't know what 'speaker-test' is supposed to sound like-- but I doubt
it is a bunch of noise.

Michael

========================================
System/Hardware
========================================
Toshiba Satellite A20 -- A20-31Q: 2.53GHz (PSA20C-0231Q)

Processor: Intel Pentium IV, 2.53GHz

Memory: 512 MB

Install log: http://individual.utoronto.ca/bonert/debian_install.html

Debian GNU/Linux release: testing

Kernel: Linux version 2.6.11-1-686 (dannf@firetheft) (gcc version 3.3.6
(Debian 1:3.3.6-6)) #1 Mon Jun 20 22:00:38 MDT 2005

KDE: 3.5.5
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger



Reply to: