* properly switching synths in speakup
@ Gregory Nowak
` Charles Hallenbeck
0 siblings, 1 reply; 9+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all.
How does one properly switch synths on the fly in speakup? I have the
doubletalk pc configured into the kernel, and I have the bns built as
a module. However, I can't switch from the dtlk to the bns.
If I do:
echo bns >/proc/speakup/synth_name
, I just get taken back to the shell prompt with no errors, and
/proc/speakup/synth_name still contains dtlk.
If I do:
modprobe speakup_bns
, speech dies, and I have this in my dmesg output:
"releasing synth dtlk
Unable to handle kernel NULL pointer dereference at virtual address
0000000c
printing eip:
c01f7410
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: speakup_bns ide_cd cdrom snd_pcm_oss snd_mixer_oss
psmouse 8250_pnp 8250 floppy parport_pc parport uhci_hcd snd_via82xx
snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc
snd_mpu401_uart snd_rawmidi snd_seq_device snd tuner bttv video_buf
firmware_class compat_ioctl32 i2c_algo_bit v4l2_common btcx_risc
ir_common tveeprom videodev ext2 af_packet ntfs 8139too usbserial
usbcore ppp_async crc_ccitt ppp_generic slhc serial_core pcspkr
via686a eeprom i2c_isa i2c_viapro i2c_core
CPU: 0
EIP: 0060:[<c01f7410>] Tainted: P VLI
EFLAGS: 00010216 (2.6.16 #2)
EIP is at stop_serial_interrupt+0x14/0x1f
eax: 00000000 ebx: c02d8fe4 ecx: c0298b92 edx: 000002a0
esi: 0805b158 edi: 00000001 ebp: d8ebe000 esp: d8ebff88
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 3128, threadinfo=d8ebe000 task=df068ab0)
Stack: <0>c01f7439 c01f7bf4 00000000 00000003 e0874b80 c01f79e4
e0874be0 e087600a
e0874b80 c01274f7 08061080 0805b158 c01029f9 08061080 000014ff
0805b158
0805b158 00000001 bfa8a4d8 00000080 0000007b c010007b 00000080
b7efc18e
Call Trace:
[<c01f7439>] synth_readbuf_handler+0x0/0x38
[<c01f7bf4>] synth_release+0xc1/0xe3
[<c01f79e4>] do_synth_init+0xa/0x159
[<e087600a>] mod_synth_init+0xa/0x1d [speakup_bns]
[<c01274f7>] sys_init_module+0xb3/0x179
[<c01029f9>] syscall_call+0x7/0xb
Code: ec 89 ca ec 8d 59 02 89 da ec 83 c1 06 89 ca ec b0 01 89 da ee
5b c3 8b 15 a8 42 34 c0 31 c0 42 ee 68 39 74 1f c0 a1 80 63 34 c0 <ff>
70 0c e8 18 3f f3 ff 58 5a c3 a1 a8 42 34 c0 85 c0 74 14 6a"
Finally, if I first try simply doing:
echo none >/proc/speakup/synth_name
, speech dies, and I have this in my dmesg output:
"releasing synth dtlk
Unable to handle kernel NULL pointer dereference at virtual address
0000000c
printing eip:
c01f7410
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: ide_cd cdrom snd_pcm_oss snd_mixer_oss psmouse
8250_pnp 8250 floppy parport_pc parport uhci_hcd snd_via82xx
snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd_page_alloc
snd_mpu401_uart snd_rawmidi snd_seq_device snd tuner bttv video_buf
firmware_class compat_ioctl32 i2c_algo_bit v4l2_common btcx_risc
ir_common tveeprom videodev ext2 af_packet ntfs 8139too usbserial
usbcore ppp_async crc_ccitt ppp_generic slhc serial_core pcspkr
via686a eeprom i2c_isa i2c_viapro i2c_core
CPU: 0
EIP: 0060:[<c01f7410>] Tainted: P VLI
EFLAGS: 00010216 (2.6.16 #2)
EIP is at stop_serial_interrupt+0x14/0x1f
eax: 00000000 ebx: c02d8fe4 ecx: c0344360 edx: 000002a0
esi: dfc25f3d edi: c028e182 ebp: 00000005 esp: dfc25f00
ds: 007b es: 007b ss: 0068
Process bash (pid: 3005, threadinfo=dfc24000 task=c154ea70)
Stack: <0>c01f7439 c01f7bf4 00000000 00000003 dfc25f38 c01f798c
00000005 dfc25f38
00000005 c0298d64 dfc25f39 c0298d65 c01f5da8 dfc25f38 656e6f6e
dfd91d00
df4f1b7c dec79220 00000005 df798360 080f3408 dfc25fa4 c0167cac
df798360
Call Trace:
[<c01f7439>] synth_readbuf_handler+0x0/0x38
[<c01f7bf4>] synth_release+0xc1/0xe3
[<c01f798c>] synth_init+0x5b/0xa9
[<c01f5da8>] synth_write_proc+0x86/0xa9
[<c0167cac>] proc_file_write+0x2b/0x2f
[<c0142132>] vfs_write+0x80/0xd8
[<c0142228>] sys_write+0x3b/0x63
[<c01029f9>] syscall_call+0x7/0xb
Code: ec 89 ca ec 8d 59 02 89 da ec 83 c1 06 89 ca ec b0 01 89 da ee
5b c3 8b 15 a8 42 34 c0 31 c0 42 ee 68 39 74 1f c0 a1 80 63 34 c0 <ff>
70 0c e8 18 3f f3 ff 58 5a c3 a1 a8 42 34 c0 85 c0 74 14 6a"
Kernel version is 2.6.16, speakup version is:
Speakup v-2.00 CVS: Mon Jan 23 11:26:53 EST 2006
Any help would be much appreciated. Thanks in advance.
Greg
P.S. just looking at my message, I realized something strange. The
speakup version says that it's from January, however, I did a fresh
checkout back when I built the 2.6.16 kernel, and I know the changes
to make speakup work with 2.6.16 and up were made in late March. So, I
can only conclude that the version string wasn't updated, either
deliberately, or it was an oversight.
- --
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.2.2 (GNU/Linux)
iD8DBQFESyOK7s9z/XlyUyARAi+NAJ4jyL5eHNE3X1uh1LKYIBKibqvDfwCeJEs/
FjvH3Edh39uZ7c2eGDl60jQ=
=lQ3g
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: properly switching synths in speakup
properly switching synths in speakup Gregory Nowak
@ ` Charles Hallenbeck
` Gregory Nowak
0 siblings, 1 reply; 9+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greg,
I am curious about what my speakwith script would do on your system:
http://www.mhcable.com/~chuckh/speakwith
It is run as root with the synth name as argument.
- --
The Moon is Waning Crescent (26% of Full)
Get downloads from http://www.mhcable.com/~chuckh
and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFESz2dXnuiIOyDVQURAuk1AKCwqDWfHYLekapUsqu7bj32t9E67ACfTsX1
cE4X9Vasg7lDxIHlOyHGDfU=
=L9iD
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: properly switching synths in speakup
` Charles Hallenbeck
@ ` Gregory Nowak
` Charles Hallenbeck
0 siblings, 1 reply; 9+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chuck, running speakwith is actually what prompted me to do this
manually. It did what modprobe and bash have done on subsequent tries,
showed up in the dmesg output as the process that went bye-bye.
BTW, I've been meaning to mention this for some time, but kept
forgetting about it. In the speakwith help message, when you list the
available synths, it should say bns, not bms.
Greg
On Sun, Apr 23, 2006 at 04:41:01AM -0400, Charles Hallenbeck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greg,
>
> I am curious about what my speakwith script would do on your system:
>
> http://www.mhcable.com/~chuckh/speakwith
>
> It is run as root with the synth name as argument.
>
> - --
> The Moon is Waning Crescent (26% of Full)
> Get downloads from http://www.mhcable.com/~chuckh
> and remember, INFORMATION WANTS TO BE FREE!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFESz2dXnuiIOyDVQURAuk1AKCwqDWfHYLekapUsqu7bj32t9E67ACfTsX1
> cE4X9Vasg7lDxIHlOyHGDfU=
> =L9iD
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
- --
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.2.2 (GNU/Linux)
iD8DBQFES9Qb7s9z/XlyUyARAgN+AKDXJo7UGzsxUtD3tWzPFt3sGbQvvACfSX6K
MGne/baJtX6Z6TTuE5ZCE/U=
=ILN0
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: properly switching synths in speakup
` Gregory Nowak
@ ` Charles Hallenbeck
` Gregory Nowak
0 siblings, 1 reply; 9+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks, Greg.
I have here only the doubletalk external and speech-dispatcher to choose
from, so switching between two hardware synths was not something I could
test.
Sorry about the typo. I will fix it pronto.
- --
The Moon is Waning Crescent (21% of Full)
Get downloads from http://www.mhcable.com/~chuckh
and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFES+rTXnuiIOyDVQURApNbAJ0azNP/IjAoov+fSRSEEBvaETcFWwCeLPbS
JBvoZXLQdFhoLcw+MQuIUX4=
=iSfa
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: properly switching synths in speakup
` Charles Hallenbeck
@ ` Gregory Nowak
` Charles Hallenbeck
0 siblings, 1 reply; 9+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
No need to apologize, we all make typos (smile).
I did some more testing on another system, where the bns is built-in,
and sftsyn is compiled as a module. It turns out that if I boot with
none, invoke sftsyn, then try to echo bns >/proc/speakup/synth_name,
things go bye-bye. If I first do echo none >/proc/speakup/synth_name,
before doing the echo bns command, things still go bye-bye.
However, if I boot with the bns connected, and it is detected, I can
switch between none, sftsyn, and bns as much as I want with no
problems.
Going back to the first system with the doubletalk, I then booted with
none as the synth. Once I did that, I was able to switch between bns,
dtlk, and none again as much as I wanted, both using speakwith and
manually BTW. I've also figured out why echo bns
>/proc/speakup/synth_name was simply giving back the shell prompt. It
was happening because the speakup_bns module wasn't loaded. With the
module loaded beforehand, the echo command works just fine, provided
that I didn't boot with dtlk as the initial synth of course.
Greg
On Sun, Apr 23, 2006 at 05:00:03PM -0400, Charles Hallenbeck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Thanks, Greg.
>
> I have here only the doubletalk external and speech-dispatcher to choose
> from, so switching between two hardware synths was not something I could
> test.
>
> Sorry about the typo. I will fix it pronto.
>
> - --
> The Moon is Waning Crescent (21% of Full)
> Get downloads from http://www.mhcable.com/~chuckh
> and remember, INFORMATION WANTS TO BE FREE!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFES+rTXnuiIOyDVQURApNbAJ0azNP/IjAoov+fSRSEEBvaETcFWwCeLPbS
> JBvoZXLQdFhoLcw+MQuIUX4=
> =iSfa
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
- --
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.2.2 (GNU/Linux)
iD8DBQFETDJK7s9z/XlyUyARArJ3AKCTLU9HNkGjPGVpLyrWcbS/5VCZUgCfcGLK
HqjV9WRH2NBU7H6RyHRJkaQ=
=FKP0
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: properly switching synths in speakup
` Gregory Nowak
@ ` Charles Hallenbeck
` Kirk Reiser
` Gregory Nowak
0 siblings, 2 replies; 9+ messages in thread
From: Charles Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Interesting. So many variations on such a simple theme.
Maybe the serial port needs to be reserved right up front when booting.
I generally boot with speakup_synth=ltlk, then before the first login
prompt I let speakwith switch me to software speech. That way I get one
more indication that all is well before the first login. I log into root
first, then run speakwith manually to restore the ltlk as the working
synth.
I operate in a pretty reduced environment here, with one fairly capable
desktop doing everything, and a Linux laptop for emergencies.
As for the typo, at least it was in the help screen and not in the code!
It always makes me a little nervous to peer into source code and find
typos and misspellings in comments. Makes me wonder if there are any in
the code.
- --
The Moon is Waning Crescent (16% of Full)
Get downloads from http://www.mhcable.com/~chuckh
and remember, INFORMATION WANTS TO BE FREE!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFETIx3XnuiIOyDVQURAkqZAJoDFUwUV1gpFXrppvfBP2QmMSyPbACfbJTV
RO3FZMxsXu5kzGUooGdUU8A=
=U8wd
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: properly switching synths in speakup
` Charles Hallenbeck
@ ` Kirk Reiser
` Gregory Nowak
1 sibling, 0 replies; 9+ messages in thread
From: Kirk Reiser @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Since I changed things around to accommodate the continous reading
mode the echo synthname has never worked quite right. I have been
meaning to hunt that down and fix it but I never seem to find the time
to devote to the problem.
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] 9+ messages in thread
* Re: properly switching synths in speakup
` Charles Hallenbeck
` Kirk Reiser
@ ` Gregory Nowak
` Gregory Nowak
1 sibling, 1 reply; 9+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Apr 24, 2006 at 04:29:43AM -0400, Charles Hallenbeck wrote:
> Maybe the serial port needs to be reserved right up front when booting.
Perhaps. When booting as normal with the dtlk, before trying to init
the bns, I also did try:
setserial /dev/ttyS1 uart none
in the hope that would release the port from the kernel, and make it
available for speakup's exclusive use, but trying to initialize the bns
failed there as well.
Greg
- --
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.2.2 (GNU/Linux)
iD8DBQFETS9V7s9z/XlyUyARAlsHAJ9vYm+jc5ubTMHfN9rferdddfTuMACeONT/
TiSq1jbCeUkin2XWVvRKM70=
=I70T
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: properly switching synths in speakup
` Gregory Nowak
@ ` Gregory Nowak
0 siblings, 0 replies; 9+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I just saw the update to speakup on the cvs mailing list, and it looks
like it should fix the problem. I'll have to check it out though and
see. Thanks Gill and Kirk.
Greg
On Mon, Apr 24, 2006 at 01:04:37PM -0700, Gregory Nowak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, Apr 24, 2006 at 04:29:43AM -0400, Charles Hallenbeck wrote:
> > Maybe the serial port needs to be reserved right up front when booting.
>
> Perhaps. When booting as normal with the dtlk, before trying to init
> the bns, I also did try:
>
> setserial /dev/ttyS1 uart none
>
> in the hope that would release the port from the kernel, and make it
> available for speakup's exclusive use, but trying to initialize the bns
> failed there as well.
>
> Greg
>
>
>
> - --
> 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.2.2 (GNU/Linux)
>
> iD8DBQFETS9V7s9z/XlyUyARAlsHAJ9vYm+jc5ubTMHfN9rferdddfTuMACeONT/
> TiSq1jbCeUkin2XWVvRKM70=
> =I70T
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
- --
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.2.2 (GNU/Linux)
iD8DBQFETTaY7s9z/XlyUyARAsODAKCHkruX8hUeb0NpAR+PS7XcVu8uxgCgyAaG
cw5SYfnCrLEPorPcnhJ55EE=
=35AP
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
properly switching synths in speakup Gregory Nowak
` Charles Hallenbeck
` Gregory Nowak
` Charles Hallenbeck
` Gregory Nowak
` Charles Hallenbeck
` Kirk Reiser
` Gregory Nowak
` Gregory Nowak
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).