[LAU] alsaplayer error using USB Audio DAC

Roger Weinheimer rweinheimer at yahoo.com
Wed Aug 7 03:40:39 UTC 2013


Hi All,

I'm an alsa novice with a barely surface knowledge of alsa, and I could use some help troubleshooting a problem. I am connecting a Mac Mini (ppc) running the following to a Rega DAC.

miniG4:~$ cat /etc/debian_version 
6.0.7
miniG4:~$ uname -a
Linux miniG4 2.6.32-5-powerpc #1 Fri May 10 08:12:18 UTC 2013 ppc GNU/Linux
miniG4:~$ 

Package: alsa-base                       
Version: 1.0.23+dfsg-2

Package: alsa-utils                      
Version: 1.0.23-3

Package: alsaplayer-common               
Version: 0.99.80-5+b1

~/.asoundrc 
pcm.!default {
	type hw
	card 1
}

ctl.!default {
	type hw           
	card 1
}

/var/lib/alsa/asound.state
state.SoundByLayout {
…
}
state.default {
	control.1 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'PCM Playback Switch'
		value true
	}
	control.2 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 128'
		comment.dbmin 0
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 0
		value.1 0
	}
}

I can play audio files through the AppleOnbdAudio - SoundByLayout analog port on the Mini, but when I try to play through USB port, I get the following error. I've peeked into other files, like /proc/asound/*, but I don't really know what to look for. Any pointers would be appreciated short of trying a different Linux distro. The man that sold me the DAC duplicated my system on a G4 MacBook(?) connected to an identical Rega DAC and got it working with relatively little effort.

I would be happy to provide additional information at your request. Thanks for your patience.

miniG4:~$ alsaplayer flac/ripit/B/Beatles/Let_It_Be..._Naked/10_Across_The_Universe.flac 
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: [16 32]
CHANNELS: [1 2]
RATE: [32000 48000]
PERIOD_TIME: [1000 8192000]
PERIOD_SIZE: [32 262144]
PERIOD_BYTES: [64 524288]
PERIODS: [2 1024]
BUFFER_TIME: (1333 16384000]
BUFFER_SIZE: [64 524288]
BUFFER_BYTES: [128 1048576]
TICK_TIME: ALL
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: [16 32]
CHANNELS: [1 2]
RATE: [32000 48000]
PERIOD_TIME: [1000 8192000]
PERIOD_SIZE: [32 262144]
PERIOD_BYTES: [64 524288]
PERIODS: [2 1024]
BUFFER_TIME: (1333 16384000]
BUFFER_SIZE: [64 524288]
BUFFER_BYTES: [128 1048576]
TICK_TIME: ALL
failed to configure output device...trying OSS
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: [16 32]
CHANNELS: [1 2]
RATE: [32000 48000]
PERIOD_TIME: [1000 8192000]
PERIOD_SIZE: [32 262144]
PERIOD_BYTES: [64 524288]
PERIODS: [2 1024]
BUFFER_TIME: (1333 16384000]
BUFFER_SIZE: [64 524288]
BUFFER_BYTES: [128 1048576]
TICK_TIME: ALL
error on set_format SND_PCM_FORMAT_S16
Unavailable hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: [16 32]
CHANNELS: [1 2]
RATE: [32000 48000]
PERIOD_TIME: [1000 8192000]
PERIOD_SIZE: [32 262144]
PERIOD_BYTES: [64 524288]
PERIODS: [2 1024]
BUFFER_TIME: (1333 16384000]
BUFFER_SIZE: [64 524288]
BUFFER_BYTES: [128 1048576]
TICK_TIME: ALL
failed to configure output device...trying OSS
miniG4:~$


More information about the Linux-audio-user mailing list