aboutsummaryrefslogtreecommitdiff
path: root/audio/beep/pkg-message
blob: f7e8a4b0efde1a5f63cf45c6e24af6e7af1a5ac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[
{ type: install
  message: <<EOM
Speaker sound support:
======================

For PC speaker sound to work you need to be in the operator group
and need r/w permissions to /dev/speaker device.

Load kernel module:

# kldload speaker

Add a user to operator group:

% pw groupmod operator -m jerry

Uncomment the following lines in /etc/devfs.rules file (create it
if it doesn't exist):

# Allow members of group operator to cat things to the speaker

[speaker=10]
add path 'speaker' mode 0660 group operator

To load these new rules add the following to /etc/rc.conf:

devfs_speaker_ruleset="speaker"

Then restart devfs to load the new rules:

% /etc/rc.d/devfs restart
EOM
}
]