Skip to content

Commit 36a5dff

Browse files
committed
Better error message.
1 parent babf61f commit 36a5dff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cm108.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,8 +1061,12 @@ static int cm108_write (char *name, int iomask, int iodata)
10611061
dw_printf (" crw-rw---- 1 root audio 247, 0 Oct 6 19:24 %s\n", name);
10621062
dw_printf ("rather than root-only access like this:\n");
10631063
dw_printf (" crw------- 1 root root 247, 0 Sep 24 09:40 %s\n", name);
1064+
dw_printf ("This permission should be set by one of:\n");
1065+
dw_printf ("/etc/udev/rules.d/99-direwolf-cmedia.rules\n");
1066+
dw_printf ("/usr/lib/udev/rules.d/99-direwolf-cmedia.rules\n");
1067+
dw_printf ("which should be created by the installation process.\n");
1068+
dw_printf ("Your account must be in the 'audio' group.\n");
10641069
}
1065-
10661070
close (fd);
10671071
return (-1);
10681072
}

0 commit comments

Comments
 (0)