Hi

OK, what is it you need me to do?

All I did was:

Follow the remaster howto.  Once I had the root.ext2 file mounted upon my hard 
disk I downloaded and installed:

Portaudio18
Espeak1.28
Speech-dispatcher (I had an cvs snapshot, so I checked out the latest update)
Speechd-up-0.4 
Unixcw_2.2 (Not necessary just a little quirk of mine, to give audiable cues)

I removed all /lib/modules/2.6.22...

I moved a kernel tarball that contained 2.6.21.5 source patched with speakup.  
Into /usr/src and removed the 2.6.22 sources after copying the .config file.  I 
didn't know what I'd get by running "make oldconfig" but it generated a new 
config after asking me some questions about supporting particular devices, 
which I thought to be strange.  But looking through it, it contains support for 
more than I'd built in support so I'm hoping that it took as many settings as 
it could that matched.

I obviously run make etc

I copied the bzImage and renamed it linux and put it in the required boot 
directory.

I made a directory called /doc and written a README.speakup, I put the speakup 
user guide and a copy of your README inside /doc.

I generated a script which I called software_speakup (see below) and put it in 
/etc/rc.d/init, in rc3.d I linked to it giving it a value of 99 i.e. 
S99software_speakup.

I edited was it isolinux.cfg, or something like that, the LANGUAGE, TZ and UTC 
arguments for GB after the image = linux statement.  I didn't know if to 
include it as part of the append line but it works just tagged onto the linux 
line.

I generated a /etc/dialogrc file with the line you suggested.  This was 
probably a waiste of time as we don't have the dialogs to deal with now.

All this is very messy and probably broken every rule in the book but it works 
on my machines.  I'd really like to know if it would work on other machines 
than these AMD via chipsets.  As I said looking at the kernel config, it 
probably would.  It doesn't work on my Mac Mini even though it's an Intel Mac.  
I haven't looked to see if the Mac's partition table etc is built into the 
kernel yet.

Here's the software_speakup:

#!/bin/bash

# Ensure that alsa volumes are acceptable.

amixer set Master 28 on
amixer set PCM 28 on
amixer set AC97 playback 0 Capture 100
amixer set Capture 12 on
amixer set Mic 0 cap
amixer set 'Mic Boost (+20dB)' on
amixer set CD 28 on
amixer set 'PC Speaker' 10 on

if [ `cat /proc/speakup/synth_name` = "none" ]
then 
# Attempting to get the system talking by loading additionally installed 
packages
# Firstly, speech dispatcher:
/usr/bin/speech-dispatcher

# Tell speakup we want to use a software synth

echo sftsyn >/proc/speakup/synth_name

# Finally speechd-up:
/usr/bin/speechd-up

fi

# An audible cue that this script has been initiated.
cw -e -s c -w 15 -f /etc/cw_prompt
 
End of script:

I obviously put a file in /etc called cw_prompt.  This contains a "can".

README.speakup:

Written by Georgina Joyce

Boot options:
speakup:
Software synthesiser driven by speakup.  Just hit enter at the second tone and 
espeak will start talking.  When the machine is near to completion of its boot 
process.

For other synths, at the second bleep / tone, type "linux <speakup typical 
string>.  Do not call the software synth in this way.

Examples:

$ linux speakup_synth=ltlk
$ linux speakup_synth=dectlk
 
(The speakup user guide is included in the doc directory)

brltty
The original lfs livecd contains brltty 3.8.  brltty can also be started from 
the second tone at the boot prompt.

Examples:
$ linux brltty=bm,usb:
$ linux brltty=bm,ttys0

(See the original README in the doc directory, also the options.msg files in 
boot/isolinux directory)


Notes:
This CD has been remastered by the guide for the lfs-livecd 6.3.

The primary aim was that the disk will automatically come up talking via the 
soundcard.  If a hardware synth is used it can be changed once the disk has 
completed it's boot process.  All speakup supported synthesisers are built in 
as modules.  Beware that if you have 2 soundcards, you might think that it is 
not talking because the boot has configured the other soundcard as card0.  At a 
guess, the on-board card is likely card assigned as card0, unless a hardware 
synth has been initiated, as I had a machine without a serial port and I wanted 
to install lfs.  I'm not an experienced brltty user, so didn't want to manage 
partitions with braille.

The extra packages installed are put in the lfs-sources directory as well as, a 
recent checkout of brltty as the lfs-livecd original authors didn't include it 
on the CD.

I've preset the locale etc to British.  These settings can be changed manually, 
if required.

On exiting the livecd just press ctrl+alt+del and the system will go into 
reboot, pausing for you to take the disk out of the tray.  Take the disk out of 
the ejected tray, return the tray and press enter on the keyboard.

Bugs / Problems:
alsa messages are printed out on the first console.  Software synt speakup 
users will need to use other terminals by pressing alt+F2 or F3 etc.

Speakup backspace bleep doesn't work.

Enjoy

>From your friends at the perfumed-garden: [EMAIL PROTECTED]

End of my README.speakup

Reading through this I think it has become a little scrambled.  But the 
majority is how it should be.

If you want me to send anything electronically or if you want a copy of the 
disk through the post let me know.

Gena

Amateur Call: M 0 E B P

VOIP / IM: gena1959uk



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander E. 
Patrakov
Sent: Tuesday, September 04, 2007 2:55 PM
To: [EMAIL PROTECTED]
Cc: Development of LFS LiveCD
Subject: Re: My livecd speakup project


Georgina Joyce wrote:
> You know that I would be wasting my time doing that as it is a backwards step 
> in that I put an older kernel on the disk.  This was just a one off.

Why wasting??? Since LFS is surely defective (because of linux-2.6.22.x) 
for blind people that want to use speakup, your unofficial LiveCD has no 
chioce except being released with an older kernel. And there are patches 
floating on LKML, so I still hope that it is possible to make 
linux-2.6.22.x into usable shape later. I take this kernel part, but I 
need your help in setting up the userspace components and showing me a 
known working setup.

As for the server, I am simply not allowed to make new accounts on 
ums.usu.ru or anywhere else. However, if you send me patches against the 
current (or at least recent) LiveCD buildscripts, I will build the CD 
according to them (even with the old kernel), let you download and try 
it via a secret URL, and then announce this unofficial CD.

P.S. I had a conversation with the brltty maintainer about the GPM 
problem and will add --disable-gpm to the configure arguments of brltty 
according to his recommendation. Please tell if this would really help.

-- 
Alexander E. Patrakov
-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

__________ NOD32 2503 (20070904) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to