USB Dac support, Tenor 8802TL USB chip

Having issues with your DietPi installation, or, found a bug? Post it here.
300B
Posts: 24
Joined: Fri Dec 23, 2016 1:43 pm

USB Dac support, Tenor 8802TL USB chip

Post by 300B »

Hi there,

I am using DietPi with Roonbridge to output to my DAC and I am having problems. I can see and select two Roon-Pi ouputs on my Roon output selectiontab. The two options both reviert to Alsa. One option gives sound but trunkates the 24bit audio back to 16 bit and says that my DAC does not support 24bit (my DAC normaly is capable of 24bit 192Khz), the other option gives a crackling and noisy output. I think the problem is driver related. The USB chip inside my DAC is the "Tenor 8802TL". Does anyone know of this problem and hopingly have a solution?

Greetings,

Peter
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by Fourdee »

300B wrote:Hi there,

I am using DietPi with Roonbridge to output to my DAC and I am having problems. I can see and select two Roon-Pi ouputs on my Roon output selectiontab. The two options both reviert to Alsa. One option gives sound but trunkates the 24bit audio back to 16 bit and says that my DAC does not support 24bit (my DAC normaly is capable of 24bit 192Khz), the other option gives a crackling and noisy output. I think the problem is driver related. The USB chip inside my DAC is the "Tenor 8802TL". Does anyone know of this problem and hopingly have a solution?

Greetings,

Peter
Hi Peter,

I don't have access to that DAC, so we will need to do some digging.

Lets get some module info, mixer settings and see what we have.

Please can you paste results (or take a picture) of the following commands:

Code: Select all

cat /DietPi/config.txt | grep dtoverlay
lsmod
lsusb
aplay -l
cat /etc/asound.conf
amixer -c0 
amixer -c1
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
300B
Posts: 24
Joined: Fri Dec 23, 2016 1:43 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by 300B »

Thx for your fast response! Right now I am on a shortstay visit to family... I will run the diagnostic commands when I get back home and report back! Manny thanks!

Peter
300B
Posts: 24
Joined: Fri Dec 23, 2016 1:43 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by 300B »

Ok I did it, or, I hope I did....

───────────────────────────────────────
DietPi | 10:52 | Wed 04/01/17
───────────────────────────────────────
V141 | RPi 3 Model B (armv7l)
───────────────────────────────────────
IP Address | 192.168.1.145
───────────────────────────────────────

Created by : Daniel Knight
Web : http://DietPi.com
Twitter : http://twitter.com/dietpi_
Donate : http://goo.gl/pzISt9
DietPi's web hosting is powered by: MyVirtualServer.com

dietpi-launcher = All the DietPi programs in one place.
dietpi-config = Feature rich configuration tool for your device.
dietpi-software = Select optimized software for installation.
htop = Resource monitor.
cpu = Shows CPU information and stats.

root@DietPi:~# cat /DietPi/config.txt | grep dtoverlay
#dtoverlay=none
root@DietPi:~# lsmod
Module Size Used by
snd_usb_audio 118736 0
snd_hwdep 5727 1 snd_usb_audio
snd_usbmidi_lib 19673 1 snd_usb_audio
snd_rawmidi 18260 1 snd_usbmidi_lib
snd_seq_device 3621 1 snd_rawmidi
snd_pcm 75620 1 snd_usb_audio
snd_timer 18688 1 snd_pcm
snd 51434 7 snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_seq_device
evdev 11104 0
bcm2835_gpiomem 3040 0
bcm2835_wdt 3225 0
uio_pdrv_genirq 3164 0
uio 8000 1 uio_pdrv_genirq
fuse 82597 1
ipv6 345214 20
root@DietPi:~# lsusb
Bus 001 Device 004: ID 1852:5034 GYROCOM C&C Co., LTD
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@DietPi:~# aplay -1
aplay: invalid option -- '1'
Try `aplay --help' for more information.
root@DietPi:~# cat /etc/asound.conf
pcm.!default {
type hw
card 0
device 0
}
ctl.!default {
type hw
card 0
device 0
}
root@DietPi:~# amixer -cO
Invalid card number.
Usage: amixer <options> [command]

Available options:
-h,--help this help
-c,--card N select the card
-D,--device N select the device, default 'default'
-d,--debug debug mode
-n,--nocheck do not perform range checking
-v,--version print version of this program
-q,--quiet be quiet
-i,--inactive show also inactive controls
-a,--abstract L select abstraction level (none or basic)
-s,--stdin Read and execute commands from stdin sequentially
-R,--raw-volume Use the raw value (default)
-M,--mapped-volume Use the mapped volume

Available commands:
scontrols show all mixer simple controls
scontents show contents of all mixer simple controls (default command)
sset sID P set contents for one mixer simple control
sget sID get contents for one mixer simple control
controls show all controls for given card
contents show contents of all controls for given card
cset cID P set control contents for one control
cget cID get control contents for one control
root@DietPi:~# amixer -c1
root@DietPi:~#
300B
Posts: 24
Joined: Fri Dec 23, 2016 1:43 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by 300B »

Happy newyear and in good Health! Thx! Don't make haste.... tonight I am on a flight to Bali.... Back the 16th...
300B
Posts: 24
Joined: Fri Dec 23, 2016 1:43 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by 300B »

Hi there, I am back. I hope you can find the time to help with My Dac usb problem?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by Fourdee »

300B wrote:Hi there, I am back. I hope you can find the time to help with My Dac usb problem?
Hi,

Welcome back :D

Ok, for DietPi v142, we have new feature to select USB DAC's:
DietPi-Config | Audio > Sound card: Added support for selecting USB-DAC sound cards: https://github.com/Fourdee/DietPi/issues/683
You'll need to update dietpi:

Code: Select all

dietpi-update
After a reboot use dietpi-config to select the card:
dietpi-config > Audio options > Soundcard > USB DAC (at bottom of list)
The USB chip inside my DAC is the "Tenor 8802TL"
There may be an issue with this device, as mentioned here:
https://volumio.org/forum/usb-dac-with- ... t4504.html
http://stable.vger.kernel.narkive.com/C ... dback-data

If problems persist after the update, let me know, we'll try to patch the kernel for this device, then provide steps to install it.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
300B
Posts: 24
Joined: Fri Dec 23, 2016 1:43 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by 300B »

Hey there,

Thx for your response and good work. I updated, selected usb dac in the config menu. Sadly the problem persist, I realy hope there is a fix, In the past the chip worked with Linux I have been told... I realy like the little DietPi OS, its solid as a rock... It would be a dream to have it work with my gear and Roonbridge... :mrgreen:
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by Fourdee »

300B wrote:Hey there,

Thx for your response and good work. I updated, selected usb dac in the config menu. Sadly the problem persist, I realy hope there is a fix, In the past the chip worked with Linux I have been told... I realy like the little DietPi OS, its solid as a rock... It would be a dream to have it work with my gear and Roonbridge... :mrgreen:
Hi,

I cant promise anything, but i'll try putting the known patch fix for this into our kernel. I'll let you know when its ready (2-7 days) as will need you to test it for us :)
https://github.com/Fourdee/DietPi/issues/722
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
300B
Posts: 24
Joined: Fri Dec 23, 2016 1:43 pm

Re: USB Dac support, Tenor 8802TL USB chip

Post by 300B »

Thats grand! I will test of course, would be great If it works.... But already great, the fantastic support your giving, thx!!!!
Post Reply