The time now is Mon 26 Jun 2017, 07:20
All times are UTC - 4 |
| Author |
Message |
vtpup

Joined: 15 Oct 2008 Posts: 1207 Location: Republic of Vermont
|
Posted: Wed 04 Feb 2009, 16:16 Post subject:
Set Up Thinkpad 600E Sound on Puppy 4.1.2 retro |
|
Thinkpad 600E Sound on Puppy 4.1.2 retro:
Check your BIOS:
1.) First determine the latest BIOS applicable to your computer here and write that version number down :
Lenovo Notebook Support
2..) Power down your laptop, and reboot holding the F1 key down. This will open the BIOS utility (called EasySetup on the 600e). It should show you the Bios version number. Check the BIOS version number of your computer against the latest recommended version number that you wrote down earlier.
3.) If you have an older BIOS, you should upgrade to the latest version following IBM's instructions.
Turn Off QuickBoot:
4.) If you have the latest version of the BIOS and are in "EasySetup," disable Quick Boot..
Get Rid of Old Module Loading:
5.) Open /etc/modprobe.conf for editing by clicking on the file, Find and delete any lines with "snd-cs4236" in them. In fact delete any with snd-csxxx (any number) in them.These would be in (or near) a section marked "ALSA configuration" near the bottom of the page.
Save the page and close. (note: you may not have anything marked "Alsa Configuration" in a new installation if you never ran the Alsa setup wizard. Don't worry, that's fine)
Add New Module Loading Method:
6.) Open /etc/rc.d/rc.local for editing by clicking on it and add this line to the bottom of the page (note: it is one long line, NOT two lines):
| Code: | | modprobe snd-cs4236 isapnp=0 cport=0x538 port=0x530 sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0 | . Save the page and close.
7.)Reboot.
Check Laptop Volume:
8.) Make sure your laptop volume keys are at good volume and sound is not muted. Use Fn + PgUp.
Test Your Sound:
9.) copy the following into a terminal window and hit enter to test sound:
| Code: | | aplay /usr/share/audio/2barks.wav & |
10.) If you don't hear a dog bark, go to menu>Multimedia>AlsaMixer and open it. You should see vertical columns with green white and red multicolored bars in them. If all you see is blue outlined columns with the letters MM at the bottom, your sound volume is turned off (muted).
Check Internal Alsa Sound Settings
11.) To turn on volume in AlsaMixer, click on a column. Then type the letter "m". This removes the MM at the bottom and turns it green.
Then use the up arrow to increase the volume slider. You will see the green white and red column fills as you increase volume.
Moving and Setting: To move between columns, use the right and left arrow keys. When scrolling right with the arrow keys, there are more columns past the right edge of the console window. Just keep scrolling to see them all.
Values: On my computer the Master was set to 100, MasterD was set to 80, MasterM was enabled, PCM was set to 81, and Playback was set to 100 automatically. Everything else was off (muted). If yours wasn't already set automatically, use these values.
There is a good explanation of the AlsaMixer on Wikipedia here:
http://en.wikipedia.org/wiki/Alsamixer
Last edited by vtpup on Wed 04 Feb 2009, 23:07; edited 1 time in total
|
|
Back to top
|
|
 |
vtpup

Joined: 15 Oct 2008 Posts: 1207 Location: Republic of Vermont
|
Posted: Wed 04 Feb 2009, 17:11 Post subject:
|
|
What To Check if the Above Method Doesn't Work:
The line in section 6 above assumes that your Thinkpad's port settings are set to the normal factory defaults. This is the part of that line that defines the port specs:
| Code: | | cport=0x538 port=0x530 sb_port=0x220 fm_port=0x388 irq=5 dma1=1 dma2=0 |
The first 4 numbers represent the starting address of 4 ports used by the sound chip when communicating with the processor. Irq is the interrupt request number used in accessing the ports. The last two numbers define DMA or direct memory access parameters.
However your actual port settings may be different, for a number of reasons. Port definitions for your system can be altered by software -- including Windows software --- if you formerly used Windows, or you have a dual boot system. They remain "sticky" even though you are no longer using Windows.
IBM produced a few different software configuration utilities to change port settings for many of the Thinkpad's features. So there are a lot of ways these may have been changed by a user -- or software..
One way of solving custom sound port setting would be to reset all port settings to factory defaults. This can be done easily in the EasySetup Utility (F1 Key while booting). You click Initialize.
If you do it this way, you should remember to turn off QuickBoot after you've made the change. It will have been re-enabled. QuickBoot is not compatible with Linux sound.
You may create some problems doing it this way, because you may have other programs that were set up using other custom ports (modem, IR, Serial, Parallel, etc) using your non-standard port setup -- either in Linux, or in Windows if you dual boot. This isn't very likely, but it can happen.
The other method of solving this problem is to use the custom port settings you already have. That will require altering the line mentioned above, to reflect the existing custom sound port settings.
You can find out what these settings are if you can dual boot into windows and check the existing ports, DMA, and irq settings using the Device Manager. Or the Thinkpad Utility in windows. Or from a floppy disk using IBM's PS2.exe program.
Attached below is a typical Windows properties infobox from the hardware Device Manager for the sound chip. This one shows the port addresses and if scrolled down would show the IRQ and DMA parameters. Notice that only the starting address of each port is actually needed in our line # 6 above. The 0x is just a shorthand for removing leading zeros in an address (also truncated in the Windows properties box as a single leading zero)
 |
| Description |
|
| Filesize |
9.6 KB |
| Viewed |
2148 Time(s) |

|
|
|
Back to top
|
|
 |
mikeslr

Joined: 16 Jun 2008 Posts: 1734 Location: 500 seconds from Sol
|
Posted: Thu 07 May 2009, 20:07 Post subject:
Sound on Thinkpad 600E Subject description: Instructions also work for Puppy 4.1.2 not-retro & Turbopup 4.2 |
|
Thanks vtpup,
As noted above, your instructions also work in the non-retro version of 4.1.2 and on Turbopup which is a remaster of 4.2.
Especially important among them was deleting (or commenting out with "#") any existing snd-csxx code.
I'm not certain if it was necessary, but having found it in other posts, I also added idex=0 to the line you suggested be added to /etc/rc.d/rc.local
Mike
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|