Getting audio to work in DOS/Windows
If you have DOS/WIN installed on your ThinkPad, and sound is working, you can ignore this step.
Yes, you have to have both dos and windows installed. If you do not have Windows installed, you should do that now.
I installed Windows 3.11 onto my zip drive. I chose this method for 2 reasons.
1.) With a 510MB drive, I cannot spare any extra space.
2.) It will be easy to remove later.
You can get the driver disk images from IBM's TP Device Driver File Matrix These disk images come as executables. They will write themselves to floppies. I didn't find any easier way to do this than to just make the disks. Once you have made the disks, you will need to insert disk 1 and run a:\setup from Windows. You will need about 8MB's space on a dos partition for this to work. The installer will ask you where you want to install to. Note: You shouldn't choose a removable media drive for this. Otherwise, you will have to have that removable media with you whenever you want to boot with sound. Once it is done, it will ask you to restart your machine. When you do so, you should hear the speaker crackle.
You should test the sound configuration in Windows.
IBM includes a test utility, "Mwave Quick Tests" and installs it in the "Mwave ThinkPad" program group
If your sound doesn't work, you will need to follow the troubleshooting suggestions that the test program will offer.
Take a look at your autoexec.bat file and look at the BLASTER= line. Mine shows:
BLASTER=A220 I5 D1This shows that my base I/O address is 0x220, my irq is 5 and dma is 1. Make a note of this for later.
Boot into linux using loadlin. You should already be set up to do this. If not see the booting with loadlin page.
When the system has booted, login as root.
[root@localhost root]$ sndconfigThis is where you will need the settings from before. Select a regular Sound Blaster and set the I/O, IRQ and DMA to what you copied down from the BLASTER= line in your autoexec.bat file. Linux will then test your configuration by playing an audio clip of Linus Torvalds and a midi file. If both of these work, you are all set up. You can test these interfaces at the commandline (after you have sound set up of course) by running:
[root@localhost root]$ cat /usr/share/sndconfig/sample.au >/dev/audio [root@localhost root]$ playmidi /usr/share/sndconfig/sample.midi Playmidi 2.4 Copyright (C) 1994-1997 Nathan I. Laredo, AWE32 by Takashi Iwai This is free software with ABSOLUTELY NO WARRANTY. For details please see the file COPYING.
You can use your linux to listen to a variety of types of sound files. Due to the resources necessary, you will probably not be able to play MP3's. Take a look at these resources (some of which come with Red Hat Linux 5.2):