All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Barknecht <fbar@footils.org>
To: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: Problems running latencytest: "error setting freq 1024"
Date: Tue, 23 Mar 2004 22:42:05 +0100	[thread overview]
Message-ID: <20040323214205.GA4382@fliwatut.scifi> (raw)
In-Reply-To: <200403232133.i2NLXCZt015035@dhin.linuxaudiosystems.com>

Hallo,
Paul Davis hat gesagt: // Paul Davis wrote:

> >$ measure -p ./out/x11.png -o ./out/x11.out -c 0 -f 1024 -n 2 -t 2
> >I get this error message: "error setting freq 1024"
> 
> probably a permissions problem. try it as root.

This is while runng at root. (Sorry for the "$" I typed that one by
hand). 

A tip from Tim Goetze to do: 

 # echo 2048 > /proc/sys/dev/rtc/max-user-freq
(^ sic!)

didn't help either yet. I did a strace on the measure run now, which
showed something equally strange (to my eyes): 

mlockall(MCL_CURRENT|MCL_FUTURE)        = 0
sched_get_priority_max(0x1)             = 99
sched_setscheduler(0, 0x1, 0xbfffe254)  = 0
open("/dev/midi0", O_RDWR)              = 3
ioctl(3, 0x40047401, 0x400)             = -1 ENOTTY (Inappropriate ioctl for device)
write(2, "error setting freq 1024\n", 24) = 24
exit_group(1)                           = ?

I'm still puzzled. Why "/dev/midi0"?

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

  reply	other threads:[~2004-03-23 21:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 20:53 Problems running latencytest: "error setting freq 1024" Frank Barknecht
2004-03-23 21:33 ` Paul Davis
2004-03-23 21:42   ` Frank Barknecht [this message]
2004-03-23 23:08     ` Fernando Pablo Lopez-Lezcano
2004-03-24 12:58     ` Takashi Iwai
2004-03-24 17:21       ` Frank Barknecht
2004-03-24  8:17 ` Jaroslav Kysela
2004-03-24  8:20   ` Jaroslav Kysela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040323214205.GA4382@fliwatut.scifi \
    --to=fbar@footils.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.