From alsa-devel-owner@alsa.jcu.cz  Sun Nov 29 11:32:25 1998
Received: from smtp3.xs4all.nl (smtp3.xs4all.nl [194.109.6.53])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id LAA10155
	for <alsa-devel@jcu.cz>; Sun, 29 Nov 1998 11:25:58 +0100
Received: from cs.vu.nl (orbital.xs4all.nl [194.109.37.98])
	by smtp3.xs4all.nl (8.8.8/8.8.8) with ESMTP id LAA09683
	for <alsa-devel@jcu.cz>; Sun, 29 Nov 1998 11:25:57 +0100 (CET)
Message-ID: <366122AB.9C972753@cs.vu.nl>
Date: Sun, 29 Nov 1998 10:32:11 +0000
From: Andy Lo A Foe <arloafoe@cs.vu.nl>
MIME-Version: 1.0
To: alsa-devel@jcu.cz
Subject: Re: MINOR numbers - READ PLEASE!!!
References: <Pine.LNX.3.96.981129104118.3605A-100000@entry.jcu.cz>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Jaroslav Kysela wrote:

> OK. I will accept this recommendation, althrough I'm not still sure with
> this thing:
>
> What we can do if soundcard hardware reach above per card limits? I mean
> for example: Card can have 8 rawmidi devices (some special hardware
> for MIDI), but we can acess only first four. Is somewhere precedens for
> Linux how can be this problem solved by elegant way?

Jaroslav,

I don't think the minor device number allocation is such a big issue, mainly because
I think
devfs is right on the horizon. I think (hope) devfs will be standard in the upcoming
2.2 kernels.   Devfs will turn the major/minor numbering hell into a namespace
problem. Very elegant IMHO :)
I will take a stab at making ALSA devfs complient soon (if noone else volunteers)..

And I don't think  backward compatibility will be a problem since everyone should
use asoundlib for interfacing with ALSA anyway. So it doesn't really matter what we
choose now, right?

Regs,
Andy

--
Andy Lo A Foe, arloafoe@cs.vu.nl |  Linux v2.1.128  | PII 266
http://www.cs.vu.nl/~arloafoe    | GSM: 0622-440695 | Bebox 133
http://orbital.xs4all.nl/andy    |   ICQ: 7472949   | IRCNet: Adnans




