[alsa-devel] Backported sbxfi driver (UNTESTED!)
Jason Harvey
softdevice at jasonline.co.uk
Thu Oct 23 22:17:01 CEST 2008
Takashi Iwai wrote:
> Just to be sure: is it the driver with my patch or without the patch?
> The patch seems broken anyway, so abandon it, and check only without
> the patch from now on.
>
Have reverted to unpatched version, now logging kernel messages to a file.
The attached is the output for debug=2 from running the mplayer with the
oss proc fix.
WARNING... the gzip expands to 4.5MB, which explains the overflow on the
dmesg ring buffer.
But only the first hundred lines and last ten are different, the rest
are all the same as far as I could see.
The only things I noticed that does change is that the repeated lines
start like this :-
Oct 23 20:45:28 sentry kernel: SBXFI: IRQ =
0x500
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER =
0x3e0
Oct 23 20:45:28 sentry kernel: SBXFI: SET TIMER TICKS =
16
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER =
0x3e0
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 0x3e0
And that the pattern changes after a short time dropping one of the
POINTER lines.
Screen output below to show commands used.
Regards,
Jason
[root at sentry alsa-driver-unstable]# modprobe snd_sbxfi
debug=2
[root at sentry alsa-driver-unstable]# cat /var/log/kernel
Oct 23 20:44:00 sentry kernel: imklog 3.18.1, log source = /proc/kmsg
started.
Oct 23 20:44:47 sentry kernel: ACPI: PCI Interrupt 0000:04:01.0[A] ->
GSI 22 (level, low) -> IRQ 22
Oct 23 20:44:47 sentry kernel: SBXFI: INIT
HW
Oct 23 20:44:47 sentry kernel: SBXFI: DAOIMAP
CLEAR
Oct 23 20:44:47 sentry kernel: SBXFI: INIT
DAC
Oct 23 20:44:47 sentry kernel: SBXFI: SETUP
I2S
[root at sentry alsa-driver-unstable]# echo mplayer 0 0 direct >
/proc/asound/card0/pcm0p/oss
[root at sentry alsa-driver-unstable]# cd ..
[root at sentry ~]# mplayer wn.wav
MPlayer dev-SVN-r26936-4.3.0 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.53GHz (Family: 15, Model: 4, Stepping: 9)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing wn.wav.
Audio file file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] Init failed: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** Is your sound server running?
*** See: http://www.pulseaudio.org/wiki/Troubleshooting
[AO_ALSA] Playback open error: Connection refused
AO: [oss] 96000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.0 (00.0) of 241.0 (04:01.0)
??,?%
MPlayer interrupted by signal 2 in module: play_audio
MPlayer interrupted by signal 2 in module: play_audio
[root at sentry ~]# cat /var/log/kernel |more
Oct 23 20:44:00 sentry kernel: imklog 3.18.1, log source = /proc/kmsg
started.
Oct 23 20:44:47 sentry kernel: ACPI: PCI Interrupt 0000:04:01.0[A] ->
GSI 22 (level, low) -> IRQ 22
Oct 23 20:44:47 sentry kernel: SBXFI: INIT
HW
Oct 23 20:44:47 sentry kernel: SBXFI: DAOIMAP
CLEAR
Oct 23 20:44:47 sentry kernel: SBXFI: INIT
DAC
Oct 23 20:44:47 sentry kernel: SBXFI: SETUP
I2S
Oct 23 20:45:28 sentry kernel: SBXFI: Allocate SRC
0
Oct 23 20:45:28 sentry kernel: SBXFI: allocated TLB at 0 for 16
pages
Oct 23 20:45:28 sentry kernel: SBXFI: Setting TLB buffer page
0x1304a000
Oct 23 20:45:28 sentry kernel: SBXFI: release TLB at 0 for 16
pages
Oct 23 20:45:28 sentry kernel: SBXFI: Disabling TLB
buffer
Oct 23 20:45:28 sentry kernel: SBXFI: PLAYBACK PREPARE: rate=96000,
period_size=1024, buffer_size=16384
Oct 23 20:45:28 sentry kernel: SBXFI: Pitch [0:fa6] =
0x1000000
Oct 23 20:45:28 sentry kernel: SBXFI: Pitch [80:7a6] =
0x1000000
Oct 23 20:45:28 sentry kernel: SBXFI: Pitch [1:fb6] =
0x1000000
Oct 23 20:45:28 sentry kernel: SBXFI: Pitch [81:7b6] =
0x1000000
Oct 23 20:45:28 sentry kernel: SBXFI: Amp [00:0001] =
0x555
Oct 23 20:45:28 sentry kernel: SBXFI: Amp [80:0801] =
0x555
Oct 23 20:45:28 sentry kernel: SBXFI: Amp [01:0011] =
0x555
Oct 23 20:45:28 sentry kernel: SBXFI: Amp [81:0811] =
0x555
Oct 23 20:45:28 sentry kernel: SBXFI: DAOIMAP
CLEAR
Oct 23 20:45:28 sentry kernel: SBXFI: PLAY TRIGGER
START
Oct 23 20:45:28 sentry kernel: SBXFI: PLAY UPDATE
TIMER
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER =
0x3e0
Oct 23 20:45:28 sentry kernel: SBXFI: SET TIMER TICKS =
16
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER =
0x3e0
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER =
0x3e0
Oct 23 20:45:28 sentry kernel: SBXFI: IRQ =
0x500
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER =
0x3e0
Oct 23 20:45:28 sentry kernel: SBXFI: SET TIMER TICKS =
16
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER =
0x3e0
Oct 23 20:45:28 sentry kernel: SBXFI: POINTER = 0x3e0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel.log.gz
Type: application/x-gzip
Size: 19858 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20081023/12d7a111/attachment-0001.gz
More information about the Alsa-devel
mailing list