Use the xset tool to control the volume and pitch of the pc speaker. Quoting from the xset man page:
The b option controls bell volume,
pitch and duration. This option
accepts up to three numerical
parameters, a preceding dash(-), or a ’on/off’ flag. If no
parameters are given, or the ’on’ flag
is used, the system defaults will be used. If the dash or
’off’ are given, the bell will
be
turned off. If only one numerical parameter is given, the
bell volume will be set to that value,
as a percentage of its maximum. Likewise, the second
numerical parameter specifies the
bell
pitch, in hertz, and the third numerical parameter
specifies the duration in
milliseconds. Note
that not all hardware can vary the bell characteristics.
The X server will set the
characteris‐
tics of the bell as closely as it can to the user’s
specifications.
Thus, xset b 0 should completely mute the speaker and xset b 100 should set it to its maximum volume.
pcspkrmodule is only for the system bell, which is produced by a tiny built-in speaker in the motherboard. Your real speakers, the ones that make the rest of the sound, are controlled by other modules. If your linux distro doesn't detect and load the appropriate modules by default, there's probably something wrong. So, do you want to control the volume of the system bell or the speakers? – Ryan Thompson Oct 31 '09 at 2:38