Re: [SlimDevices: Unix] LMS on Alpine Linux

2020-05-05 Thread sodface
Finally made some decisions and have LMS installed from custom Alpine packages on my new Dell/Wyse 5070. So far so good. I went with an /opt setup following the FHS, at least so far as I can decipher it. I ended up having four packages: lms lms-utils lms-modules lms-nocpan The lms package is

Re: [SlimDevices: Unix] piCorePlayer and On / Off software switch

2020-05-05 Thread paul-
We use this method. Look at the gpio-shutdown and gpio-powerdown. https://github.com/raspberrypi/linux/blob/9da67d7329873623bd5c13fae5835d76d5be8806/arch/arm/boot/dts/overlays/README#L823 Then look at the tweaks page, thats where these get enabled. If you would rather not use the overlay me

Re: [SlimDevices: Unix] GPIO Poweroff 'blink'

2020-05-05 Thread paul-
No you need to check the default RPI firmware gpio states. https://github.com/raspberrypi/firmware/blob/master/extra/dt-blob.dts The Shutdown is the same as issuing "shutdown" from the command line. Provided LMS is playing nice, it will respond to that command and terminate gracefully. piC

Re: [SlimDevices: Unix] piCorePlayer and On / Off software switch

2020-05-05 Thread gtj
truscellino wrote: > Hi, > Can this thread help? > https://forums.slimdevices.com/showthread.php?109270-PiCore-Player-and-gpio-poweroff-gpio-shutdown-overlays/page3 > It shows how to configure the shutdown options in PiCorePlayer > configuration. > The link you provided includes a Python script.

Re: [SlimDevices: Unix] piCorePlayer and On / Off software switch

2020-05-05 Thread gtj
Greg Erskine wrote: > This Raspbian based solutions assume you have python installed. > > piCorePlayer doesn't have python or the required python modules loaded. > Python is actually bigger than the whole of piCorePlayer. > > piCorePlayer does have microPython loaded, but I don't know if the >

Re: [SlimDevices: Unix] piCorePlayer and On / Off software switch

2020-05-05 Thread truscellino
Hi, Can this thread help? https://forums.slimdevices.com/showthread.php?109270-PiCore-Player-and-gpio-poweroff-gpio-shutdown-overlays/page3 It shows how to configure the shutdown options in PiCorePlayer configuration. The link you provided includes a Python script. I am not sure if Python is inst

Re: [SlimDevices: Unix] piCorePlayer and On / Off software switch

2020-05-05 Thread Greg Erskine
This Raspbian based solutions assume you have python installed. piCorePlayer doesn't have python or the required python modules loaded. Python is actually bigger than the whole of piCorePlayer. piCorePlayer does have microPython loaded, but I don't know if the required microPython module is ava

Re: [SlimDevices: Unix] LiFePO4wered/Pi+

2020-05-05 Thread truscellino
Hi, I am not sure to understand what you are looking for exactly. UPS? Could the Pi-Supply products be of interest for your project? https://uk.pi-supply.com/collections/power-supplies-and-batteries I have not used them myself but from what I have gathered they are OK. Sorry if my answer is off-t

[SlimDevices: Unix] piCorePlayer and On / Off software switch

2020-05-05 Thread gtj
Hello, I'm looking t implement a software safe-shutdown switch to my Picoreplayer. I tried to follow this process and install that script below to no avail as there are missing dependencies. https://howchoo.com/g/mwnlytk3zmm/how-to-add-a-power-button-to-your-raspberry-pi Is there a way to use s

Re: [SlimDevices: Unix] GPIO Poweroff 'blink'

2020-05-05 Thread yvesg
Thanks I'll look into that, but I might be the case. Strange thing that it's happening on shutdown, so the default pin state should be set by the OS. Another question on the side: If you issue the shutdown command on the GPIO pin to shut down pCP, does the LMS server running on the same PI shut

Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2020-05-05 Thread BobSammers
mherger wrote: > Once we had a documented "standard" image I could build optimized > packages for these. We would know what Perl was used, thus could create > > a package with only those binaries required for this version. > The Docker base image I have used (the one in the Doliana Dockerhub

Re: [SlimDevices: Unix] GPIO Poweroff 'blink'

2020-05-05 Thread paul-
https://forums.slimdevices.com/showthread.php?110421-Help-needed-configuring-Audiophonics-power-button-shut-off-in-piCorePlayer There are a few others. What is likely going on, every GPIO has a default state that the firmware setsthis happens before the OS takes over. You might need to r

Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2020-05-05 Thread BobSammers
justi wrote: > > This is only for ARM, right? I haven't looked but I guess the ARM deb > isn't including all the CPAN versions that the x86 one does, it is 47Mb > compared to 139Mb. Yes, I should probably have been clearer. The specific architecture .debs are all under 50Mb, though; it's only

Re: [SlimDevices: Unix] GPIO Poweroff 'blink'

2020-05-05 Thread yvesg
Hi Paul Can you clarify 'Power board', because the relay is not just a 'plain' relay, it's designed to be used with embedded systems like the Pi or Arduino. yvesg's Profile: http://forums.slimdevices.com/member.php?userid

Re: [SlimDevices: Unix] LiFePO4wered/Pi+

2020-05-05 Thread Dutch87
If it turns out, nobody ever got this driver working with piCoreplayer maybe it's better for me to look for an alternative powersource... This I2C so far is too challenging withouth a manual how to edit it. So far I could only find this that shows how to read it https://learn.adafruit.com/adafrui

Re: [SlimDevices: Unix] LiFePO4wered/Pi+

2020-05-05 Thread Dutch87
chill wrote: > Are the register settings permanently written to the device, and are the > tools provided pre-built for a different OS? If so, could you use that > OS to disable the boot timeout? > > From the product brief: Indeed, it seems one can rewrite this in the firmware... but now im loo

Re: [SlimDevices: Unix] LiFePO4wered/Pi+

2020-05-05 Thread chill
Are the register settings permanently written to the device, and are the tools provided pre-built for a different OS? If so, could you use that OS to disable the boot timeout? >From the product brief: > PI_BOOT_TO > 1 byte, register address 0x21, read/write, saved to flash > Default value: 30 (c

Re: [SlimDevices: Unix] LiFePO4wered/Pi+

2020-05-05 Thread Dutch87
Paul Webster wrote: > Will need working through this to see what tricks they need > https://github.com/xorbit/LiFePO4wered-Pi > > > Edit: I had a quick look and it appears to require Python and some build > tools > Does not look straight forward to me. Thanks for looking and I'm afraid too...

Re: [SlimDevices: Unix] LiFePO4wered/Pi+

2020-05-05 Thread Paul Webster
Will need working through this to see what tricks they need https://github.com/xorbit/LiFePO4wered-Pi Paul Webster http://dabdig.blogspot.com Author of plugins for Radio France (FIP etc), KCRW and Supla Finland Paul Webst

[SlimDevices: Unix] LiFePO4wered/Pi+

2020-05-05 Thread Dutch87
Dear people. Since some time I user of LMS and Picoreplayers troughout the house for sonos like experience but better. I recently wanted to use a headphone amp hat on a project and the only one was the Pirate Audio with screen and buttons. http://kiwi-electronics.nl/pim-482 A bit of an overkill

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-05-05 Thread chill
superpat999 wrote: > > Please, Please could you put a warning in your instructions to make > people aware of the choice and that an edit may have to be made. It > would save a lot of grief! > Hi Patrick - that's a good idea. At the time that script was written I don't think there'd been any

Re: [SlimDevices: Unix] piCorePlayer and USB Audio

2020-05-05 Thread nimnul
Im plugging directly into my DAC/Preamp, which has an Amanero USB input. Sound is fine from both PCM and DSD, but the first tenths of seconds of the songs is missing. Like the first bar is missing. How do I adress that? If I use HifiBerry Digi+ I dont have that issue (but then I cant play DSD

Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2020-05-05 Thread superpat999
HI, I got a new Pirate audio 3w amp board end of last week. Installed Jivelite etc as post #348. but Y switch did not work. After a day poking about, I came across the warning in the thread that Pimoroni had changed from GPIO 20 to 24. You sbpt script still calls up the old GPIO:- # button

Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2020-05-05 Thread Michael Herger
This is only for ARM, right? I haven't looked but I guess the ARM deb isn't including all the CPAN versions that the x86 one does, it is 47Mb compared to 139Mb. Once we had a documented "standard" image I could build optimized packages for these. We would know what Perl was used, thus could cr

Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2020-05-05 Thread justi
BobSammers wrote: > > I agree with epoch1970: images are supposed to be immutable, and if > you're doing updates in the container, you're not doing it the "docker > way". > To avoid confusion for others in what you and epoch1970 have said, images *are always* immutable, they are used to cre

Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2020-05-05 Thread justi
BobSammers wrote: > > The Doliana image is based on a small (20MB) official Debian image, > which is not quite 'Alpine' small, but pretty good, and already includes > Perl. After that, only a small number of additional components are > installed along with the LMS .deb nightly. The container I

Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2020-05-05 Thread justi
adhawkins wrote: > Yeah, I was the one that requested that. It's all gone quiet though... > > https://discourse.linuxserver.io/t/container-for-logitech-media-server-aka-squeezebox-server-aka-slimserver/619 > > No real updates since January. > > Andy It would be great if these guys would make

Re: [SlimDevices: Unix] Running LMS on Raspberry Pi for newbie to the Pi

2020-05-05 Thread Man in a van
pleased it worked :) no need for thanks, I nicked it from here :p https://forums.slimdevices.com/showthread.php?111940-RaspberryPi-4-Install-problem-user-permissions&p=970693&viewfull=1#post970693 ronnie Man in a van

Re: [SlimDevices: Unix] Running LMS on Raspberry Pi for newbie to the Pi

2020-05-05 Thread rbl
Man in a van wrote: > > Code: > > sudo chmod -R 775 /media > > > This worked - actually I used 777 in the end. It seems obvious now, have to give access to the parent directories too! Many thanks ... SB3 -> Quad 909 -> Quad Electrostatic speak