linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* provision of "driver" type facilities from user-space
@ 2001-03-09 18:15 Iain Sandoe
  2001-03-09 20:01 ` Hollis R Blanchard
  2001-03-10  5:31 ` Brad Boyer
  0 siblings, 2 replies; 5+ messages in thread
From: Iain Sandoe @ 2001-03-09 18:15 UTC (permalink / raw)
  To: linuxppc-dev


hi list,

I want to put a layer in between user-space and a driver (dmasound).

The reason is - that I want to provide facilities (transparently) to
applications and these facilities cannot be (sensibly) placed in the driver
[e.g. rate conversion and so on].

In this case to make dmasound look like it can do "anything" and help
support (easily) apps that don't really bother to check for h/w capabilities
properly.

It isn't really the best solution to bloat each and every app with code to
do the job - some form of sharing seems to be the right way.

so solution 1:

provide a pseudo-oss interface via a library:

psuedo_oss_open(), pseudo_oss_read() .... etc. etc.

so app source is amended and then linked with a lib providing the
appropriate stuff in user-space...

not, probably, going to be popular...

solution 2:

??? is there a way of doing this without the apps being amended but _still_
making sure that code that belongs in user-space resides and is executed
there?

preferably allowing apps to think they are just talking to /dev/dsp

ciao,
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: provision of "driver" type facilities from user-space
@ 2001-03-10 15:21 Iain Sandoe
  0 siblings, 0 replies; 5+ messages in thread
From: Iain Sandoe @ 2001-03-10 15:21 UTC (permalink / raw)
  To: Brad Boyer; +Cc: linuxppc-dev


> Have you looked at the ALSA project?

yes, I'm subscribed to the list and have discussed the PMac drivers with
Takashi Iwai.

What I'm trying to do is meant to be very much lighter weight than ALSA.

thanks,
Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: provision of "driver" type facilities from user-space
@ 2001-03-10 15:26 Iain Sandoe
  0 siblings, 0 replies; 5+ messages in thread
From: Iain Sandoe @ 2001-03-10 15:26 UTC (permalink / raw)
  To: Hollis R Blanchard; +Cc: linuxppc-dev



>> I want to put a layer in between user-space and a driver (dmasound).
>>
>> The reason is - that I want to provide facilities (transparently) to
>> applications and these facilities cannot be (sensibly) placed in the driver
>> [e.g. rate conversion and so on].
>
> Isn't this what esd and arts do?

yes... in a way.

I was hoping to avoid running a separate daemon...

but, well, maybe that's the only way to achieve it.

I thought the question worth asking.

a sort of attempt to Keep It Simple...

...and then there's the "favourite" way of doing things issue...

ah well.

Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-03-10 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-09 18:15 provision of "driver" type facilities from user-space Iain Sandoe
2001-03-09 20:01 ` Hollis R Blanchard
2001-03-10  5:31 ` Brad Boyer
  -- strict thread matches above, loose matches on Subject: below --
2001-03-10 15:21 Iain Sandoe
2001-03-10 15:26 Iain Sandoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).