2008/5/4, Paul Davis <paul(a)linuxaudiosystems.com>om>:
the thing to do is to
fire up aplay with a long audio file, then put the laptop into suspend.
if it comes back from suspend with working playback, its a JACK issue.
otherwise, its an ALSA card-specific driver issue.
that's crazy ... I'm only getting errors now, when trying to play
with aplay or alsaplayer (see bottom)
haven't had this errors in the past.
maybe my alsa-version is to new?
although the card is working with jack...
anything wrong with the options?
# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
# cat /proc/version
Linux version 2.6.21.5-rt18-b1 (root@mech) (gcc version 4.1.3 20070601
(prerelease) (Debian 4.1.2-12)) #1 SMP PREEMPT RT Wed Jun 27 17:06:15
CEST 2007
$ aplay -c 1 -r 48000 -D hw:1,0 ultra_test4.wav
Playing WAVE 'ultra_test4.wav' : Signed 24 bit Little Endian in
3bytes, Rate 48000 Hz, Mono
aplay: set_params:923: Channels count non available
$ aplay -D default:CARD=UA25 ultra_test4.wav
Playing WAVE 'ultra_test4.wav' : Signed 24 bit Little Endian in
3bytes, Rate 48000 Hz, Mono
Speicherzugriffsfehler (==memory access error)
$ alsaplayer -r -oalsa -d hw:1,0 ultra_test4.wav
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S24_3LE
SUBFORMAT: STD
SAMPLE_BITS: 24
FRAME_BITS: 48
CHANNELS: 2
RATE: 48000
PERIOD_TIME: [1000 1820438)
PERIOD_SIZE: [48 87381]
PERIOD_BYTES: [288 524286]
PERIODS: [2 1024]
BUFFER_TIME: [2000 3640875]
BUFFER_SIZE: [96 174762]
BUFFER_BYTES: [576 1048572]
TICK_TIME: 1000
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S24_3LE
SUBFORMAT: STD
SAMPLE_BITS: 24
FRAME_BITS: 48
CHANNELS: 2
RATE: 48000
PERIOD_TIME: [1000 1820438)
PERIOD_SIZE: [48 87381]
PERIOD_BYTES: [288 524286]
PERIODS: [2 1024]
BUFFER_TIME: [2000 3640875]
BUFFER_SIZE: [96 174762]
BUFFER_BYTES: [576 1048572]
TICK_TIME: 1000
failed to configure output device...trying OSS
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S24_3LE
SUBFORMAT: STD
SAMPLE_BITS: 24
FRAME_BITS: 48
CHANNELS: 2
RATE: 48000
PERIOD_TIME: [1000 1820438)
PERIOD_SIZE: [48 87381]
PERIOD_BYTES: [288 524286]
PERIODS: [2 1024]
BUFFER_TIME: [2000 3640875]
BUFFER_SIZE: [96 174762]
BUFFER_BYTES: [576 1048572]
TICK_TIME: 1000
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S24_3LE
SUBFORMAT: STD
SAMPLE_BITS: 24
FRAME_BITS: 48
CHANNELS: 2
RATE: 48000
PERIOD_TIME: [1000 1820438)
PERIOD_SIZE: [48 87381]
PERIOD_BYTES: [288 524286]
PERIODS: [2 1024]
BUFFER_TIME: [2000 3640875]
BUFFER_SIZE: [96 174762]
BUFFER_BYTES: [576 1048572]
TICK_TIME: 1000
failed to configure output device...trying OSS