Reply To: LCD illumination turns on when not needed

Max2Play Home Forums Max2Play on Raspberry PI LCD illumination turns on when not needed Reply To: LCD illumination turns on when not needed

25. August 2017 at 15:51 #30918

Squeezelite:
Soundcard: sysdefault – snd_rpi_hifiberry_dacplus …
ALSA Parameter: 80:4::
Command Line Options :
(no command line options)

I don’t know where to find Audioplayer debug log (in GUI or in shell, and where is it?)
I use squeezelite+jivelite on max2play and I control it using Squeezeplay/Windows or Squeeze Commander/Android.

Below I include „Debug Informationen“ from Audioplayer card in my max2play web interface.

Note that I have just written a working workaround as a script in bash (autostarted in /etc/rc5.d – /etc/init.d) which every 5 seconds checks if the screen is all blank/black. If the screen is all blank/black, then the script turns off LCD illumination. If not, it turns illumination on. I use xwd to dump the current screenshot to file. Then my script compares current dump file with black screen file dumped earlier. I use diff to compare files.

So it is no longer an urgent issue for me, however I would appreciate if you provide a more subtle solution.

Below I include „Debug Informationen“ from Audioplayer card in my max2play web interface.

#### SQUEEZELITE VERSION ####
Squeezelite Max2Play v1.0.2 based on v1.8.4-726, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.

#### SQUEEZELITE BUILDOPTIONS ####
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC

#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpihifiberry -a 80:4::
SQUEEZESLAVE_PARAMETER=-n plugequal
SHAIRPORT_PARAMETER=-d default:CARD=sndrpihifiberry
USE_USB_DAC=0
USE_EQUALIZER=1
SYSTEM_USER=pi
SPOTIFYCONNECT_PARAMETER=–username xxxxxx –password „xxxxxx“ –device sysdefault:CARD=sndrpihifiberry

#### SQUEEZELITE -l ####
Output devices:
null – Discard all samples (playback) or generate zero samples (capture)
pulse – PulseAudio Sound Server
equal
plugequal – Equalizer for plughw:1,0
default:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
sysdefault:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
dmix:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample mixing device
dmix:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample snooping device
hw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Hardware device with all software conversions
default:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, – Default Audio Device
sysdefault:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, – Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Hardware device with all software conversions

#### SHAIRPORT VERSION ####
2.8.0-openssl-Avahi-ALSA-soxr

#### OUTPUT SOUND DETAILS CARD 0 ####
closed

#### OUTPUT SOUND DETAILS CARD 1 ####
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (352800/8)
period_size: 882
buffer_size: 3528

  • This reply was modified 6 years, 7 months ago by Ravenik.
  • This reply was modified 6 years, 7 months ago by Ravenik.
  • This reply was modified 6 years, 7 months ago by Ravenik.