No sound from DAC in Matrix M-Stage HPA-1 (USB)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello ALSA users,

I am having trouble with getting sound out of a built-in DAC in my Matrix M-Stage HPA-1 (USB) (http://www.matrix-digi.com/en/products/8/index.html) The analog amplifier part of this device works well, but I am unable to make the USB DAC work.

The device identifies as:

$ lsusb
Bus 003 Device 002: ID 04d8:feea Microchip Technology, Inc. 

$ aplay -l
card 1: AUDIO [MATRIX AUDIO], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ cat /proc/asound/card1/stream0 
Texas Instruments MATRIX AUDIO at usb-0000:03:00.0-1, full speed : USB Audio

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

Outputs from aplay -L and lsusb -v are attached.

The problem is that I can not get any sound, not even bad quality / cracking / noise from this device when its input source is set to the DAC. And there is not much error or warning messages anywhere that I have looked (dmesg, /var/log/syslog, /var/log/kern.log). Everything seems to be working perfectly (except for one unclear message in the log - described below). Yet, I still get no sound.

I am using the newest Ubuntu and I have tried to use aplay to debug what is going on. I have done:
# echo 1 > /proc/asound/card1/pcm0p/xrun_debug
and then
$ aplay -D hw:1 sample.wav 
Playing WAVE 'sample.wav' : Signed 24 bit Little Endian in 3bytes, Rate 44100 Hz, Stereo
$ aplay -D hw:1 sample2.wav 
Playing WAVE 'sample2.wav' : Signed 24 bit Little Endian in 3bytes, Rate 96000 Hz, Stereo

Both files simply played... but there was this line in /var/log/syslog:

kernel: [ 7067.190242] 2:1:1: cannot get freq at ep 0x1

It appeared every time I have started the playback, but the file just kept playing. There were no errors from aplay and no more error messages in syslog, but no sound as well.

Then I have tried a different sample format, just to check what the device will do if it is supplied with audio in a format it does not understand.
$ aplay -D hw:1 sample3.wav 
Playing WAVE 'sample3.wav' : Signed 32 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:1233: Sample format non available
Available formats:
- S24_3LE

That was expected, because this DAC only supports the above mentioned sample format. However, I would expect aplay to try and convert sample formats by default ... Anyway ... that does not matter here.

What matters is that I do not know what to do next. From the software point of view, almost everything seems to be working perfectly. But there is no sound, ... so something must be wrong.

I have been thinking about debugging the usb communication somehow. It would be worth trying to set various parameters / frame sizes / timings / etc ... and see what has changed ... But I do not know much about that - I do not even know where to start. So, I have decided to try to ask here.

Can anyone provide some advice / guidance on how to debug this issue?

Thank you very much in advance!

Sincerely
Peter Basista

Attachment: lsusb-v
Description: Binary data

Attachment: aplay-L
Description: Binary data

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux