Re: [LAU] sysex on arch

From: Cedric Roux <sed@email-addr-hidden>
Date: Fri Apr 15 2011 - 12:57:29 EEST

----- "Atte André Jensen" <atte@email.dk> wrote:

> On 04/15/2011 11:15 AM, Cedric Roux wrote:
> > strace amidi -l 2>&1 | grep open
>
> Strangeness... I don't even have /home/atte/software/csound/ on my
> current system:

You don't care (ld.so magic). What matters is:

> open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3
> open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3
> open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3
> open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 3
> open("/dev/snd/controlC1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
> file or directory)
> open("/dev/aloadC1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
> directory)
> open("/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
> file or directory)
> open("/dev/aloadC2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or

/dev/snd/controlC0 is opened, does it point to the correct device?
You can grep for ioctl and see if it is done with file descriptor 3
before the failure, in which case you know amidi plays with that
device. Why does it fail... I don't know...
And why does amidi try all the other devices after that I don't know,
neither what /dev/aloadXX is...
Maybe you can have a look at alsa.conf too...

Great help, no? :-)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Apr 15 16:15:01 2011

This archive was generated by hypermail 2.1.8 : Fri Apr 15 2011 - 16:15:01 EEST