您尚未登录。

楼主 #1 2018-12-12 13:50:52

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核里面打印出来了 但是写个测试函数去读取event0的坐标时候总是读取read为小于0
下面的是我的一个测试函数
1_20181212-0050.png

离线

#2 2018-12-12 13:54:01

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

用 ev_test 或者 直接 cat /dev/input/eventX 呢? 有没有数据?如果这样也没有,检查看是否进入了驱动的中断





离线

楼主 #3 2018-12-12 14:08:02

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

晕哥 说:

用 ev_test 或者 直接 cat /dev/input/eventX 呢? 有没有数据?如果这样也没有,检查看是否进入了驱动的中断

进去一看 发现input下面有两个event0 和event1 我以前一直读取的是event0  所以一直读取不到

这是我的配置文件 
&i2c0 {
        status = "okay";

        goodix_gt911_2:goodix_gt911_2@5d{
                compatible = "goodix,gt911";
                reg = <0x5d>;
                interrupt-parent = <&pio>;
                interrupts = <1 3 IRQ_TYPE_EDGE_FALLING>;
                reset = <&pio 1 2 GPIO_ACTIVE_LOW>;
                irq-gpios =   <&pio 1 3 GPIO_ACTIVE_LOW>;

        };
};

离线

#4 2018-12-12 14:16:10

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

那现在可以读到了 ? /dev/input/event1 ?





离线

楼主 #5 2018-12-12 14:23:51

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

晕哥 说:

那现在可以读到了 ? /dev/input/event1 ?


是的

离线

#6 2018-12-12 14:25:54

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

无情一刀 说:
晕哥 说:

那现在可以读到了 ? /dev/input/event1 ?


是的

那恭喜了!有空多分享开发经验.





离线

楼主 #7 2018-12-12 15:36:16

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

哈哈
这没有啥 主要是那个I2C里面按那个配置了 还是就是选中那个gt911的触摸芯片 就没有问题了

离线

#8 2018-12-12 15:40:39

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

无情一刀 说:

哈哈
这没有啥 主要是那个I2C里面按那个配置了 还是就是选中那个gt911的触摸芯片 就没有问题了

上次那个FT5X06 https://whycan.cn/t_1862.html

不改驱动, 用下面这种配置在申请中断的时候, 会出问题吗?

interrupt-parent = <&pio>;
interrupts = <1 3 IRQ_TYPE_EDGE_FALLING>;
irq-gpios =   <&pio 1 3 GPIO_ACTIVE_LOW>;





离线

楼主 #9 2018-12-12 15:57:24

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

我的配置就是那样改的 在里面申请中断没有问题, 现在我也是想把上次那个edt-f5x05也改为这样方式  ,这不昨天重新clone一个Linux 现在下载到板子里面
出现5S重启,不是jffs的问题 我用好的板子烧写了内核的dtb 和zImage 没有烧写jffs 。还是一样的会出现下面截图
1_20181212-0256.png

离线

#10 2018-12-12 16:01:53

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

dts有没有添加spi flash设备, mtd分区有没有解析出来, 有没有添加 jffs2 驱动?

对照启动 log 都检查一下





离线

楼主 #11 2018-12-12 16:25:24

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

晕哥 说:

dts有没有添加spi flash设备, mtd分区有没有解析出来, 有没有添加 jffs2 驱动?

对照启动 log 都检查一下


uboot我没有动 以前还是可以用的 就是我重新下载了linux 4.13.16,我内核里面的dts和dtsi都是按照以前去设置的

离线

#12 2018-12-12 16:54:07

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

那把log贴出来看下





离线

楼主 #13 2018-12-12 17:18:59

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

U-Boot SPL 2017.01-rc2-00073-gdd6e874-dirty (Dec 12 2018 - 00:12:10)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Dec 12 2018 - 00:12:10 -0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x600 lcd console (overscan 0x0)
dotclock: 48000kHz = 48000kHz: (1 * 3MHz * 96) / 6
In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800


U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Dec 12 2018 - 00:12:10 -0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x600 lcd console (overscan 0x0)
dotclock: 48000kHz = 48000kHz: (1 * 3MHz * 96) / 6
In:    serial@01c28800
Out:   serial@01c28800
Err:   serial@01c28800
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffe59 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@ubuntu) (gcc version 6.1.1 20160711 (Linaro GCC 6.1-2016.08)) #3 SMP Tue Dec 11 22:42:28 PST 2018
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3e0a000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15790
[    0.000000] Kernel command line: console=ttyS2,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2 vt.global_cursor_default
[    0.000000] Booting kernel: `' invalid for parameter `vt.global_cursor_default'
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 53192K/63660K available (6144K kernel code, 229K rwdata, 1464K rodata, 1024K init, 264K bss, 10468K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e2b000   (  62 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a39400   ( 229 kB)
[    0.000000]        .bss : 0xc0a40ae4 - 0xc0a82cec   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000197] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000429] Console: colour dummy device 80x30
[    0.000466] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000480] pid_max: default: 32768 minimum: 301
[    0.000610] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000624] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001232] CPU: Testing write buffer coherency: ok
[    0.001608] /cpus/cpu@0 missing clock-frequency property
[    0.001632] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002059] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002235] Hierarchical SRCU implementation.
[    0.002734] smp: Bringing up secondary CPUs ...
[    0.002749] smp: Brought up 1 node, 1 CPU
[    0.002759] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002765] CPU: All CPU(s) started in SVC mode.
[    0.003541] devtmpfs: initialized
[    0.006724] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007017] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007043] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007211] pinctrl core: initialized pinctrl subsystem
[    0.008123] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008261] NET: Registered protocol family 16
[    0.008771] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009985] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.010005] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023162] SCSI subsystem initialized
[    0.023456] usbcore: registered new interface driver usbfs
[    0.023523] usbcore: registered new interface driver hub
[    0.023617] usbcore: registered new device driver usb
[    0.023896] pps_core: LinuxPPS API ver. 1 registered
[    0.023906] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023929] PTP clock support registered
[    0.024147] Advanced Linux Sound Architecture Driver Initialized.
[    0.026029] clocksource: Switched to clocksource arch_sys_counter
[    0.037049] NET: Registered protocol family 2
[    0.037654] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037691] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.037713] TCP: Hash tables configured (established 1024 bind 1024)
[    0.037832] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037880] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.038092] NET: Registered protocol family 1
[    0.038685] RPC: Registered named UNIX socket transport module.
[    0.038705] RPC: Registered udp transport module.
[    0.038711] RPC: Registered tcp transport module.
[    0.038717] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040685] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049627] NFS: Registering the id_resolver key type
[    0.049678] Key type id_resolver registered
[    0.049686] Key type id_legacy registered
[    0.049732] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.051243] random: fast init done
[    0.054154] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.054177] io scheduler noop registered
[    0.054186] io scheduler deadline registered
[    0.054474] io scheduler cfq registered (default)
[    0.054485] io scheduler mq-deadline registered
[    0.054491] io scheduler kyber registered
[    0.058946] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.128461] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.131677] console [ttyS2] disabled
[    0.151955] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 33, base_baud = 1500000) is a U6_16550A
[    0.749453] console [ttyS2] enabled
[    0.757531] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
[    0.763517] spi32766.0: parser ofpart: 0
[    0.768504] libphy: Fixed MDIO Bus: probed
[    0.773108] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.779031] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.784744] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.790814] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 38000)
[    0.800393] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.806137] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.813353] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.819034] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.826265] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.831224] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.838221] libphy: stmmac: probed
[    0.843353] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.850012] ehci-platform: EHCI generic platform driver
[    0.855577] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.861267] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.869204] ehci-platform 1c1a000.usb: irq 25, io mem 0x01c1a000
[    0.896045] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.903259] hub 1-0:1.0: USB hub found
[    0.907212] hub 1-0:1.0: 1 port detected
[    0.911742] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.918043] ohci-platform: OHCI generic platform driver
[    0.923593] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.930324] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.938286] ohci-platform 1c1a400.usb: irq 26, io mem 0x01c1a400
[    1.011222] hub 2-0:1.0: USB hub found
[    1.015054] hub 2-0:1.0: 1 port detected
[    1.022268] usbcore: registered new interface driver cdc_acm
[    1.028029] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.036185] usbcore: registered new interface driver usb-storage
[    1.042325] usbcore: registered new interface driver usbserial
[    1.049534] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.056440] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.060990] i2c /dev entries driver
[    1.066497] edt_ft5x06_ts_probe-0---
[    1.070086] edt_ft5x06_ts_probe-0++++
[    1.073748] edt_ft5x06_ts_probe-0++++
[    1.077516] edt_ft5x06_ts_probe-0 ==== 0
[    1.406051] tsdata->reset_gpio == ok
[    1.409637] edt_ft5x06_ts_probe-reset_gpio ==== -1014918624
[    1.415216] inputinputinput====
[    1.418462] inputinputinput22====
[    1.421859] --------------
[    1.427404] edt_ft5x06_ts_readwrite == 0 23 56
[    1.432412] edt_ft5x06_ts_readwrite222 == 0
[    1.437075] edt_ft5x06_ts_readwrite3333 == 0
[    1.441340] --------------error == 0
[    1.444908] inputinputinput33====
[    1.448321] inputinputinput44====
[    1.451725] inputinputinput55====
[    1.457958] edt_ft5x06_ts_get_parameters00000000
[    1.462569] inputinputinput88====
[    1.465967] inputinputinput66====
[    1.469389] inputinputinput77====
[    1.472810] client->name = edt-ft5x06,client->irq = 41
[    1.478521] input: EP0700M09 as /devices/platform/soc/1c2b000.i2c/i2c-1/1-0038/input/input0
[    1.488160] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.556077] sunxi-mmc 1c0f000.mmc: base:0xc407d000 irq:23
[    1.563018] usbcore: registered new interface driver usbhid
[    1.568689] usbhid: USB HID core driver
[    1.574393] NET: Registered protocol family 17
[    1.579085] Key type dns_resolver registered
[    1.583514] Registering SWP/SWPB emulation handler
[    1.594141] simple-framebuffer 43e2b000.framebuffer: framebuffer at 0x43e2b000, 0x1d4c00 bytes, mapped to 0xc4480000
[    1.604805] simple-framebuffer 43e2b000.framebuffer: format=x8r8g8b8, mode=800x600x32, linelength=3200
[    1.624541] Console: switching to colour frame buffer device 100x37
[    1.638503] simple-framebuffer 43e2b000.framebuffer: fb0: simplefb registered!
[    1.647146] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.658581] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.664348] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.673491] hub 3-0:1.0: USB hub found
[    1.677475] hub 3-0:1.0: 1 port detected
[    1.683881] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:32 UTC (32)
[    1.692220] vcc3v0: disabling
[    1.695198] vcc5v0: disabling
[    1.698229] ALSA device list:
[    1.701194]   No soundcards found.
[    1.707693] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[    1.715295] Please append a correct "root=" boot option; here are the available partitions:
[    1.723721] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[    1.732068] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero+ #3
[    1.739363] Hardware name: Allwinner sun8i Family
[    1.744102] [<c010e58c>] (unwind_backtrace) from [<c010b290>] (show_stack+0x10/0x14)
[    1.751849] [<c010b290>] (show_stack) from [<c06715fc>] (dump_stack+0x84/0x98)
[    1.759074] [<c06715fc>] (dump_stack) from [<c011b6a8>] (panic+0xdc/0x248)
[    1.765950] [<c011b6a8>] (panic) from [<c0901170>] (mount_block_root+0x188/0x25c)
[    1.773426] [<c0901170>] (mount_block_root) from [<c0901364>] (mount_root+0x120/0x128)
[    1.781336] [<c0901364>] (mount_root) from [<c09014b0>] (prepare_namespace+0x144/0x188)
[    1.789331] [<c09014b0>] (prepare_namespace) from [<c0900dc0>] (kernel_init_freeable+0x1bc/0x1cc)
[    1.798197] [<c0900dc0>] (kernel_init_freeable) from [<c06844d4>] (kernel_init+0x8/0x108)
[    1.806368] [<c06844d4>] (kernel_init) from [<c0107618>] (ret_from_fork+0x14/0x3c)
[    1.813942] Rebooting in 5 seconds..

离线

#14 2018-12-12 17:22:07

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

很可能是 CONFIG_MTD_CMDLINE_PARTS=y 这项没勾上, 因为log没有发现分析出mtd分区.





离线

楼主 #15 2018-12-12 17:23:51

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

晕哥 说:

很可能是 CONFIG_MTD_CMDLINE_PARTS=y 这项没勾上, 因为log没有发现分析出mtd分区.


这个是在内核里面配置还是uboot里面了 忘记了

离线

#16 2018-12-12 17:24:40

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

无情一刀 说:
晕哥 说:

很可能是 CONFIG_MTD_CMDLINE_PARTS=y 这项没勾上, 因为log没有发现分析出mtd分区.


这个是在内核里面配置还是uboot里面了 忘记了

内核





离线

楼主 #17 2018-12-12 18:24:34

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

我吧edt-ft5x06也改为gt111的那个中断的配置模式 还是不行 哎哎 不知道到底是怎么配置了  实在不行就这样了

离线

#18 2018-12-12 18:28:29

didi
会员
注册时间: 2017-10-15
已发帖子: 2
积分: 2

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

jffs2可以了吗

离线

楼主 #19 2018-12-13 08:53:54

无情一刀
会员
注册时间: 2018-09-04
已发帖子: 694
积分: 685

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

didi 说:

jffs2可以了吗

jffs2可以  ,就是晕哥说的那个没有配置

离线

#20 2018-12-13 09:19:14

lilo
会员
注册时间: 2017-10-15
已发帖子: 215
积分: 215

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

无情一刀 说:

我吧edt-ft5x06也改为gt111的那个中断的配置模式 还是不行 哎哎 不知道到底是怎么配置了  实在不行就这样了

那是不是驱动开发的时候测试没有覆盖到?

大神你是怎么改的,可以分享一下吗?

离线

#21 2018-12-13 21:42:09

rellik
会员
注册时间: 2018-12-13
已发帖子: 4
积分: 4

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

厉害

离线

#22 2019-03-09 12:28:45

qianhao
会员
注册时间: 2017-12-14
已发帖子: 135
积分: 119

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

为什么没有在内核里面找到  GT911的驱动

离线

#23 2019-03-09 12:35:08

qianhao
会员
注册时间: 2017-12-14
已发帖子: 135
积分: 119

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

http://nano.lichee.pro/driver/touchscreen.html#id1


linux/drivers/input/touchscreen/goodix.c
好像就是各种驱动

离线

#24 2019-05-10 11:12:27

elad
会员
注册时间: 2018-08-11
已发帖子: 3
积分: 3

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

请大侠,把f1c100s中支持gt911的设备树文件,共享一下,两个文件:suniv-f1c100s-licheepi-nano.dts  和suniv.dtsi

离线

#25 2019-05-10 11:13:47

elad
会员
注册时间: 2018-08-11
已发帖子: 3
积分: 3

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

请1楼大侠,把f1c100s中支持gt911的设备树文件,共享一下,两个文件:suniv-f1c100s-licheepi-nano.dts  和suniv.dtsi

离线

#26 2019-05-10 11:16:47

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

elad 说:

请1楼大侠,把f1c100s中支持gt911的设备树文件,共享一下,两个文件:suniv-f1c100s-licheepi-nano.dts  和suniv.dtsi

楼主是用 V3s 的


你参考一下我这个吧:

https://whycan.cn/t_2360.html#p17976

华嵌的 S3 开发板 搞定了。





离线

#27 2019-05-10 19:57:28

elad
会员
注册时间: 2018-08-11
已发帖子: 3
积分: 3

Re: 现在弄GT911的驱动触摸 在内核里面已经上报了坐标了 在内核打印出来

有没有GT911成功的例子

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn