ALSA working kernel 2.6.7 not sure how
Well the good news is my ALSA is playing sound, the bad news is I have
no idea how I did it.
I have been pounding my head against the wall for some time, finally
started an strace on aplay where it seemed to stall on
open("/dev/snd/pcmC0D0p", O_RDWR)
RTFW I stumbled on a few others having the same issue, but no real fixes
(most otheres seemed to have a remnant of OSS running which I do not
think I did)
Well download ltrace and looked at aplay again, and low and behold the
sweet sounds of Orbinson drifted from the basement (I am building a
headless play system)
Well the output from strace before and after looks almost identical except for
set_tid_address(0x4023d0c8) = 7286 |
set_tid_address(0x4023d0c8) = 6472
with the 7286 being the one that works, this call seems to have
something to do with threading. Not sure if it has any relevance.
So the only thing I did is apt-get ltrace and running it on aplay. Any
ideas on what may have changed?
More system info
output from aadebug
http://alsa.opensrc.org/?aadebug
Kernel ----------------------------------------------------
Linux sarge 2.6.7-1-386 #1 Thu Jul 8 05:08:04 EDT 2004 i586 GNU/Linux
Loaded Modules --------------------------------------------
snd_pcm_oss 48168 0
snd_mixer_oss 16640 1 snd_pcm_oss
snd_ens1370 18788 1
snd_rawmidi 23232 1 snd_ens1370
snd_seq_device 7944 1 snd_rawmidi
snd_pcm 85412 2 snd_pcm_oss,snd_ens1370
snd_timer 23172 1 snd_pcm
snd_page_alloc 11144 2 snd_ens1370,snd_pcm
snd_ak4531_codec 7680 1 snd_ens1370
snd 50148 10
snd_pcm_oss,snd_mixer_oss,snd_ens1370,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ak4531
_codec
Modules Conf ----------------------------------------------
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-ens1370
alias snd-slot-0 snd-card-0
alias sound-slot-0 snd-slot-0
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss
Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17
14:31:44 2004 UTC).
Compiled on Jul 8 2004 for kernel 2.6.7-1-386.
0 [AudioPCI ]: ENS1370 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1370 at 0x5000, irq 10
0: [0- 0]: ctl
8: [0- 0]: raw midi
17: [0- 1]: digital audio playback
:cat: /proc/asound/hwdep: No such file or directory
16:
24: [0- 0]: digital audio capture
33: : timer
00-00: ES1370/1 : ES1370 DAC2/ADC : playback 1 : capture 1
00-01: ES1370/2 : ES1370 DAC1 : playback 1
Dev Snd ---------------------------------------------------
alasaworking_ps hwC3D1 midiC1D7 pcmC0D0c pcmC1D1c pcmC2D2c
pcmC3D3c
controlC0 hwC3D2 midiC2D0 pcmC0D0p pcmC1D1p pcmC2D2p
pcmC3D3p
controlC1 hwC3D3 midiC2D1 pcmC0D1c pcmC1D2c pcmC2D3c
pcmC3D4c
controlC2 midiC0D0 midiC2D2 pcmC0D1p pcmC1D2p pcmC2D3p
pcmC3D4p
controlC3 midiC0D1 midiC2D3 pcmC0D2c pcmC1D3c pcmC2D4c
pcmC3D5c
hwC0D0 midiC0D2 midiC2D4 pcmC0D2p pcmC1D3p pcmC2D4p
pcmC3D5p
hwC0D1 midiC0D3 midiC2D5 pcmC0D3c pcmC1D4c pcmC2D5c
pcmC3D6c
hwC0D2 midiC0D4 midiC2D6 pcmC0D3p pcmC1D4p pcmC2D5p
pcmC3D6p
hwC0D3 midiC0D5 midiC2D7 pcmC0D4c pcmC1D5c pcmC2D6c
pcmC3D7c
hwC1D0 midiC0D6 midiC3D0 pcmC0D4p pcmC1D5p pcmC2D6p
pcmC3D7p
hwC1D1 midiC0D7 midiC3D1 pcmC0D5c pcmC1D6c pcmC2D7c
seq
hwC1D2 midiC1D0 midiC3D2 pcmC0D5p pcmC1D6p pcmC2D7p
timer
hwC1D3 midiC1D1 midiC3D3 pcmC0D6c pcmC1D7c pcmC3D0c
hwC2D0 midiC1D2 midiC3D4 pcmC0D6p pcmC1D7p pcmC3D0p
hwC2D1 midiC1D3 midiC3D5 pcmC0D7c pcmC2D0c pcmC3D1c
hwC2D2 midiC1D4 midiC3D6 pcmC0D7p pcmC2D0p pcmC3D1p
hwC2D3 midiC1D5 midiC3D7 pcmC1D0c pcmC2D1c pcmC3D2c
hwC3D0 midiC1D6 pcmC0D0 pcmC1D0p pcmC2D1p pcmC3D2p
CPU -------------------------------------------------------
model name : Pentium MMX
cpu MHz : 199.476
RAM -------------------------------------------------------
MemTotal: 62392 kB
SwapTotal: 243892 kB
Hardware --------------------------------------------------
0000:00:00.0 Host bridge: Intel Corp. 430HX - 82439HX TXC [Triton II]
(rev 03)
0000:00:0d.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI]
(rev 01)
Reply to: