[OpenIndiana-discuss] No sound output - no rights ?

Peter Tribble peter.tribble at gmail.com
Thu Aug 24 21:28:10 UTC 2023


On Thu, Aug 24, 2023 at 9:21 PM Stephan Althaus <
Stephan.Althaus at duedinghausen.eu> wrote:

> Hello!
>
> I have no audio output - anyone else, too ?
>

Are you logged in on the graphical console?

The way this normally works is that the login display manager will change
ownership of the audio devices to whoever is logged in on the console,
using logindevperm(5) via di_devperm_login() and di_devperm_logout() -
there's a patch 11-login-device-permissions.patch for lightdm that
actually does this for you.


> $ prtconf -d | grep -i audio
>              pci1028,17b1 (pciex10de,fbc) [NVIDIA Corporation GM107 High
> Definition Audio Controller [GeForce 940MX]], instance #6
>          pci1028,7b1 (pciex8086,a171) [Intel Corporation CM238 HD Audio
> Controller], instance #5
>
> $ sudo audioctl list-devices
> Password:
> audiohd#5
> audiohd#6
>
> $ audiotest
> Sound subsystem and version: SunOS Audio 4.0 (0x00040003)
> Platform: SunOS 5.11 illumos-a98a962ff1 i86pc
> /dev/sound/audiohd:5dsp: Permission denied
> /dev/sound/audiohd:6dsp: Permission denied
>
> *** Errors were detected ***
>
> $ ls -l /dev/sound/audiohd:5dsp
> lrwxrwxrwx   1 root     root          49 Apr 11  2019
> /dev/sound/audiohd:5dsp -> ../../devices/pci at 0,0/pci1028,7b1 at 1f
> ,3:sound,dsp5
>
> $ ls -l /devices/pci at 0,0/pci1028,7b1 at 1f,3:sound,dsp5
> crw-------   1 root     root      30, 81 Apr 11  2019
> /devices/pci at 0,0/pci1028,7b1 at 1f,3:sound,dsp5
>
>
> There's no group having rights to access the device, nor "others" - is
> this normal ?
>
>
> Regards,
>
> Stephan
>
>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


More information about the openindiana-discuss mailing list