[BRLTTY] Configuring XW driver and AS screen driver related error for Simulation

Dave Mielke dave at mielke.cc
Thu Jul 11 23:56:29 EDT 2013


[quoted lines by Siju Samuel on 2013/07/11 at 18:23 -0500]

>While running brltty it is giving "SPI_init returned 2 error".   Looks like
>some thing related to spi registry, but note that i have at-spi2-registr
>running.

Your system is using atspi2, then, rather than atspi. You should, therefore, be 
using the atspi2 screen driver.

>How do I use AtsSpi2 instead AtsSpi if the error is because of that?

-x a2

> I have tried to configure AtSPI2 using the option mentioned here, but it
>gave configuration error
>http://brl.thefreecat.org/text-apps-a11y-test.html
>sudo -E  ./configure --with-braille-driver=xw,-all
>--with-screen-driver=a2,-all --with-speech-driver=-all
>configure: error: unknown screen driver: a2

The atspi2 screen driver is only built if two conditions are both met. The 
first is that you have the dbus-1 package installed, and if its version is
greater than or equal to 1.0. The second is that the <X11/keysym.h> header can 
be found. You should find it in a package named something like
xorg-x11-proto-dev.

>I could progress to getting a simulation window with the following option
>sudo -E brltty -b xw -xno -p none -A auth=none -B model=normal -l debug  -n
>-e
>and could run some test like   (available in brltty-4.5/Programs)
>./apitest -w -n -l

Yes, that makes sense. I believe you said that you're only interested in using 
BrlAPI, and that you're not, at least for the time being, interested in 
BRLTTY's screen reading capabilities. In that case, you don't need a screen 
driver.

-- 
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: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/


More information about the BRLTTY mailing list