am335x 触摸屏校准的初始化的代码在那,或者说怎么才能重新校准??? 希望有人可以帮到我,谢谢!
Gary Wu:
如果是linux下的话,请查看tslib
http://processors.wiki.ti.com/index.php/AM335x_Touchscreen_Driver's_Guide#Tslib
kun huang2:
回复 Gary Wu:
麻烦能说的详细点吗?现在触摸屏可以用但是箭头和你点的地方不一样?想校准一点?
Gary Wu:
回复 kun huang2:
看了那个链接中的文档了吗?
可以进入Linux 命令行后,调用/usr/bin路径下的ts_calibrate进行重新校正。
kun huang2:
回复 Gary Wu:
_____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _||__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org am335x-evm ttyO0Arago 2013.05 am335x-evm ttyO0am335x-evm login: rootroot@am335x-evm:~# cd /media/mmcblk0p2/root@am335x-evm:/media/mmcblk0p2# lsSettings srvT3352R01A01V01D20141204.txt stbin sysboot sys.dev sysyetc testhome tmplib umedia usrmedida varmnt workopt wwwproc yssbinroot@am335x-evm:/media/mmcblk0p2# cd usr/bin/root@am335x-evm:/media/mmcblk0p2/usr/bin# lsAES_256 memsizeBT_Exit.sh mesgBT_Init.sh mesg.sysvinitCertificate_gen mhzCertificate_info microcomES2.0 mk_cmdsES3.0 mkfifoES5.0 mocES6.0 msleepES8.0 nbenchGen_publickey ncNNET.DAT netperfSGX networkSettings.shSHA1_test newgrpThermostatDemo newgrp.shadow[ nm[[ nohupaconnect nslookupaddr2line obex_tcpagent obex_testalsaloop obexftpalsamixer obexftpdalsaucm objcopyamidi objdumpamixer odaplay opannotateaplaymidi oparchiveaptest.sh opcontrolar opensslarecord openssl_aes256_encdec.sharecordmidi openssl_display_cert.sharm-linux-gnueabihf-addr2line openssl_gen_cert.sharm-linux-gnueabihf-ar openssl_gen_pubkey.sharm-linux-gnueabihf-as openssl_gen_sha1hash.sharm-linux-gnueabihf-c++filt openssl_perf.sharm-linux-gnueabihf-gprof openssl_start_server.sharm-linux-gnueabihf-ld openvtarm-linux-gnueabihf-nm opgprofarm-linux-gnueabihf-objcopy ophelparm-linux-gnueabihf-objdump opimportarm-linux-gnueabihf-ranlib opjitconvarm-linux-gnueabihf-readelf opkgarm-linux-gnueabihf-size opkg-clarm-linux-gnueabihf-strings opkg-keyarm-linux-gnueabihf-strip oppserveras opreportaseqdump oprofiledaseqnet opstartaserver opstopassistant pactlavconv par_memavplay par_opsavprobe passwdavserver passwd.shadowawk patchbasename pcregrepbashbug pcretestbattleship pharbc phar.pharbluetooth-gui phpbrowser.sh php-cgibt-adapter pi_stressbt-agent pip_stressbt-audio pixeltoolbt-device pm_suspend.shbt-input pmqtestbt-monitor printfbt-network proxybt-obex psplashbt-serial psplash-defaultbunzip2 psplash-writebw_file_rd ptsematestbw_mem pulseaudiobw_mmap_rd pvr2d_testbw_pipe pvrsrvctlbw_tcp qcollectiongeneratorbw_unix qdbusbzcat qdbuscpp2xmlc++filt qdbusviewercalibrator qdbusxml2cppcandump qdoc3canecho qhelpconvertercansend qhelpgeneratorcansequence qmakecaptoinfo qmlplugindumpchage qmlviewerchattr qt3to4chfn qtdemoEchfn.shadow qtopiachsh qttracereplaychsh.shadow ranlibchvt rccciptool rctestcjpeg rdjpgcomclear readelfclear.ncurses readlinkcmp realpathcompile_et refresh_screencputype renicecurl resetcut reset.ncursescyclictest rfcommdbclient rt-migrate-testdbus-cleanup-sockets rtcwakedbus-daemon run-partsdbus-launch runAACDec.shdbus-monitor runAnimatedTiles.shdbus-send runAudioCapture.shdbus-uuidgen runCalculator.shdc runDeform.shdc.bc runDhrystoneddcmon runH264Dec.shdeallocvt runLinpackdecode-dimms runLmComBandwidth.shdecode-edid runLmComLatency.shdecode-vaio runLmDDRBandwidth.shdesigner runLmMemoryLatency.shdevmem2 runMatrixShutdown.shdfutool runMpeg4AacDec.shdhrystone runMpeg4Dec.shdiff runNBench.shdirname runOGLES2ChameleonMan.shdisk runOGLES2MagicLantern.shdjpeg runOGLESEvilSkull.shdt runOGLESFilmTV.shdu runOpAssemblyReport.shdumpleases runOpInit.sheglinfo runOpLimitedReport.shenough runOpLongReport.shenv runOpSignalParent.sheth1_nat.sh runOpSignalParentOpt.sheth1_up.sh runOpSimpleReport.sheventdump runQMLplay.shevtest runRefreshMatrix.shevtest-capture runSystemShutdown.shexpiry runUsbBonnie.shexpr runWhetstonefaillog savelogffmpeg savelog.debianutilsfileop scpfind screenshotflock sdptoolflushdisk sendmefree sensible-browserfuser sensible-browser.debianutilsgatttool sensible-editorgdbserver sensible-editor.debianutilsgles1_texture_stream sensible-pagergles1test1 sensible-pager.debianutilsgles2_texture_stream seqgles2test1 services_testgpasswd setclockspeed.shgprof sggroups sgx_blit_testgroups.shadow sgx_clipblit_testgst-discoverer-0.10 sgx_flip_testgst-feedback sgx_init_testgst-feedback-0.10 sgx_render_flip_testgst-inspect signal_parentgst-inspect-0.10 signal_parent.optgst-launch signaltestgst-launch-0.10 sigwaittestgst-typefind sizegst-typefind-0.10 sndfile-resamplegst-visualise-0.10 sortgst-xmlinspect speaker-testgst-xmlinspect-0.10 sshgst-xmllaunch stracegst-xmllaunch-0.10 strace-log-mergehackbench streamhcitool stringshead striphello suhexdump svsematesthidd sysSettings.shhtop tabsid tailiecset taskInfo.shinfocmp tcpsvdinfotocap teeiozone telnetiperf cd testiptables-xml tftpircp tftpdirobex_palm3 ticirxfer timejpegtran timing_okillall tjbenchl2ping tlbl2test toelast toplast.sysvinit tputlastb trlastlog trace-cmdlat_connect traceroutelat_ctx ts_calibratelat_fcntl ts_harvestlat_fifo ts_printlat_fs ts_print_rawlat_http ts_testlat_mem_rd tsetlat_mmap ttylat_ops udpsvdlat_pagefault uiclat_pipe uic3lat_proc uniqlat_rpc unziplat_select update-alternativeslat_sem uptimelat_sig usb-deviceslat_syscall usbhid-dumplat_tcp userslat_udp ussp-push^?ELF^A^A^A^@^@^@^@^@^@^@^@^@^B^@(^@^A^@^@^@^E�^@^@4^@^@^@0K^@^@^B^@^@^E4^@ ^@^H"^C�4^H�^E^@^@^@^@^@^@^@^F^@^@^@^G^@^@^@^H^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^K^@^@^@^@^@^@^@^M^@^@^@^N^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^O^@^@^@^Q^@^@^@^@^@^@�I^A^@^T-^@^@�I^A^@^T)^@^@^X1^A^@^V^R^@^@^\1^A^@^V^F^@^@ 1^A^@^V^N^@^@$1^A^@ʌ�4���^@Ə ʌ�,���^@Ə ʌ�$���^@Ə ʌ�^\���^@Ə ʌ�^T���^@Ə ʌ�^L���^@Ə ʌ�^D���^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə ʌ�����^@Ə – ts_calibrate 1/107 0% 怎么是乱码呢?