After installing the LCD display drivers, I cannot start GUI on external monitor connected via HDMI.
A solution to this problem will probably be a solution to a more general issue I have.
So, is this an expected behavior? I think the install script overrides some system files and next time when I boot my Raspberry PI 2, the monitor receives signal from rpi, but I only have TTY access, not being able to start the GUI (
startx gives an error that it doesn't find the lcd module).
Here is what the driver install script does:
sudo cp -rf ./etc/modules-35 /etc/modules sudo mkdir /etc/X11/xorg.conf.d sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-35 /etc/X11/xorg.conf.d/99-calibration.conf sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf /usr/share/X11/xorg.conf.d/ sudo cp ./kernel.img /boot/kernel.img sudo cp ./kernel7.img /boot/ sudo cp ./cmdline.txt /boot/ sudo cp ./inittab /etc/ sudo cp ./boot/config-35.txt /boot/config.txt sudo cp -rf ./modules /lib/ sudo reboot
I was struggling to create a script to rollback these changes (create backups in this install script, but still no success).