Takashi Iwai wrote:
1) Using a Crystal cs4237B device with ALSA driversAt Sat, 30 Nov 2002 10:17:49 -0600, alsa user wrote:it sounds like a problem on OSS emulation. could you try to playback and capture at the same time _via OSS emulation_ ? it doesn't matter whether it's a single process or not. just run e.g. "play" and "rec" (both from sox) at the same time.using rec to record audio freezes the computer even without running play in the background. Apparently only "arecord" and "record" are stable way to record in this configuration. Anything else I should try? I have turned debugging on the kernel but not sure what to look for after a reboot in this case.ok, then please tell me the detail you're using. which kernel, which alsa version, which soundcard (or laptop)? do you mean "freeze" as a complete lock-up (typically, blinking LEDs)? or did you get any kernel oops or panic messages?
on Dell CPI laptop -- verified this card accurate from DELL
technical spec. It is also the card correctly loaded by alsa.
All options from alsamixer (2 dozens) are functional.
2) ALSA Versions for this test -- the latest dev versions at the time:
alsa-driver-0.9.0rc5 alsa-lib-0.9.0rc5 alsa-utils-0.9.0rc5
3) Kernel is generic 2.4.19 compiled with gcc-3.0 (same
for alsa)
Freeze symptoms: Screen and cpu freeze, tty access
frozen (cannot switch to another tty screen)
and netwok unreachable as well.
Do not see any oops or panic message.
3 LEDS are in ON OFF OFF state
(CPU, HD, Battery)
The network LED is still on, but it is NOT possible
to access laptop remotely.
There is NO hard-disk activity.
Original message config details follow:
------------------------------------------------------------------------
[ 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