Comments (3)
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.
Pls see my reply for pCP won't start when DAC is powered off #173
from squeezelite.
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
(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
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)
- vorbis noise on large output buffer HOT 1
- Build error in gpio.c with latest PR HOT 2
- codec min space in OggFlac can cause dead lock HOT 1
- flac and ogf streams HOT 3
- output threshold is incorrect HOT 2
- Power controls (gpio/script) tied to output device being open rather than soft power button state
- Build fails on 1466 (commit c89faf3) HOT 15
- Build error in flac.c on revision 1466 HOT 2
- Whole-album flacs with embedded cuesheet playback broken by commit c89faf3 Ogg metadata (and a bit more) HOT 11
- relay-script toggles off/on/off during start HOT 9
- Version 1476 - Error compiling on X86 and Raspberry 4 HOT 13
- Request: Create Release HOT 4
- OggFlac chaining HOT 2
- unhandled grfe HOT 4
- squeezelite-pulse sync issues
- Issue with mp3 playback on Alpine Linux with recent squeezelite versions HOT 8
- Crash on Arch Linux
- Building on macOS does not use libraries installed by package managers HOT 5
- macOS M1 binary release Squeezelite.app is corrupted HOT 2
- Compiling: error with gpio.h HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squeezelite.