Locating a MIDI device file?

Clark Williams williams at redhat.com
Wed Jul 5 13:59:55 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anthony Green wrote:
> On Tue, 2006-07-04 at 21:47 -0500, Clark Williams wrote:
>> How do the ALSA libraries locate devices? Do they just look for the
>> existence of specific device files, or poke around in /proc?
>
> I think they use ioctls for talking to the ALSA kernel module (which
> created the devices in the first place, no?).
>
Hmmm, I'm not sure that's what's happening for my Edirol MIDI
controller. I think udev makes the device files for that beast.

I still think that using D-Bus to access the HAL will be the most
general purpose solution (albeit probably not the easiest to implement).

Clark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEq8XaHyuj/+TTEp0RAlAGAJwKlbWYyX0GUu82ZG5xQ9x6KX1OYgCfQO0F
AmyLtG6PuB/IyiHn288/Urs=
=avZe
-----END PGP SIGNATURE-----




More information about the fedora-devel-list mailing list