Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 6 123 ... LastLast
Results 1 to 10 of 56
  1. #1
    Member
    Join Date
    Mar 2015
    Location
    Frankfurt
    Posts
    94

    piCorePlayer and USB Audio

    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.
    Living Room: piCorePlayer 6.1.0 on rPi 3B+ & Allo DigiOne & 1TB USB (LMS 8.0.1 & Squeezelite), Mutec MC-3+ Smart Clock, RME ADI-2 DAC, Unison Research Sinfonia, Klipsch Forte III.
    Bedroom: Boom / Workspace: Boom / Kitchen: Radio

  2. #2
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    1,090
    Quote Originally Posted by schiff1108 View Post
    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.
    (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]
    You'll have to configure squeezelite to use it, which probably can be done from the web interface. If not, add something like -o hw:CARD=ES9023 to squeezelite's options.
    Various SW: Web Interface | TUI | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | Chiptunes | LMSlib2go | ...
    Various HowTos: build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

  3. #3
    Senior Member kidstypike's Avatar
    Join Date
    Feb 2007
    Location
    Brindle
    Posts
    4,010
    I don't know a thing about USB audio, but there's a whole gang of options on the "Squeezelite Settings" page . . .

    Name:  save.jpg
Views: 4505
Size:  114.8 KB
    Server - LMS 8.0.1 Pi4B 4GB/Flirc case/pCP v7.0.0b6 - 74K library, playlists & LMS cache on SSD (ntfs)
    Study - Pi3B/pCP 7.0.0b6/pi screen/Allo Boss DAC Ruark MR1 Mk2
    Lounge - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
    Garage - Squeezebox Boom + Fostex sub
    Dining Room - Squeezebox Radio

    Spares - 2xTouch, 1xSB3, 7xRPi

  4. #4
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,520
    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

  5. #5
    Member
    Join Date
    Mar 2015
    Location
    Frankfurt
    Posts
    94
    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.
    Name:  Unbenannt.JPG
Views: 4419
Size:  28.5 KB
    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 6.1.0 on rPi 3B+ & Allo DigiOne & 1TB USB (LMS 8.0.1 & Squeezelite), Mutec MC-3+ Smart Clock, RME ADI-2 DAC, Unison Research Sinfonia, Klipsch Forte III.
    Bedroom: Boom / Workspace: Boom / Kitchen: Radio

  6. #6
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,520
    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

  7. #7
    Junior Member
    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

  8. #8
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,979
    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

  9. #9
    Junior Member
    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....

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,096
    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), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •