Skip to contentSkip to conversation

: test/timer.c malfunctions with snd-rtctimer

ALSA - lib 0000897 [email protected] 1 participant 1 message Mar 11, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=897>
======================================================================
Reported By: phunge
Assigned To:
======================================================================

Project:                    ALSA - lib
Issue ID:                   897
Category:                   timer
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             02-09-2005 15:45 CET
Last Modified:              03-11-2005 09:42 CET

======================================================================
Summary: test/timer.c malfunctions with snd-rtctimer
Description:
I'm trying to learn how to use the ALSA timer API for getting a hi-res interrupt in a program of mine. When I compile test/timer.c, it runs correctly using the default system timer. However, when I try to specify the RTC timer by modprobing snd-rtctimer and running

./timer class=1 sclass=0 card=0 device=1 subdevice=0

the program fails (output under "additional information").

/dev/rtc is readable and I can run the RTC test from
http://stommel.tamu.edu/~baum/linux-kernel/rtc.txt
so I think the problem is in alsa.
======================================================================

----------------------------------------------------------------------
phunge - 02-16-05 12:02
----------------------------------------------------------------------
I also see the same behavior when using 2.6.8.1 compiled from kernel.org.

----------------------------------------------------------------------
Clemens Ladisch - 03-11-05 09:42
----------------------------------------------------------------------
Works fine with 2.6.11, too.

Issue History
Date Modified Username Field Change
======================================================================
02-09-05 15:45 phunge New Issue
02-14-05 10:47 Clemens LadischNote Added: 0003587
02-14-05 11:35 phunge Note Added: 0003589
02-16-05 12:02 phunge Note Added: 0003622
03-11-05 09:42 Clemens LadischNote Added: 0003882
======================================================================

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click