[BRLTTY] Brltty install and Authentication error when calling brailapitest program

Siju Samuel sijusamueltech at gmail.com
Mon Jun 24 18:30:12 EDT 2013


Thanks for the reply.  Now it is clearer,  to invoke brlapi,  it is just
enough to have only instance of brltty running ( for one braille-display).
 My reference to API is C-APIs.  My objective is to Invoke C-APIs from an
existing application to interact with refreshable  braille display and
LibLouise/daisy xml-integration.   I think I have to go through a bit more
of the documentation before seeking further help/clarifications.   Thank
you very much,Siju Samuel




>
> Today's Topics:
>
>    1. Re:  Brltty install and Authentication error when calling
>       brailapitest program (Samuel Thibault)
>    2. Re:  Brltty install and Authentication error when calling
>       brailapitest program (Dave Mielke)
>    3.  [patch] make build system respect ldflags (William Hubbs)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 23 Jun 2013 21:45:43 +0200
> From: Samuel Thibault <samuel.thibault at ens-lyon.org>
> To: "Informal discussion between users and developers of BRLTTY."
>         <brltty at mielke.cc>
> Subject: Re: [BRLTTY] Brltty install and Authentication error when
>         calling brailapitest program
> Message-ID: <20130623194543.GN6138 at type>
> Content-Type: text/plain; charset=iso-8859-1
>
> Siju Samuel, le Fri 21 Jun 2013 16:45:02 -0500, a ?crit :
> > It Looks like I did not run the command ?"brltty -d /dev/pts/3 -bauto"
> ?after
> > "make install". Right now the authentication is going through. ? ? But
> If I run
> > '"brttly" again,
>
> Why do you want to run brltty again?
>
> > it adds one more brttly job ?when checked with ps -A | grep
> > brttly'.
>
> Sure, running brltty again will start a second brltty daemon.
>
> >  ?From the documentation I understood,
>
> Which documentation are you referring to?
>
> > inorder to invoke ?brtlyapi_methods
>
> Which brtlyapi_methods is this?  Is this Python, Java, or other
> bindings?
>
> > there will be having ?server program running.
>
> Running just one brltty daemon should be enough?
>
> > Can you please mention which ?Job it is ??
>
> Normally you should be running just one brltty daemon.
>
> > And ?with multiple 'brttly' command will it run that many server
> > attached to many socket.??
>
> No. Just like X, you have to tell the daemon to run on a second socket,
> by using for instance brltty -A host=:1 (instead of the default :0), and
> then you can tell clients to use the second socket by using
> export BRLAPI_HOST=:1
>
> Samuel
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 23 Jun 2013 21:31:36 -0400
> From: "Dave Mielke" <dave at mielke.cc>
> To: "Informal discussion between users and developers of        BRLTTY."
>         <brltty at mielke.cc>
> Subject: Re: [BRLTTY] Brltty install and Authentication error when
>         calling brailapitest program
> Message-ID: <FrcJJhHbHXYG.lXlK3lWw at relay.dnsexit.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> You don!t want to to have brltty running more than once without using
> different options for each  one so that each one will control a different
> braille device. Having more than one brltty process try to control the same
> braille device can cause a lot of confusion, and usually means that the
> braille device will seem to not be working at all.
>
> Sent from Nokia Mobile
>
> -original message-
> Subject: Re: [BRLTTY] Brltty install and Authentication error when calling
> brailapitest program
> From: Siju Samuel <sijusamueltech at gmail.com>
> Date: 2013-06-21 17:45
>
> It Looks like I did not run the command  "brltty -d /dev/pts/3 -bauto"
>  after "make install". Right now the authentication is going through.
> But If I run '"brttly" again, it adds one more brttly job  when checked
> with ps -A | grep brttly'.    From the documentation I understood, inorder
> to invoke  brtlyapi_methods there will be having  server program running.
> Can you please mention which  Job it is  ? And  with multiple 'brttly'
> command will it run that many server attached to many socket.?
>
>
> On Fri, Jun 21, 2013 at 10:40 AM, Siju Samuel <sijusamueltech at gmail.com
> >wrote:
>
> > Hi,
> >
> > I am getting "Authentication failed Message" when running BrailApi.
> >  Installed Brttly and ran apitest. Details are as below.
> >
> >
> > *Details : *
> > I have installed brttly freshly in a linux ubuntu box. Uninstalled the
> > default brltty comes with this and installed from the downloaded
> >  brltty-4.5.tar.gz
> > by doing the following from the extracted directory.
> > sudo ./configure
> > sudo make
> > sudo make install
> >
> >
> > Then when running the "apitest" from
> >
> > cd brltty-4.5/Programs
> > sudo make apitest
> > sudo  ./apitest
> > *Connecting to BrlAPI... failed to connect to :0 using auth
> > /etc/brlapi.key: Authentication failed*
> >
> > Also I have changed the main in Apitest.c, still gives the same error.
> > *change : settings.host = NULL; settings.auth ="/etc/brlapi.key";*
> >
> > I have also  referred the sample program here, still gets the same error.
> >
> http://mielke.cc/brltty/doc/Manual-BrlAPI/English/BrlAPI-5.html#sec-library
> >
> >
> > So am I missing any steps required. Any help is highly appreciated.
> Please
> > note that  I am running all the program with  root/sudo  access.
> >
> > Thanks,
> > Siju Samuel
> >
>
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 24 Jun 2013 00:06:13 -0500
> From: William Hubbs <w.d.hubbs at gmail.com>
> To: brltty at mielke.cc
> Subject: [BRLTTY] [patch] make build system respect ldflags
> Message-ID: <20130624050613.GA2503 at linux1>
> Content-Type: text/plain; charset="us-ascii"
>
> All,
>
> this bug has been around for a while on gentoo, but I don't think it was
> passed upstream [1].
>
> The attached patch is how we are fixing this for Linux. Let me know your
> thoughts on the patch.
>
> Thanks,
>
> William
>
> [1] https://bugs.gentoo.org/show_bug.cgi?id=338161
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: brltty-4.5-fix-ldflags.patch
> Type: text/x-diff
> Size: 2168 bytes
> Desc: not available
> URL: <
> http://mielke.cc/pipermail/brltty/attachments/20130624/52e02141/attachment-0001.bin
> >
>
> ------------------------------
>
> _______________________________________________
> This is a message digest of the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty
>
> End of BRLTTY Digest, Vol 9, Issue 125
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20130624/8f4bd63a/attachment.html>


More information about the BRLTTY mailing list