Screen-Notes.md 1.5 KB

Screen Notes

Resistive touchscreens are probably a necessity as drivers wearing normal gloves will not be able to trigger input events to the DIU screen.

There are standard 5 inch resistive touch screens that are available for the RPi. I've found one that has an HDMI adapter, USB power, USB mouse out and a 3.5mm audio jack (src).

Calibration

I'm still a bit unclear about this, but running this 'out of the box' looks like it improved things (?):

sudo bash
apt-get install libts-bin
ts_calibrate

There's another program called ts_test but I'm having trouble getting that to run.

Sound Issues

Sometimes the first few seconds of sound gets cut off. I believe this is caused by the HDMI sound 'going to sleep'.

The following looks to fix the issue:

vcgencmd force_audio hdmi 1

If this issue is present, adding the above line to rc.local is advisable.

I believe I'm still hearing the issue after some time. Maybe there's a time limit or maybe something else makes it go back into it's default state of 'sleep' (the 'dim' function perhaps?) so this might need to be done periodically or on a trigger.

References