On Fri, Oct 23, 2020 at 03:58:55PM -0600, Duncan Patton a Campbell wrote:
>
> Hey Maurice. The audio works elsewhere and this looks to be
> a Zombie Bugzilla bug come back from the dead. Something
> about needing to directly link to sndio and skip the "cubeb" something...
>
> Dhu
>
> This is what shows up on the command line:
>
> dhu@gate:BSD $ firefox
>
Hi,
Could you check /dev permissions? they need to be as follows:
$ ls -al /dev/{audio,audioctl,rmidi}0
crw-rw---- 1 root _sndiop 42, 0 Oct 26 07:23 /dev/audio0
crw-rw---- 1 root _sndiop 42, 192 Oct 19 12:20 /dev/audioctl0
crw-rw---- 1 root _sndiop 52, 0 Oct 19 12:20 /dev/rmidi0
The /etc/firefox/unveil.* settings need to contain permission
to access ~/.sndio contents:
$ grep sndio /etc/firefox/*
/etc/firefox/unveil.content:~/.sndio rwc
/etc/firefox/unveil.main:~/.sndio rwc
If above are OK, then run firefox with SNDIO_DEBUG=1 environment
variable exported and show the resulting output, it will reveal why
firefox still can't use the device.