Jump to content
IGNORED

Allo Sparky USBridge


Recommended Posts

18 hours ago, piripiri82 said:

I've rebooted my USBridge several times and checked to see if the update was available but to no avail.

Hi,

A reboot will force a recheck for updates. Could be an issue with local DNS or dietpi.com/github.com resolve. I've been unable to replicate in our tests.

If its still failing to show the update button, please try running the following command in terminal, to check/apply updates manually:


dietpi-update

Link to comment
8 hours ago, Daniel Knight said:

Hi,

Loss of sound during the update can be related to:
- USB DAC powered off, or disconnected during the update = DietPi will re-scan and apply the USB DAC to `/etc/asound.conf`, if its unavailable, it will reset to onboard sound. Please ensure DAC is connected and power on, before updating.
You can also select another soundcard, then reselect USB DAC in the Allo GUI to re-scan USB DAC.


- Saved output frequencies and bit depths are also reset during the update. This is due to updated configuration files that need to replace existing ones. So please ensure you reapply the required bit depth + output frequencies to required software (where available).

 

This must be where I went wrong, thanks for the direction. Good to know for next time. 

The unit is up and sounding/functioning beautifully with Roon-Hq Naa at Dsd 512 no adaptor. 

Your help is greatly appreciated, 

Thank you. 

Link to comment

Daniel Knight, allo.com :

Hi
I play sound via mpd and squeezelight and I think DSD is not playing correctly.
Eg. when on volumio I play DSD64 Native in mpd I have:

volumio@Volumio:~$ cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 3
    Packet Size = 111
    Momentary freq = 88197 Hz (0xb.0650)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

You see that Altset = 3  freq = 88,2kHz, it is Format: DSD_U32_BE = DSD Native. All OK.

 

Volumio, DSD128 Native in mpd:

volumio@Volumio:~$ cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 3
    Packet Size = 221
    Momentary freq = 176395 Hz (0x16.0ca0)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

You see that Altset = 3  freq = 176,4kHz, Format: DSD_U32_BE = DSD Native. All OK.

 

Volumio, DSD256 Native in mpd:

volumio@Volumio:~$ cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 3
    Packet Size = 392
    Momentary freq = 352789 Hz (0x2c.1940)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
volumio@Volumio:~$

You see that Altset = 3  freq = 352,8kHz, Format: DSD_U32_BE = DSD Native. All OK.


volumio, DSD64 DoP in mpd:

volumio@Volumio:~$ cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    Packet Size = 221
    Momentary freq = 176395 Hz (0x16.0ca0)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

You see that Altset = 1  freq = 176,4kHz, Format: S32_LE = DSD DoP.

As in http://dsd-guide.com/dop-open-standard#.Wgvqnbgp7Gh
DSD64 it is 2.8224Mbits/sec and sample size 1 bit. When we convert to DoP
we have sample size 16 bit and 2.8224M/16 = 176.4kHz
All OK.


On DietPi v158  in mpd DSD64 Native and DoP we have:

root@DietPi:~# cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 2
    Packet Size = 196
    Momentary freq = 352790 Hz (0x2c.1948)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

You see freq = 352,8kHz, Format: S32_LE, it isn't OK.


Volumio have mpd version 0.20.6, DietPi have 0.19.21.
In ChangeLog of mpd: http://git.musicpd.org/cgit/master/mpd.git/plain/NEWS?h=v0.20.11
alsa: support DSD_U32 it is from mpd version 0.20.0 and fix in ver 0.20.2

When we want support DSD Native in mpd 0.19.21 we must not only fix kernel, alsa but mpd too:
https://github.com/lintweaker/mpd-dsd-019

And switch "DSD Native" or "DoP" it is in /etc/mpd.conf

audio_output {
+
+	# Normal config parts omitted
+
+
+	# Disable DSD DoP MPD 0.18 or older
+	dsd_usb		"no"
+
+	# Disable DSD DoP MPD 0.19
+	dop		"no"
+
+	# Enable native DSD
+	dsd_native	"yes"
+	# Set DSD native type
+	dsd_native_type	"2"
+
+}

In mpd ver. 0.20.2 and new, DSD Native and DoP work without patch an switch it is only:

dop		"no" // or "yes"

 

1. Is it in DietPi this DSD Native patch for mpd? Or you can complie new version mpd...


With other things:


2. I noticed in DietPi ver158 not working USB2.0 in Sparky only work USB3.0
In Usbridge usb work.

 

3. I suggest to add to Allo Web Gui in squeezelight posibility to edit
from /etc/systemd/system/squeezelite.service line:
ExecStart=....

 

4. In squeezelight I could only get DoP, not DSD native.
   In DSD native it is as in mpd, sound play but freq = 352,8kHz and Format: S32_LE

 

5. Please add in kernel patch for new firmware of Amanero/Combo384  - it is only 1 line :) :
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-November/126890.html
https://github.com/lintweaker/xmos-native-dsd/issues/12

 

 

Thank's for your hard work...

Link to comment

Hi,

 

I purchased a USBridge but it will not let me play 24 bit music through my DAC. It makes high pitch screaching high noises or silence instead. On the raspberry pi I have never had any problems playing high res files using the same setup and software.

Can you please help with this? Is the USBridge not compatible with my DAC or is there something wrong with my unit? Does it maybe not provide enough power through USB to drive my DAC in 24bit mode? My dac is a HRT MusicStreamer Pro. 16/44 files do play okay but any high-res files fails.

 

Any help would be appreciated.

Link to comment
6 hours ago, allo.com said:

I checked your DAC , its using a pcm1794 (very good dac ic) but very power hungry. I see that nornaly it requires 350mA thats quite high.

 

 Probably its going over on hi res files and thats why you are having this problem.

 

How much current does the USBridge provide? And what about the Sparky itself?

Do you have any suggestions how I might be able to give the DAC the power it needs?

Link to comment
9 hours ago, PJotr said:

 

1. Is it in DietPi this DSD Native patch for mpd? Or you can complie new version mpd...


With other things:


2. I noticed in DietPi ver158 not working USB2.0 in Sparky only work USB3.0
In Usbridge usb work.

 

3. I suggest to add to Allo Web Gui in squeezelight posibility to edit
from /etc/systemd/system/squeezelite.service line:
ExecStart=....

 

4. In squeezelight I could only get DoP, not DSD native.
   In DSD native it is as in mpd, sound play but freq = 352,8kHz and Format: S32_LE

 

5. Please add in kernel patch for new firmware of Amanero/Combo384  - it is only 1 line :) :
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-November/126890.html
https://github.com/lintweaker/xmos-native-dsd/issues/12

 

 

Thank's for your hard work...


Hi,

Many thanks for the info.

1. MPD is stock, as provided by Debian repo. We'll look into offering more recent MPD binaries during install:
https://github.com/Fourdee/DietPi/issues/1236

2. Did the USB DAC function correctly on USB bridge, prior to the v158 update? (v158 contains a stability kernel fix for USB bridge)

3. The GUI already modifies the binary runtime options.

4. Our SL binary is compiled with DSD and enable via runtime options, we'll need to investigate: https://github.com/Fourdee/DietPi/issues/1237

5. I'll send over the request to Allo, for next kernel update.

Link to comment

Am spamming several mailboxes to try to get my problem resolved (sorry Allo/DietPi, but am not sure who gets to read what and who is qualified to answer...), and have opened an issue. Sparky alone (without the USBridge) works but only on USB3 port, not on the USB2 (other DAC works on USB2). I assume the USBridge card works off of the USB2 port ?

Link to comment
1 hour ago, Daniel Knight said:

2. Did the USB DAC function correctly on USB bridge, prior to the v158 update? (v158 contains a stability kernel fix for USB bridge)
 

 

Thank's Daniel for your work.

 

2. I'm just saying about sparky (not about USBridge),  in v158 on sparky  eg. my wifi dongle only work in USB3.0,  in v156 wifi dongle work  in USB2.0 and in USB3.0

My USB DAC it is connect to USBridge and working in v158 and earlier, no problem.

 

Thank's for your help...

Link to comment
On 11/15/2017 at 9:18 AM, PJotr said:

We are investigating


volumio@Volumio:~$ cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 3
    Packet Size = 111
    Momentary freq = 88197 Hz (0xb.0650)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

volumio@Volumio:~$ cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 3
    Packet Size = 221
    Momentary freq = 176395 Hz (0x16.0ca0)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

volumio@Volumio:~$ cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 3
    Packet Size = 392
    Momentary freq = 352789 Hz (0x2c.1940)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
volumio@Volumio:~$

volumio@Volumio:~$ cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    Packet Size = 221
    Momentary freq = 176395 Hz (0x16.0ca0)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

root@DietPi:~# cat /proc/asound/card1/stream0
OPPO OPPO HA-2 USB AUDIO 2.0 DAC at usb-aotg_hcd.1-1.1, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 2
    Packet Size = 196
    Momentary freq = 352790 Hz (0x2c.1948)
    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
    Data packet interval: 125 us
  Interface 1
    Altset 2
    Format: S16_LE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 1 OUT (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
    Data packet interval: 125 us

audio_output {
+
+	# Normal config parts omitted
+
+
+	# Disable DSD DoP MPD 0.18 or older
+	dsd_usb		"no"
+
+	# Disable DSD DoP MPD 0.19
+	dop		"no"
+
+	# Enable native DSD
+	dsd_native	"yes"
+	# Set DSD native type
+	dsd_native_type	"2"
+
+}

dop		"no" // or "yes"

   In DSD native it is as in mpd, sound play but freq = 352,8kHz and Format: S32_LE

 

5. Please add in kernel patch for new firmware of Amanero/Combo384  - it is only 1 line :) :
http://mailman.alsa-project.org/pipermail/alsa-devel/2017-November/126890.html
https://github.com/lintweaker/xmos-native-dsd/issues/12

 

 

Thank's for your hard work...

 

Link to comment
On 11/15/2017 at 7:21 PM, hopkins said:

Am spamming several mailboxes to try to get my problem resolved (sorry Allo/DietPi, but am not sure who gets to read what and who is qualified to answer...), and have opened an issue. Sparky alone (without the USBridge) works but only on USB3 port, not on the USB2 (other DAC works on USB2). I assume the USBridge card works off of the USB2 port ?

 Will try to find a solution , your USB is very specific.

Link to comment

Hi,

 

I have another problem when using the USBRidge besides not being able to power my DAC in hires mode: the network stalls for a while every 10 seconds orso. As a result, streaming to it with Roon (or otherwise) drops out and skips to the next song after 5-15 sec into the song. It's connected by LAN cable.

I used wget and FTP to test if the network stalling was visible there as well and it is. It starts and stalls in a cycle. I did not have this issue with RPi. 

 

Is there anything that can be done about this, in configuration or otherwise?

 

Between no hires with my dac and not being able to stream to it, I'm having a bit of a hard time enjoying my new USBRidge.

Thanks for any ideas you might have.

Link to comment

I found out my streaming problem probably isn't USBRidge's fault. Atleast I just connected a WiFi dongle and it streams fine now, so I suspect my ethernet cable may be damaged, I will try a different one when I have one.

 

Still can't play hi-res though. I do realize my DAC uses a fair amount of power, probably around 500mA in 24/96 mode. How much can the USBridge provide? I use separate PSU for Sparky and USBRidge (iPower 5V 2.5A for the USBridge connector, 2+A for the Sparky, J28 removed) so potentially there is enough power to feed the DAC since the Bridge board itself doesn't use much. Is there a limit to what it feeds through to the USB port?

Link to comment
On 15.11.2017 at 7:21 PM, Daniel Knight said:

1. MPD is stock, as provided by Debian repo. We'll look into offering more recent MPD binaries during install:
https://github.com/Fourdee/DietPi/issues/1236
 

 

Hi
In https://github.com/Fourdee/DietPi/issues/1236 you've written about mpd:
"DSD native playback requires further investigations..."

but I found solution, ofcourse needed mpd 0.20.11 (I know you was compiled, I too :)
but needed is some fixes in /etc/mpd.conf :

 

1. first ofcourse need switch: dop "no"
example:

audio_output {
type "alsa"
name "DietPi Alsa"

dop    "no"
}

And now we need a switch in Allo GUI in section mpd to switch Native/DoP:
dop   "no" or "yes"

 

2. second we need remove

#replaygain "track"
#replaygain_preamp "8"
#volume_normalization "yes"

DSD Native don't like volume manipulation, probably related to Bit Perfect.

 

3. Maybe this same problem it is in squeezelite (volume manipulation)
and ofcourse need patch to DSD Native:
eg. http://www.daphile.com/gpl-src/00-Daphile-patches/squeezelite/
or https://github.com/ralph-irving/squeezelite/tree/master/scripts

But for squeezelite:
"DSD native playback requires further investigations..." :)

Link to comment
12 hours ago, suresh3 said:

I can see the USB to gigabit has been added to the website. Now all we need is the aluminium cases to be available. Any pics on how they will look? And ETA on when they will hit the website?

I too am waiting for the AL case before ordering.

Perhaps tagging @allo.com will yield a quicker response. 

12TB NAS >> i7-6700 Server/Control PC >> i3-5015u NAA >> Singxer SU-1 DDC (modded) >> Holo Spring L3 DAC >> Accustic Arts Power 1 int amp >> Sonus Faber Guaneri Evolution speakers + REL T/5i sub (x2)

 

Other components:

UpTone Audio LPS1.2/IsoRegen, Fiber Switch and FMC, Windows Server 2016 OS, Audiophile Optimizer 3.0, Fidelizer Pro 6, HQ Player, Roonserver, PS Audio P3 AC regenerator, HDPlex 400W ATX & 200W Linear PSU, Light Harmonic Lightspeed Split USB cable, Synergistic Research Tungsten AC power cords, Tara Labs The One speaker cables, Tara Labs The Two Extended with HFX Station IC, Oyaide R1 outlets, Stillpoints Ultra Mini footers, Hi-Fi Tuning fuses, Vicoustic/RealTraps/GIK room treatments

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...