Git Product home page Git Product logo

Comments (3)

marcgarciamarti avatar marcgarciamarti commented on August 17, 2024

hi @ralph-irving ! I returned my E50 and decided to give the D90 a try. I am experiencing the same issues with this model too. I've been reading the thread #114 and I've tried to follow the suggested steps, but I was not successful. usb-power extension is not available in the extensions repo.

Could you kindly give me a hand with this? I think I have a winner combination (pCP + LMS + Topping + Cambridge CXA61), and I think that I'm close to having them all click together.

thanks!

from squeezelite.

Supertramp1969 avatar Supertramp1969 commented on August 17, 2024

Pls see my reply for pCP won't start when DAC is powered off #173

from squeezelite.

marcgarciamarti avatar marcgarciamarti commented on August 17, 2024

Ok, after some investigation and specially thanks to the folks at forums.slimdevices.com I managed to get my setup to work.

These are the two things that turned my situation around:

  • I educated myself to turn off pCP player on an off every time I want to listen to music in my stereo (A)
  • I included the needed settings to ensure that my DAC would go into standby mode (B)

I believe that both things need to be done in order to turn around the user experience. Doing just one may get partial results.

(A) when one is using LMS, one simply needs to action the small radio button

Screenshot 2023-01-04 at 22 00 14

(B) First things first: in order to get this to work, a "magic" file needs to be created during boot time. That file needs to be be tailored for the DAC that you are using. Luckily, all Topping DACs seem to be advertising themselves the same way to pCP, which has allowed me to benefit from the outcomes of this issue: #114. If this is not your case, I don't think the below steps will work unless @ralph-irving adds the needed configuration to the RO filesystem. In my case I simply piggybacked on that solution.

So, this is what I did:

It is key to have pCP extension usb-power.tcz installed in your pCP instance. I tried installing that extension using the extension menus in pCP and unfortunately those extensions were not available through pCP UI. Fortunately Fortunately @ralph-irving uploaded the extensions into sourceforge. Once the extensions were available online, this is what I did to manually install them:

cd /home/tc
wget http://downloads.sourceforge.net/project/picoreplayer/beta/usb-power.tcz
wget http://downloads.sourceforge.net/project/picoreplayer/beta/usb-power.tcz.md5.txt
md5sum -c usb-power.tcz.md5.txt 
tce-load -i usb-power
echo usb-power.tcz >> /mnt/mmcblk0p2/tce/onboot.lst
pcp br

After pCP boots up, check that the extension is called out on the onboot.lst file.

tc@piCorePlayerLMS:/var/log$ cat /etc/sysconfig/tcedir/onboot.lst
pcp.tcz
pcp-8.2.0-www.tcz
slimserver.tcz
ntfs-3g.tcz
exfat-utils.tcz
samba4.tcz
uhubctl.tcz
nano.tcz
**usb-power.tcz**

I found that for the whole thing to work, usb-power.tcz needed to be copied into the folder /etc/sysconfig/tcedir/optional. Reboot once you have copied those files.

cp /home/tc/usb-power* /etc/sysconfig/tcedir/optional/.
pcp br

You can confirm that the extension is being loaded during boot by running this:

tc@piCorePlayerLMS:/mnt/mmcblk0p2/tce/optional$ tce-status -i | grep usb
libusb
usb-power

If you now see the "magic" file in this folder, you are good to go:

tc@piCorePlayerLMS:~$ ls -l /tmp/tcloop/usb-power/etc/udev/rules.d/
total 1
-rw-r--r--    1 root     root           132 Nov 25  2020 01-topping-e30-dac-usb-power.rules

There is one last thing needed to make the whole setup work. Add these commands in the custom commands

uhubctl -l 1-1 -p 2 -a 0
uhubctl -l 1-1 -p 2 -a 1

Screenshot 2023-01-04 at 22 23 42

Check first where your DAC is hooked up to. In my case, my system "sees" my DAC connected to port 2, but your system may register it in some other port. HINT: I confirmed my port settings because the first command "-a 0" and "-a 1" trigger the welcome screen on my DAC off and on.

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.