Hey Scott
Have you tried resetting everything by unplugging from power for a couple minutes.
Unplug router/modem, power ethernet adapters, and servers for couple minutes.
Two servers is not a high sampling, but since both are experiencing the same issue, it's possible it's their network connection.
Vince
Vince:
Yes, you may be right. I just connected one of the servers directly to the router and, naturally, it booted up fine. It hung when reinserted in its usual location.
I'll start by resetting the power ethernet adapters (again) but will let them power down for a while longer.
jnorris:
I'm sad to say I'm somehow gratified that it's not just me.
Regards,
Scott
Hi, has someone used shairport plugin to stream from an appletv2?
If so could you help me with the settings, I get daphile to show the stream on the player but no sound and it just go to "stop", if I hit play it just "stop" immediately, played a little with settings but really don't know what I´m doing...
Streaming from my Macbook works fine.
Thanks!
If so could you help me with the settings, I get daphile to show the stream on the player but no sound and it just go to "stop", if I hit play it just "stop" immediately, played a little with settings but really don't know what I´m doing...
Streaming from my Macbook works fine.
Thanks!
Cambridge Audio CXA80
Hello,
I own Cambridge Audio CXA80 with USB XMOS port connected to Daphile (Lenovo ThinkCentre M58) with an internal hard drive. Everything works fine.
Daphile Settings-Audio Devices show CA CXA80 1.0. and there is HW limit: 96000Hz. Obviously I need some driver or something else to reach higher speeds. There is, on Cambridge Support pages, the possibility to download Windows driver for 2.0, but it is unusable in my case.
Does someone of you had or have similar issue?
Any solution?
All the best
Hello,
I own Cambridge Audio CXA80 with USB XMOS port connected to Daphile (Lenovo ThinkCentre M58) with an internal hard drive. Everything works fine.
Daphile Settings-Audio Devices show CA CXA80 1.0. and there is HW limit: 96000Hz. Obviously I need some driver or something else to reach higher speeds. There is, on Cambridge Support pages, the possibility to download Windows driver for 2.0, but it is unusable in my case.
Does someone of you had or have similar issue?
Any solution?
All the best
https://techsupport.cambridgeaudio..../202201702/CXA80_Technical_Specifications.pdf
Perhaps this How do I switch between USB Class 1 and USB Class 2 on a DacMagic 100? – Cambridge Audio Support ?
USB Audio1.0: Linear PCM 16-24 bit, 44.1-96kHz
USB Audio 2.0: Linear PCM 16-24 bit, 44.1-192kHz
Perhaps this How do I switch between USB Class 1 and USB Class 2 on a DacMagic 100? – Cambridge Audio Support ?
Hi,
Thank you for your answer and links. I've already read that.
From the Manual, I've understood that receiver is already in Class 2 operating mode. Windows and Linux, by default, have support for Class 1 and we need some software driver to handle Class 2 on the player (computer) side.
To be sincere, I'm very satisfied with Class 1 (24/96). I can't hear any improvement at a higher speed. But, you know,...
Thank you for your answer and links. I've already read that.
From the Manual, I've understood that receiver is already in Class 2 operating mode. Windows and Linux, by default, have support for Class 1 and we need some software driver to handle Class 2 on the player (computer) side.
To be sincere, I'm very satisfied with Class 1 (24/96). I can't hear any improvement at a higher speed. But, you know,...
IMO the receiver is in class 1 and that is why it offers only samplerates up to 96kHz.
Linux (i.e. daphile) has full support for class 2.
The CXA80 user guide describes the procedure for switching using the speaker switch in detail on page 9 https://techsupport.cambridgeaudio....4419/CXA_Users_Manual_English_-_Reference.pdf
Linux (i.e. daphile) has full support for class 2.
The CXA80 user guide describes the procedure for switching using the speaker switch in detail on page 9 https://techsupport.cambridgeaudio....4419/CXA_Users_Manual_English_-_Reference.pdf
You're right. It works as CA CXA 2.0 and goes up to 192.
Daphile is great.
Thank you very much.
Greetings from Slovenia
Daphile is great.
Thank you very much.
Greetings from Slovenia
Allo Revolution Dac on Daphile : high cpu interrupt rate
Hello,
I have a Allo Revolution Dac connected to a mini-PC with linux Daphile on it.
When I use the internal sound card of the mini-pc (with the Revolution dac unplugged), the cpu usage is very low (few %).
As soon as I plug in the Revolution Dac, the cpu usage rise at ~12% constantly, even when not playinc music.
I know 12% is not a big deal. I'm just surprised that's the cpu usage even when there is no music played.
Anyway, I'm more concerned about the interrupt rate : there is ~7 000 interrupts per second on the cpu 0.
Below for an interval of ~10 seconds.
I don't know what to think about it, but it seems rather high.
it's seems to me that it's a Daphile problem (if it's a problem). With volumio I stay with ~1% cpu usage and low interrupt rate.
Thanks for helping 🙂
Hello,
I have a Allo Revolution Dac connected to a mini-PC with linux Daphile on it.
When I use the internal sound card of the mini-pc (with the Revolution dac unplugged), the cpu usage is very low (few %).
As soon as I plug in the Revolution Dac, the cpu usage rise at ~12% constantly, even when not playinc music.
Code:
top - 17:09:14 up 1:43, 1 user, load average: 0.12, 0.13, 0.09
Tasks: 163 total, 1 running, 162 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1.4 us, 5.5 sy, 0.0 ni, 93.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 7808.4 total, 7308.5 free, 211.2 used, 288.7 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 7486.5 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
124 root -81 0 0 0 0 S 11.8 0.0 5:50.08 irq/123-xhci_hc
I know 12% is not a big deal. I'm just surprised that's the cpu usage even when there is no music played.
Anyway, I'm more concerned about the interrupt rate : there is ~7 000 interrupts per second on the cpu 0.
Below for an interval of ~10 seconds.
Code:
daphile ~ # cat /proc/interrupts | grep 123
123: 23748036 0 0 0 PCI-MSI 344064-edge xhci_hcd
daphile ~ # cat /proc/interrupts | grep 123
123: 23816116 0 0 0 PCI-MSI 344064-edge xhci_hcd
I don't know what to think about it, but it seems rather high.
it's seems to me that it's a Daphile problem (if it's a problem). With volumio I stay with ~1% cpu usage and low interrupt rate.
Thanks for helping 🙂
IMO your cause is the same as in RPi4 and Khadas Toneboard - interrupt flooding !?!? . Check your DAC with the lsusb command, my 2 cents your bInterval will be 1 too.
Linux snd-usb-audio module used to have a parameter nrpacks which specified how many USB frames were sent by the USB controller before it threw an IRQ. That parameter has been removed in exchange for some automatic determination of correct nrpacks value. Maybe trying larger period size could raise it from 1 (i.e. IRQ every highspeed frame 0.125ms = 8kHz) to something higher.
But 12% is no major load.
Linux snd-usb-audio module used to have a parameter nrpacks which specified how many USB frames were sent by the USB controller before it threw an IRQ. That parameter has been removed in exchange for some automatic determination of correct nrpacks value. Maybe trying larger period size could raise it from 1 (i.e. IRQ every highspeed frame 0.125ms = 8kHz) to something higher.
But 12% is no major load.
Thanks for the reply, and, indeed, bInterval is 1.
In Daphile, do you suggest to change Kernel/Alsa buffering Buffer time (100ms) or Period count (3) ?
Code:
Bus 001 Device 003: ID 152a:8809 Thesycon Systemsoftware & Consulting GmbH Revolution
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x152a Thesycon Systemsoftware & Consulting GmbH
idProduct 0x8809
bcdDevice 1.02
iManufacturer 1 Allo.com
iProduct 3 Revolution
iSerial 0
bNumConfigurations 2
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0135
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
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 3 Revolution
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 2.00
bCategory 8
wTotalLength 0x0048
bmControls 0x00
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 10 (CLOCK_SOURCE)
bClockID 41
bmAttributes 3 Internal programmable clock
bmControls 0x07
Clock Frequency Control (read/write)
Clock Validity Control (read-only)
bAssocTerminal 0
iClockSource 9 Allo.com Internal Clock
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 11 (CLOCK_SELECTOR)
bClockID 40
bNrInPins 1
baCSourceID(0) 41
bmControls 0x03
Clock Selector Control (read/write)
iClockSelector 8 Allo.com Clock Selector
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
iChannelNames 11 Analogue 1
bmControls 0x0000
iTerminal 6 Revolution
AudioControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 10
bSourceID 2
bmaControls(0) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(1) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(2) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
iFeature 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 20
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 10
bCSourceID 40
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 Revolution
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 32
iInterface 4 Revolution
AudioStreaming Interface Descriptor:
bLength 16
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bmControls 0x00
bFormatType 1
bmFormats 0x00000001
PCM
bNrChannels 2
bmChannelConfig 0x00000000
iChannelNames 11 Analogue 1
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 0x02d0 1x 720 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 8
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bmControls 0x00
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 0x0008
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 Revolution
AudioStreaming Interface Descriptor:
bLength 16
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bmControls 0x00
bFormatType 1
bmFormats 0x00000001
PCM
bNrChannels 2
bmChannelConfig 0x00000000
iChannelNames 11 Analogue 1
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 0x02d0 1x 720 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 8
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bmControls 0x00
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 0x0008
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 3
bNumEndpoints 2
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 32
iInterface 4 Revolution
AudioStreaming Interface Descriptor:
bLength 16
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bmControls 0x00
bFormatType 1
bmFormats 0x80000000
bNrChannels 2
bmChannelConfig 0x00000000
iChannelNames 11 Analogue 1
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 0x02d0 1x 720 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 8
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bmControls 0x00
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 0x0008
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 0
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 1 Device Firmware Update
bInterfaceProtocol 1
iInterface 10 Allo.com DFU
Device Firmware Upgrade Interface Descriptor:
bLength 9
bDescriptorType 33
bmAttributes 7
Will Not Detach
Manifestation Tolerant
Upload Supported
Download Supported
wDetachTimeout 250 milliseconds
wTransferSize 64 bytes
bcdDFUVersion 1.10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 33
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 8
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0135
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
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 3 Revolution
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 2.00
bCategory 8
wTotalLength 0x0048
bmControls 0x00
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 10 (CLOCK_SOURCE)
bClockID 41
bmAttributes 3 Internal programmable clock
bmControls 0x07
Clock Frequency Control (read/write)
Clock Validity Control (read-only)
bAssocTerminal 0
iClockSource 9 Allo.com Internal Clock
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 11 (CLOCK_SELECTOR)
bClockID 40
bNrInPins 1
baCSourceID(0) 41
bmControls 0x03
Clock Selector Control (read/write)
iClockSelector 8 Allo.com Clock Selector
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
iChannelNames 11 Analogue 1
bmControls 0x0000
iTerminal 6 Revolution
AudioControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 10
bSourceID 2
bmaControls(0) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(1) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(2) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
iFeature 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 20
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 10
bCSourceID 40
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 Revolution
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 32
iInterface 4 Revolution
AudioStreaming Interface Descriptor:
bLength 16
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bmControls 0x00
bFormatType 1
bmFormats 0x00000001
PCM
bNrChannels 2
bmChannelConfig 0x00000000
iChannelNames 11 Analogue 1
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 0x02d0 1x 720 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 8
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bmControls 0x00
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 0x0008
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 Revolution
AudioStreaming Interface Descriptor:
bLength 16
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bmControls 0x00
bFormatType 1
bmFormats 0x00000001
PCM
bNrChannels 2
bmChannelConfig 0x00000000
iChannelNames 11 Analogue 1
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 0x02d0 1x 720 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 8
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bmControls 0x00
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 0x0008
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 3
bNumEndpoints 2
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 32
iInterface 4 Revolution
AudioStreaming Interface Descriptor:
bLength 16
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bmControls 0x00
bFormatType 1
bmFormats 0x80000000
bNrChannels 2
bmChannelConfig 0x00000000
iChannelNames 11 Analogue 1
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 0x02d0 1x 720 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 8
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bmControls 0x00
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 0x0008
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 0
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 1 Device Firmware Update
bInterfaceProtocol 1
iInterface 10 Allo.com DFU
Device Firmware Upgrade Interface Descriptor:
bLength 9
bDescriptorType 33
bmAttributes 7
Will Not Detach
Manifestation Tolerant
Upload Supported
Download Supported
wDetachTimeout 250 milliseconds
wTransferSize 64 bytes
bcdDFUVersion 1.10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 33
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 8
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 2
Device Status: 0x0001
Self Powered
In Daphile, do you suggest to change Kernel/Alsa buffering Buffer time (100ms) or Period count (3) ?
First I would confirm that the values set in the GUI are actually being used - by looking at /proc/asound/YOURDACCARD/pcm0p/sub0/hw_params. Having confirmed that the daphile values are actually used (approximately, the driver picks the nearest supported value), you can try to raise the period size value (buffer size / period count). It is possible the change will have no effect on the IRQs rate - in such case there is nothing to do about it and the kernel will continue handling one outgoing microframe per one IRQ.
I don't have pcm0p/sub0/hw_params, but I guess there is some usefull information in /proc/asound/card1/stream0.
If there is nothing to do, I hope a newer kernel will improve the situation.
Code:
Allo.com Revolution at usb-0000:00:15.0-4, high speed : USB Audio
Playback:
Status: Running
Interface = 1
Altset = 1
Packet Size = 72
Momentary freq = 44100 Hz (0x5.8330)
Feedback Format = 16.16
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600
Data packet interval: 125 us
Bits: 32
Interface 1
Altset 2
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600
Data packet interval: 125 us
Bits: 24
Interface 1
Altset 3
Format: SPECIAL DSD_U32_BE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600
Data packet interval: 125 us
Bits: 32
If there is nothing to do, I hope a newer kernel will improve the situation.
The stream0 file lists USB parameters, generated by snd-usb-audio kernel module. Individual altsettings can be determined from the lsusb readout, but the additional useful info provided by the driver is momentary samplerate (for async mode) and which altsetting is currently being used.
The file listing hw params including buffer and period information is generated by the sound layer common to all sound (alsa) drivers, including the usb-audio one. It is located at pcmXX/subX/hw_params of your /proc/asound/card1 directory. Look at Alsa Opensrc Org - Independent ALSA and linux audio support site
The file listing hw params including buffer and period information is generated by the sound layer common to all sound (alsa) drivers, including the usb-audio one. It is located at pcmXX/subX/hw_params of your /proc/asound/card1 directory. Look at Alsa Opensrc Org - Independent ALSA and linux audio support site
If there is nothing to do, I hope a newer kernel will improve the situation.
Well, there would be nothing to improve. Simply serving 8k IRQs per second takes a bit of CPU attention.
The file listing hw params including buffer and period information is generated by the sound layer common to all sound (alsa) drivers, including the usb-audio one. It is located at pcmXX/subX/hw_params of your /proc/asound/card1 directory.
Here is my /proc/asound/card1/
Code:
daphile ~ # ls /proc/asound/card1/
id stream0 usbbus usbid usbmixer
Interesting, I have never seen the cardX folder missing the pcmXp/p if the card has some playback/capture stream. Did you list it when playback was running (though that should not matter, IME). Please post output of aplay -l.
Yes, it doesn't matter if music is playing or not.
By the way, thanks a lot for your involvement !
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Revolution [Revolution], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
By the way, thanks a lot for your involvement !
OK, thanks.
Look at Advanced Linux Sound Architecture / Re: [Alsa-user] Missing folder: /proc/asound/card0/pcm0p
My kernel has the CONFIG_SND_VERBOSE_PROCFS kernel option enabled:
Please check yours, probably disabled for kernel-size reasons.
Look at Advanced Linux Sound Architecture / Re: [Alsa-user] Missing folder: /proc/asound/card0/pcm0p
My kernel has the CONFIG_SND_VERBOSE_PROCFS kernel option enabled:
pavel@precision:~$ uname -a
Linux precision 4.15.18 #1 SMP Wed Mar 25 00:02:47 CET 2020 x86_64 x86_64 x86_64 GNU/Linux
pavel@precision:~$ grep CONFIG_SND_VERBOSE_PROCFS= /boot/config-$(uname -r)
CONFIG_SND_VERBOSE_PROCFS=y
Please check yours, probably disabled for kernel-size reasons.
Code:
daphile ~ # uname -a
Linux daphile 5.4.54-daphile #4 SMP PREEMPT Tue Aug 4 08:11:18 UTC 2020 x86_64 Intel(R) Celeron(R) N4100 CPU @ 1.10GHz GenuineIntel GNU/Linux
daphile ~ # ls /boot/
boot disk.uuid EFI fw2008040757 fw2008040759 grub latest lost+found
As you can see there is no config-* file in /boot/ I looked in EFI and fw.... too 🙁
- Home
- Source & Line
- PC Based
- Daphile - Audiophile Music Server & Player OS