[PATCH] added detection of ALSA OSS devices

David Zeuthen david at fubar.dk
Wed Jul 27 10:40:29 PDT 2005


On Wed, 2005-07-27 at 00:08 +0200, Danny Kukawka wrote:
> Hi,
> 
> On Tuesday 26 July 2005 20:46, David Zeuthen wrote:
> > On Tue, 2005-07-26 at 19:58 +0200, Danny Kukawka wrote:
> > > O.K. I agree, it makes sense to name OSS device related keys with oss.*
> > > I'll rework the patch.
> >
> > Sounds good to me. Thanks.
> 
> Here the new version of the patch against cvs (builds on 
> ix86/x86_64/ia64/ppc/ppc64/s390/s390x). I also changed sound_compute_udi() to 
> support OSS devices: and removed unneeded code.

OK, this introduces three new device objects on my system that needs
extra work

 - ALSA Timer Device (/dev/snd/timer) - only got
   alsa.type = timer

 - OSS Sequencer Device (/dev/sequencer)
   oss.type = sequencer

 - OSS Sequencer Device (/dev/sequencer2)
   alsa.type = sequencer

at the very least we need the alsa.device_file and oss.device_file
properties. Also, are the timers tied to a specific sound card? If yes,
we need the alsa.physical_device and oss.physical_device properties
along with correct info.parent and so on. If no (tied to a sound card),
we should probably omit them completely don't you think?

Cheers,
David


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list