Ok, I have compiled brltty for android, but currently my device has no bluetooth hardware, so I need to connect braille display to the android device via usb.
My device and it's driver are listed in the device setting of brltty app and I can select them, but there is no braille output. Here is the output of "adb logcat " command that related to brltty : D/brltty (18813): activity state change: braille-driver: 6[starting] > D/brltty (18813): checking braille device: > usb:vendorIdentifier=0X03EB+productIdentifier=0X2013+serialNumber=null > D/brltty (18813): checking for braille driver: pa > W/linker (18813): libbrlttybpa.so: unused DT entry: type 0x6ffffffe arg > 0x644 > W/linker (18813): libbrlttybpa.so: unused DT entry: type 0x6fffffff arg > 0x1 > E/brltty (18813): dlopen failed: cannot locate symbol > "dotsTable_ISO11548_1" referenced by "libbrlttybpa.so"... > E/brltty (18813): cannot load braille driver: > /data/data/org.a11y.brltty.android/app_drivers/libbrlttybpa.so > E/brltty (18813): braille driver not loadable: pa > D/brltty (18813): braille driver not found > D/brltty (18813): activity action failed: braille-driver: start > D/brltty (18813): activity state change: braille-driver: 2[scheduled] > This driver works fine on ubuntu, and I don't know what is the problem here? On Sat, Nov 12, 2016 at 5:13 PM, Dave Mielke <[email protected]> wrote: > [quoted lines by payman shaykhmehdi on 2016/11/12 at 16:04 +0330] > > >I don't know what was the problem, but after configuring the project to > >compile only with my driver and ignoring all other braille display > drivers, > >this makefile problem resolved! > > That's a mystery that wouldn't leave me feeling very comfortable. > > >> Do you know that brltty does run on Android? > > > >I have not tested brailleback yet, but it seems that it uses brltty for > >braille output. > > I think you misunderstood what I'm saying. Brltty itself runs on Android. > You > could, therefore, just build brltty-5.4 for Android. Then we'd be able to > help > you directly with any problems you're having. > > >I have compiled brltty only with my braille display driver, but > brailleback > >has some wrapper files for brltty that doesn't match with brltty 5.4. > > You may have missed something else that I'd said. You could try with > brltty-4.6, which is a branch that didn't get released. It was, in fact, > created specifically for the BrailleBack people so that 5.x drivers could > be > much more easily included in a 4.x build. > > >have tried to fix mismatches but I couldn't. For example in file > >https://github.com/google/brailleback/blob/master/braille/service/jni/ > brlttywrapper/BrlttyWrapper.c > >, there is a function call for bluetoothAndroidSetConnection() and in 5.4 > >we don't have this function and I don't know what is the equivalent > >function in current version. > > That isn't a brltty function, so, in fact, no brltty release has ever > supported > it. > > The reality is that any code written to wrap brltty-4.x core code simply > won't > work when wrapping brltty-5.x core code. The reason is that brotty, before > 5.x, > used to poll for events whereas brltty 5.x is now interrupt-based. > > >Is it possible for you to provide these wrapper files with brltty > releases? > > I myself have no particular interest in doing that since we'd never be > testing > them. My preference would be for you to just use brltty-5.4 on Android, and > then let us know how we can improve it. The best, of course, would be for > you > to be building with the latest development code. > > -- > Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of > God. > Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ > EMail: [email protected] | Canada K2A 1H7 | http://FamilyRadio.org/ > _______________________________________________ > This message was sent via the BRLTTY mailing list. > To post a message, send an e-mail to: [email protected] > For general information, go to: http://mielke.cc/mailman/listinfo/brltty >
_______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://mielke.cc/mailman/listinfo/brltty
