busybox filesystem ts_config: No such file or directory

简介: /******************************************************************** * busybox filesystem ts_config: No such file or directory * 声明: * 本文主要是记录移植tslib时遇到: * No raw modules loaded. ts_config: No such file or directory * 问题如何解决。
/********************************************************************
 *     busybox filesystem ts_config: No such file or directory
 * 声明:
 *     本文主要是记录移植tslib时遇到:
 *         No raw modules loaded. ts_config: No such file or directory
 *     问题如何解决。
 *
 *                                 2016-1-23 深圳 南山平山村 曾剑锋
 *******************************************************************/

一、参考文档:
    tslib移植的问题:No raw modules loaded.ts_config:No such file or directory
        http://blog.csdn.net/imxiangzi/article/details/7472883
二、cat /etc/profile
    ......
    # set tslib
    export TSLIB_ROOT=/usr/local/arm/tslib
    export TSLIB_TSDEVICE=/dev/input/event1
    export TSLIB_CALIBFILE=/etc/pointercal
    export TSLIB_CONFFILE=$TSLIB_ROOT/etc/ts.conf
    export TSLIB_PLUGINDIR=$TSLIB_ROOT/lib/ts
    export TSLIB_FBDEVICE=/dev/fb0
    export PATH=$TSLIB_ROOT:$PATH
    ......

三、cat /ts_confg
    # Uncomment if you wish to use the linux input layer event interface
    # module_raw input
    
    # Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
    # module_raw collie
    
    # Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
    # module_raw corgi
    
    # Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
    # module_raw ucb1x00
    
    # Uncomment if you're using an HP iPaq h3600 or similar
    # module_raw h3600
    
    # Uncomment if you're using a Hitachi Webpad
    # module_raw mk712
    
    # Uncomment if you're using an IBM Arctic II
    # module_raw arctic2

    module pthres pmin=1
    module variance delta=30
    module dejitter delta=100
    module linear

四、错误现象:
    zengjf login: root
    login[1410]: root login on 'ttymxc0'
    No raw modules loaded.
    ts_config: No such file or directory
    [zengjf@root ~]# 

五、解决方法:
    把tslib/etc目录下的ts.conf的"#module_raw input"的注释符号"#"去掉,前面别留空格。

六、正常现象:
    zengjf login: root
    login[1410]: root login on 'ttymxc0'
    xres = 640, yres = 480
    selected device is not a touchscreen I understand
    Took 4 samples...
    Top left : X =    0 Y = 59747
    Took 4 samples...
    Top right : X =    0 Y = 59747
    Took 4 samples...
    Bot right : X =    0 Y = 59747
    Took 4 samples...
    Bot left : X =    0 Y = 59747
    Took 4 samples...
    Center : X =    0 Y = 59747
    ts_calibrate: determinant is too small -- 0.000000
    Calibration failed.
    [zengjf@root ~]# 
    

 

目录
相关文章
|
JSON 移动开发 算法框架/工具
成功解决raise ValueError(‘No model found in config file.‘) ValueError: No model found in config file.
成功解决raise ValueError(‘No model found in config file.‘) ValueError: No model found in config file.
|
JavaScript
Parsing error: No Babel config file detected for 。。
Parsing error: No Babel config file detected for 。。
399 3
|
NoSQL Redis
进行主从复制时出现的异常FATAL CONFIG FILE ERROR (Redis 6.2.6)Reading the configuration file
进行主从复制时出现的异常FATAL CONFIG FILE ERROR (Redis 6.2.6)Reading the configuration file
731 0
|
关系型数据库 MySQL 数据库
Mysql-错误处理: Found option without preceding group in config file
Mysql-错误处理: Found option without preceding group in config file
1518 0
Parsing error: No Babel config file detected for XXXXX
Parsing error: No Babel config file detected for XXXXX
|
关系型数据库 MySQL Linux
DVWA CentOS Could not connect to the MySQL service. Please check the config file.
DVWA CentOS Could not connect to the MySQL service. Please check the config file.
181 0
|
关系型数据库 MySQL 数据库
【报错】DVWA遇到Could not connect to the database service. Please check the config file. Database Error
【报错】DVWA遇到Could not connect to the database service. Please check the config file. Database Error
2393 0
|
JavaScript
Vue3报错:Parsing error: No Babel config file detected 解决
Vue3报错:Parsing error: No Babel config file detected 解决
749 0
SpringCloud项目启动失败 not found config file[log.properties]
SpringCloud项目启动失败 not found config file[log.properties]
311 0
SpringCloud项目启动失败 not found config file[log.properties]