Last active
December 22, 2015 00:29
-
-
Save andrewgdunn/6389526 to your computer and use it in GitHub Desktop.
If you stumble across this and either have a solution or want to ask more questions... please contact me via email: storrgie at gmail dot com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit: TEAC UD-501 on Fedora 19 with MPD 0.17.3 works perfectly. | |
I think it might have been the commit in kernel 3.10.7 | |
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.7 | |
============================================== | |
TEAC UD-501. With MPD on Ubuntu (Server 12.04.2) with ALSA version 1.0.25 with MPD version 0.18 | |
For PCM: | |
When changing to tracks with different sampling frequencies the playback has a lot of artifacts and either | |
plays veryquickly or very slow. Pausing/Stopping and starting playback again seems to resolve this issue. | |
For DSD: | |
Changing to another DSD track while currently playing a DSD track results in a very loud pop sound. If | |
you Pause/Stop the playback then change tracks there is no pop. | |
Overall, I'm a bit upset with this device. I had found a post online saying that it was an XMOS | |
implementation which I've come to respect pretty highly. I suspect this is using the same usb to i2s system | |
as Schiit is using in their DAC line (which I've had similar problems with). If you stick to PCM and stick | |
to a single sample rate then you wont have artifacts... but if you want to show off your system and you have | |
a smattering of different sample rate tracks to impress your friend with, be prepared to apologize to them | |
as this thing farts in their ears. | |
Edit: | |
Found out that this isn't an XMOS implementation: | |
http://hifiduino.wordpress.com/2013/04/27/teac-usb-interface/ | |
============================================== | |
= MPD CONF | |
============================================== | |
audio_output { | |
type "alsa" | |
name "TEAC UD-501" | |
device "hw:1,0" | |
dsd_usb "yes" | |
} | |
============================================== | |
agd@apollo:~$ aplay -l | |
**** List of PLAYBACK Hardware Devices **** | |
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] | |
Subdevices: 1/1 | |
Subdevice #0: subdevice #0 | |
card 1: UD501 [TEAC UD-501], device 0: USB Audio [USB Audio] | |
Subdevices: 0/1 | |
Subdevice #0: subdevice #0 | |
agd@apollo:~$ uname -r | |
3.5.0-37-generic | |
agd@apollo:~$ car /proc/asound/version | |
Advanced Linux Sound Architecture Driver Version 1.0.25. | |
agd@apollo:~$ mpd --version | |
mpd (MPD: Music Player Daemon) 0.18~git | |
Copyright (C) 2003-2007 Warren Dukes <[email protected]> | |
Copyright (C) 2008-2012 Max Kellermann <[email protected]> | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
Decoders plugins: | |
[mad] mp3 mp2 | |
[vorbis] ogg oga | |
[oggflac] ogg oga | |
[flac] flac | |
[sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2 | |
[audiofile] wav au aiff aif | |
[dsdiff] dff | |
[dsf] dsf | |
[faad] aac | |
[wavpack] wv | |
[sidplay] sid mus str prg P00 | |
[wildmidi] mid | |
[ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav webm wma wmv wsaud wsvga wv wve | |
[gme] ay gbs gym hes kss nsf nsfe sap spc vgm vgz | |
[pcm] | |
Output plugins: | |
shout null fifo pipe alsa ao oss openal pulse jack httpd recorder | |
Encoder plugins: | |
null vorbis lame wave flac | |
Input plugins: | |
file curl ffmpeg mms | |
Playlist plugins: | |
extm3u m3u xspf pls asx rss lastfm cue cue | |
Protocols: | |
file:// http:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps:// | |
agd@apollo:~$ sudo lsusb -s 006 -v | |
Bus 002 Device 006: ID 0644:8043 TEAC Corp. | |
Device Descriptor: | |
bLength 18 | |
bDescriptorType 1 | |
bcdUSB 2.00 | |
bDeviceClass 239 Miscellaneous Device | |
bDeviceSubClass 2 ? | |
bDeviceProtocol 1 Interface Association | |
bMaxPacketSize0 64 | |
idVendor 0x0644 TEAC Corp. | |
idProduct 0x8043 | |
bcdDevice 1.00 | |
iManufacturer 1 TEAC Corporation | |
iProduct 2 TEAC UD-501 | |
iSerial 0 | |
bNumConfigurations 1 | |
Configuration Descriptor: | |
bLength 9 | |
bDescriptorType 2 | |
wTotalLength 238 | |
bNumInterfaces 3 | |
bConfigurationValue 1 | |
iConfiguration 0 | |
bmAttributes 0x80 | |
(Bus Powered) | |
MaxPower 300mA | |
Interface Association: | |
bLength 8 | |
bDescriptorType 11 | |
bFirstInterface 0 | |
bInterfaceCount 2 | |
bFunctionClass 1 Audio | |
bFunctionSubClass 0 | |
bFunctionProtocol 32 | |
iFunction 0 | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 0 | |
bAlternateSetting 0 | |
bNumEndpoints 0 | |
bInterfaceClass 1 Audio | |
bInterfaceSubClass 1 Control Device | |
bInterfaceProtocol 32 | |
iInterface 4 TEAC USB AUDIO DEVICE | |
AudioControl Interface Descriptor: | |
bLength 9 | |
bDescriptorType 36 | |
bDescriptorSubtype 1 (HEADER) | |
bcdADC 2.00 | |
bCategory 8 | |
wTotalLength 72 | |
bmControl 0x00 | |
AudioControl Interface Descriptor: | |
bLength 8 | |
bDescriptorType 36 | |
bDescriptorSubtype 10 (CLOCK_SOURCE) | |
bClockID 41 | |
bmAttributes 0x03 Internal programmable Clock | |
bmControls 0x07 | |
Clock Frequency Control (read/write) | |
Clock Validity Control (read-only) | |
bAssocTerminal 0 | |
iClockSource 0 | |
AudioControl Interface Descriptor: | |
bLength 8 | |
bDescriptorType 36 | |
bDescriptorSubtype 11 (CLOCK_SELECTOR) | |
bUnitID 40 | |
bNrInPins 1 | |
baCSourceID( 0) 41 | |
bmControls 0x03 | |
Clock Selector Control (read/write) | |
iClockSelector 0 | |
AudioControl Interface Descriptor: | |
bLength 17 | |
bDescriptorType 36 | |
bDescriptorSubtype 2 (INPUT_TERMINAL) | |
bTerminalID 2 | |
wTerminalType 0x0101 USB Streaming | |
bAssocTerminal 0 | |
bCSourceID 40 | |
bNrChannels 2 | |
bmChannelConfig 0x00000000 | |
bmControls 0x0000 | |
iChannelNames 0 | |
iTerminal 0 | |
AudioControl Interface Descriptor: | |
bLength 18 | |
bDescriptorType 36 | |
bDescriptorSubtype 6 (FEATURE_UNIT) | |
bUnitID 10 | |
bSourceID 2 | |
bmaControls( 0) 0x00000003 | |
Mute Control (read/write) | |
bmaControls( 1) 0x0000000c | |
Volume Control (read/write) | |
bmaControls( 2) 0x0000000c | |
Volume Control (read/write) | |
iFeature 0 | |
AudioControl Interface Descriptor: | |
bLength 12 | |
bDescriptorType 36 | |
bDescriptorSubtype 3 (OUTPUT_TERMINAL) | |
bTerminalID 20 | |
wTerminalType 0x0602 Digital Audio Interface | |
bAssocTerminal 0 | |
bSourceID 10 | |
bCSourceID 41 | |
bmControls 0x0000 | |
iTerminal 0 | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 1 | |
bAlternateSetting 0 | |
bNumEndpoints 0 | |
bInterfaceClass 1 Audio | |
bInterfaceSubClass 2 Streaming | |
bInterfaceProtocol 32 | |
iInterface 4 TEAC USB AUDIO DEVICE | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 1 | |
bAlternateSetting 1 | |
bNumEndpoints 2 | |
bInterfaceClass 1 Audio | |
bInterfaceSubClass 2 Streaming | |
bInterfaceProtocol 32 | |
iInterface 4 TEAC USB AUDIO DEVICE | |
AudioStreaming Interface Descriptor: | |
bLength 16 | |
bDescriptorType 36 | |
bDescriptorSubtype 1 (AS_GENERAL) | |
bTerminalLink 2 | |
bmControls 0x00 | |
bFormatType 1 | |
bmFormats 1 | |
PCM | |
bNrChannels 2 | |
bmChannelConfig 0x00000000 | |
iChannelNames 0 | |
AudioStreaming Interface Descriptor: | |
bLength 6 | |
bDescriptorType 36 | |
bDescriptorSubtype 2 (FORMAT_TYPE) | |
bFormatType 1 (FORMAT_TYPE_I) | |
bSubslotSize 4 | |
bBitResolution 24 | |
Endpoint Descriptor: | |
bLength 7 | |
bDescriptorType 5 | |
bEndpointAddress 0x01 EP 1 OUT | |
bmAttributes 5 | |
Transfer Type Isochronous | |
Synch Type Asynchronous | |
Usage Type Data | |
wMaxPacketSize 0x0400 1x 1024 bytes | |
bInterval 1 | |
AudioControl Endpoint Descriptor: | |
bLength 8 | |
bDescriptorType 37 | |
bDescriptorSubtype 1 (EP_GENERAL) | |
bmAttributes 0x00 | |
bmControls 0x00 | |
bLockDelayUnits 0 Undefined | |
wLockDelay 0 | |
Endpoint Descriptor: | |
bLength 7 | |
bDescriptorType 5 | |
bEndpointAddress 0x81 EP 1 IN | |
bmAttributes 17 | |
Transfer Type Isochronous | |
Synch Type None | |
Usage Type Feedback | |
wMaxPacketSize 0x0004 1x 4 bytes | |
bInterval 4 | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 1 | |
bAlternateSetting 2 | |
bNumEndpoints 2 | |
bInterfaceClass 1 Audio | |
bInterfaceSubClass 2 Streaming | |
bInterfaceProtocol 32 | |
iInterface 4 TEAC USB AUDIO DEVICE | |
AudioStreaming Interface Descriptor: | |
bLength 16 | |
bDescriptorType 36 | |
bDescriptorSubtype 1 (AS_GENERAL) | |
bTerminalLink 2 | |
bmControls 0x00 | |
bFormatType 1 | |
bmFormats 1 | |
PCM | |
bNrChannels 2 | |
bmChannelConfig 0x00000000 | |
iChannelNames 0 | |
AudioStreaming Interface Descriptor: | |
bLength 6 | |
bDescriptorType 36 | |
bDescriptorSubtype 2 (FORMAT_TYPE) | |
bFormatType 1 (FORMAT_TYPE_I) | |
bSubslotSize 4 | |
bBitResolution 32 | |
Endpoint Descriptor: | |
bLength 7 | |
bDescriptorType 5 | |
bEndpointAddress 0x01 EP 1 OUT | |
bmAttributes 5 | |
Transfer Type Isochronous | |
Synch Type Asynchronous | |
Usage Type Data | |
wMaxPacketSize 0x0400 1x 1024 bytes | |
bInterval 1 | |
AudioControl Endpoint Descriptor: | |
bLength 8 | |
bDescriptorType 37 | |
bDescriptorSubtype 1 (EP_GENERAL) | |
bmAttributes 0x00 | |
bmControls 0x00 | |
bLockDelayUnits 0 Undefined | |
wLockDelay 0 | |
Endpoint Descriptor: | |
bLength 7 | |
bDescriptorType 5 | |
bEndpointAddress 0x81 EP 1 IN | |
bmAttributes 17 | |
Transfer Type Isochronous | |
Synch Type None | |
Usage Type Feedback | |
wMaxPacketSize 0x0004 1x 4 bytes | |
bInterval 4 | |
Interface Descriptor: | |
bLength 9 | |
bDescriptorType 4 | |
bInterfaceNumber 2 | |
bAlternateSetting 0 | |
bNumEndpoints 1 | |
bInterfaceClass 3 Human Interface Device | |
bInterfaceSubClass 0 No Subclass | |
bInterfaceProtocol 0 None | |
iInterface 0 | |
HID Device Descriptor: | |
bLength 9 | |
bDescriptorType 33 | |
bcdHID 1.10 | |
bCountryCode 0 Not supported | |
bNumDescriptors 1 | |
bDescriptorType 34 Report | |
wDescriptorLength 35 | |
Report Descriptors: | |
** UNAVAILABLE ** | |
Endpoint Descriptor: | |
bLength 7 | |
bDescriptorType 5 | |
bEndpointAddress 0x84 EP 4 IN | |
bmAttributes 3 | |
Transfer Type Interrupt | |
Synch Type None | |
Usage Type Data | |
wMaxPacketSize 0x0008 1x 8 bytes | |
bInterval 9 | |
Device Qualifier (for other device speed): | |
bLength 10 | |
bDescriptorType 6 | |
bcdUSB 2.00 | |
bDeviceClass 239 Miscellaneous Device | |
bDeviceSubClass 2 ? | |
bDeviceProtocol 1 Interface Association | |
bMaxPacketSize0 64 | |
bNumConfigurations 1 | |
Device Status: 0x0000 | |
(Bus Powered) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment