[linux-audio-dev] muse and /dev/rtc

Robert Jonsson rj at spamatica.se
Mon Nov 22 17:13:22 UTC 2004


On Monday 22 November 2004 16.33, Matthias Nagorni wrote:
> On Mon, 22 Nov 2004, Alfons Adriaensen wrote:
> > On Sun, Nov 21, 2004 at 03:02:24PM -0500, Lee Revell wrote:
> > > > CONFIG_APM_RTC_IS_GMT=y
> > > > CONFIG_RTC=m
> > > > CONFIG_GEN_RTC=m
> > > > CONFIG_GEN_RTC_X=y
> > > > CONFIG_HPET_RTC_IRQ=y
> > > > CONFIG_SENSORS_RTC8564=m
> > > > CONFIG_SND_RTCTIMER=m
> > >
> > > OK this all looks good.  I don't know, it sounds like a bug in Muse.
> > > There must be some incompatibility using a binary Suse Muse package
> > > with a Mandrake kernel.
> >
> > Maybe it doesn't look good. I found this (the message is in French,
> > but the quoted part says it all): if CONFIG_HPET_RTC_IRQ is defined,
> > then RTC_IRQ is undefined which in turn leads to the failing ioctl().
>

Ah, good with conclusive proof.

In the meantime I found out about the timer features of ALSA.
http://www.alsa-project.org/alsa-doc/alsa-lib/timer.html

Unless I'm missing something (which I very well might be) it seems to work 
regardless. Perhaps it uses the HPET?

It also seems to work on PPC/Linux which solves another issue. I'm in the 
middle of trying to implement it in MusE, I guess I'll see if it works.

Regards,
Robert

> Exactly: If you set
>
> CONFIG_HPET_RTC_IRQ=n
>
> and recompile the (SuSE 9.2-)kernel, MusE should work.


-- 
http://spamatica.se/music/



More information about the Linux-audio-dev mailing list