Raspberry PI


Wolfgang Fahl

Java 8 installation[edit]

apt-get install oracle-java8-jdk

Run script[edit]

If you have an official touchscreen you can control the brightness of the screen with the darkmode button of can4eve.

You might want to make sure that you use the run script to start the app. The important lines are:

sudo chmod 0664 /sys/class/backlight/rpi_backlight/brightness
sudo chown root.pi /sys/class/backlight/rpi_backlight/brightness

Autostart[edit]

Example Can4Eve.desktop file to be placed in .config/autostart of your user. Please adapt the exec line to where you installed can4eve

[Desktop Entry]
Type=Application
Name=Can4Eve
Comment=Onboard Diagnostic software for Electric Vehicles
NoDisplay=false
Exec=/home/wf/source/java/can4eve/run

You can make the desktop shortcut available on your desktop by creating a symbolic link from your Desktop

cd $HOME/Desktop
ln -s /home/wf/.config/autostart/Can4Eve.desktop

Bluetooth[edit]

See description of the Bluetooth dongle OBDLink_LX

1
Raspberry PI Wolfgang Fahl
🖨 🚪