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

Udo Grabowski (IMK) udo.grabowski at kit.edu
Thu Aug 24 21:26:49 UTC 2023



On 24/08/2023 22:20, Stephan Althaus wrote:
> Hello!
> 
> I have no audio output - anyone else, too ?
> 
> $ 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 ?
> 

This is regulated in /etc/logindevperm:
#
# console       mode    devices
#
/dev/vt/console_user    0600    /dev/mouse:/dev/kbd
/dev/vt/console_user    0600    /dev/sound/*            # audio devices
/dev/vt/console_user    0666    /dev/fbs/*              # frame buffers
/dev/vt/console_user    0600    /dev/dri/*              # dri devices
/dev/vt/console_user    0400    /dev/removable-media/dsk/*      # 
removable media
/dev/vt/console_user    0400    /dev/removable-media/rdsk/*     # 
removable media
/dev/vt/console_user    0400    /dev/hotpluggable/dsk/*         # 
hotpluggable storage
/dev/vt/console_user    0400    /dev/hotpluggable/rdsk/*        # 
hotpluggable storage
/dev/vt/console_user    0600    /dev/video[0-9]+        # video devices
/dev/vt/console_user    0600    /dev/usb/hid[0-9]+      # hid devices 
should have the same permission with conskbd and consms
/dev/vt/console_user    0600    /dev/usb/[0-9a-f]+[.][0-9a-f]+/[0-9]+/* 
driver=scsa2usb,usb_mid,usbprn,ugen     #libusb/ugen devices
/dev/vt/console_user    0666    /dev/nvidia[0-9a-f]+    # Nvidia
/dev/vt/console_user    0666    /dev/console            # workaround for 
defect.opensolaris.org 12133

You can try to change the mode of /dev/sound/* to 666.


More information about the openindiana-discuss mailing list