Rutger et al;
On Thu, Dec 26, 2013 at 7:03 AM, Rutger Noot <rutger.n...@laposte.net>wrote:
> Dear all,
>
> I'm not making much progress, didn't find any way to get 24 bit
> resolution working properly on this hardware (TEAC UD-H01). The only
> indication as to what might be going wrong comes from dmesg:
>
> [ 253.703096] ALSA sound/usb/pcm.c:1463 delay: estimated 0, actual 182
> [ 255.144077] ALSA sound/usb/pcm.c:1463 delay: estimated 0, actual 182
> [ 255.184079] ALSA sound/usb/pcm.c:1463 delay: estimated 0, actual 183
>
> (when playing 88.2/24). I didn't see any of this on a 24bits, 96kHz
> file, but the cracking is the same.
>
> Another warning message (when loading the driver):
>
> Dec 26 14:22:37 polyphemus kernel: [ 2.135461] usb 3-2: new
> high-speed USB device number 2 using xhci_hcd
> Dec 26 14:22:37 polyphemus kernel: [ 2.149885] usb 3-2: config 1 has
> an invalid interface number: 3 but max is 2
> Dec 26 14:22:37 polyphemus kernel: [ 2.149890] usb 3-2: config 1 has
> an invalid interface number: 3 but max is 2
> Dec 26 14:22:37 polyphemus kernel: [ 2.149892] usb 3-2: config 1 has
> an invalid interface number: 3 but max is 2
> Dec 26 14:22:37 polyphemus kernel: [ 2.149893] usb 3-2: config 1 has
> no interface number 1
>
> But the device still works fine in 16bits mode.
>
This reminds me of my early experiences with a balky USB audio device.
Unfortunately I don't really have a good idea of what to do at this point.
Maybe Daniel or Torstein can help? I'm re-including your other diagnostic
info here below
(I am talking about card 1)
> ==============
>
> $ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: PCH [HDA Intel PCH], device 0: 92HD90BXX Analog [92HD90BXX Analog]
> Subdevices: 0/1
> Subdevice #0: subdevice #0
> 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 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 1: DEVICE [TEAC USB AUDIO DEVICE], device 0: USB Audio [USB Audio]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> ==========================
>
> $ aplay -L
> null
> Discard all samples (playback) or generate zero samples (capture)
> pulse
> PulseAudio Sound Server
> default
> Default ALSA Output (currently PulseAudio Sound Server)
> sysdefault:CARD=PCH
> HDA Intel PCH, 92HD90BXX Analog
> Default Audio Device
> front:CARD=PCH,DEV=0
> HDA Intel PCH, 92HD90BXX Analog
> Front speakers
> surround40:CARD=PCH,DEV=0
> HDA Intel PCH, 92HD90BXX Analog
> 4.0 Surround output to Front and Rear speakers
> surround41:CARD=PCH,DEV=0
> HDA Intel PCH, 92HD90BXX Analog
> 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=PCH,DEV=0
> HDA Intel PCH, 92HD90BXX Analog
> 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=PCH,DEV=0
> HDA Intel PCH, 92HD90BXX Analog
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=PCH,DEV=0
> HDA Intel PCH, 92HD90BXX Analog
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> hdmi:CARD=PCH,DEV=0
> HDA Intel PCH, HDMI 0
> HDMI Audio Output
> hdmi:CARD=PCH,DEV=1
> HDA Intel PCH, HDMI 1
> HDMI Audio Output
> hdmi:CARD=PCH,DEV=2
> HDA Intel PCH, HDMI 2
> HDMI Audio Output
> sysdefault:CARD=DEVICE
> TEAC USB AUDIO DEVICE, USB Audio
> Default Audio Device
> front:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> Front speakers
> surround40:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 4.0 Surround output to Front and Rear speakers
> surround41:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> surround71:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> iec958:CARD=DEVICE,DEV=0
> TEAC USB AUDIO DEVICE, USB Audio
> IEC958 (S/PDIF) Digital Audio Output
>
> ==============================
>
> $ lsusb
> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth Module
> Bus 001 Device 004: ID 1bcf:2980 Sunplus Innovation Technology Inc.
> Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
> Bus 002 Device 005: ID 0644:8038 TEAC Corp.
> Bus 002 Device 004: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure
> Applications Processor
>
> ==============================
> =========
>
> $sudo lsusb -v -d0644:8038
>
> Bus 002 Device 005: ID 0644:8038 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 0x8038
> bcdDevice 0.03
> iManufacturer 1 TEAC
> iProduct 2 TEAC USB AUDIO DEVICE
> iSerial 0
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 220
> bNumInterfaces 3
> bConfigurationValue 1
> iConfiguration 0
> bmAttributes 0x80
> (Bus Powered)
> MaxPower 500mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> 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.00
> bCountryCode 0 Not supported
> bNumDescriptors 1
> bDescriptorType 34 Report
> wDescriptorLength 26
> Report Descriptors:
> ** UNAVAILABLE **
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x81 EP 1 IN
> bmAttributes 3
> Transfer Type Interrupt
> Synch Type None
> Usage Type Data
> wMaxPacketSize 0x0020 1x 32 bytes
> bInterval 6
> Interface Association:
> bLength 8
> bDescriptorType 11
> bFirstInterface 2
> bInterfaceCount 2
> bFunctionClass 1 Audio
> bFunctionSubClass 0
> bFunctionProtocol 32
> iFunction 4 TEAC USB HS ASYNC AUDIO DEVICE
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 2
> bAlternateSetting 0
> bNumEndpoints 0
> bInterfaceClass 1 Audio
> bInterfaceSubClass 1 Control Device
> bInterfaceProtocol 32
> iInterface 4 TEAC USB HS ASYNC AUDIO DEVICE
> AudioControl Interface Descriptor:
> bLength 9
> bDescriptorType 36
> bDescriptorSubtype 1 (HEADER)
> bcdADC 2.00
> bCategory 10
> wTotalLength 54
> bmControl 0x00
> AudioControl Interface Descriptor:
> bLength 8
> bDescriptorType 36
> bDescriptorSubtype 10 (CLOCK_SOURCE)
> bClockID 12
> bmAttributes 0x07 Internal programmable Clock (synced to
> SOF)
> bmControls 0x07
> Clock Frequency Control (read/write)
> Clock Validity Control (read-only)
> bAssocTerminal 0
> iClockSource 0
> AudioControl Interface Descriptor:
> bLength 8
> bDescriptorType 36
> bDescriptorSubtype 10 (CLOCK_SOURCE)
> bClockID 13
> bmAttributes 0x07 Internal programmable Clock (synced to
> SOF)
> bmControls 0x07
> Clock Frequency Control (read/write)
> Clock Validity Control (read-only)
> bAssocTerminal 0
> iClockSource 0
> AudioControl Interface Descriptor:
> bLength 17
> bDescriptorType 36
> bDescriptorSubtype 2 (INPUT_TERMINAL)
> bTerminalID 4
> wTerminalType 0x0101 USB Streaming
> bAssocTerminal 0
> bCSourceID 12
> bNrChannels 2
> bmChannelConfig 0x00000003
> Front Left (FL)
> Front Right (FR)
> bmControls 0x0000
> iChannelNames 0
> iTerminal 0
> AudioControl Interface Descriptor:
> bLength 12
> bDescriptorType 36
> bDescriptorSubtype 3 (OUTPUT_TERMINAL)
> bTerminalID 3
> wTerminalType 0x0605 SPDIF interface
> bAssocTerminal 0
> bSourceID 4
> bCSourceID 12
> bmControls 0x0000
> iTerminal 0
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 3
> bAlternateSetting 0
> bNumEndpoints 0
> bInterfaceClass 1 Audio
> bInterfaceSubClass 2 Streaming
> bInterfaceProtocol 32
> iInterface 0
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 3
> bAlternateSetting 1
> bNumEndpoints 2
> bInterfaceClass 1 Audio
> bInterfaceSubClass 2 Streaming
> bInterfaceProtocol 32
> iInterface 0
> AudioStreaming Interface Descriptor:
> bLength 16
> bDescriptorType 36
> bDescriptorSubtype 1 (AS_GENERAL)
> bTerminalLink 4
> bmControls 0x00
> bFormatType 1
> bmFormats 1
> PCM
> bNrChannels 2
> bmChannelConfig 0x00000003
> Front Left (FL)
> Front Right (FR)
> iChannelNames 0
> AudioStreaming Interface Descriptor:
> bLength 6
> bDescriptorType 36
> bDescriptorSubtype 2 (FORMAT_TYPE)
> bFormatType 1 (FORMAT_TYPE_I)
> bSubslotSize 2
> bBitResolution 16
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 5
> Transfer Type Isochronous
> Synch Type Asynchronous
> Usage Type Data
> wMaxPacketSize 0x0068 1x 104 bytes
> bInterval 1
> AudioControl Endpoint Descriptor:
> bLength 8
> bDescriptorType 37
> bDescriptorSubtype 1 (EP_GENERAL)
> bmAttributes 0x00
> bmControls 0x00
> bLockDelayUnits 2 Decoded PCM samples
> wLockDelay 2
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x84 EP 4 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 3
> bAlternateSetting 2
> bNumEndpoints 2
> bInterfaceClass 1 Audio
> bInterfaceSubClass 2 Streaming
> bInterfaceProtocol 32
> iInterface 0
> AudioStreaming Interface Descriptor:
> bLength 16
> bDescriptorType 36
> bDescriptorSubtype 1 (AS_GENERAL)
> bTerminalLink 4
> bmControls 0x00
> bFormatType 1
> bmFormats 1
> PCM
> bNrChannels 2
> bmChannelConfig 0x00000003
> Front Left (FL)
> Front Right (FR)
> iChannelNames 0
> AudioStreaming Interface Descriptor:
> bLength 6
> bDescriptorType 36
> bDescriptorSubtype 2 (FORMAT_TYPE)
> bFormatType 1 (FORMAT_TYPE_I)
> bSubslotSize 3
> bBitResolution 24
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 EP 3 OUT
> bmAttributes 5
> Transfer Type Isochronous
> Synch Type Asynchronous
> Usage Type Data
> wMaxPacketSize 0x009c 1x 156 bytes
> bInterval 1
> AudioControl Endpoint Descriptor:
> bLength 8
> bDescriptorType 37
> bDescriptorSubtype 1 (EP_GENERAL)
> bmAttributes 0x00
> bmControls 0x00
> bLockDelayUnits 2 Decoded PCM samples
> wLockDelay 2
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x84 EP 4 IN
> bmAttributes 17
> Transfer Type Isochronous
> Synch Type None
> Usage Type Feedback
> wMaxPacketSize 0x0004 1x 4 bytes
> bInterval 4
> 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)
>
--
Chris Hermansen · clhermansen "at" gmail "dot" com
C'est ma façon de parler.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user