Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-05-09 Thread paul-
Sorry to mislead youJivelite thread to understand key presses. Gpio Keys are handled by https://github.com/raspberrypi/linux/blob/74a357602c469b159202ce7ef629d7e8fd8ba97c/arch/arm/boot/dts/overlays/README#L691 Not sure if anyone has actually tried it. Best to start a new thread with wh

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-05-09 Thread meq123
paul- wrote: > If you want to used gpio to control Jivelite, you will need to simulate > keyboard events. I think this is covered in the Jivelite thread. Well i just finished reading through the 100 (!) pages of the Jivelite thread (I assume this is the one: https://forums.slimdevices.com/sho

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-05-09 Thread chill
I agree that issuing the halt command is easy enough, but in a setup that's already using sbpd a script wouldn't be necessary. Isn't it just a case of adding a new command to sbpd_command.cfg, say: Code: XLMS=["stopserver"] ...and then assigning

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-05-09 Thread paul-
halt is more reliable. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if yo

Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi

2019-05-09 Thread chill
Steering the discussion back to sbpd, I've just spotted that there's a 'stopserver' command. Would it be sufficient to issue this command, via a button press in sbpd, before pulling the power? Would this ensure that no writing to cache and prefs is taking place at the moment the power is pulled