Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    A133如何启用gt911触摸驱动

    其它全志芯片讨论区
    a133 驱动 触摸屏
    2
    23
    531
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lz608 LV 3 last edited by

      A133的屏幕,接了gt911芯片之后,驱动文件也找到了,怎么让这个驱动生效啊,有么有做过的大佬点拨一下

      1 Reply Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 9 last edited by

        kernel 开启这两个驱动选项:

        CONFIG_TOUCHSCREEN_GT9XXNEW_TS
        CONFIG_TOUCHSCREEN_GT9XXNEWDUP_TS
        
        L 1 Reply Last reply Reply Quote Share 1
        • L
          lz608 LV 3 @whycan last edited by

          @whycan 纯新人,这两个选项在哪里开启,大佬 能教教不?

          L 1 Reply Last reply Reply Quote Share 0
          • L
            lz608 LV 3 @lz608 last edited by

            @lz608 在 A133如何启用gt911触摸驱动 中说:

            @whycan 纯新人,这两个选项在哪里开启,大佬 能教教不?

            是在touchscreen下的Kconfig里面直接修改就可以了吗?

            W 1 Reply Last reply Reply Quote Share 0
            • W
              whycan晕哥 LV 9 @lz608 last edited by

              @lz608
              tina还是android?

              L 3 Replies Last reply Reply Quote Share 0
              • L
                lz608 LV 3 @whycan last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote Share 0
                • L
                  lz608 LV 3 @whycan last edited by

                  @whycan 4f32cb53-9635-4d11-9bea-42c006b3e8e5-image.png
                  是这个地方吧

                  1 Reply Last reply Reply Quote Share 0
                  • L
                    lz608 LV 3 @whycan last edited by

                    @whycan Android,我好像找到地方了,是这里吗
                    6c601eb2-d646-4a3d-a69b-316efc4de509-image.png

                    W 1 Reply Last reply Reply Quote Share 0
                    • W
                      whycan晕哥 LV 9 @lz608 last edited by whycan

                      @lz608
                      对的,是这里,再在dts配置好 i2c 总线下面的 gt911节点以及中断复位等就可以使用了.

                      建议先编译 longan 固件测试,android搞一次太久了.

                      L 1 Reply Last reply Reply Quote Share 0
                      • L
                        lz608 LV 3 @whycan last edited by

                        @whycan 老哥dts配置在哪里搞

                        W 1 Reply Last reply Reply Quote Share 0
                        • W
                          whycan晕哥 LV 9 @lz608 last edited by

                          @lz608
                          longan 或者 lichee 目录执行:

                          find device/ -name board.dts
                          
                          L 1 Reply Last reply Reply Quote Share 0
                          • L
                            lz608 LV 3 @whycan last edited by

                            @whycan 194807f1-53cf-48a6-bb34-132289bab53b-image.png
                            要修改这个board文件吗

                            W 1 Reply Last reply Reply Quote Share 0
                            • W
                              whycan晕哥 LV 9 @lz608 last edited by

                              @lz608
                              你的是哪个板级文件,就修改哪个目录的 board.dts 文件.

                              L 2 Replies Last reply Reply Quote Share 0
                              • L
                                lz608 LV 3 @whycan last edited by

                                @whycan c4的

                                W 1 Reply Last reply Reply Quote Share 0
                                • L
                                  lz608 LV 3 @whycan last edited by

                                  @whycan ae8a062c-6608-4d88-8b87-2aab84d2f402-image.png
                                  修改这个地方?

                                  W 1 Reply Last reply Reply Quote Share 0
                                  • W
                                    whycan晕哥 LV 9 @lz608 last edited by

                                    @lz608
                                    那就改 c4

                                    1 Reply Last reply Reply Quote Share 0
                                    • W
                                      whycan晕哥 LV 9 @lz608 last edited by

                                      @lz608 在 A133如何启用gt911触摸驱动 中说:

                                      修改这个地方?

                                      不一定是这里,看你挂在哪个 twi 下面.

                                      L 1 Reply Last reply Reply Quote Share 0
                                      • L
                                        lz608 LV 3 @whycan last edited by lz608

                                        @whycan 看屏幕接的口是吗,我这边是twi2,那现在应该是把,gt911挂载到twi2下面对吧

                                        W 1 Reply Last reply Reply Quote Share 0
                                        • W
                                          whycan晕哥 LV 9 @lz608 last edited by

                                          @lz608
                                          是的。

                                          L 1 Reply Last reply Reply Quote Share 0
                                          • L
                                            lz608 LV 3 @whycan last edited by

                                            @whycan 修改过之后,重新编译longan出了这个
                                            a5a7b762-2560-4fd1-a2b4-f53e1b3a6808-image.png
                                            我查了一下,好像是我menuconfig那一步出问题了,这个怎么调啊

                                            W 1 Reply Last reply Reply Quote Share 0
                                            • W
                                              whycan晕哥 LV 9 @lz608 last edited by

                                              @lz608
                                              建议先把文档先看一次。

                                              L 1 Reply Last reply Reply Quote Share 0
                                              • L
                                                lz608 LV 3 @whycan last edited by

                                                @whycan 好的 今天多谢了

                                                W 1 Reply Last reply Reply Quote Share 0
                                                • W
                                                  whycan晕哥 LV 9 @lz608 last edited by

                                                  @lz608
                                                  可以参考这个帖子: 刚刚收到的全志AIC800开发板

                                                  1 Reply Last reply Reply Quote Share 0
                                                  • 1 / 1
                                                  • First post
                                                    Last post

                                                  Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                                                  行为准则 | 用户协议 | 隐私权政策