Git Product home page Git Product logo

Comments (4)

Braklet avatar Braklet commented on July 17, 2024

from squeezelite.

kayue avatar kayue commented on July 17, 2024

Tried sudo udevadm trigger but didn't work. Thank you for look into it tho.

from squeezelite.

kayue avatar kayue commented on July 17, 2024

Found a solution: https://forums.slimdevices.com/showthread.php?109934-LMS-could-not-reestablish-any-USB-connection-after-USB-Dac-is-disconnected/page2

I had a similar situation with the USB DAC in a Hypex DLCP. The list of available output devices offered when this DAC is connected to a Pi 3B+ running piCorePlayer 4.1.0 is:

null
sysdefault:CARD=DAC
front:CARD=DAC,DEV=0
surround21:CARD=DAC,DEV=0
surround40:CARD=DAC,DEV=0
surround41:CARD=DAC,DEV=0
surround50:CARD=DAC,DEV=0
surround51:CARD=DAC,DEV=0
surround71:CARD=DAC,DEV=0
iec958:CARD=DAC,DEV=0

I first tried the top option 'sysdefault:CARD=DAC', and that seemed to work and play music properly. But whenever the DAC was disconnected (e.g. when using the DLCP USB input for programming the DLCP), it required a reboot of the Pi for Squeezelite to find the DAC again.

The solution for me was to use the next option in the list, 'front:CARD=DAC,DEV=0'. This is totally robust, in that I can disconnect the DAC, and when I reconnect (even to a different USB port on the Pi), the music just magically starts playing again almost immediately - I don't even need to restart Squeezelite.

from squeezelite.

Braklet avatar Braklet commented on July 17, 2024

from squeezelite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.