전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

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
Logo 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


링크 URL



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