Hi Frank,

That's strange. Can you try if you play music through mpd? AFAIK, mpd in Voyage MPD 0.7.0 should work on Ayre QB9 for 24/96.

I am curious if it is caused by the compatibility between alsa kernel land (i.e. driver) and userland. The kernel land is alsa 1.0.24 and userland is still 1.0.23. Current ubuntu has 1.0.24 already, but it is too incompatible to Debian squeeze.

Perhaps you can try aplay with verbose output:

# aplay /usr/share/sounds/alsa/Noise.wav  -v

And you may try some options in aplay as well:
    --disable-resample  disable automatic rate resample
    --disable-channels  disable automatic channel conversions
    --disable-format    disable automatic format conversions
    --disable-softvol   disable software volume control (softvol)

Regards,
Punky

On 4/12/2011 7:06 PM, Frank Lübeck wrote:
Dear voyage experts,

I'm trying to evaluate a new Ayre QB9 using an Alix 3D3 board with voyage
linux. But I don't get started. I first want to get the USB Audio 1.0
interface (up to 96/24) running. I'm using this board since quite some time
to feed a Trends Audio UD10.1 audio interface.

Pluging in the QB9 I expected to see "---" in its display, indicating
that it waits for input. But after showing the "---" less than a second
the display switches to "96", despite no sound is played.

I append below the output of some commands. These were on a the Alix with
the current voyage-mpd 0.7.0 (but it is the same with an older voyage
0.6.2). The UD10.1 works fine with the same setup and the Ayre plugged
into a netbook running Win XP also works as expected.

Can someone help? Am I overlooking something obvious?

Thanks in advance,

   Frank

-------------------------------------------------------------------
dmesg

[22244.590099] usb 1-1: new full speed USB device using ohci_hcd and address 4
[22244.853821] ALSA clock.c:227: 4:1:1: cannot get freq at ep 0x1

--------------------------------------------------------------------
cat /proc/asound/cards
  1 [Interface      ]: USB-Audio - Ayre USB Interface
                       Ayre Acoustics Ayre USB Interface at usb-0000:00:0f.4-1, 
full speed

--------------------------------------------------------------------
aplay -l

**** List of PLAYBACK Hardware Devices ****
card 1: Interface [Ayre USB Interface], device 0: USB Audio [USB Audio]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

--------------------------------------------------------------------
aplay -D hw:1,0 01.wav
Playing WAVE '01.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1053: Sample format non available
Available formats:
- S24_3LE

--------------------------------------------------------------------
aplay -D hw:1,0 01_24.wav

Playing WAVE '01_24.wav' : Signed 24 bit Little Endian in 3bytes, Rate 44100 
Hz, Stereo
aplay: set_params:1116: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S24_3LE
SUBFORMAT:  STD
SAMPLE_BITS: 24
FRAME_BITS: 48
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (125011 125012)
PERIOD_SIZE: 5513
PERIOD_BYTES: 33078
PERIODS: (3 4)
BUFFER_TIME: 500000
BUFFER_SIZE: 22050
BUFFER_BYTES: 132300
TICK_TIME: 0

--------------------------------------------------------------------
cat /proc/asound/card1/stream0

Ayre Acoustics Ayre USB Interface at usb-0000:00:0f.4-1, full speed : USB Audio

Playback:
   Status: Stop
   Interface 1
     Altset 1
     Format: S24_3LE
     Channels: 2
     Endpoint: 1 OUT (ASYNC)
     Rates: 44100, 48000, 88200, 96000

--------------------------------------------------------------------
cat /proc/asound/card1/pcm0p/sub0/*

closed
card: 1
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
closed
closed

--------------------------------------------------------------------
lsmod | grep snd

snd_usb_audio          60551  0
snd_pcm_oss            28471  0
snd_mixer_oss          10438  1 snd_pcm_oss
snd_pcm                48218  2 snd_usb_audio,snd_pcm_oss
snd_page_alloc          4897  1 snd_pcm
snd_hwdep               4106  1 snd_usb_audio
snd_usbmidi_lib        12562  1 snd_usb_audio
snd_seq_dummy           1003  0
snd_seq_oss            20221  0
snd_seq_midi            3368  0
snd_rawmidi            12535  2 snd_usbmidi_lib,snd_seq_midi
snd_seq_midi_event      3652  2 snd_seq_oss,snd_seq_midi
snd_seq                34606  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              12442  2 snd_pcm,snd_seq
snd_seq_device          3869  5 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    35961  13 
snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               3671  1 snd
usbcore                96701  6 
usbhid,snd_usb_audio,snd_usbmidi_lib,ohci_hcd,ehci_hcd

--------------------------------------------------------------------
lsusb -v

Bus 001 Device 004: ID 21b4:0130
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.00
   bDeviceClass            0 (Defined at Interface level)
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0        64
   idVendor           0x21b4
   idProduct          0x0130
   bcdDevice            1.71
   iManufacturer           1
   iProduct                2
   iSerial                 3
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength          134
     bNumInterfaces          3
     bConfigurationValue     1
     iConfiguration          0
     bmAttributes         0x80
       (Bus Powered)
     MaxPower              500mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           0
       bInterfaceClass         1 Audio
       bInterfaceSubClass      1 Control Device
       bInterfaceProtocol      0
       iInterface              7
       AudioControl Interface Descriptor:
         bLength                 9
         bDescriptorType        36
         bDescriptorSubtype      1 (HEADER)
         bcdADC               1.00
         wTotalLength           30
         bInCollection           1
         baInterfaceNr( 0)       1
       AudioControl Interface Descriptor:
         bLength                12
         bDescriptorType        36
         bDescriptorSubtype      2 (INPUT_TERMINAL)
         bTerminalID             1
         wTerminalType      0x0101 USB Streaming
         bAssocTerminal          0
         bNrChannels             2
         wChannelConfig     0x0003
           Left Front (L)
           Right Front (R)
         iChannelNames           0
         iTerminal               0
       AudioControl Interface Descriptor:
         bLength                 9
         bDescriptorType        36
         bDescriptorSubtype      3 (OUTPUT_TERMINAL)
         bTerminalID             6
         wTerminalType      0x0301 Speaker
         bAssocTerminal          0
         bSourceID               1
         iTerminal               0
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       0
       bNumEndpoints           0
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              9
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        1
       bAlternateSetting       1
       bNumEndpoints           2
       bInterfaceClass         1 Audio
       bInterfaceSubClass      2 Streaming
       bInterfaceProtocol      0
       iInterface              8
       AudioStreaming Interface Descriptor:
         bLength                 7
         bDescriptorType        36
         bDescriptorSubtype      1 (AS_GENERAL)
         bTerminalLink           1
         bDelay                  1 frames
         wFormatTag              1 PCM
       AudioStreaming Interface Descriptor:
         bLength                20
         bDescriptorType        36
         bDescriptorSubtype      2 (FORMAT_TYPE)
         bFormatType             1 (FORMAT_TYPE_I)
         bNrChannels             2
         bSubframeSize           3
         bBitResolution         24
         bSamFreqType            4 Discrete
         tSamFreq[ 0]        44100
         tSamFreq[ 1]        48000
         tSamFreq[ 2]        88200
         tSamFreq[ 3]        96000
       Endpoint Descriptor:
         bLength                 9
         bDescriptorType         5
         bEndpointAddress     0x01  EP 1 OUT
         bmAttributes            5
           Transfer Type            Isochronous
           Synch Type               Asynchronous
           Usage Type               Data
         wMaxPacketSize     0x0246  1x 582 bytes
         bInterval               1
         bRefresh                0
         bSynchAddress         129
         AudioControl Endpoint Descriptor:
           bLength                 7
           bDescriptorType        37
           bDescriptorSubtype      1 (EP_GENERAL)
           bmAttributes         0x01
             Sampling Frequency
           bLockDelayUnits         2 Decoded PCM samples
           wLockDelay              0 Decoded PCM samples
       Endpoint Descriptor:
         bLength                 9
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            1
           Transfer Type            Isochronous
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0003  1x 3 bytes
         bInterval               1
         bRefresh                1
         bSynchAddress           0
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        2
       bAlternateSetting       0
       bNumEndpoints           0
       bInterfaceClass       254 Application Specific Interface
       bInterfaceSubClass      1 Device Firmware Update
       bInterfaceProtocol      0
       iInterface             14
       Device Firmware Upgrade Interface Descriptor:
         bLength                             7
         bDescriptorType                    33
         bmAttributes                        7
           Will Not Detach
           Manifestation Tolerant
           Upload Supported
           Download Supported
         wDetachTimeout                    250 milliseconds
         wTransferSize                      64 bytes
cannot read device status, Timer expired (62)

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass            9 Hub
   bDeviceSubClass         0 Unused
   bDeviceProtocol         0 Full speed (or root) hub
   bMaxPacketSize0        64
   idVendor           0x1d6b Linux Foundation
   idProduct          0x0001 1.1 root hub
   bcdDevice            2.06
   iManufacturer           3 Linux 2.6.33.7-rt29-voyage ohci_hcd
   iProduct                2 OHCI Host Controller
   iSerial                 1 0000:00:0f.4
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength           25
     bNumInterfaces          1
     bConfigurationValue     1
     iConfiguration          0
     bmAttributes         0xe0
       Self Powered
       Remote Wakeup
     MaxPower                0mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           1
       bInterfaceClass         9 Hub
       bInterfaceSubClass      0 Unused
       bInterfaceProtocol      0 Full speed (or root) hub
       iInterface              0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            3
           Transfer Type            Interrupt
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0002  1x 2 bytes
         bInterval             255
Hub Descriptor:
   bLength               9
   bDescriptorType      41
   nNbrPorts             4
   wHubCharacteristic 0x0002
     No power switching (usb 1.0)
     Ganged overcurrent protection
   bPwrOn2PwrGood        3 * 2 milli seconds
   bHubContrCurrent      0 milli Ampere
   DeviceRemovable    0x00
   PortPwrCtrlMask    0xff
  Hub Port Status:
    Port 1: 0000.0103 power enable connect
    Port 2: 0000.0100 power
    Port 3: 0000.0100 power
    Port 4: 0000.0100 power
Device Status:     0x0003
   Self Powered
   Remote Wakeup Enabled


_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux


--
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
  - Voyage Linux (http://linux.voyage.hk)
  - Voyage ONE   (http://linux.voyage.hk/voyage-one)
  - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
* Voyage Store   (http://store.voyage.hk)



_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to