You are not logged in.

#26 2017-05-09 21:30:24

ftom75
Member
Registered: 2017-05-04
Posts: 19

Re: USB DAC error (Chord 2Qute)

No matter what I set in the /etc/mpd.conf the message is always the same. I tried to comment out the full config file and I even tried to make syntax error in the config file but the response remains.
So I believe the speaker-test does not connected to the mpd.conf at all. I hope it helps to someone :-/

Offline

#27 2017-05-09 21:32:17

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: USB DAC error (Chord 2Qute)

Can you try aplay instead? These error messages from speaker-test are useless.

aplay /dev/zero -D hw:D2Qute -f S32_LE -c 2 -r 48k

This should work and play silence until you stop it with CTRL+C.

Offline

#28 2017-05-09 21:40:20

ftom75
Member
Registered: 2017-05-04
Posts: 19

Re: USB DAC error (Chord 2Qute)

Did not like the -r 48k (invalid argument) but I got this without it:

aplay /dev/zero -D hw:D2Qute -f S32_LE -c 2                                                                          ~
Playing raw data '/dev/zero' : Signed 32 bit Little Endian, Rate 8000 Hz, Stereo
Warning: rate is not accurate (requested = 8000Hz, got = 32000Hz)
         please, try the plug plugin 
aplay: set_params:1363: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S32_LE
SUBFORMAT:  STD
SAMPLE_BITS: 32
FRAME_BITS: 64
CHANNELS: 2
RATE: 32000
PERIOD_TIME: 125000
PERIOD_SIZE: 4000
PERIOD_BYTES: 32000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 16000
BUFFER_BYTES: 128000
TICK_TIME: 0

Offline

#29 2017-05-09 22:09:09

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: USB DAC error (Chord 2Qute)

Hmm, maybe smaller period/buffer size? See if adding --period-size=256 --buffer-size=512 will change anything.

If this doesn't work, do this: disconnect the DAC, start dmesg -w in another window, connect it back, try aplay. Post everything printed by dmesg when the DAC is connected back and when aplay tries to play.

Offline

#30 2017-05-09 22:20:46

ftom75
Member
Registered: 2017-05-04
Posts: 19

Re: USB DAC error (Chord 2Qute)

I get this (only the end of it, when I plugged the USB DAC back)

[ 3574.239723] xhci_hcd 0000:08:00.0: ERROR: unexpected command completion code 0x11.
[ 3574.239740] usb 5-1: Not enough bandwidth for altsetting 1
[ 3574.239744] usb 5-1: 2:1: usb_set_interface failed (-22)
[ 4206.555448] xhci_hcd 0000:08:00.0: ERROR: unexpected command completion code 0x11.
[ 4206.555465] usb 5-1: Not enough bandwidth for altsetting 1
[ 4206.555470] usb 5-1: 2:1: usb_set_interface failed (-22)
[ 4253.231410] usb 5-1: USB disconnect, device number 2
[ 4328.081574] usb 5-1: new high-speed USB device number 3 using xhci_hcd
[ 4328.224074] xhci_hcd 0000:08:00.0: ERROR: unexpected command completion code 0x11.
[ 4328.224091] usb 5-1: Not enough bandwidth for altsetting 1
[ 4328.228266] xhci_hcd 0000:08:00.0: ERROR: unexpected command completion code 0x11.
[ 4328.228283] usb 5-1: Not enough bandwidth for altsetting 1
[ 4328.233041] usb 5-1: Warning! Unlikely big volume range (=32767), cval->res is probably wrong.
[ 4328.233046] usb 5-1: [10] FU [PCM Playback Volume] ch = 2, val = -32767/0/1
[ 4328.237665] usb 5-1: Warning! Unlikely big volume range (=32767), cval->res is probably wrong.
[ 4328.237671] usb 5-1: [10] FU [PCM Playback Volume] ch = 1, val = -32767/0/1
[ 4329.164732] usb 5-1: USB disconnect, device number 3
[ 4329.451582] usb 5-1: new high-speed USB device number 4 using xhci_hcd
[ 4329.594095] xhci_hcd 0000:08:00.0: ERROR: unexpected command completion code 0x11.
[ 4329.594113] usb 5-1: Not enough bandwidth for altsetting 1
[ 4329.598253] xhci_hcd 0000:08:00.0: ERROR: unexpected command completion code 0x11.
[ 4329.598269] usb 5-1: Not enough bandwidth for altsetting 1
[ 4329.603067] usb 5-1: Warning! Unlikely big volume range (=32767), cval->res is probably wrong.
[ 4329.603072] usb 5-1: [10] FU [PCM Playback Volume] ch = 2, val = -32767/0/1
[ 4329.607689] usb 5-1: Warning! Unlikely big volume range (=32767), cval->res is probably wrong.
[ 4329.607695] usb 5-1: [10] FU [PCM Playback Volume] ch = 1, val = -32767/0/1
[ 4469.948231] xhci_hcd 0000:08:00.0: ERROR: unexpected command completion code 0x11.
[ 4469.948250] usb 5-1: Not enough bandwidth for altsetting 1
[ 4469.948255] usb 5-1: 2:1: usb_set_interface failed (-22)

Let me know if you like to see the whole file.

Offline

#31 2017-05-09 22:31:07

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: USB DAC error (Chord 2Qute)

This doesn't look right. Do you have any USB 2.0 ports on this machine to try or only 3.0?

You said it worked on Ubuntu. Was it the same machine? Do you still have this Ubuntu installation? What kernel version does it have?

Offline

#32 2017-05-09 22:47:23

ftom75
Member
Registered: 2017-05-04
Posts: 19

Re: USB DAC error (Chord 2Qute)

You are amazing!!! It works on the mobo's USB! But it's actually a halfway solution as I have to get it run on my custom made USB PCI Express card as this card has much better jitter.
Do you think that the USB PCI card does not installed properly?

Offline

#33 2017-05-10 12:54:41

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: USB DAC error (Chord 2Qute)

It can be anything from hardware issue with the USB PCI card to a kernel bug. Did it work correctly with Ubuntu or did you use other USB port at the time?

Offline

#34 2017-05-10 13:33:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: USB DAC error (Chord 2Qute)

ftom, it seems you hit report rather than reply:

ftom75 wrote:

It worked properly on Ubuntu (kernel 4.8 or 4.10) and still works fine on Windows 10 and Win 2016 server. Interestingly I could see the DAC throughout of the USB card so it works in a way.
I don't want to give it up as I believe I'm close to the finish line. What if I reinstall Ubuntu, can I find anything that I can copy to ARCH Linux?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#35 2017-05-10 13:35:39

ftom75
Member
Registered: 2017-05-04
Posts: 19

Re: USB DAC error (Chord 2Qute)

Trilby wrote:

ftom, it seems you hit report rather than reply:

ftom75 wrote:

It worked properly on Ubuntu (kernel 4.8 or 4.10) and still works fine on Windows 10 and Win 2016 server. Interestingly I could see the DAC throughout of the USB card so it works in a way.
I don't want to give it up as I believe I'm close to the finish line. What if I reinstall Ubuntu, can I find anything that I can copy to ARCH Linux?

Oh sorry and thanks :-)

Offline

#36 2017-05-11 12:38:47

mich41
Member
Registered: 2012-06-22
Posts: 796

Re: USB DAC error (Chord 2Qute)

Well, you could start with downgrading to some 4.8 or similar kernel from /var/cache/pacman/pkg. If you are lucky it's just a bug introduced in 4.10, if you are unlucky it may be a result of difference in kernel configs or patches between Arch and Ubuntu.

You probably don't need to install Ubuntu, but if you have the CD start it in "try ubuntu" mode, see if the DAC still works to make sure nothing bad happened to the PCI card in the mean time and (during playback) run

cat /proc/asound/card0/pcm0p/sub0/hw_params

to get a sample of some playback parameters which are guaranteed to be supported by hardware.

Offline

#37 2017-05-11 13:23:05

ftom75
Member
Registered: 2017-05-04
Posts: 19

Re: USB DAC error (Chord 2Qute)

Thanks Mich!

Offline

#38 2017-07-27 20:45:33

michaelvv
Member
Registered: 2017-07-25
Posts: 4

Re: USB DAC error (Chord 2Qute)

Hi Member.

I have the same Chord 2qute DAC , And I have tried this mpd setting on 3 different laptops without any problems..

https://bbs.archlinux.org/viewtopic.php … 5#p1726945

Running Arch Manjaro with a RT kernel 4.11.xx

I have a little DSD issue in mpd , but else it works very fine.

Offline

Board footer

Powered by FluxBB