Bug #846

Touchscreen apps don't work on TFT

Added by Hammel about 1 month ago. Updated about 5 hours ago.

Status:ClosedStart date:21 Jun 2021
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:04 - Applications
Target version:2.0 - Harkonnen
Severity:01 - Critical

Description

I was able to start pinet (only app displayed by the launcher) on the TFT but cannot exit it, possibly because the screen size is not accurate in the app.

Associated revisions

Revision dd99aac9
Added by Hammel 9 days ago

RM #846: Add option to build the piplayer launcher with the terminal app.

Revision dd99aac9
Added by Hammel 9 days ago

RM #846: Add option to build the piplayer launcher with the terminal app.

Revision 70679fce
Added by Hammel 2 days ago

RM #846: Add support for ADS7648 TFT touchscreen.

Revision a58fb41d
Added by Hammel 1 day ago

RM #846: Add missing TFT support to piboxGetDisplayType().

Revision 57a4c131
Added by Hammel 1 day ago

RM #846: Remove display_type in favor of CLI_TOUCH flag.

Revision 57a4c131
Added by Hammel 1 day ago

RM #846: Remove display_type in favor of CLI_TOUCH flag.

Revision 43c2bd3d
Added by Hammel about 5 hours ago

RM #846: Allow external packages to prevent S99UI from updating xorg.conf.

History

#1 Updated by Hammel 2 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

piboxlib needed to be updated to support TFT displays. A first attempt left out support in piboxGetDisplayType(). I have a fix in my sandbox that needs testing.

#2 Updated by Hammel 1 day ago

  • Status changed from In Progress to New
  • % Done changed from 30 to 70

The latest update to piboxlib fixes pinet. Now I need to test with all touch apps.

Note that pinet changed how it handles recognizing a touchscreen. It now checks if it's a TFT and then sets the local CLI_TOUCH flag. This is cleaner than what was being used previously and should be propagated to all touchscreen aware UI apps.

#3 Updated by Hammel 1 day ago

One step forward, one step back...

Now I find that S99UI in the dev platform (pibox repo: src/buildroot/etc/init.d/S99UI) will update xorg.conf, trying to use xorg.conf.rpitouch. I don't want it doing that with the TFT displays because the TFT package (and pibox-hdmi script) can fix things up as needed.

So I need to add some kind of flag to tell S99UI not to do that and have lcdshow package set that flag on install (and unset it on package removal).

#4 Updated by Hammel 1 day ago

  • Status changed from New to In Progress

Changes applied, in sandbox, to rootfs (S99UI) and lcdshow package. Both need to be tested before pushing.

#5 Updated by Hammel about 5 hours ago

  • Status changed from In Progress to Closed
  • % Done changed from 70 to 100

This is now fixed and pisentry can be installed with the TFT display.

Changes tested on hardware, committed and pushed. If additional problems are encountered they will be tracked separately.

Closing issue.

Also available in: Atom PDF