Using a Crystal cs4237B device with ALSA drivers from either
the stable release or the latest development release.
When opening and reading from the audio device (/dev/audio
or /dev/dsp0) the system hangs. [Opening the device for write
only is no problem -- and playing music works great.]

With latest 0.9 release things are definitely better (than with 0.5),
but reading /dev/audio or /dev/dsp0 still causes same lockup.

What works:
It is possible to record audio using "arecord" or "record" and at the
same time play some tune in a different Unix process using "aplay"
(and ALSA playing quality is outstanding!). It is also possible
to do conference calls with gnomemeeting, however once in a while
the kernel will still freeze.

What never works: kernel will always freeze within a second
of reading from /dev/dsp0 or /dev/audio (e.g. cat /dev/dsp0).
Detailed configurations attached.

Notes: OSS driver from same kernel works fine for read or write
audio (albeit in simplex mode).
Freeze symptoms: Screen and cpu freeze, tty access
frozen and netwok unreachable as well.

This was reproduced on two different Dell CPi labptops.
Has anyone seen this or similar?

Attached are detailled configurations, versions etc.

Best Regards,

--
Alsau
http://well2u.com


------------------------------------------------------------------------
[ using generic kernel.org 2.4.19 build with gnu gcc 3.0.
Alsa 0.9 built with same compiler.
Independent builds on each machine.]

Versions for this test -- the latest dev versions:
alsa-driver-0.9.0rc5 alsa-lib-0.9.0rc5 alsa-utils-0.9.0rc5
(loaded driver without the "-card-").

Versions used using "snd-card-" prefix instead of "snd-"
(also using "index" and adding "snd_").
alsa-driver-0.5.12a alsa-utils-0.5.10 alsa-lib-0.5.10b
Same lockup results. (Just verifying this is not something
that was introduced with new development version...)

[root@alsatest 2.4.19]# lsmod
Module Size Used by
snd-cs4236 5552 0 (unused)
snd-cs4236-lib 10352 0 [snd-cs4236]
snd-opl3-lib 5408 0 [snd-cs4236]
snd-hwdep 3408 0 [snd-opl3-lib]
snd-mpu401-uart 2800 0 [snd-cs4236]
snd-rawmidi 12256 0 [snd-mpu401-uart]
snd-seq-device 3728 0 [snd-opl3-lib snd-rawmidi]
snd-cs4231-lib 13776 0 [snd-cs4236 snd-cs4236-lib]
snd-pcm 56864 0 [snd-cs4236-lib snd-cs4231-lib]
snd-timer 9824 0 [snd-opl3-lib snd-cs4231-lib snd-pcm]
snd 24096 0 [snd-cs4236 snd-cs4236-lib snd-opl3-lib snd-hwdep snd-mpu401-uart snd-rawmidi snd-seq-device snd-cs4231-lib snd-pcm snd-timer]
soundcore 3536 3 [snd]
xirc2ps_cs 12064 1 [root@alsatest 2.4.19]# arecord -l
card 0: Crystal_Audio [CS4237B], device 0: CS4231 [CS4237B]
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@alsatest 2.4.19]# [root@alsatest /root]# amixer
Simple mixer control 'Master Digital',0
Capabilities: volume pswitch cswitch
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 71
Front Left: 71 [100%] Playback [on] Capture [off] Front Right: 71 [100%] Playback [on] Capture [off] Simple mixer control '3D Control - Center',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%] Simple mixer control '3D Control - IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off] Simple mixer control '3D Control - Mono',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off] Simple mixer control '3D Control - Space',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%] Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off] Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right Limits: Playback 0 - 63 Front Left: Playback 63 [100%] [on] Front Right: Playback 63 [100%] [on] Simple mixer control 'Synth',0
Capabilities: volume pswitch cswitch
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 31
Front Left: 31 [100%] Playback [on] Capture [off] Front Right: 31 [100%] Playback [on] Capture [off] Simple mixer control 'Synth Capture Bypass',0
Capabilities: pswitch
Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'FM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right Limits: Playback 0 - 63 Front Left: Playback 63 [100%] [on] Front Right: Playback 63 [100%] [on] Simple mixer control 'Wavetable',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right Limits: Playback 0 - 63 Front Left: Playback 63 [100%] [on] Front Right: Playback 63 [100%] [on] Simple mixer control 'DSP',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right Limits: Playback 0 - 63 Front Left: Playback 63 [100%] [on] Front Right: Playback 63 [100%] [on] Simple mixer control 'Line',0
Capabilities: volume pswitch cswitch
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 31
Front Left: 31 [100%] Playback [on] Capture [off] Front Right: 31 [100%] Playback [on] Capture [off] Simple mixer control 'Line Capture Bypass',0
Capabilities: pswitch
Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'CD',0
Capabilities: volume pswitch cswitch
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 31
Front Left: 31 [100%] Playback [on] Capture [off] Front Right: 31 [100%] Playback [on] Capture [off] Simple mixer control 'Mic',0
Capabilities: volume pswitch cswitch
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 31
Front Left: 12 [39%] Playback [off] Capture [on] Front Right: 12 [39%] Playback [off] Capture [on] Simple mixer control 'Mic Playback Boost',0
Capabilities: pswitch
Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] Simple mixer control 'IEC958 Output CSBR',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off] Simple mixer control 'IEC958 Output Channel Status High',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 255
Mono: 0 [0%] Simple mixer control 'IEC958 Output Channel Status Low',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 127
Mono: 64 [50%] Simple mixer control 'IEC958 Output Enable',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off] Simple mixer control 'IEC958 Output User',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off] Simple mixer control 'IEC958 Output Validity',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off] Simple mixer control 'Mono',0
Capabilities: pvolume pvolume-joined pswitch
Playback channels: Front Left - Front Right Limits: Playback 0 - 15 Front Left: Playback 0 [0%] [off] Front Right: Playback 0 [0%] [off] Simple mixer control 'Mono Output',0
Capabilities: pswitch
Playback channels: Front Left - Front Right Front Left: Playback [off] Front Right: Playback [off] Simple mixer control 'Mono Playback Bypass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off] Simple mixer control 'Capture',0
Capabilities: cvolume
Capture channels: Front Left - Front Right Limits: Capture 0 - 15
Front Left: Capture 15 [100%] Front Right: Capture 15 [100%] Simple mixer control 'Capture Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right Limits: 0 - 3
Mono: 3 [100%] Front Left: Front Right: Simple mixer control 'Analog Loopback',0
Capabilities: cswitch
Capture channels: Front Left - Front Right Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'Digital Loopback',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right Limits: Playback 0 - 63 Front Left: Playback 0 [0%] [off] Front Right: Playback 0 [0%] [off] [root@alsatest /root]#




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to