I've got some questions about the major/minor number allocations.  First,
if I'm understanding correctly, the major 10 numbers for mice and
joysticks are for emulation, kinda-the mice will appear to be PS/2 mice
(as implemented now...) and I assume the Joysticks will be similarly
implemented with a standard API (so drivers don't have to know about 
USB or the actual joystick).  Ok I can see the use for this, but why is
there a limit of 32?  Sure, that seems like more than enough, but consider
a single system with a HUGE game of, say, Quake running (just an
example) and 127 (USB's max, not counting power limits and hubs and other
endpoints, etc) joysticks connected to that single machine...not possible
under the 32-limit, but it should be possible...similar thing for mice.

Also, I notice that several device-specific drivers are getting allocated
minor numbers.  Aren't we going to run out of minor numbers (in major
180) REAL fast?  Already over half are allocated...

Can't there be a /dev/ttyUSB[0-127] or something simiar where drivers get
the next available node?  This may make it somewhat more dificult for
userspace apps, but will reduce the # of alloacted numbers greatly.

These are just thoughts and concerns.  Any input would be appreciated!

-- 
Dan Streetman
[EMAIL PROTECTED]
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!

On Mon, 27 Mar 2000, Randy Dunlap wrote:

> OK, looks like we ended up like this for USB devices, unless
> I hear otherwise from hpa.  He (hpa) didn't want the USB
> mice, events, etc., taking up huge hunks in minor 10.
> That was his only (expressed) concern from the request
> that I sent to him.
> 
> 
> major 13 char (NEW, for the generic "input" subsystem):
> 
>       minor 0-31              joysticks
>       minor 32-63             mice
>       minor 64-               event streams
>       
>       The current input system is used for USB devices only, however,
>       it isn't limited just to those, and hopefully will be the way
>       to access all input devices in the future.
> 
> [Vojtech is working on changing drivers for these new assignments.]
> 
> major 166 & 167:  ACM (no changes)
> 
> major 180 char (USB):
> 
>       minor 0-15              printers
>       minor 16-31             open
>       minor 32-47             Mustek DC800 cameras
>       minor 48-63             scanners
>       minor 64                Diamond Rio 500 (one device only)
>       minor 80-95             Kodak DC2xx cameras
>       minor 240-255           dabusb devices
> 
> ###
> 
> ~Randy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to