Re: [LAU] alsaplayer error using USB Audio DAC

From: Roger Weinheimer <rweinheimer@email-addr-hidden>
Date: Wed Aug 07 2013 - 12:47:34 EEST

Perhaps I should mention that the MiniG4 is running headless.
On Aug 6, 2013, at 8:40 PM, Roger Weinheimer wrote:

> 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:~$<?xml version="1.0" e

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Thu Aug 8 00:15:01 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 08 2013 - 00:15:01 EEST