All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Alsa-user] RTC timer questions, reposting
       [not found] <20020408095954.318f5fc3.mdeboer@iua.upf.es>
@ 2002-04-08  8:15 ` Jaroslav Kysela
       [not found] ` <Pine.LNX.4.33.0204081011180.1079-100000@pnote.perex-int.cz>
  1 sibling, 0 replies; 4+ messages in thread
From: Jaroslav Kysela @ 2002-04-08  8:15 UTC (permalink / raw)
  To: Maarten de Boer
  Cc: alsa-devel@alsa-project.org, alsa-user@alsa-project.org,
	tiwai@suse.de

On Mon, 8 Apr 2002, Maarten de Boer wrote:

> Hello,
> 
> Sorry for being such a pain, but I really want this to work, and I
> really think this is something that has general interest: using a
> higher accurate midi event timing. So: HOW DO I USE THE RTC TIMER?
> I can find no up-to-date documentation about this.
> 
> The latest I find is a mail by Takashi, that is a year old, which says:
> 
> Installation:
> Add the following lines in /etc/modules.conf:
> options snd-timer snd_timer_limit=2
> alias snd-timer-1 snd-rtctimer
> For using RTC timer in sequencer as default:
> options snd-seq snd_seq_default_timer=1
> 
> This is not working anymore, because parameters changed.
> 
> Starting sound driver: snd-emu10k1 done
> /lib/modules/2.4.18/kernel/sound/acore/seq/snd-seq.o: invalid parameter parm_snd_seq_default_timer
> /lib/modules/2.4.18/kernel/sound/acore/seq/snd-seq.o: insmod /lib/modules/2.4.18/kernel/sound/acore/seq/snd-seq.o failed
> /lib/modules/2.4.18/kernel/sound/acore/seq/snd-seq.o: invalid parameter parm_snd_seq_default_timer
> /lib/modules/2.4.18/kernel/sound/acore/seq/snd-seq.o: insmod /lib/modules/2.4.18/kernel/sound/acore/seq/snd-seq.o failed
> /lib/modules/2.4.18/kernel/sound/acore/seq/snd-seq.o: insmod snd-seq-midi failed
> 
> So, please tell me how it works. If I can get it to work, I would not mind 
> writing some documentation about it, but please help me out!

The defines are in asound.h file - look for 'Timer section - /dev/snd/timer'.

Usage (using defaults):

	options snd-seq snd_seq_default_timer_device=1

or (full specification):

	options snd-seq snd_seq_default_timer_class=1 \
			snd_seq_default_timer_sclass=0 \
			snd_seq_default_timer_card=-1 \
			snd_seq_default_timer_device=1 \
			snd_seq_default_timer_subdevice=0

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com

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

* Re: [Alsa-user] RTC timer questions, reposting
       [not found] ` <Pine.LNX.4.33.0204081011180.1079-100000@pnote.perex-int.cz>
@ 2002-04-08  8:29   ` Maarten de Boer
       [not found]   ` <20020408102940.74be295c.mdeboer@iua.upf.es>
  1 sibling, 0 replies; 4+ messages in thread
From: Maarten de Boer @ 2002-04-08  8:29 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: alsa-devel, alsa-user, tiwai

On Mon, 8 Apr 2002 10:15:49 +0200 (CEST)
Jaroslav Kysela <perex@suse.cz> wrote:

> The defines are in asound.h file - look for 'Timer section - /dev/snd/timer'.
> 
> Usage (using defaults):
> 
> 	options snd-seq snd_seq_default_timer_device=1
> 
> or (full specification):
> 
> 	options snd-seq snd_seq_default_timer_class=1 \
> 			snd_seq_default_timer_sclass=0 \
> 			snd_seq_default_timer_card=-1 \
> 			snd_seq_default_timer_device=1 \
> 			snd_seq_default_timer_subdevice=0
> 
> 						Jaroslav

Okay, thanks.

Now I have in my modules.conf

options snd-timer snd_timer_limit=2
alias snd-timer-1 snd-rtctimer
options snd-seq snd_seq_default_timer_resolution=1000 snd_seq_default_timer_device=1

But when I run
$ /etc/init.d/alsasound start
the snd-rtctimer module is not inserted... Why is that?

Maarten

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

* Re: [Alsa-user] RTC timer questions, reposting
       [not found]   ` <20020408102940.74be295c.mdeboer@iua.upf.es>
@ 2002-04-08  9:26     ` Jaroslav Kysela
  2002-04-08 12:57     ` Takashi Iwai
  1 sibling, 0 replies; 4+ messages in thread
From: Jaroslav Kysela @ 2002-04-08  9:26 UTC (permalink / raw)
  To: Maarten de Boer
  Cc: alsa-devel@alsa-project.org, alsa-user@alsa-project.org,
	tiwai@suse.de

On Mon, 8 Apr 2002, Maarten de Boer wrote:

> On Mon, 8 Apr 2002 10:15:49 +0200 (CEST)
> Jaroslav Kysela <perex@suse.cz> wrote:
> 
> > The defines are in asound.h file - look for 'Timer section - /dev/snd/timer'.
> > 
> > Usage (using defaults):
> > 
> > 	options snd-seq snd_seq_default_timer_device=1
> > 
> > or (full specification):
> > 
> > 	options snd-seq snd_seq_default_timer_class=1 \
> > 			snd_seq_default_timer_sclass=0 \
> > 			snd_seq_default_timer_card=-1 \
> > 			snd_seq_default_timer_device=1 \
> > 			snd_seq_default_timer_subdevice=0
> > 
> > 						Jaroslav
> 
> Okay, thanks.
> 
> Now I have in my modules.conf
> 
> options snd-timer snd_timer_limit=2
> alias snd-timer-1 snd-rtctimer
> options snd-seq snd_seq_default_timer_resolution=1000 snd_seq_default_timer_device=1
> 
> But when I run
> $ /etc/init.d/alsasound start
> the snd-rtctimer module is not inserted... Why is that?

This module will be requested after a sequencer application allocates
a sequencer queue. Thus, you should run your application.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com

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

* Re: [Alsa-user] RTC timer questions, reposting
       [not found]   ` <20020408102940.74be295c.mdeboer@iua.upf.es>
  2002-04-08  9:26     ` Jaroslav Kysela
@ 2002-04-08 12:57     ` Takashi Iwai
  1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2002-04-08 12:57 UTC (permalink / raw)
  To: Maarten de Boer; +Cc: Jaroslav Kysela, alsa-devel, alsa-user

Hi Maarten,

sorry for late responce.  i'm catching up now..

At Mon, 8 Apr 2002 10:29:40 +0200,
Maarten de Boer wrote:
> 
> On Mon, 8 Apr 2002 10:15:49 +0200 (CEST)
> Jaroslav Kysela <perex@suse.cz> wrote:
> 
> > The defines are in asound.h file - look for 'Timer section - /dev/snd/timer'.
> > 
> > Usage (using defaults):
> > 
> > 	options snd-seq snd_seq_default_timer_device=1
> > 
> > or (full specification):
> > 
> > 	options snd-seq snd_seq_default_timer_class=1 \
> > 			snd_seq_default_timer_sclass=0 \
> > 			snd_seq_default_timer_card=-1 \
> > 			snd_seq_default_timer_device=1 \
> > 			snd_seq_default_timer_subdevice=0
> > 
> > 						Jaroslav
> 
> Okay, thanks.
> 
> Now I have in my modules.conf
> 
> options snd-timer snd_timer_limit=2
> alias snd-timer-1 snd-rtctimer
> options snd-seq snd_seq_default_timer_resolution=1000 snd_seq_default_timer_device=1
 
perhaps it would be better to put these stuffs as proc file, so that
they are more configurable.


> But when I run
> $ /etc/init.d/alsasound start
> the snd-rtctimer module is not inserted... Why is that?

alsasound script doesn't load the timer modules, although it loads the
sequencer client modules.
the module will be loaded once when the timer source is accessed,
e.g. starting your application.


ciao,

Takashi

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

end of thread, other threads:[~2002-04-08 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20020408095954.318f5fc3.mdeboer@iua.upf.es>
2002-04-08  8:15 ` [Alsa-user] RTC timer questions, reposting Jaroslav Kysela
     [not found] ` <Pine.LNX.4.33.0204081011180.1079-100000@pnote.perex-int.cz>
2002-04-08  8:29   ` Maarten de Boer
     [not found]   ` <20020408102940.74be295c.mdeboer@iua.upf.es>
2002-04-08  9:26     ` Jaroslav Kysela
2002-04-08 12:57     ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.