mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
aa5e6ba371
- Fix build with non-root - Bump PORTREVISION PR: 200642 [1] Submitted by: Andrey Fesenko <andrey@bsdnir.info> [1]
30 lines
663 B
Plaintext
30 lines
663 B
Plaintext
Speaker sound Support:
|
|
======================
|
|
|
|
For support speaker sound four user needs to be in the operator group and needs
|
|
read and write permissions to the /dev/speaker device.
|
|
|
|
Load kernel modul:
|
|
|
|
# kldload speaker
|
|
|
|
Add a user to a group operator's:
|
|
|
|
% pw groupmod operator -m jerry
|
|
|
|
Uncomment the following lines in the file /etc/devfs.rules (create 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 rule add the following to /etc/rc.conf:
|
|
|
|
devfs_speaker_ruleset="speaker"
|
|
|
|
Then restart devfs to load the new rules:
|
|
|
|
% /etc/rc.d/devfs restart
|