GithubHelp home page GithubHelp logo

Comments (4)

pelwell avatar pelwell commented on June 12, 2024

Any comments, @waveshare?

from linux.

6by9 avatar 6by9 commented on June 12, 2024

Display and touch resolutions can differ - see the 7.9" panel where touch has to be defined as 4096x4096.

https://github.com/raspberrypi/linux/blob/rpi-6.1.y/arch/arm/boot/dts/overlays/vc4-kms-dsi-waveshare-panel-overlay.dts#L93-L94 sets the touch resolution.
https://github.com/raspberrypi/linux/blob/rpi-6.1.y/drivers/gpu/drm/panel/panel-waveshare-dsi.c#L80-L93 defines the panel resolution.

I don't have the 7.0" C panel to test with.
Do you have one and are observing issues, or is this purely a code review comment?

from linux.

Romain-Donze avatar Romain-Donze commented on June 12, 2024

So after tinkering a bit, I found out that my problem was due to the fact that I did'nt set correct params to i2c1 so after adding

dtoverlay=vc4-kms-dsi-waveshare-panel,7_0_inchC,i2c1 to config.txt it works ok with With Raspberry Pi OS Lite. I now have some issue making it work with a custom yocto build so I created an issue in meta-raspberrypi instead

agherzan/meta-raspberrypi#1260

So I guess that if it is intended to write:

7_0_inchC = <&panel>, "compatible=waveshare,7.0inch-c-panel",
<&touch>, "touchscreen-size-x:0=800",
<&touch>, "touchscreen-size-y:0=480";

Then we can close this issue

from linux.

pelwell avatar pelwell commented on June 12, 2024

If it's working for you, i.e. the display looks correct with no scaling artifacts, and the touchscreen is behaving itself, then I think we're done.

from linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.