[BRLTTY] Brltty woes on Centos 7

Adrian van Bloois adrian at pa0rda.nl
Wed Mar 1 17:03:23 EST 2017


On Wed, Mar 01, 2017 at 02:03:47PM -0600, Keith Wessel wrote:
> Hi, all,
> 
> Thank you so much! I decided to only follow your advice half way. I made a
> couple of modifications to the brltty.spec file from the srpm and was able
> to build and upgrade to Brltty 5.4 RPMs.
> 
> Adrian, the system service script you attached didn't come through, and I'm
> still having some trouble getting brltty to start successfully on boot. It
> starts then dies, and I'm still trying to find a way to get the errors with
> journalctl. If you don't mind sending your service script again, I'd be
> interested in what you're doing.
Here is the brltty.service again but now as an attachment.
I want it to start brltty in multi-user mode AND single user mode. Single
user mode is runlevel 1 as far as I know and multi-user mode is runlevel
3.
What is important is that you give the right text table, I had problems
with that recently.
I'm not sure what happens if you omit to specify the ttb file.
> 
> Thanks,
> Keith
> 
> 
> 
> -----Original Message-----
> From: BRLTTY [mailto:brltty-bounces at brltty.com] On Behalf Of Adrian van
> Bloois
> Sent: Tuesday, February 28, 2017 11:03 AM
> To: Informal discussion between users and developers of BRLTTY.
> <brltty at brltty.com>
> Subject: Re: [BRLTTY] Brltty woes on Centos 7
> 
> On Tue, Feb 28, 2017 at 05:51:17PM +0100, Adrian van Bloois wrote:
> > On Tue, Feb 28, 2017 at 10:22:50AM -0500, Dave Mielke wrote:
> > > [quoted lines by Keith Wessel on 2017/02/28 at 08:26 -0600]
> > > 
> > > >While the version of brltty that Centos provides works, it lacks a
> couple
> > > >things. 
> > > 
> > > And, if you're using a laptop on battery power, 4.5 is much less
> friendly to 
> > > that battery than 5 is.
> > > 
> > > >First, I can't, for anything, get any sound out of it for alert
> > > >tunes. After looking at its dependencies, I noticed it didn't have alsa
> libs
> > > >listed. Could it be that the Centos-distributed version
> (brltty-4.5-13.el7)
> > > >doesn't have any sound support other than the beeper device?
> > > 
> > > Do ldd on the brltty executable to see which libraries it's using.
> > > 
> > > >So, I tried the brltty-5.4 RPM available for download from brltty.com.
> I
> > > >really wanted to move to Brltty V5, anyway. I run it at home on a
> Gentoo
> > > >system, and I like a number of the changes including the new button
> mappings
> > > >for my PowerBraille 80. Sadly, it's looking for, among other things,
> libicu
> > > >4.9. Centos 7 comes with 5.0. Sigh.
> > > 
> > > Best, really, to build brltty for yourself. That way, you can
> specifically 
> > > configure it for the system you have.
> > > 
> > > >Next stop, the source RPM. Try to build my own. I attempt to add the
> many
> > > >dependencies required to build the RPM: 23 that I didn't yet have.
> However,
> > > >one can't be met: gcc-java. It's not available in RHEL and Centos 7
> that I
> > > >can see.
> > > 
> > > You can configure with --disable-java-bindings. That shouldn't cause any
> 
> > > problems. Again, though, doing that may require a non-RPM build. Get the
> 
> > > tarball - not the rpm - and build from that.
> > > 
> > > >Can anyone point me to a binary RPM of Brltty for Centos 7 that has
> ALSA
> > > >support for PCM alert tunes? Or perhaps the Centos one does and I'm
> just not
> > > >configuring something right? I tried many times this week to make it
> work.
> > > 
> > > I myself am not familiar with CentOS 7. Maybe someone else on this list
> is.
> > yes, I'm running CentOS 7.3 since a couple of months.
> > As Dave suggests,  use the tarball!!!
> > Attached is my brltty.service which differs from the one from the rpm or
> > the one from the tarball.
> One thing more, remove the -t my from the start line in brltty.service
> 
> > My configure script is like this:
> > ./configure \
> > 	--prefix=/usr/local \
> > 	--sysconfdir=/etc \
> > 	--datadir=//usr/local/share \
> > 	--localstatedir=/var \
> > 	--disable-java-bindings \
> > 	--disable-tcl-bindings \
> > 	--disable-lisp-bindings \
> > 	--disable-ocaml-bindings \
> > 	--with-braille-driver=YOURDISPLAYDRIVER \
> > 	--with-curses=ncurses \
> > 	--with-screen-driver=lx
> > > 
> > > >Alternatively, can anyone make suggestions for building the srpm? What
> > > >changes might I need to make to the configure command-line to not need
> > > >gcc-java, 
> > > 
> > > As mentioned above: Build from the tarball, and configure with 
> > > --disable-java-bindings.
> > > 
> > > >and would might I lose if I left that out? 
> > > 
> > > Only the functinality of anything that relies on the Java bindings for
> BrlAPI. 
> > > I don't think there are any major public apps that do.
> > > 
> > > >Would that hurt any of the Gnome/Orca brlapi integration?
> > > 
> > > No. They use the Python bindings.
> > > 
> > > -- 
> > > 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.org/
> > > _______________________________________________
> > > This message was sent via the BRLTTY mailing list.
> > > To post a message, send an e-mail to: BRLTTY at brltty.com
> > > For general information, go to:
> http://brltty.com/mailman/listinfo/brltty
> > 
> > -- 
> > 	Adri P. van Bloois
> > 
> > 
> > "Elegance is not a dispensable luxury but a factor that decides between 
> >  success and failure."
> > 	Edsger W. Dijkstra
> > _______________________________________________
> > This message was sent via the BRLTTY mailing list.
> > To post a message, send an e-mail to: BRLTTY at brltty.com
> > For general information, go to: http://brltty.com/mailman/listinfo/brltty
> 
> -- 
> 	Adri P. van Bloois
> 
> 
> "Elegance is not a dispensable luxury but a factor that decides between 
>  success and failure."
> 	Edsger W. Dijkstra
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty
> 
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
	Adri P. van Bloois


"Elegance is not a dispensable luxury but a factor that decides between 
 success and failure."
	Edsger W. Dijkstra


More information about the BRLTTY mailing list