Jump to content

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


RSS Bot
 Share

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

Donate and support the project!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...