数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN4503 数据表(PDF) 23 Page - STMicroelectronics

部件名 AN4503
功能描述  This application note provides guidelines for successfully integrating
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN4503 数据表(HTML) 23 Page - STMicroelectronics

Back Button AN4503 Datasheet HTML 18Page - STMicroelectronics AN4503 Datasheet HTML 19Page - STMicroelectronics AN4503 Datasheet HTML 20Page - STMicroelectronics AN4503 Datasheet HTML 21Page - STMicroelectronics AN4503 Datasheet HTML 22Page - STMicroelectronics AN4503 Datasheet HTML 23Page - STMicroelectronics AN4503 Datasheet HTML 24Page - STMicroelectronics AN4503 Datasheet HTML 25Page - STMicroelectronics AN4503 Datasheet HTML 26Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 23 / 26 page
background image
DocID026411 Rev 2
23/26
AN4503
Troubleshooting
26
6
Troubleshooting
Below is a list of potential problems and corresponding solutions:
 HW setup of the environment:
– While loading the module with the shell command "insmod
/system/lib/hw/<devicename>.ko”, the "minicom" shell of the Host PC should show
the message that the device is correctly probed.
– All the files under the path /sys/class/input/input[x]/device/<busnum>/<i2c-address>
should then be available (in particular, enable_device).
 Data can be seen through the minicom, but it is not exported to /dev/input/event<X>
– There could be problems in the input_allocate_device; check the complete
environment.
– Also verify the correct permissions of the files. In particular, the files enable_device
and pollrate_ms should be 664 at least.
 Data are exported in /dev/input/event<X>, but not seen through the apk.
– Check for problems in the Linux user space or Android Environment.
– The sample application in Section 3.4.2 can be used to verify if the data arrives in the
Linux user space. If it does, the problem is in the Android specific environment; try the
following commands from RAS on the HOST PC:
[RAS]$ adb logcat
or
[RAS]$ adb logcat | grep sensor
to select the relevant messages on that subject.
– A better alternative might be to add some specific logs in order to address the
location of the problem. This can be done by adding "ALOGI("Type of Message")" to
the original code.
 Java Compilation problem of the Root Android Source.
– In case the compilation fails after few minutes, ensure that the Java PATH and choice
are correctly set: Assuming jdk is in /usr/java, then:
$ PATH=/usr/java/jdk1.6.0_45:$PATH
Note:
In some cases, writing "/" at the end of the PATH (i.e. /usr/java/jdk1.6.0_45/) can create
compile problems.
– $ sudo update-alternatives --install "/usr/bin/java" "java"
"/usr/java/jdk1.6.0_45/bin/java" 1
– $ sudo update-alternatives --install "/usr/bin/javac" "javac"
"/usr/javac/jdk1.6.0_45/bin/javac" 1
– $ sudo update-alternatives --install "/usr/bin/javaws" "javac"
"/usr/javaws/jdk1.6.0_45/bin/javaws" 1
– In the /etc/environment, add: export JAVA_HOME='usr/java/jdk1.6.0_45/bin
 Linux is working but Android fails and cannot be seen on the screen.
– Check for error messages relating to framebuffer failure. If there are, verify that the
downloaded “Imgtec” graphics library perfectly matches the PVR driver in the kernel
(in gpu/pvr/), as per Section 2.3.1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com