Re: [users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Eric Covener
On Mon, Aug 23, 2021 at 12:35 PM Dominik Wrona wrote: > > Thank you! It is possible the CGI program is not in the 'audio' group. > Would you know how to add it to the audio group? By default it runs as the same user the webserver is configured to run as (IDs like www-data, nobody, apache dependin

Re: [users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Antony Stone
On Monday 23 August 2021 at 18:35:20, Dominik Wrona wrote: > Thank you! It is possible the CGI program is not in the 'audio' group. > Would you know how to add it to the audio group? As root, or the current owner of the script: chown :audio /the/cgi/script or chgrp audio /the/cgi

Re: [users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Dominik Wrona
Thank you! It is possible the CGI program is not in the 'audio' group. Would you know how to add it to the audio group? On 2021-08-23 12:25 p.m., Eric Covener wrote: On Mon, Aug 23, 2021 at 11:51 AM Dominik Wrona wrote: The following code, when accessed CGI-style through the Apache server, d

Re: [users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Eric Covener
On Mon, Aug 23, 2021 at 11:51 AM Dominik Wrona wrote: > > The following code, when accessed CGI-style through the Apache server, > does not detect any midi cards on the system. Normally, at least 1 card, > and more if MIDI devices are plugged in, are found by this function. Possibly some second

[users@httpd] Apache CGI - How to get ALSA functions to work properly.

2021-08-23 Thread Dominik Wrona
The following code, when accessed CGI-style  through the Apache server, does not detect any midi cards on the system. Normally, at least 1 card, and more if MIDI devices are plugged in, are found by this function. Through Apache, the snd_card_next() function (https://www.alsa-project.org/alsa-d