Created attachment 325505 [details] Proposed patch Hi, X-lite is an closed source softphone application which still uses OSS. It can be downloaded from http://storage.counterpath.com/downloads/X-Lite_Install.tar.gz?platform=linux&product=xlite To make this work with pulseaudio, it needs to be started using the padsp wrapper. However, with the pulseaudio from F10, it fails to open the /dev/dsp device: $ padsp -d ./xtensoftphone (xtensoftphone:8195): Gtk-WARNING **: Kan themamodule in modulepad: ‘nodoka’ niet vinden, (xtensoftphone:8195): Gtk-WARNING **: Kan themamodule in modulepad: ‘nodoka’ niet vinden, Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: kan gedeeld objectbestand niet openen: Bestand of map bestaat niet Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: kan gedeeld objectbestand niet openen: Bestand of map bestaat niet utils/padsp.c: sndstat_open() utils/padsp.c: access(/dev/dsp, 0) = OK utils/padsp.c: access(/dev/dsp, 6) = EACCESS The program itself also reports that the soundcard could not be opened According to http://git.0pointer.de/?p=pulseaudio.git;a=blob;f=src/utils/padsp.c;h=2e6e557586bb2de60a1e230d1428f9e67ca19d6e;hb=HEAD#l2380 the EACCESS is caused by this code: if (mode & (W_OK | X_OK)) { debug(DEBUG_LEVEL_NORMAL, __FILE__": access(%s, %x) = EACCESS\n", pathname, mode); errno = EACCES; return -1; } I think this test is wrong. For /dev/dsp (and related /dev entries) the access function should only return EACCESS when the mode is X_OK (The executable bit doesn't need to be set for /dev/dsp, but it needs to be writeable and readable). I've created a patch which does this. After applying this patch, X-lite works fine using pulseaudio
Fixed in upstream commit r63fc26e. I will shortly backport this into F10 and Rawhide.