I would like to activate the USB Audio interface to connect an external DAC.
As I do have only little Linux know-how and no experience with ALSA, I am wondering what are the thyical steps to get an external DAC configured.
I do not find any ressources in the internet what are of help for me.
Would be great if somebody could help or direct me to a useful page in the internet.
Results 1 to 10 of 57
Thread: piCorePlayer and USB Audio
-
2018-07-02, 11:27 #1
- Join Date
- Mar 2015
- Location
- Frankfurt
- Posts
- 99
piCorePlayer and USB Audio
Living Room: piCorePlayer 7.0.0 on rPi 3B+ & 1TB USB (LMS 8.2.0 & Squeezelite), Mutec MC-3+ Smart Clock, RME ADI-2 DAC, Unison Research Sinfonia, Klipsch Forte III.
Bedroom: Boom / Workspace: Boom / Kitchen: Radio
-
2018-07-02, 14:24 #2
- Join Date
- Aug 2012
- Location
- Austria
- Posts
- 1,195
(NB: since I'm not familar with piCorePlayer, the following is generic):
You probably don't need to activate anything, if USB audio is enabled in the kernel (which is very likely), it should be detected automatically (both by the USB subsystem, and ALSA)
Plug it in and check (example from a RPi3, edited for clarity):
Code:user@raspi3-64$ dmesg|grep USB [ 2.351587] usb 1-1.3.4: New USB device found, idVendor=10c4, idProduct=8a27 [ 2.353278] usb 1-1.3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.354949] usb 1-1.3.4: Product: HIRESFI USB DAC ES9023 user@raspi3-64$ aplay -L default:CARD=ES9023 HIRESFI USB DAC ES9023, USB Audio Default Audio Device user@raspi3-64$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: ES9023 [HIRESFI USB DAC ES9023], device 0: USB Audio [USB Audio]
Various SW: Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | DB Optimizer | Chiptunes | LMSlib2go | ...
Various HowTos: build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
-
2018-07-02, 14:29 #3
I don't know a thing about USB audio, but there's a whole gang of options on the "Squeezelite Settings" page . . .
Server - LMS 8.2.0 Pi4B 4GB/Argon one case/pCP v7.0.1 - 75K library, playlists & LMS cache on SSD (ntfs)
Study - Pi3B/pCP 7.0.1/pi screen/AlloBoss DAC HAT/Ruark MR1 Mk2
Lounge - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
Dining Room - Pi3B/pCP/Bluetooth/Echo Show 8
Garage - DAC32 > Edifier speakers
Spares - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi
-
2018-07-02, 18:19 #4
Just select the usb option from the dropdown. Then expand the outputsettings line on the squeezelite options, and pick an output.......there are some other USB tweaks. But we need the know what usb dac that you have.
piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2018-07-03, 13:55 #5
- Join Date
- Mar 2015
- Location
- Frankfurt
- Posts
- 99
I want to connect to Mutec MC-3+ Smart Clock USB - an audio re-clocker.
It was much easier then I thought to get sound.
piCorePlayer is well helping to understand the content of the output setting string.
There is sound in all sample rates from 44.1 to 192. Stream is working w/o any interruptions
Can / Must I do anything to improve sound quality?
eg Max Sample Rate, Unmute ALSA control, ALSA volume control, any Tweak?Living Room: piCorePlayer 7.0.0 on rPi 3B+ & 1TB USB (LMS 8.2.0 & Squeezelite), Mutec MC-3+ Smart Clock, RME ADI-2 DAC, Unison Research Sinfonia, Klipsch Forte III.
Bedroom: Boom / Workspace: Boom / Kitchen: Radio
-
2018-07-03, 15:49 #6
On the tweaks page, there is a section called USB Audio Tweaks.
They may or may not help you.....just experiment.piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer
-
2018-08-30, 05:35 #7
- Join Date
- Aug 2018
- Posts
- 1
Hi all,
I'm using this thread because I've the same problem descripted here..
I've tried with dmesg|grep USB, and this is the result:
[ 1.090870] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 1.091249] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.091260] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.092038] hub 1-0:1.0: USB hub found
[ 1.097483] usbhid: USB HID core driver
[ 1.552216] usb 1-1: new full-speed USB device number 2 using dwc_otg
[ 1.834283] usb 1-1: New USB device found, idVendor=08bb, idProduct=2704
[ 1.834300] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.834308] usb 1-1: Product: USB Audio DAC
[ 1.838938] input: Burr-Brown from TI USB Audio DAC as /devices/platform/soc/20980000.usb/usb1/1-1/1-1:1.2/0003:08BB:2704.0001/input/input0
[ 1.902489] hid-generic 0003:08BB:2704.0001: input,hidraw0: USB HID v1.00 Device [Burr-Brown from TI USB Audio DAC ] on usb-20980000.usb-1/input2
but with aplay -l:
aplay: device_list:268: no soundcards found...
and aplay -L:
null
Discard all samples (playback) or generate zero samples (capture)
The USB DAD is a cheap PCM2704 card, that I've already used with piCore years ago.. but now with a fresh installation I'm not able to manage the card in order to work.. have you any ideas how I've to setup Squeezelite?
Thanks in advance,
Mauro
-
2018-08-30, 16:29 #8
hi Mauro,
What is unusual is it doesn't find the built-in audio either?
I just tested my Generic USB DAC on pCP4.0.0-b7 and everything looks as expected. I am a little lost because all you have to do is plug it in as you have done.
Power problem?
regards
Greg
-
2020-04-12, 08:01 #9
- Join Date
- Apr 2020
- Posts
- 8
Hd USB AUDIO
Hi i have the usb dac 357 khz the name is Hd USB AUDIO and thid is the grep usb:
tc@piCorePlayer:~$ dmesg|grep USB
[ 1.417098] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 1.417641] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 1.417659] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.418840] hub 1-0:1.0: USB hub found
[ 1.425695] usbhid: USB HID core driver
[ 1.966922] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.277414] usb 1-1: New USB device found, idVendor=0424, idProduct=9512, bcdDevice= 2.00
[ 2.277467] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.278777] hub 1-1:1.0: USB hub found
[ 2.596903] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.727411] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 2.727437] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.828572] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:bc:c8:07
[ 2.926904] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 3.060068] usb 1-1.3: New USB device found, idVendor=262a, idProduct=9227, bcdDevice= 0.01
[ 3.060091] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.060102] usb 1-1.3: Product: HD USB Audio
[ 3.078041] hid-generic 0003:262A:9227.0001: hidraw0: USB HID v1.00 Device [XENRAN Audio HD USB Audio] on usb-20980000.usb-1.3/input0
how to set it in picorePlayer????
thak you so much....
-
2020-04-12, 08:08 #10
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 3,957
From the command line type
squeezelite -l
(that is a small letter L)
That willl show you what Squeezelite can see (you can see the same list from the pCP web interface).
Then pick the most likely ... and if it does not work try another ... and repeat.Paul Webster
http://dabdig.blogspot.com
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland