LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-12-2014, 01:50 AM   #1
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Does Speakup work on Serial Port in Slackware 14.1 ?


Does anyone know of an example of speakup working through a serial port on Slackware 14.1? If so what brand and model of synthesizer was used and was any special configuration or software needed to get the external synthesizer to function with speakup?

The remainder of this thread is what I've found so far ...

--------

I've recently become interested in speakup on Slackware after assisting with this post from last weekend. That LQ member is trying to get Slackware installed using a LiteTalk synthesizer. A quote from that post ...
Quote:
To date no member of linux-speakup email list has figured out how to get slackware 14.1 to start talking in order to install it.
I've been trying to find an example of speakup working through the serial port on a recent version of Slackware but have been unsuccessful so far.

This LQ thread from last year didn't appear to result in success. The LQ member was using a DECtalk Express synthesizer.

Of course these two LQ thread examples do NOT demonstrate that speakup doesn't work, as we all see posts here everyday where the software functions properly but the LQ member just needs some assistance in getting the software to work. But on the other hand it would be good to see a working example, otherwise maybe speakup through a serial port really doesn't work these days.

The Speakup Project Website hasn't had much activity since 2010 except for the posting of mailing list archives up through March of this year. It looks like speakup version 3.1.6 from 2010 may have been the version that went into the kernel.

-----

I found this email exchange of about a dozen messages from 2012 regarding a bug report. There was 2013 email thread with some additional comments regarding the bug report here and here.

I believe the patch that John Heim was referring to was here.

One excerpt of that email thread reads ...
Quote:
The kernel folks are saying that the entire method that speakup is using to gain access to the serial port is completely dead and should be rewritten.
-----

I found installing Slackware64 14.1 with the subsequent installation of portaudio, espeak, and espeakup straightforward. The combination worked as expected with the espeak software synthesizer.

Does anyone know if brltty can be built into the kernel so it will begin working just after the the boot: prompt (like speakup used to work?). Or is brltty only available after the kernel is running? I'm just wondering if the technique brltty used with the serial port would apply to the rewriting of the speakup driver.

I currently have no hardware synthesizer. In fact I don't currently have a spare motherboard with a serial port header available. Now I wish I would have kept a couple of my older computers with serial ports, or I still had access to portable serial data analyzers. If someone can verify that hardware speakup still works then I will acquire a couple of old motherbords with serial ports and a used synthesizer if I can find an inexpensive one.

The PV note in SPEAKUP_INSTALL.TXT discussing utf8, gpm and serial port numbers appeared intended to be helpful and encouraging, but the sentence "Anyways, good luck with the install!" seemed somewhat lacking in confidence that speakup would always work.

If it turns out that speakup no longer works on external hardware then maybe there isn't much to be done unless/until the speakup hardware driver is rewritten to work in current kernels. If it does currently work with the serial port please point me to a working example.

Thanks.
 
Old 12-12-2014, 02:24 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by TracyTiger View Post
Does anyone know if brltty can be built into the kernel so it will begin working just after the the boot: prompt (like speakup used to work?). Or is brltty only available after the kernel is running? I'm just wondering if the technique brltty used with the serial port would apply to the rewriting of the speakup driver.
brltty neither can nor need to be built into the kernel. It can run even _before_ the boot prompt, in fact just after the devices have been created.

For your information I just provided build material for the most recent version brltty-6.2, Cf. this post.

I did that to make brltty available in the Slint installers. That works (I will release these new installers next week), and has been tested by a user. He uses a model of terminal connected through USB but there are of course devices directly connected to serial lines, though machines with equipped of a serial lines are increasingly scarce, I think.

I now intent to ship speakup in a Slint installer as well and on the occasion propose updates of relevant stuff in Slackware. I'm pretty confident that can be done as it's already done in several distributions, among which Debian. I will be more than happy to cooperate with you on that topic.
 
Old 12-12-2014, 03:54 AM   #3
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Original Poster
Rep: Reputation: 273Reputation: 273Reputation: 273
@Didier Spaier - Thanks for the response. You wrote ...
Quote:
brltty neither can nor need to be built into the kernel. It can run even _before_ the boot prompt, in fact just after the devices have been created.
This is encouraging. You mentioned a tester with a Braille tty connected through a USB device. If a Braille tty or external synthesizer can be working at the boot: prompt through a USB device then it should be possible to install a system from scratch just using the Braille tty or synthesizer (and keyboard of course).

Quote:
I will be more than happy to cooperate with you on that topic.
Thanks for the offer to cooperate with me. I'm not sure exactly what I plan to do. In poking around this week it appeared that the speakup software may be neglected and perhaps it could be an area I could learn and help with in Slackware. I'm not sure my limited skills are up to the (yet undefined) task however. I'll continue exploring and learning more about the Slackware boot process.

I'll look at your SLINT project to learn from it. If I get more serious about this I'll find a more appropriate method to communicate with you Didier than posts on this forum.

December and January are the busiest months of the year for me so I didn't pick the best week to develop a new interest.

Last edited by TracyTiger; 12-12-2014 at 03:56 AM.
 
Old 12-12-2014, 06:56 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by TracyTiger View Post
This is encouraging. You mentioned a tester with a Braille tty connected through a USB device. If a Braille tty or external synthesizer can be working at the boot: prompt through a USB device then it should be possible to install a system from scratch just using the Braille tty or synthesizer (and keyboard of course).
Well, the Braille terminal is not yet usable in the installer when the greeting screen is displayed. But the user just needs to type after boot:
Code:
<label of the kernel image> brlty=<braille-driver short name>,<type:device>,<text-table>
For instance, when he heard the bell ring, Philippe just typed on his regular keyboard:
Code:
06 brltty=pm,usb:,fr_FR
06 => Installation in French
pm => Terminal Papenmeier
usb: =>First USB device matching the braille driver
fr_FR => French (France) text table

After that and creation of udev devices in rc.S, all information displayed on the console's screen are also sent to the Braille terminal, so the keyboard is no more needed.

They are remaining issues, mostly the highlighting of a dialog's menu entry is not shown on the terminal, but it's another topic and I am trying to address that.

You can communicate with me through email: <my first name> (at) <domain name>

PS After installation brltty will be started at boot with the parameters used in the installers' command line, that can of course be changed afterwards editing the config file /etc/brltty.conf or just running the script /usr/sbin/bp2cf.

Last edited by Didier Spaier; 12-12-2014 at 08:56 AM. Reason: command line corrected
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Espeak support for speakup included in latest Slackware Installation? hunterjoz1996 Slackware - Installation 2 12-10-2013 02:38 PM
Serial Port problem , program work in slackware 12 but do not work in 13.x help40 Linux - Networking 1 12-07-2010 05:17 PM
Is a USBtty (USB serial port) treated the same as tty (normal serial port) in C? spudgunner Programming 1 11-12-2010 01:19 PM
Need help installing Slackware with SpeakUp for blind person mettahu Linux - Software 5 02-01-2005 12:50 PM
getting serial port to work with c jonfa Programming 1 07-29-2002 01:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration