Brltty and systemd?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Brltty and systemd?

Keith Wessel-3

Hi, all,

 

Are there any plans to add a system service script to the brltty ebuild? After moving to Gnome 3.8, I’m having to manually create the service configuration for brltty. Not a big deal, but I’d grown accustomed to the OpenRC brltty script just being there.

 

Thought I’d ask in case I’m missing something that’s already there.

 

Thanks,

Keith

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Brltty and systemd?

Chris Brannon
"Keith Wessel" <[hidden email]> writes:

> Are there any plans to add a system service script to the brltty
> ebuild?

I don't mind adding it, but I'm not really in a position to test it.
Here's the one that Arch uses:
https://projects.archlinux.org/svntogit/packages.git/plain/trunk/brltty.service?h=packages/brltty
I can add that one if it works for you.  If you have something that
works better, please send it, and I'll add that instead.

Also we need a systemd service for espeakup.  I think someone was going
to test the one from Arch, but I don't remember whether they ever did.
I'll look through my list archives...
Anyway, hopefully we'll have .service files for both very soon.

-- Chris

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Brltty and systemd?

Keith Wessel-3
Thanks for the quick reply, Chris.

I haven't been brave enough to reboot into my system-based system yet, but
when I do, I'll try this service script. It's a bit more thorough than the
one I whipped up. I'll report back on how it works for my system.

I haven't gotten into espeakup or software synths yet on my system. I'm
still on mourning that my new system from a year ago doesn't have on-board
serial ports and thus my good old Dectalk Express is now useless. I should
do something with this sooner or later, though. For now, I just panic and go
find my wife to read the screen whenever I can't get brltty going. ;)

Thanks again,
Keith


-----Original Message-----
From: Chris Brannon [mailto:[hidden email]]
Sent: Monday, February 03, 2014 11:16 AM
To: [hidden email]
Subject: Re: [gentoo-accessibility] Brltty and systemd?

"Keith Wessel" <[hidden email]> writes:

> Are there any plans to add a system service script to the brltty
> ebuild?

I don't mind adding it, but I'm not really in a position to test it.
Here's the one that Arch uses:
https://projects.archlinux.org/svntogit/packages.git/plain/trunk/brltty.serv
ice?h=packages/brltty
I can add that one if it works for you.  If you have something that
works better, please send it, and I'll add that instead.

Also we need a systemd service for espeakup.  I think someone was going
to test the one from Arch, but I don't remember whether they ever did.
I'll look through my list archives...
Anyway, hopefully we'll have .service files for both very soon.

-- Chris



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Brltty and systemd?

Michael J. Astrauskas
Keith,

     Have you tried a USB-to-serial converter?  A forum post at
http://www.cs.vassar.edu/~priestdo/emacspeak/2013/msg00582.html 
<http://www.cs.vassar.edu/%7Epriestdo/emacspeak/2013/msg00582.html>
suggests it'll work for you.

--
  - Michael

On 2/3/2014 9:46 AM, Keith Wessel wrote:
> I haven't gotten into espeakup or software synths yet on my system. I'm
> still on mourning that my new system from a year ago doesn't have on-board
> serial ports and thus my good old Dectalk Express is now useless. I should
> do something with this sooner or later, though. For now, I just panic and go
> find my wife to read the screen whenever I can't get brltty going. ;)
>
> Thanks again,
> Keith


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Brltty and systemd?

Keith Wessel-3
Hi, Michael,

No, haven't tried that route yet. That post says it'll work with Emacspeak,
but I prefer Speakup so I can have my screen reader right there in the
kernel at boot time.

Some recent posts from the Speakup list discuss some work-arounds to get a
USB to serial converter working on a 64-bit architecture which I'd need to
do. No big deal, I'm not afraid of a little kernel hacking.

And as I think about this more, if I built the right things in, it would
probably work from boot time.

I'll explore this route, thanks for the suggestion.

Still haven't rebooted into a system-based system, but I do have the
brltty.service file from ArchLinux in place. Other than modifying the path
to brltty from /usr/bin to /bin, what I have there is taken directly from
the link that Chris sent. I hope to try the big reboot later this week, and
I'll report back then.

Keith

-----Original Message-----
From: Michael J. Astrauskas [mailto:[hidden email]]
Sent: Monday, February 10, 2014 8:29 PM
To: [hidden email]
Subject: Re: [gentoo-accessibility] Brltty and systemd?

Keith,

     Have you tried a USB-to-serial converter?  A forum post at
http://www.cs.vassar.edu/~priestdo/emacspeak/2013/msg00582.html
<http://www.cs.vassar.edu/%7Epriestdo/emacspeak/2013/msg00582.html>
suggests it'll work for you.

--
  - Michael

On 2/3/2014 9:46 AM, Keith Wessel wrote:
> I haven't gotten into espeakup or software synths yet on my system.
> I'm still on mourning that my new system from a year ago doesn't have
> on-board serial ports and thus my good old Dectalk Express is now
> useless. I should do something with this sooner or later, though. For
> now, I just panic and go find my wife to read the screen whenever I
> can't get brltty going. ;)
>
> Thanks again,
> Keith




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Brltty and systemd?

Chris Brannon
In reply to this post by Michael J. Astrauskas
"Michael J. Astrauskas" <[hidden email]> writes:

>     Have you tried a USB-to-serial converter?

Yes, that works fine for emacspeak.  I was doing that about 10 years
ago, before I switched to software speech.  Presumably, it would also
work well for yasr, since it can use an emacspeak speech server.
However, it won't work at all for Speakup, since Speakup communicates
directly with the serial ports that used to be standard ON PCs.

-- Chris

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Brltty and systemd?

Keith Wessel-3
Correct, and that's what I realized as I was posting to the Speakup list
yesterday. I'm going to double-check my motherboard manual next chance I get
to make sure Asus didn't sneak a serial header in there that I can use...
but it's not likely for this board, sadly, which I should have considered
when I bought it. But as long as I want speech from boot time, the USB to
serial route isn't going to help.

Thanks again for the suggestion though, Michael.

Keith


-----Original Message-----
From: Chris Brannon [mailto:[hidden email]]
Sent: Wednesday, February 12, 2014 1:11 AM
To: [hidden email]
Subject: Re: [gentoo-accessibility] Brltty and systemd?

"Michael J. Astrauskas" <[hidden email]> writes:

>     Have you tried a USB-to-serial converter?

Yes, that works fine for emacspeak.  I was doing that about 10 years ago,
before I switched to software speech.  Presumably, it would also work well
for yasr, since it can use an emacspeak speech server.
However, it won't work at all for Speakup, since Speakup communicates
directly with the serial ports that used to be standard ON PCs.

-- Chris



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Brltty and systemd?

Keith Wessel-3
In reply to this post by Chris Brannon
Bringing back an old thread, I've still been able to test the brltty service
script with system, mainly because I'm still fighting with getting system
working.

Before I post to the Gentoo user forums, anyone have any good suggestions on
why my initramfs wouldn't be activating my LVM volumes? I'm running LVM on
top of a software raid. Root and boot are on their own raid partitions. The
raid partition with my LVM volume group seems to get started by my
initramfs, but the volume groups don't get activated. And, of course, /usr
is an LVM partition.

The initramfs was built with the latest stable version of genkernel-next. It
does contain LVM support.

If I set real_init to /usr/lib/system/system, it complains that it can't
find that on my root partition.

If I let the initramfs call the old-style init, the LVM volumes are detected
and activated, and of course mounted, after the hand-off.

I'm seriously considering moving /usr, /var and /tmp to my root partition to
avoid this madness. I was planning to post to the forums since I haven't yet
seen anyone out there having this problem and I assume I'm overlooking
something obvious. But I figured I'd ask here first just in case. I know
this is rather off-topic, but if I can get this working, I can see how
brltty and system work with the recommended service config Chris provided.

Thanks,
Keith


-----Original Message-----
From: Chris Brannon [mailto:[hidden email]]
Sent: Monday, February 03, 2014 11:16 AM
To: [hidden email]
Subject: Re: [gentoo-accessibility] Brltty and systemd?

"Keith Wessel" <[hidden email]> writes:

> Are there any plans to add a system service script to the brltty
> ebuild?

I don't mind adding it, but I'm not really in a position to test it.
Here's the one that Arch uses:
https://projects.archlinux.org/svntogit/packages.git/plain/trunk/brltty.serv
ice?h=packages/brltty
I can add that one if it works for you.  If you have something that
works better, please send it, and I'll add that instead.

Also we need a systemd service for espeakup.  I think someone was going
to test the one from Arch, but I don't remember whether they ever did.
I'll look through my list archives...
Anyway, hopefully we'll have .service files for both very soon.

-- Chris



Loading...