Wednesday, August 20, 2008

Yamaha opl3sa2 sound card configuration through alsaconf on Debian Lenny.

I have mentioned about my old desktop Intel Pentium 200 Mhz MMX 32 MB RAM many times on this blog. This PC has a legacy ISA sound card Yamaha opl3sa2. Puppy Linux has the utility alsaconf which detects and configures this card correctly. I have 256 MB swap partition and Puppy Linux uses it, therefore, it is possible to take out the Puppy Linux CD and play an audio CD.

I have recently installed Debian Lenny on this desktop and wanted to configure the sound card. I installed alsa-utils package which contains alsaconf. Following are the steps:
$ su
Enter root password
# apt-get install alsa-utils

After installations I got alsaconf in Debian menu. I clicked on it and had to enter the root password once again.

The first screen read:
No supported PnP or PCI card found. Would you like to probe legacy ISA cards/chips
yes

Next screen:
Probing legacy ISA cards might make your system unstable. Are you sure to proceed.
yes

Next screen:
Probing legacy ISA cards. Please select the drivers to probe.
[*] opl3sa2 Yamaha OPL3SA2+

I deselected other drivers.

Next screen:
Shall I try all possible DMA and IRQ combinations? With this option, some unconventional configurations might be found, but it will take much longer time.
yes

Next screen:
Configuring opl3sa2. Do you want to modify /etc/modprobe.conf
yes

Next screen:
OK. Sound driver configured. ALSA mixer used to raise volume. You can change the volume later.
ok

Next screen:
The mixer is set up now for playing. Shall I try to play sound sample now?
yes

After sound card configuration I downloaded the command line CD player cdcd (it was dcd on earlier versions of Debian).

# apt-get install cdcd

Now I am happily playing an audio CD and surfing through Kazehakase (or elinks) on Debian Lenny IceWM desktop on 32 MB RAM.

No comments:

Air India direct flight to San Fransisco has flown through China today.

 My sister in law left for San Fransisco by AI 173 flight which flows over North Pole. I tracked that flight on flightstats.com till it land...