----- "Atte André Jensen" <atte(a)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? :-)