
by BertM » Wed Dec 04 2019 08:57
if (rpiScreen) {
bootstring = 'lcd_rotate=2' + os.EOL + 'display_hdmi_rotate=2' + os.EOL;
} else {
bootstring = 'display_lcd_rotate=2' + os.EOL + 'display_hdmi_rotate=2' + os.EOL;
transformationMatrix = '-1 0 1 0 -1 1 0 0 1';
}
// detect Raspberry Pi Foundation original touch screen
exec('/bin/grep "^rpi_ft5406\\>" /proc/modules', { uid: 1000, gid: 1000 }, function (error, stdout, stderr) {
if (error !== null) {
self.logger.info('No Raspberry Pi Foundation touch screen detected.');
} else {
rpiScreen = true;
$ /bin/grep "^rpi_ft5406\\>" /proc/modules
rpi_ft5406 16384 0 - Live 0x00000000
by gvolt » Wed Dec 04 2019 11:47
cat /boot/config.txt
by BertM » Wed Dec 04 2019 20:58
$ cat /boot/config.txt
initramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1
#### Touch Display setting below: do not alter ####
lcd_rotate=2
display_hdmi_rotate=2
#### Volumio i2s setting below: do not alter ####
dtoverlay=hifiberry-dacplus
by gvolt » Wed Dec 04 2019 22:15
by BertM » Yesterday 11:38
2019-12-03T08:53:21.532Z - info: Raspberry Pi Foundation touch screen detected.
2019-12-03T08:53:21.567Z - info: Using Xorg socket /tmp/.X11-unix/X0
2019-12-03T08:53:21.666Z - info: Backlight module of a Raspberry Pi Foundation touch screen detected.
by gvolt » Yesterday 11:57