[Solved] Support for /dev/dsp ?

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Post Reply
Dave99
Black ninja
Black ninja
Posts: 54
Joined: 19 Apr 2014, 20:15
Distribution: Porteus
Location: R.S.A.

[Solved] Support for /dev/dsp ?

Post#1 by Dave99 » 20 Apr 2014, 10:30

Hi all

I'm thinking of using the Kiosk Edition for an application that involves some cgi (via a webserver) that invokes sound clips that use /dev/dsp.
I could use the html 5 <audio> tag but the Bash scripts to play the sound clips already exist and I would like to keep them as is.
So my questions as follows:

1) Is there support for /dev/dsp in the latest Kiosk Edition?

2) Can anyone recommend a simple web server (with cgi support) ?

Thanks in advance and happy Easter to all those that celebrate it.

Dave.
Last edited by Dave99 on 20 Apr 2014, 17:24, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4566
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Support for /dev/dsp ?

Post#2 by fanthom » 20 Apr 2014, 14:10

/dev/dsp is handled by OSS drivers in the kernel. OSS has been replaced by ALSA and ALSA in kiosk and even our desktop edition is compiled without legacy oss support.
any chance you could rewrite these scripts to use ALSA? have a look on this thread:
http://unix.stackexchange.com/questions ... th-dev-dsp

btw: please create threads related to the kiosk edition in it's section of the forum.
moving this one there.
Please add [Solved] to your thread title if the solution was found.

Dave99
Black ninja
Black ninja
Posts: 54
Joined: 19 Apr 2014, 20:15
Distribution: Porteus
Location: R.S.A.

Re: Support for /dev/dsp ?

Post#3 by Dave99 » 20 Apr 2014, 17:22

Hi fanthom

Thank you for the link, the snd-pcm-oss will allow the creation of /dev/padsp which will be a small change.

Sorry about posting in the wrong section.

Post Reply