summaryrefslogtreecommitdiff
path: root/audio/playumidi/pkg-message
blob: 600abd1241088e718320412bd3327a429b8cb232 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
playumidi directly opens, writes midi-event data,
and closes the umidi* device files.
So, it is necessary to grant the R/W privileges(666)
to umidi* device file before use playumidi.

Therefore, there is a need to grant permissions to R/W
prior to use.
An example of the setting method is shown below.

 1. Append to devfs.rules (in etc dir.) the following lines.
   ------------------------------------------
   [system=10]
    add path 'umidi*' mode 0666 group wheel
   ------------------------------------------

 2.  Append to rc.conf (in etc dir.) the following three lines.
   ------------------------------------------
   devfs_enable="YES"
   ------------------------------------------

 3.  Reboot FreeBSD (shutdown -r now)