Skip to contentSkip to conversation

alsa rtctimer not compiled when having rtc as a module

DISCUSSION root 3 participants 4 messages Apr 2, 2002 – Apr 4, 2002

lore
Share & tools
lore

root

author
#0 lore raw

Hello,

I noticed that the alsa rtctimer is not compiled when you have the RTC in your kernel as a module. The problem is in alsa-kernel/core/Makefile, where CONFIG_RTC is tested for y and not for m.

Maarten

#1 lore raw
Quoted 10 lines · On Tue, 02 Apr 2002 16:15:04 +0200 root <[email protected]> wrote:

Hello,

I noticed that the alsa rtctimer is not compiled when you have the RTC in your kernel as a module. The problem is in alsa-kernel/core/Makefile, where CONFIG_RTC is tested for y and not for m.

Maarten

talking about this.. if alsa uses RTC, then i cant use it on other programs while alsa does? are we talking /dev/rtc? (int 8)

#2 lore raw
Quoted 11 lines · Juan Linietsky
Quoted 8 lines · On Tue, 02 Apr 2002 16:15:04 +0200 root <[email protected]> wrote:

Hello,

I noticed that the alsa rtctimer is not compiled when you have the RTC in your kernel as a module. The problem is in alsa-kernel/core/Makefile, where CONFIG_RTC is tested for y and not for m.

Quoted 5 lines
Quoted 2 lines

Maarten

talking about this.. if alsa uses RTC, then i cant use it on other programs while alsa does? are we talking /dev/rtc? (int 8)

It's right, access to RTC timer is exclusive, but you can still use ALSA timer API to access RTC timer.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

#3 lore raw
Quoted 13 lines · On Thu, 4 Apr 2002 10:02:23 +0200 (CEST) Jaroslav Kysela <[email protected]> wrote:
Quoted 11 lines · Juan Linietsky
Quoted 8 lines · On Tue, 02 Apr 2002 16:15:04 +0200 root <[email protected]> wrote:

Hello,

I noticed that the alsa rtctimer is not compiled when you have the RTC in your kernel as a module. The problem is in alsa-kernel/core/Makefile, where CONFIG_RTC is tested for y and not for m.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Maarten

talking about this.. if alsa uses RTC, then i cant use it on other programs while alsa does? are we talking /dev/rtc? (int 8)

It's right, access to RTC timer is exclusive, but you can still use ALSA timer API to access RTC timer.

Ahh that's fine then. I just hope ALSA doesnt suffer from the horrible
timer inconsistence problems i experienced with the OSS timers, which i couldnt keep in tempo. I'll give it a try, thanks!!

Juan Linietsky