[EMAIL PROTECTED] writes:

> In 'kernel-2.6.15/Documentation/devices.txt' I only found the major
> number '116' for ALSA. Where can I find the minor numbers?

Since the minor number is irrelevant for driver identification,
it needs not to be registered.
The minor numbers for the ALSA devices are allocated internally
by the core layer. The details are shown in core/sound.c,
function snd_kernel_minor.
The numbers are derived from the expression
(((card_number << 5) | (type+dev)))
with the exception of the sequencer and timer device.
You may also take a look at include/sound/minors.h, where the base
numbers for type are defined.

Regards,
Matthias


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to