触摸
LCD显和USB部分,在内核源码删除或注释如下代码:
源码路径:arch/arm/mach-omap2/board-am335xevm.c
I2C部分,在内核源码删除或注释如下代码:
源码路径:arch/arm/mach-omap2/board-am335xevm.c
Audio音频部分,在内核源码删除或注释如下代码:
源码路径:arch/arm/mach-omap2/devices.c
HDMI和触摸板驱动,在文件系统中,删除或注释如下代码:
脚本文件:/etc/init.d/rc文件,或者/etc/init.d/rcS文件
- # insmod display device driver
- if [ "$runlevel" == "S" ]; then
- if grep "hdmi" /proc/cmdline > /dev/null ; then
- insmod /lib/modules/`uname -r`/kernel/drivers/video/nxp/tda998x.ko
- elif grep "lcd7ic" /proc/cmdline > /dev/null ; then
- insmod /lib/modules/`uname -r`/kernel/drivers/input/touchscreen/ft5x0x.ko
- else
- insmod /lib/modules/`uname -r`/kernel/drivers/input/touchscreen/ti_tscadc.ko
- fi
- fi
更多回帖