On Mon, 13 Oct 2008 18:05:49 +0200 Takashi Iwai tiwai@suse.de wrote:
At Mon, 13 Oct 2008 18:02:08 +0200, I wrote:
At Mon, 13 Oct 2008 17:43:03 +0200, I wrote:
For example, the latest snapshot I uploaded now has alsa-kernel/HEAD: a3e1ef74a8ec8b6e3c30f7aa06c5d5d2f2bea7a9 Merge branch 'topic/sbxfi'
... and again updated to: 5d425dd626d107ff2b2ea97c27068f7ee4b36dd1 Merge branch 'topic/sbxfi'
So, guys, please check the latest one.
If the hang up still occurs with this version, then try to define XXX_SYSTEM_TIMER in sbxfi.c, which is undefined as default. With this build option, the driver will use the system timer instead of emu20k1 timer irqs.
If this still doesn't help, try to remove all spinlocks. That is, just comment out all spin_lock*() and spin_unlock*() calls to avoid spin deadlocks. Of course, it can be racy, but better than a spin deadlock.
Now it doesn't hangs :) but speakers-test produces crackling sine and fails on test...
root@mayonaka:~# speaker-test -c 2 -r 96000 -t sine
speaker-test 1.0.15
Playback device is default Stream parameters are 96000Hz, S16_LE, 2 channels Sine wave rate is 440.0000Hz Rate set to 96000Hz (requested 96000Hz) Buffer size range from 32 to 16384 Period size range from 32 to 16384 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left Write error: -5,Input/output error xrun_recovery failed: -5,Input/output error Transfer failed: Operation not permitted
Also i tried mplayer, 96khz works almost fine (very rare cracklings), 48khz plays slow (like playing 96khz sample on 48khz rate without resampling), 44.1khz doesn't work at all (mplayer doesn't even show that it plays).
Master control on mixer seems to be working fine.