Jump to content

[Pull Request] - WaveShare Touchscreen Driver Fix (Odroid) "disable_vu7"


RSS Bot

Recommended Posts

WaveShare Touchscreen Driver Fix (Odroid)

Description

A number of other WaveShare screens also use ID: 0eef:0005 and therefore the patch used to enforce the VU7 driver breaks these other screens. This was the purpose of the "disable_vu7" env boot param which correctly defaults to true. However, this is ignored in boot.cmd + the patches for the kernel reverse the changes made by Hardkernel to fix this problem.

I have corrected the problem by removing 0eef:0005 from the driver enforced ignore_list and changed boot.cmd to allow the "disable_vu7" to function correctly (adding usbhid quirk when set to false).

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Ran build of current kernel (meson 5.10) to test that changes are working as expected. They are. Touchscreen now works and is attached to the usbhid driver.
  • Can not test functionality of VU7 (do not have VU7) however I have created this patch from the fixes applied by Hardkernel. When updating "disable_vu7"=false the screen does not function correctly (as before) and is assigned dwav_usb_mt driver implying the changes to boot.cmd work correctly.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines