USB Audio, a real problem?

Moderators: mdrjr, odroid

USB Audio, a real problem?

Unread postby gkkpch » Fri Jan 13, 2017 6:36 am

Hi,
The more people using Volumio2 on a C2 with a USB Audio DAC, the more reports we seem to get about clicks and pops (with kver 3.14.79).
We are talking about various DACs, eg. a USB Waveio, a Parasound Halo Integrated (ESS Sabre32 Reference ES9018K2M, a Chord Mojo and an FX-AUDIO-D-802.
On request, the users tried nrpacks=1 and/or changed cpu affinity.
Nothing seems to be a real fix, though it did improve a little for some.
Eg. the Waveio seems to be ok with changeing cpu affinity, all others still suffer.
As there were reports of Volumio pre-releases not having this these issues, I requested a few of the users to verify an older (pre-release) Volumio version from August
(stilll with kver 3.14.29, compiled on 22/04/2016).
Then some of them indeed reported back that the version with the "old" kernel did not have such problems, the sound appeared to be clean.

After that, I tracked all USB driver commits between version 3.14.29 from 22/04 and 3.14.79 from 08/12 and "stumbled" over:
Code: Select all
Committed by mdrjr/ 24 May 2016

driver: drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_queue.c

@@ -367,13 +367,13 @@ static int check_periodic_bandwidth(dwc_otg_hcd_t *hcd, dwc_otg_qh_t *qh)
         * Max periodic usecs is 80% x 125 usec = 100 usec.
         */
 
 -      max_claimed_usecs = 100 - qh->usecs;
 +      max_claimed_usecs = 125 - qh->usecs;
     else
        /*
         * Full speed mode.
         * Max periodic usecs is 90% x 1000 usec = 900 usec.
         */
 -      max_claimed_usecs = 900 - qh->usecs;
 +      max_claimed_usecs = 1000 - qh->usecs;
 
     if (hcd->periodic_usecs > max_claimed_usecs) {
        DWC_INFO("%s: already claimed usecs %d, required usecs %d\n", __func__, hcd->periodic_usecs, qh->usecs);
 @@ -724,4 +724,4 @@ int dwc_otg_hcd_qtd_add(dwc_otg_qtd_t *qtd,
     return retval;
  }
 
 -#endif /* DWC_DEVICE_ONLY */
 +#endif /* DWC_DEVICE_ONLY */

Just to see if it made any difference I reverted this commit and had it tested.
To my big surprise, the pops and crackling are reported to be gone for the WaveIO, the Chord Mojo and the Parasound.
The FX-Audio has other issues, as it appears not related.

To me it seems we had regression between kernel Version 3.14.29 (compiled 22/04/2016) and 3.14.79 (compiled 08/12/2016)
What was the reason for the commit listed above and is there anything we can do to help solving the usb audio issue?

-Gé-
User avatar
gkkpch
 
Posts: 250
Joined: Mon Feb 25, 2013 11:47 pm
Location: Switzerland
languages_spoken: english, dutch, german
ODROIDs: Odroid-C1+, Odroid-C1+ HiFi shield, Odroid-C1, Odroid-X2

Re: USB Audio, a real problem?

Unread postby odroid » Fri Jan 13, 2017 11:30 am

Yes, we also heard similar issue with some other USB devices.
I have two questions to check the 24-May patch. It was committed to fix the multiple cam issue. Without that patch, we could use only one webcam.
Can you please check those DAC devices are USB full-speed? or high-speed?
What is the default CPU governor in Volumio2? "Peformance"? or "Ondemand" or other?

BTW, recently we applied this change and Dell AC 511 USB sound bar detection issues was fixed.
https://github.com/hardkernel/linux/com ... bf0309b7aa
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby rooted » Fri Jan 13, 2017 3:04 pm

I'm using a FiiO K1 (on Android) and have the same popping (lack of a better word). It's been a show stopper for my CarPC project.

Awesome work tracking this down.
User avatar
rooted
 
Posts: 5479
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: USB Audio, a real problem?

Unread postby crashoverride » Fri Jan 13, 2017 3:51 pm

gkkpch wrote:Just to see if it made any difference I reverted this commit and had it tested.

That explains A LOT! The patch would result in a mismatch between host USB timing and the built in hub's. I need to revert that patch too and do some testing.

For dual webcams, it should be possible to use one on each USB root without the patch: one on USB-OTG, the other on the 4 port hub .

[edit]
The commit is here for hash reference:
https://github.com/hardkernel/linux/com ... a55fd1e9b0
crashoverride
 
Posts: 3935
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: USB Audio, a real problem?

Unread postby odroid » Fri Jan 13, 2017 4:52 pm

@rooted,
Can you build & test the Android kernel with reverted patch for your USB sound card?
If not, we will make a test build early next week for your test.
If it solves your issue, let's revert the patch back since most people are using a single camera.

@crashoverride,
I agree.
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby gkkpch » Fri Jan 13, 2017 7:06 pm

odroid wrote:Yes, we also heard similar issue with some other USB devices.
I have two questions to check the 24-May patch. It was committed to fix the multiple cam issue. Without that patch, we could use only one webcam.
Can you please check those DAC devices are USB full-speed? or high-speed?

I will check that for each of them
odroid wrote:What is the default CPU governor in Volumio2? "Peformance"? or "Ondemand" or other?

I did not set it explicitly, that is probably why
Code: Select all
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

gives me "performance"
odroid wrote:BTW, recently we applied this change and Dell AC 511 USB sound bar detection issues was fixed.
https://github.com/hardkernel/linux/com ... bf0309b7aa

Awesome, I did the same to get the FX_Audio recognized, though I used a error count of "only" 5000.
It did not make the DAC work (yet), still working on it.

-Gé-
User avatar
gkkpch
 
Posts: 250
Joined: Mon Feb 25, 2013 11:47 pm
Location: Switzerland
languages_spoken: english, dutch, german
ODROIDs: Odroid-C1+, Odroid-C1+ HiFi shield, Odroid-C1, Odroid-X2

Re: USB Audio, a real problem?

Unread postby rooted » Sat Jan 14, 2017 12:30 am

odroid wrote:@rooted,
Can you build & test the Android kernel with reverted patch for your USB sound card?
If not, we will make a test build early next week for your test.
If it solves your issue, let's revert the patch back since most people are using a single camera.

@crashoverride,
I agree.

I can't build the Android kernel, my Internet is too slow to download all the AOSP source but I will certainly test and report when you release an update.
User avatar
rooted
 
Posts: 5479
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: USB Audio, a real problem?

Unread postby gkkpch » Sat Jan 14, 2017 5:14 am

odroid wrote:Can you please check those DAC devices are USB full-speed? or high-speed?

Feedback is 480M for Chord Mojo and WaveIO, waiting for the others.
The FX-Audio was recognized as a full speed one (12M).
User avatar
gkkpch
 
Posts: 250
Joined: Mon Feb 25, 2013 11:47 pm
Location: Switzerland
languages_spoken: english, dutch, german
ODROIDs: Odroid-C1+, Odroid-C1+ HiFi shield, Odroid-C1, Odroid-X2

Re: USB Audio, a real problem?

Unread postby odroid » Sat Jan 14, 2017 3:43 pm

gkkpch wrote:
odroid wrote:Can you please check those DAC devices are USB full-speed? or high-speed?

Feedback is 480M for Chord Mojo and WaveIO, waiting for the others.
The FX-Audio was recognized as a full speed one (12M).


Thank you for the valuable information.
Please also check the transfer mode if possible.
Is it isochronous? or bulk? or interrupt?
If it is an isochronous mode, hopefully the reverting will reduce the problems in some DVB-T dongles too.

BTW, it's time to buy a FX-AUDIO-D-802 sample to find a root cause.
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby odroid » Sat Jan 14, 2017 3:46 pm

rooted wrote:
odroid wrote:@rooted,
Can you build & test the Android kernel with reverted patch for your USB sound card?
If not, we will make a test build early next week for your test.
If it solves your issue, let's revert the patch back since most people are using a single camera.

@crashoverride,
I agree.

I can't build the Android kernel, my Internet is too slow to download all the AOSP source but I will certainly test and report when you release an update.


Android Kernel git-clone needs only a few minutes.
http://odroid.com/dokuwiki/doku.php?id= ... l#checkout
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby bahamot » Sat Jan 14, 2017 10:22 pm

odroid wrote:Can you please check those DAC devices are USB full-speed? or high-speed?

With Mirand's AK4490 DAC I got intermittent click sound.

Code: Select all
volumio@volumio:~$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtl8192cu, 480M
        |__ Port 3: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 3: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 3: Dev 4, If 2, Class=Application Specific Interface, Driver=, 480M


lsusb -v output attached.

This is using Volumio 2.030 with stock kernel:
Code: Select all
volumio@volumio:~$ uname -a
Linux volumio 3.14.79 #3 SMP PREEMPT Sat Oct 15 16:15:17 CEST 2016 aarch64 GNU/Linux
Attachments
delme.txt
lsusb -v output
(28.9 KiB) Downloaded 76 times
bahamot
 
Posts: 9
Joined: Mon Jan 02, 2017 1:50 pm
languages_spoken: english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby gkkpch » Sun Jan 15, 2017 5:41 am

bahamot wrote:
odroid wrote:Can you please check those DAC devices are USB full-speed? or high-speed?

With Mirand's AK4490 DAC I got intermittent click sound.

Code: Select all
volumio@volumio:~$ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=rtl8192cu, 480M
        |__ Port 3: Dev 4, If 0, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 3: Dev 4, If 1, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 3: Dev 4, If 2, Class=Application Specific Interface, Driver=, 480M


lsusb -v output attached.

This is using Volumio 2.030 with stock kernel:
Code: Select all
volumio@volumio:~$ uname -a
Linux volumio 3.14.79 #3 SMP PREEMPT Sat Oct 15 16:15:17 CEST 2016 aarch64 GNU/Linux


Well "stock" kernel means our own (volumio) compile and config.
This DAC has transfer type isochronous, sync type is async

-Gé-
User avatar
gkkpch
 
Posts: 250
Joined: Mon Feb 25, 2013 11:47 pm
Location: Switzerland
languages_spoken: english, dutch, german
ODROIDs: Odroid-C1+, Odroid-C1+ HiFi shield, Odroid-C1, Odroid-X2

Re: USB Audio, a real problem?

Unread postby rooted » Sun Jan 15, 2017 8:50 am

odroid wrote:
rooted wrote:
odroid wrote:@rooted,
Can you build & test the Android kernel with reverted patch for your USB sound card?
If not, we will make a test build early next week for your test.
If it solves your issue, let's revert the patch back since most people are using a single camera.

@crashoverride,
I agree.

I can't build the Android kernel, my Internet is too slow to download all the AOSP source but I will certainly test and report when you release an update.


Android Kernel git-clone needs only a few minutes.
http://odroid.com/dokuwiki/doku.php?id= ... l#checkout

I will have to wait for someone else already set up to compile 64bit.
User avatar
rooted
 
Posts: 5479
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: USB Audio, a real problem?

Unread postby Tungmeister » Sun Jan 15, 2017 9:49 pm

I've compiled the Android kernel with the commit reverted but I can't hear any difference, I'm still getting the interference. I've attached it so someone can try it to see if there's any difference for them. You can flash it from within android using the following
Code: Select all
busybox dd conv=notrunc bs=512 if=<location of new image> seek=1632 of=/dev/block/mmcblk0


https://mega.nz/#!ZxFxDKxI!aY_J4ghlUpvj ... o24Gvwa_0w
Last edited by Tungmeister on Mon Jan 16, 2017 1:39 am, edited 1 time in total.
Tungmeister
 
Posts: 27
Joined: Wed Oct 19, 2016 3:06 am
languages_spoken: english

Re: USB Audio, a real problem?

Unread postby bahamot » Mon Jan 16, 2017 1:11 am

Sometimes rebooting while dac turn on made the problems went away. Maybe others can try?
bahamot
 
Posts: 9
Joined: Mon Jan 02, 2017 1:50 pm
languages_spoken: english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby rooted » Mon Jan 16, 2017 1:25 am

Tungmeister wrote:I've compiled the Android kernel with the commit reverted but I can't hear any difference, I'm still getting the interference. I've attached it so someone can try it to see if there's any difference for them. You can flash it from within android using the following
Code: Select all
busybox dd conv=notrunc bs=512 if=<location of new image> seek=1632 of=/dev/block/mmcblk0


https://mega.nz/#!ZxFxDKxI


The link says I need the decryption key.
User avatar
rooted
 
Posts: 5479
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: USB Audio, a real problem?

Unread postby Tungmeister » Mon Jan 16, 2017 1:40 am

rooted wrote:The link says I need the decryption key.


Updated.
Tungmeister
 
Posts: 27
Joined: Wed Oct 19, 2016 3:06 am
languages_spoken: english

Re: USB Audio, a real problem?

Unread postby rooted » Mon Jan 16, 2017 2:42 am

What about the DTB? We don't need it?
User avatar
rooted
 
Posts: 5479
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: USB Audio, a real problem?

Unread postby Tungmeister » Mon Jan 16, 2017 9:29 pm

rooted wrote:What about the DTB? We don't need it?


No, all that's required is the boot image.
Tungmeister
 
Posts: 27
Joined: Wed Oct 19, 2016 3:06 am
languages_spoken: english

Re: USB Audio, a real problem?

Unread postby odroid » Tue Jan 17, 2017 7:17 pm

Try the latest Android v3.0 image with your USB DAC and let us know the result.
http://odroid.com/dokuwiki/doku.php?id= ... _note_v3.0
To reduce any side effect, please freshly install the OS with self-install image file.
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby rooted » Wed Jan 18, 2017 11:28 am

odroid wrote:Try the latest Android v3.0 image with your USB DAC and let us know the result.
http://odroid.com/dokuwiki/doku.php?id= ... _note_v3.0
To reduce any side effect, please freshly install the OS with self-install image file.

I didn't have time to redo my eMMC so I updated it.

My audio issues seem to be resolved, I need to find my good headphones to be 100% but I'm happy with the update regardless.

DAC: FiiO K1

Connected to regular USB not OTG.

Good work @gkkpch, thanks for the quick inclusion and update @odroid and team.
User avatar
rooted
 
Posts: 5479
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: USB Audio, a real problem?

Unread postby odroid » Wed Jan 18, 2017 11:40 am

Ok. Thank you for the confirmation. :D
We will update the Ubunut/Linux kernel too within a couple of days.
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby Moni86 » Tue Jan 24, 2017 5:02 pm

Hello,

I have the same problems with sound crackling and with otg cable it was solve. Can you update when the new kernel is available?
Many thanks
Moni86
 
Posts: 45
Joined: Fri Feb 26, 2016 2:20 am
languages_spoken: deutsch
ODROIDs: XU4

Re: USB Audio, a real problem?

Unread postby odroid » Fri Jan 27, 2017 6:31 am

Ubuntu kernel update was released a few days ago.
https://github.com/hardkernel/linux/com ... 08992eb6e5
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby za10aj12 » Wed Feb 08, 2017 12:29 pm

Even with the newest update of the Android kernel (fresh install), the audio is still making unwanted noise for myself. This isn't unique to DAC's I am assuming, since I have a "Sabrent USB to Stereo" adapter. Is there any debugging log I can preview to try and see a problem, or maybe it is solely the adapter I am using?
za10aj12
 
Posts: 7
Joined: Sun Dec 11, 2016 3:21 am
languages_spoken: english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby odroid » Wed Feb 08, 2017 1:07 pm

@za10aj12
Try the OTG port.
Also show us "lsusb -t" output on a Linux PC if possible.
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby rooted » Thu Feb 09, 2017 2:04 am

za10aj12 wrote:Even with the newest update of the Android kernel (fresh install), the audio is still making unwanted noise for myself. This isn't unique to DAC's I am assuming, since I have a "Sabrent USB to Stereo" adapter. Is there any debugging log I can preview to try and see a problem, or maybe it is solely the adapter I am using?

That is a DAC mate.
User avatar
rooted
 
Posts: 5479
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: USB Audio, a real problem?

Unread postby za10aj12 » Fri Feb 10, 2017 2:33 am

@rooted I meant to say yalls DACs, since it seems everyone else is using either high end ones or DAC boards, as opposed to my $7 amazon one sorry lol

Having to wait on another OTG cable my last one has finally burned out
za10aj12
 
Posts: 7
Joined: Sun Dec 11, 2016 3:21 am
languages_spoken: english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby rubensx » Mon May 22, 2017 5:09 am

Hello all
I'm in late mods to finish my carpc with a C2, I have a old iMic
https://images-na.ssl-images-amazon.com ... SX355_.jpg

http://cqinet.sourceforge.net/imic_virgin.jpeg

He has a Philips UDA1325H/104 USB audio codec chip (formerly used the UDA1325H/106).
It's old, but still "gold" and use sometimes to record my bass or guitar with adapters in my mac...

I see this entire topic and my config is Odroid C2 emmc 5.1.1 last version, and with a OTG cable, only imic plugged in, and still pops audio...

My questions is

- Are my kernel version the last and "solved" this problems?
- Better choose another DAC to solve completly the pops?
- How the best DAC to use? (I'm not audiophile, but like a "transparent like cristal audio" maybe 24bit or so).

thank you for the help
rubensx
 
Posts: 53
Joined: Wed Aug 17, 2016 9:53 am
Location: Brazil, São Paulo
languages_spoken: english, portuguese
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby oilve41 » Tue Jun 20, 2017 5:38 am

Hello all,

I'm sort of rookie in mini machine world.
I acquired recently an Odroid C2 to run Kodi (Libreelec) for movies & audio (Flac 16 & 24bit).

The product is amazing.
But I do experience the same crackling & popping sounds (erratic) when listening audio (or movies)...
My configuration:
Libreelec 8.0.2, Kodi 17.3
Odroid C2 --> USB Micromega Mydac --> Ampli Atoll IN100se.
Odroid is also connected to my TV using HDMI, which is connected back to my DAC using Toslink optical

In brief:
When I set the audio to HDMI (TV is connected using optical Toslink to my DAC)= no problem, but sound limited to 44,1kHz (TV HDMI limitation)
When I set the audio to USB (Odroid directly connected to my DAC)= crackling sounds, but sound up to 192KHz.

I would like to know whether or not this issue has been solved already or being solved soon?
(so frustrating... cause general audio quality is clearly better using the USB - apart from the crackling issue of course)

Thanks for help!
oilve41
 
Posts: 7
Joined: Tue Jun 20, 2017 5:23 am
languages_spoken: french, english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby odroid » Tue Jun 20, 2017 10:13 am

As far as I know, the HDMI sound output also supports up to 192Khz/24bit.
Try the HDMI sound output test with the latest Volumio 2 image.
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby oilve41 » Tue Jun 20, 2017 4:35 pm

Thank you very much for your prompt feedback.

Actually, I have a Panasonic Plasma TX-P50Gt50, and manual says HDMI goes up to 44,1KHz only. It is ~5 years old now.
And in Kodi, when I apply HDMI setting, there is no other options appearing in the menu. But when I switch to the dac output (USB), the menu is changing and shows frequencies (from 44,1 up to 192KHz).
Well, regarding Volumio I have to say I haven't tried yet. Problem is that Volumio won't play my movies while Kodi can do both.

Can Volumio read some mkv, mp4 movies?
Does a Volumio plugin exist for Kodi ?

Many thanks
oilve41
 
Posts: 7
Joined: Tue Jun 20, 2017 5:23 am
languages_spoken: french, english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby odroid » Tue Jun 20, 2017 5:14 pm

No. Volumio 2 was developed only for Audiophile not Videophile. :)
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby oilve41 » Tue Jun 20, 2017 5:50 pm

Arf... I'm both audio & videophile I guess! :roll:
I have a spare SD card where I can install Volumio for testing.
If it works (no crackling sound when connected via USB), well I will have to 'rethink' my config to watch movies............
Let you know tonight.
Thank you.
oilve41
 
Posts: 7
Joined: Tue Jun 20, 2017 5:23 am
languages_spoken: french, english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby oilve41 » Wed Jun 21, 2017 6:41 am

Well, Volumio 2 installed (very nice, and light).
...And it works!
No crackling sound.
MyDac USB interface recognised, and working with no problem.
My 24bit 192KHz Flacs are played without any issue.

Well I have to say: awesome! :o

Now my issue ;) is to make Volumio working with Kodi (videophile side...)
Or buy a 2nd Odroid (1 for Volumio, 1 for Kodi)?

And 2nd question: do you think issues on Kodi/Libreelec/USB Dac may be solved some day? Cause the crackling sounds is also valid for the movies when played using USB interface........

Many thanks.
oilve41
 
Posts: 7
Joined: Tue Jun 20, 2017 5:23 am
languages_spoken: french, english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby odroid » Wed Jun 21, 2017 8:18 pm

It is very worth to compare the LibreELEC kernel source code with this USB audio Kernel patch.
https://github.com/hardkernel/linux/com ... 08992eb6e5
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby oilve41 » Wed Jun 21, 2017 9:17 pm

You mean that I could apply this patch to my Libreelec and see if it could solve the USB sound issue?
If yes, actually I would need some turorial to do it... Cause I really dont know how to do it.... :oops:
oilve41
 
Posts: 7
Joined: Tue Jun 20, 2017 5:23 am
languages_spoken: french, english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby odroid » Thu Jun 22, 2017 8:38 am

If you don't have any experience of building Linux OS, it might take very long time.
You can post a help request on LibreELEC subforum gently and wait for other developer's help.
viewforum.php?f=144
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby oilve41 » Thu Jun 22, 2017 5:15 pm

Ok understood.
Thank you very much.
oilve41
 
Posts: 7
Joined: Tue Jun 20, 2017 5:23 am
languages_spoken: french, english
ODROIDs: C2

Re: USB Audio, a real problem?

Unread postby fdef » Thu Nov 23, 2017 5:35 am

Hi,

I post this for the follow.

I have the same issue with my usb DAC and I use Libreelec. I have asked Libreelec devs to add the patch on their kernels.
[url]
viewtopic.php?f=144&t=29113[/url]

Thx gkkpch and all
fdef
 
Posts: 5
Joined: Thu Nov 23, 2017 4:59 am
languages_spoken: french

Re: USB Audio, a real problem?

Unread postby odroid » Thu Nov 23, 2017 2:28 pm

@fdef,
Do you have no USB DAC issue when you use Ubuntu image?
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby fdef » Thu Nov 23, 2017 8:02 pm

I haven't tested Ubuntu images.
fdef
 
Posts: 5
Joined: Thu Nov 23, 2017 4:59 am
languages_spoken: french

Re: USB Audio, a real problem?

Unread postby fdef » Fri Dec 08, 2017 10:15 pm

@odroid, which ubuntu image you want to test ? Could you post me the link ?
fdef
 
Posts: 5
Joined: Thu Nov 23, 2017 4:59 am
languages_spoken: french

Re: USB Audio, a real problem?

Unread postby odroid » Fri Dec 08, 2017 10:52 pm

User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: USB Audio, a real problem?

Unread postby fdef » Mon Jan 08, 2018 7:40 pm

Hi,

The problem is almost became solved.
https://forum.libreelec.tv/thread/10901 ... #post76840

I listen again little clicks but it appear only when I navigate the kodi information/menu while the video is running.
fdef
 
Posts: 5
Joined: Thu Nov 23, 2017 4:59 am
languages_spoken: french

Re: USB Audio, a real problem?

Unread postby rooted » Tue Jan 09, 2018 8:08 am

fdef wrote:Hi,

The problem is almost became solved.
https://forum.libreelec.tv/thread/10901 ... #post76840

I listen again little clicks but it appear only when I navigate the kodi information/menu while the video is running.
Disable menu sounds in Kodi.

Settings > System > Audio > Play Gui sounds > Never
User avatar
rooted
 
Posts: 5479
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)


Return to Issues

Who is online

Users browsing this forum: No registered users and 1 guest