friendlyarm / h3_lichee

BSP for FriendlyARM NanoPi H3
106 stars 104 forks source link

Compile for touchscreen.ko #3

Closed LeePower closed 8 years ago

LeePower commented 8 years ago

Hi, I'm trying to get my touchscreen to work in my Android I've modified the line CONFIG_INPUT_TOUCHSCREEN = y in sun8iw7p1smp_android_defconfig and run ./build.sh lunch Everything compiled fine. I was expecting to see a usbtouchscreen.ko in the output/lib/module/modules/3.4.39/ folder But I can't find it, would anyone help me? Thanks!

pccr10001 commented 8 years ago

Hello. An option will either indicate some driver is built into the kernel ("=y") or will be built as a module ("=m") or is not selected. The unselected state can either be indicated by a line starting with "#" (e.g. "# CONFIG_SCSI is not set") or by the absence of the relevant line from the .config file. Reference: http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO/kconfig.html

Your setting is ='y', so you will not see "touchscreen.ko" in the the modules directory but your driver is already compiled in the the kernel. You can type the following command in the terminal to verify the drivers is working or not. root@localhost:~$ dmesg | grep touchscreen

LeePower commented 8 years ago

Thank you @pccr10001 well explained!