Hello, Were you able to sort this issue out? I'm having the same trouble. I can setVIDPID so I'm assuming the FTDI library is installed correctly. But calling createDeviceInfoList causes the sample program to crash.
/dev/bus/usb, /dev/usb/* all have permissions 666. Log file snippet follows: D/Depth Reader( 774): Started application. W/InputManagerService( 156): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@4091c4f8 (uid=10022 pid=234) D/TabletStatusBar( 207): lights on D/dalvikvm( 217): GC_FOR_ALLOC freed 6K, 3% free 8145K/8391K, paused 64ms I/dalvikvm-heap( 217): Grow heap (frag case) to 8.504MB for 513744- byte allocation D/dalvikvm( 217): GC_FOR_ALLOC freed 1K, 3% free 8646K/8903K, paused 32ms D/dalvikvm( 217): GC_CONCURRENT freed 953K, 11% free 8519K/9543K, paused 2ms+4ms D/dalvikvm( 217): GC_FOR_ALLOC freed 17K, 11% free 8540K/9543K, paused 46ms I/dalvikvm-heap( 217): Grow heap (frag case) to 10.066MB for 1745936- byte allocation I/ActivityManager( 156): Displayed com.ftdi.d2xx/.D2XXSampleActivity: +588ms D/PhoneWindow( 234): couldn't save which view has focus because the focused view android.widget.TextView@407d3be0 has no id. D/dalvikvm( 217): GC_CONCURRENT freed 0K, 10% free 10245K/11271K, paused 2ms+3ms D/SntpClient( 156): request time failed: java.net.UnknownHostException: Unable to resolve host "north- america.pool.ntp.org": No address associated with hostname I/ftd2xx-java( 774): loading JNI library... D/dalvikvm( 774): Trying to load lib /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so 0x407da418 D/dalvikvm( 774): Added shared lib /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so 0x407da418 I/ftd2xx-java( 774): JNI library loaded! I/Depth Reader( 774): Check lib version: 65541 I/Depth Reader( 774): Retrieved VID and PID: 1027 24577 D/Depth Reader( 774): Determining number of devices I/DEBUG ( 86): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 86): Build fingerprint: 'motorola/tervigon/wingray:3.2.1/ HTK75D/190830:user/release-keys' I/DEBUG ( 86): pid: 774, tid: 774 >>> com.ftdi.d2xx <<< I/DEBUG ( 86): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad I/DEBUG ( 86): r0 deadbaad r1 00000001 r2 a0000000 r3 00000000 I/DEBUG ( 86): r4 00000000 r5 00000027 r6 56301e44 r7 0000b000 I/DEBUG ( 86): r8 00000000 r9 00000000 10 56301da0 fp be9f949c I/DEBUG ( 86): ip ffffffff sp be9f9380 lr afe8f4ad pc afe8bc1c cpsr 60000030 I/DEBUG ( 86): d0 0000000080000000 d1 0000000080000000 I/DEBUG ( 86): d2 0000000000000000 d3 3ff0000000000000 I/DEBUG ( 86): d4 0000000000000000 d5 0000000000000000 I/DEBUG ( 86): d6 00000000c1c80000 d7 0000000000000000 I/DEBUG ( 86): d8 0000000000000000 d9 0000000000000000 I/DEBUG ( 86): d10 0000000000000000 d11 0000000000000000 I/DEBUG ( 86): d12 0000000000000000 d13 0000000000000000 I/DEBUG ( 86): d14 0000000000000000 d15 0000000000000000 I/DEBUG ( 86): scr 80000012 I/DEBUG ( 86): I/DEBUG ( 86): #00 pc 00015c1c /system/lib/libc.so I/DEBUG ( 86): #01 pc 00013efe /system/lib/libc.so (dlfree) I/DEBUG ( 86): #02 pc 0001445c /system/lib/libc.so (free) I/DEBUG ( 86): #03 pc 00012034 /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so I/DEBUG ( 86): #04 pc 000120a2 /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so I/DEBUG ( 86): #05 pc 000120c8 /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so (libusb_free_config_descriptor) I/DEBUG ( 86): #06 pc 0000d9ee /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so (GetDeviceCount) I/DEBUG ( 86): #07 pc 0000da36 /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so (FT_ListDevices) I/DEBUG ( 86): #08 pc 0000da9e /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so (FT_CreateDeviceInfoList) I/DEBUG ( 86): #09 pc 0000889c /mnt/sdcard/Android/data/ com.ftdi.d2xx/libftd2xx-jni.so (Java_com_ftdi_D2xx_createDeviceInfoList) I/DEBUG ( 86): I/DEBUG ( 86): libc base address: afe76000 I/DEBUG ( 86): I/DEBUG ( 86): code around pc: I/DEBUG ( 86): afe8bbfc 4623b15c 2c006824 e026d1fb b12368db I/DEBUG ( 86): afe8bc0c 21014a17 6011447a 48124798 24002527 I/DEBUG ( 86): afe8bc1c f7f57005 2106eb8a ec18f7f6 460aa901 I/DEBUG ( 86): afe8bc2c f04f2006 94015380 94029303 efe2f7f5 I/DEBUG ( 86): afe8bc3c 4622a905 f7f52002 f7f5efec 2106eb76 I/DEBUG ( 86): I/DEBUG ( 86): code around lr: I/DEBUG ( 86): afe8f48c 41f0e92d 46804c0c 447c2600 68a56824 I/DEBUG ( 86): afe8f49c e0076867 300cf9b5 dd022b00 47c04628 I/DEBUG ( 86): afe8f4ac 35544306 37fff117 6824d5f4 d1ee2c00 I/DEBUG ( 86): afe8f4bc e8bd4630 bf0081f0 0002802e 41f0e92d I/DEBUG ( 86): afe8f4cc fb01b086 9004f602 461f4815 4615460c I/DEBUG ( 86): I/DEBUG ( 86): stack: I/DEBUG ( 86): be9f9340 0000000d I/DEBUG ( 86): be9f9344 00000000 I/DEBUG ( 86): be9f9348 00000000 I/DEBUG ( 86): be9f934c 000012c8 I/DEBUG ( 86): be9f9350 afeb7700 I/DEBUG ( 86): be9f9354 afeb7690 I/DEBUG ( 86): be9f9358 00000000 I/DEBUG ( 86): be9f935c afe8f4ad /system/lib/libc.so I/DEBUG ( 86): be9f9360 00000000 I/DEBUG ( 86): be9f9364 be9f9394 I/DEBUG ( 86): be9f9368 56301e44 I/DEBUG ( 86): be9f936c 0000b000 I/DEBUG ( 86): be9f9370 00000000 I/DEBUG ( 86): be9f9374 afe8e619 /system/lib/libc.so I/DEBUG ( 86): be9f9378 df002777 I/DEBUG ( 86): be9f937c e3a070ad I/DEBUG ( 86): #00 be9f9380 0019a758 I/DEBUG ( 86): be9f9384 0000b000 I/DEBUG ( 86): be9f9388 00000000 I/DEBUG ( 86): be9f938c be9f946c I/DEBUG ( 86): be9f9390 56301e44 I/DEBUG ( 86): be9f9394 fffffbdf I/DEBUG ( 86): be9f9398 00000000 I/DEBUG ( 86): be9f939c afebc454 I/DEBUG ( 86): be9f93a0 be9f946c I/DEBUG ( 86): be9f93a4 afe89f03 /system/lib/libc.so I/DEBUG ( 86): #01 be9f93a8 00000000 I/DEBUG ( 86): be9f93ac be9f946c I/DEBUG ( 86): be9f93b0 56301e04 I/DEBUG ( 86): be9f93b4 56301db4 I/DEBUG ( 86): be9f93b8 00000000 I/DEBUG ( 86): be9f93bc afe8a45f /system/lib/libc.so I/BootReceiver( 156): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE) E/InputDispatcher( 156): channel '40d77828 com.ftdi.d2xx/ com.ftdi.d2xx.D2XXSampleActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8 E/InputDispatcher( 156): channel '40d77828 com.ftdi.d2xx/ com.ftdi.d2xx.D2XXSampleActivity (server)' ~ Channel is unrecoverably broken and will be disposed! D/Zygote ( 88): Process 774 terminated by signal (11) I/ActivityManager( 156): Process com.ftdi.d2xx (pid 774) has died. I/WindowManager( 156): WINDOW DIED Window{40d77828 com.ftdi.d2xx/ com.ftdi.d2xx.D2XXSampleActivity paused=false} W/WindowManager( 156): Failed looking up window W/WindowManager( 156): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@40d77648 does not exist W/WindowManager( 156): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java: 6736) W/WindowManager( 156): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java: 6727) W/WindowManager( 156): at com.android.server.wm.WindowState $DeathRecipient.binderDied(WindowState.java:1390) W/WindowManager( 156): at android.os.BinderProxy.sendDeathNotice(Binder.java:418) W/WindowManager( 156): at dalvik.system.NativeStart.run(Native Method) I/WindowManager( 156): WIN DEATH: null W/InputManagerService( 156): Got RemoteException sending setActive(false) notification to pid 774 uid 10051 I/ActivityManager( 156): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/ com.android.launcher2.Launcher } from pid 156 I/ActivityManager( 156): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=jackpal.androidterm cmp=jackpal.androidterm/.Term bnds=[144,351] [240,447] } from pid 234 I/ActivityManager( 156): Start proc jackpal.androidterm for activity jackpal.androidterm/.Term: pid=790 uid=10062 gids={3003, 1015} D/TabletStatusBar( 207): lights on /dalvikvm( 572): GC_CONCURRENT freed 353K, 6% free 7374K/7815K, paused 2ms+2ms On Jan 18, 9:29 am, srinivasan shanmugam <srinivasan....@gmail.com> wrote: > Dear All, > > I'm using the below android application when i run the below sample > application when i click the data button after typing the data > > http://www.ftdichip.com/Drivers/D2XX/D2XXSample/D2XXSample.zip > > The above android application usage is provided in the TN_134 FTDI > Android D2XX Driver pdf(you can get this in google by searching this > key word) > > when i run the above application i getting the below errors > > E/InputDispatcher(2176): channel '2b10d600 com.ftdi.d2xx/ > com.ftdi.d2xx.D2XXSampleActivity (server)' ~ Consumer closed input > channel or an error occurred. events=0x8 > > E/InputDispatcher(2176): channel '2b10d600 com.ftdi.d2xx/ > com.ftdi.d2xx.D2XXSampleActivity (server)' ~ Channel is unrecoverably > broken and will be disposed! > > As am new to this android applns development could any body pls help > me in how to fix this problem or could any correct the above problem > in the above code n share the same with me > > Kindly do the needful as soon as possible, > > Advanced Thanks, > Srinivasan S -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en