diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2009-08-26 10:00:38 -0500 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:41:17 +0200 |
commit | 5a12e7c134274dba706667107d10d231517d3e05 (patch) | |
tree | 55718d5acb710fde798d9f38d0bbaf594ed4b296 /source/k/README_SPEAKUP_PATCH.TXT | |
download | current-5a12e7c134274dba706667107d10d231517d3e05.tar.gz current-5a12e7c134274dba706667107d10d231517d3e05.tar.xz |
Slackware 13.0slackware-13.0
Wed Aug 26 10:00:38 CDT 2009
Slackware 13.0 x86_64 is released as stable! Thanks to everyone who
helped make this release possible -- see the RELEASE_NOTES for the
credits. The ISOs are off to the replicator. This time it will be a
6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We're taking pre-orders now at store.slackware.com. Please consider
picking up a copy to help support the project. Once again, thanks to
the entire Slackware community for all the help testing and fixing
things and offering suggestions during this development cycle.
As always, have fun and enjoy! -P.
Diffstat (limited to 'source/k/README_SPEAKUP_PATCH.TXT')
-rw-r--r-- | source/k/README_SPEAKUP_PATCH.TXT | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/source/k/README_SPEAKUP_PATCH.TXT b/source/k/README_SPEAKUP_PATCH.TXT new file mode 100644 index 000000000..9a9979b0b --- /dev/null +++ b/source/k/README_SPEAKUP_PATCH.TXT @@ -0,0 +1,77 @@ + +This is an archive of the speakup project's GIT HEAD snapped on the given +day, and was used to build the speakup.s kernel. Grabbing Speakup's GIT +repo (if you want the very latest) is done like this, by the way: + +git-clone http://www.linux-speakup.org/speakup.git + +To build the same kernel as Slackware included as speakup.s, you'll +need to do this: + +Untar the speakup archive, and cd into the speakup directory: + +tar xf speakup-3.0.3_20081026.tar.bz2 +cd speakup-3.0.3_20081026 + +Patch whatever kernel you happen to want to compile: +./install /usr/src/linux-2.6.29.6 + +Change to the kernel directory: +cd /usr/src/linux-2.6.29.6 + +If you want to start with the defaults one of Slackware's kernels, you can do +that like this: + +cat /boot/vmlinuz-huge-2.6.29.6 > .config + +Or, better yet, if you have access to the Slackware tree use the +Speakup .config that was used: + +cat (slacktree)/kernels/speakup.s/config > .config + +Then do any additional configuation to the kernel that you may require: + +make menuconfig + +After that, it's build and install: +make +make modules_install +make bzImage +cat arch/x86/boot/bzImage > /boot/vmlinuz-huge-2.6.29.6-speakup + +I put the -speakup on the end of the kernel name so that I can remember +which kernel I've patched, but that part is entirely optional. + +The next step will be to edit add the new kernel's modules to an initrd if +you use one (if you didn't build in the root filesystem or something like +that you will need an initrd). See "man mkinitrd" for more details on the +subject of making an initrd. + +Now just add the new kernel (and possibly the /boot/initrd.gz) to +/etc/lilo.conf, run lilo as root, and you are ready to reboot. Make sure +to use an append="speakup parameters" type line in /etc/lilo.conf to +configure speakup to use the proper synth driver. You many also need to +specify the serial port or other parameters, like this: + +append="speakup.synth=dectlk speakup.ser=2" + +This line would attempt to use Speakup with a DecTalk Express on /dev/ttyS1. + +Note that with Speakup 3.x, the kernel parameter names have changed to +contain dots rather than underscores. Other options have changed as +well. Although perhaps not a complete list, I found these changes noted +on the linuxfromscratch web site: + +speakup_synth became speakup.synth, and the "sftsyn" synthesizer became "soft"; + +speakup_ser became speakup.ser, and serial ports are now numbered starting from 1, +not from 0 (i.e., speakup_ser=1 became speakup.ser=2); + +speakup_quiet became speakup.quiet, valid values are 0 and 1; + +speakup_port became speakup.port. + +Good luck! :-) + +Pat + |