public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* speakup serial ports
@  chuckh
   ` Dawes, Stephen
  0 siblings, 1 reply; 13+ messages in thread
From: chuckh @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I can just try this, I guess. But can anyone spare me the pain?

Can I use ttyS4 in speakup for a hardware synth? Is speakup_ser=4 a 
valid option, assuming of course there actually is a ttyS4 and a synth 
on it?

Thanks,
Chuck


-- 
The Moon is Waxing Crescent (11% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!


^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: speakup serial ports
   speakup serial ports chuckh
@  ` Dawes, Stephen
     ` chuckh
  0 siblings, 1 reply; 13+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

A simple reminder:
Numbering in Linux starts with 0. 
So for example, if you have 2 serial ports on your computer, they are
ttyS0 and ttyS1.
So to ask if you can place a Synth on ttyS4 implies that you have 5
serial ports on your computer.

I haven't necessarily answered your question, but make sure that you are
counting correctly before you try to connect and then get frustrated
because you are not counting correctly.



Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
 


NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
   ` Dawes, Stephen
@    ` chuckh
       ` Dawes, Stephen
                       ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: chuckh @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi Steve,

Yes. I have a box with one serial port on the motherboard, and another 
on a PCI card. The first one appears as ttyS0 and has a braille display 
on it, and the other one appears as ttyS4, where I would like to put a 
synthesizer. Some software only allows ports 0 to 3, the first four 
ports, and I cannot recall whether that is the case with speakup.

Chuck

On Fri, Jul 28, 2006 at 08:49:52AM -0600, Dawes, Stephen wrote:
> A simple reminder:
> Numbering in Linux starts with 0. 
> So for example, if you have 2 serial ports on your computer, they are
> ttyS0 and ttyS1.
> So to ask if you can place a Synth on ttyS4 implies that you have 5
> serial ports on your computer.
> 
> I haven't necessarily answered your question, but make sure that you are
> counting correctly before you try to connect and then get frustrated
> because you are not counting correctly.
> 
> 
> 
> Steve Dawes
> Phone: (403) 268-5527
> Email: SDawes@calgary.ca
>  
>  
> 
> 
> NOTICE -
> This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waxing Crescent (11% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!


^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: speakup serial ports
     ` chuckh
@      ` Dawes, Stephen
         ` chuckh
       ` Kirk Reiser
       ` Garrett Klein
  2 siblings, 1 reply; 13+ messages in thread
From: Dawes, Stephen @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi chuck,

Give it a shot, what have you got to loose.
 

Steve Dawes
Phone: (403) 268-5527
Email: SDawes@calgary.ca
 
 


NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
       ` Dawes, Stephen
@        ` chuckh
           ` Adam Myrow
  0 siblings, 1 reply; 13+ messages in thread
From: chuckh @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Yep, looks like that's what we will do. The box is in a distant city 
though, so the user probably ought to be handy to pick up the pieces if 
necessary <smile>. 

Worst case: speakup cannot cope with ttyS4, so it reverts to ttyS0, thus 
hiding that port from brltty when it wants to load. No speech, no 
braille.  That's why I thought I'd ask first.

Chuck


On Fri, Jul 28, 2006 at 09:03:26AM -0600, Dawes, Stephen wrote:
> Hi chuck,
> 
> Give it a shot, what have you got to loose.
>  
> 
> Steve Dawes
> Phone: (403) 268-5527
> Email: SDawes@calgary.ca
>  
>  
> 
> 
> NOTICE -
> This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waxing Crescent (11% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
     ` chuckh
       ` Dawes, Stephen
@      ` Kirk Reiser
         ` chuckh
       ` Garrett Klein
  2 siblings, 1 reply; 13+ messages in thread
From: Kirk Reiser @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

We only check 0 through four but actually we check the addresses
allocated to those ports so if you can get your seperate chard to sit
in the 0 through four address space you'd be okay.

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
       ` Kirk Reiser
@        ` chuckh
           ` Gregory Nowak
  0 siblings, 1 reply; 13+ messages in thread
From: chuckh @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi Kirk,

Thanks. But now we have a dead system, so CPR measures are in order. 
Fortunately the user has a grml disk to rescue things with, so I think 
we can unscramble his eggs this time.

I see from the boot messages that speakup is already up and talking when 
the PCI slots are scanned and configured, so it's no wonder ttyS4 did 
not work. 

Ain't computers fun?

Chuck


On Fri, Jul 28, 2006 at 01:12:24PM -0400, Kirk Reiser wrote:
> We only check 0 through four but actually we check the addresses
> allocated to those ports so if you can get your seperate chard to sit
> in the 0 through four address space you'd be okay.
> 
>   Kirk
> 
> -- 
> 
> Kirk Reiser				The Computer Braille Facility
> e-mail: kirk@braille.uwo.ca		University of Western Ontario
> phone: (519) 661-3061
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waxing Crescent (12% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
         ` chuckh
@          ` Gregory Nowak
             ` chuckh
  0 siblings, 1 reply; 13+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Chuck and all.

Chuck, it should still be possible for you to have speakup
modularized, and to load it once the pci serial card is
initialized. Admittedly, this wouldn't give you speech as early as it
would if speakup was in the kernel, but it should still work. Also,
Kirk did say that the addresses for ports 0-4 are scanned, so speakup
should still look for your synth on ttyS4 once the module gets loaded.

Greg


On Fri, Jul 28, 2006 at 03:15:52PM -0400, chuckh@hhs48.com wrote:
> Hi Kirk,
> 
> Thanks. But now we have a dead system, so CPR measures are in order. 
> Fortunately the user has a grml disk to rescue things with, so I think 
> we can unscramble his eggs this time.
> 
> I see from the boot messages that speakup is already up and talking when 
> the PCI slots are scanned and configured, so it's no wonder ttyS4 did 
> not work. 
> 
> Ain't computers fun?
> 
> Chuck
> 
> 

- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEymPy7s9z/XlyUyARArscAKDE8dP+zSeJecQjmuIqBxHUIltJOQCfWD97
7RQdyMNfQp/2FspuOaH9PnY=
=zrrT
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
           ` Gregory Nowak
@            ` chuckh
  0 siblings, 0 replies; 13+ messages in thread
From: chuckh @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi Greg,

That's a possible path too. Thanks. But I think what we'll do first is 
put the synth on ttyS0 and the braille device on ttyS4 and see if we can 
bring it up that way. I imagine Kirk meant 0 to 3, the first four ports, 
instead of 0 to 4. This is awkward since the user is 35 miles from here 
with a dead system and my wife, who loves to talk, is on the only phone 
we have here. 

So, stay tuned! <smile>

Chuck

On Fri, Jul 28, 2006 at 12:22:27PM -0700, Gregory Nowak wrote:
> Hi Chuck and all.
> 
> Chuck, it should still be possible for you to have speakup
> modularized, and to load it once the pci serial card is
> initialized. Admittedly, this wouldn't give you speech as early as it
> would if speakup was in the kernel, but it should still work. Also,
> Kirk did say that the addresses for ports 0-4 are scanned, so speakup
> should still look for your synth on ttyS4 once the module gets loaded.
> 
> Greg
> 
> 
> On Fri, Jul 28, 2006 at 03:15:52PM -0400, chuckh@hhs48.com wrote:
> > Hi Kirk,
> > 
> > Thanks. But now we have a dead system, so CPR measures are in order. 
> > Fortunately the user has a grml disk to rescue things with, so I think 
> > we can unscramble his eggs this time.
> > 
> > I see from the boot messages that speakup is already up and talking when 
> > the PCI slots are scanned and configured, so it's no wonder ttyS4 did 
> > not work. 
> > 
> > Ain't computers fun?
> > 
> > Chuck
> > 
> > 
> 
> -- 
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
> 
> --
> Free domains: http://www.eu.org/ or mail dns-manager@EU.org
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waxing Crescent (12% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
         ` chuckh
@          ` Adam Myrow
             ` chuckh
  0 siblings, 1 reply; 13+ messages in thread
From: Adam Myrow @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

On Fri, 28 Jul 2006, chuckh@hhs48.com wrote:

> Worst case: speakup cannot cope with ttyS4, so it reverts to ttyS0, thus
> hiding that port from brltty when it wants to load. No speech, no
> braille.  That's why I thought I'd ask first.

Why not reconfigure Brltty to use ttyS4 instead?  Brltty comes up much 
later in the boot process, and can happily deal with pretty much any port 
you throw at it.  I've even used it once over a USB to serial converter, 
but it was flaky in that configuration.  Since Speakup talks to the 
hardware directly, it's really best to get Speakup working on the built-in 
serial port, as you are much more likely to succeed.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
           ` Adam Myrow
@            ` chuckh
  0 siblings, 0 replies; 13+ messages in thread
From: chuckh @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi Adam,

On Fri, Jul 28, 2006 at 06:20:57PM -0500, Adam Myrow wrote:
> 

> Why not reconfigure Brltty to use ttyS4 instead?  Brltty comes up much 
> later in the boot process, and can happily deal with pretty much any port 
> you throw at it.  I've even used it once over a USB to serial converter, 
> but it was flaky in that configuration.  Since Speakup talks to the 
> hardware directly, it's really best to get Speakup working on the built-in 
> serial port, as you are much more likely to succeed.

We foolishly tried the other way, and now must figure out a recovery 
strategy. I'm a lot better at figuring stuff out after it happens than I 
am ahead of time, unfortunately. Your suggestion is what we will try 
next.

Chuck

-- 
The Moon is Waxing Crescent (13% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!


^ permalink raw reply	[flat|nested] 13+ messages in thread

* RE: speakup serial ports
     ` chuckh
       ` Dawes, Stephen
       ` Kirk Reiser
@      ` Garrett Klein
         ` chuckh
  2 siblings, 1 reply; 13+ messages in thread
From: Garrett Klein @  UTC (permalink / raw)
  To: 'Speakup is a screen review system for Linux.'

Perhaps I'm being naïve, but could you not just specify speakup_ser=4 on the
boot command line? Of course, the PCI subsystem may hnot load in time...
Though iirc, you said you had modularized Speakup.

Garrett

-----Original Message-----
From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@braille.uwo.ca]
On Behalf Of chuckh@hhs48.com
Sent: Friday, July 28, 2006 9:54 AM
To: Speakup is a screen review system for Linux.
Subject: Re: speakup serial ports


Hi Steve,

Yes. I have a box with one serial port on the motherboard, and another 
on a PCI card. The first one appears as ttyS0 and has a braille display 
on it, and the other one appears as ttyS4, where I would like to put a 
synthesizer. Some software only allows ports 0 to 3, the first four 
ports, and I cannot recall whether that is the case with speakup.

Chuck

On Fri, Jul 28, 2006 at 08:49:52AM -0600, Dawes, Stephen wrote:
> A simple reminder:
> Numbering in Linux starts with 0.
> So for example, if you have 2 serial ports on your computer, they are
> ttyS0 and ttyS1.
> So to ask if you can place a Synth on ttyS4 implies that you have 5
> serial ports on your computer.
> 
> I haven't necessarily answered your question, but make sure that you 
> are counting correctly before you try to connect and then get 
> frustrated because you are not counting correctly.
> 
> 
> 
> Steve Dawes
> Phone: (403) 268-5527
> Email: SDawes@calgary.ca
>  
>  
> 
> 
> NOTICE -
> This communication is intended ONLY for the use of the person or 
> entity named above and may contain information that is confidential or 
> legally privileged. If you are not the intended recipient named above 
> or a person responsible for delivering messages or communications to 
> the intended recipient, YOU ARE HEREBY NOTIFIED that any use, 
> distribution, or copying of this communication or any of the 
> information contained in it is strictly prohibited. If you have 
> received this communication in error, please notify us immediately by 
> telephone and then destroy or delete this communication, or return it 
> to us by mail if requested by us. The City of Calgary thanks you for 
> your attention and co-operation.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca 
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waxing Crescent (11% of Full)
Get downloads from http://www.mhcable.com/~chuckh
  and remember, INFORMATION WANTS TO BE FREE!

_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: speakup serial ports
       ` Garrett Klein
@        ` chuckh
  0 siblings, 0 replies; 13+ messages in thread
From: chuckh @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Garret,

In this case, the speakup drivers were compiled into the kernel, since I 
was not using an initrd and wanted speech from the start of bootup. So 
speakup_ser=4 was out. But I was able to put the synthesizer on ttyS0, 
and use ttyS4 for brltty, which is less particular about such things. 
One thing I have noticed though is that when the brltty driver is 
loaded, the "continuous read" feature is lost. I no longer have that 
system here, and did not look into it further while I had it. Otherwise, 
everything got resolved okay.

Chuck



-- 
The Moon is Waning Gibbous (97% of Full)
Only 10 kinds of people: those who do binary, and those who do not.
But you can get a few downloads from http://www.mhcable.com/~chuckh


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 speakup serial ports chuckh
 ` Dawes, Stephen
   ` chuckh
     ` Dawes, Stephen
       ` chuckh
         ` Adam Myrow
           ` chuckh
     ` Kirk Reiser
       ` chuckh
         ` Gregory Nowak
           ` chuckh
     ` Garrett Klein
       ` chuckh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).