From e47e0dcb9c0ca51114ba372f94a4cde9f28786f4 Mon Sep 17 00:00:00 2001 From: Murray Stokely Date: Mon, 10 Dec 2001 06:32:08 +0000 Subject: [PATCH] Reorganize this chapter a bit. * Remove a near-empty and completely useless . * Combine a "troubleshooting" Q/A section into a small list of error message and accompanying solutions to the previous section. * Improve the wording in one or two places. --- .../books/handbook/multimedia/chapter.sgml | 134 ++++++++---------- .../books/handbook/sound/chapter.sgml | 134 ++++++++---------- 2 files changed, 122 insertions(+), 146 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml b/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml index 5fe664092b..36b5d05984 100644 --- a/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml @@ -1,7 +1,7 @@ @@ -18,7 +18,7 @@ Sound - + Synopsis FreeBSD supports a wide variety of sound cards, allowing you @@ -49,7 +49,7 @@ - + Locating the Correct Device PCI @@ -116,10 +116,16 @@ kernel configuration - The driver you use in your kernel depends on the kind of card - you have. The sections below provide more information and what - you will need to add to your kernel - configuration. + + To use your sound device, you will need to load the proper + device driver. This may be accomplished in one of two ways. + The easiest way is to simply load a kernel module for your sound + card with &man.kldload.8;. Alternatively, you may statically + compile in support for your sound card in your kernel. The + sections below provide the information you need to add support + for your hardware in this manner. For more information about + recompiling your kernel, please see . Creative, Advance, and ESS Sound Cards @@ -211,16 +217,7 @@ device csa - - Recompiling the Kernel - - After adding the requisite driver(s) to your kernel - configuration file, you will need to recompile your kernel. Please see - of the handbook for - more information. - - - + Creating and Testing the Device Nodes device nodes @@ -310,64 +307,55 @@ pcm0: <SB16 DSP 4.11> on sbc0 If all goes well, you should now have a functioning sound - card. If you do not, read the next section. + card. You may want to install an application such as + audio/mpg123 to listen to audio files. + + + Common Problems + + + + + + Error + Solution + + + device node + + + + unsupported subdevice XX + One or more of the device nodes was not created + correctly. Repeat the steps above. + + + I/O port + + sb_dspwr(XX) timed out + The I/O port is not set correctly. + + + IRQ + + bad irq XX + The IRQ is set incorrectly. Make sure that + the set IRQ and the sound IRQ are the same. + + + + xxx: gus pcm not attached, out of + memory + There is not enough available memory to use + the device. + + + + + - - Common Problems - - - device node - - - I get an unsupported subdevice XX error! - - - - One or more of the device nodes was not created - correctly. Repeat the steps above. - - - - I/O port - - - I get a sb_dspwr(XX) timed out error! - - - - The I/O port is not set correctly. - - - - IRQ - - - I get a bad irq XX error! - - - - The IRQ is set incorrectly. Make sure that the set IRQ - and the sound IRQ are the same. - - - - - - I get a xxx: gus pcm not attached, out of - memory - error. What causes that? - - - - If this happens, it is because there is not enough - available memory to use the device. - - - - - - + diff --git a/en_US.ISO8859-1/books/handbook/sound/chapter.sgml b/en_US.ISO8859-1/books/handbook/sound/chapter.sgml index 5fe664092b..36b5d05984 100644 --- a/en_US.ISO8859-1/books/handbook/sound/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/sound/chapter.sgml @@ -1,7 +1,7 @@ @@ -18,7 +18,7 @@ Sound - + Synopsis FreeBSD supports a wide variety of sound cards, allowing you @@ -49,7 +49,7 @@ - + Locating the Correct Device PCI @@ -116,10 +116,16 @@ kernel configuration - The driver you use in your kernel depends on the kind of card - you have. The sections below provide more information and what - you will need to add to your kernel - configuration. + + To use your sound device, you will need to load the proper + device driver. This may be accomplished in one of two ways. + The easiest way is to simply load a kernel module for your sound + card with &man.kldload.8;. Alternatively, you may statically + compile in support for your sound card in your kernel. The + sections below provide the information you need to add support + for your hardware in this manner. For more information about + recompiling your kernel, please see . Creative, Advance, and ESS Sound Cards @@ -211,16 +217,7 @@ device csa - - Recompiling the Kernel - - After adding the requisite driver(s) to your kernel - configuration file, you will need to recompile your kernel. Please see - of the handbook for - more information. - - - + Creating and Testing the Device Nodes device nodes @@ -310,64 +307,55 @@ pcm0: <SB16 DSP 4.11> on sbc0 If all goes well, you should now have a functioning sound - card. If you do not, read the next section. + card. You may want to install an application such as + audio/mpg123 to listen to audio files. + + + Common Problems + + + + + + Error + Solution + + + device node + + + + unsupported subdevice XX + One or more of the device nodes was not created + correctly. Repeat the steps above. + + + I/O port + + sb_dspwr(XX) timed out + The I/O port is not set correctly. + + + IRQ + + bad irq XX + The IRQ is set incorrectly. Make sure that + the set IRQ and the sound IRQ are the same. + + + + xxx: gus pcm not attached, out of + memory + There is not enough available memory to use + the device. + + + + + - - Common Problems - - - device node - - - I get an unsupported subdevice XX error! - - - - One or more of the device nodes was not created - correctly. Repeat the steps above. - - - - I/O port - - - I get a sb_dspwr(XX) timed out error! - - - - The I/O port is not set correctly. - - - - IRQ - - - I get a bad irq XX error! - - - - The IRQ is set incorrectly. Make sure that the set IRQ - and the sound IRQ are the same. - - - - - - I get a xxx: gus pcm not attached, out of - memory - error. What causes that? - - - - If this happens, it is because there is not enough - available memory to use the device. - - - - - - +