[PATCH] added detection of ALSA OSS devices
David Zeuthen
david at fubar.dk
Tue Jul 26 07:01:41 PDT 2005
On Mon, 2005-07-25 at 23:13 +0200, Danny Kukawka wrote:
> > Do you think it's useful to add these devices?
>
> Yes, I think we should. We need this on SUSE to set up permissions for
> these devices with resmgr. I discussed this and the relations between
> the alsa and oss devices with our alsa developer (Takashi Iwai)
>
> > I don't know a lot about
> > ALSA really, what does ALSA OSS device support entail?
>
> ALSA and OSS are two different things. Quote from [1]: "One of the aims
> of ALSA is to provide full OSS compatibility for OSS applications. ALSA
> has an OSS emulation which supports all of the OSS devices listed below
> although the OSS sequencer /dev/sequencer only half works (playback
> works but recording from MIDI keyboards is broken ...)". For more
> information also see [2].
>
> > I'm wary about
> > adding them but I realize I know very little about ALSA and it's pretty
> > complicated already :-)
> [...]
I still have a few issues with this
- ALSA-OSS emulation provides OSS emulation through ALSA; thus we
shouldn't export hal device objects with alsa.* properties; it
should be oss.* properties if we should export anything
- Not sure we want to export OSS objects at all in HAL; is there
a good reason for doing this? Everything should be using ALSA
anyway
- The device file names are fixed (OSS apps except this) so why don't
just resort to udev rules for the permission tweaking?
Cheers,
David
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list