Hallo,
Takashi Iwai hat gesagt: // Takashi Iwai wrote:
> At Tue, 23 Mar 2004 22:42:05 +0100,
> Frank Barknecht wrote:
> > 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) = ?
>
> please make sure that you loaded latency-test module.
Yes, it is loaded.
> > I'm still puzzled. Why "/dev/midi0"?
>
> that's because the latency-test kernel module requires a device file
> for ioctls. i chose it simply because the file is unused (it's for
> tclmidi).
Maybe that is my problem. Here, /dev/midi is a link to /dev/midi0:
$ ls -l /dev/midi
lrwxrwxrwx 1 root root 10 Jul 30 2003 /dev/midi -> /dev/midi0
$ ls -l /dev/midi0
crw-rw---- 1 root audio 14, 2 Jul 30 2003 /dev/midi0
I don't know why it is set up this way, but on another machine I can
ssh to it looks different:
$ ls -l /dev/midi
lrwxrwxrwx 1 root root 6 May 27 2003 /dev/midi ->
midi00
$ ls -l /dev/midi0
crw-rw-rw- 1 root audio 35, 0 Mar 14 2003 /dev/midi0
Here I get the device number 35 for midi0, and another symlink.
Did I mess up big time?
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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel