On Sun, Apr 09, 2000 at 10:34:03AM -0700, Dunlap, Randy wrote:
> I see some code in this patch that searches for
> input dev numbers up to 256 (< 256).
>
> Does this happen to remove the arbitrary limits
> of 32 mice, etc. (which used to be 16 mice, etc.)?
>
> That would be a good thing IMO.
No, unfortunately not. The limit is 31 mice now with the latest patch,
and 32 joysticks, and 32 event devices. These are #defined by the
constants in the *dev files. They can be changed easily.
I can't remove these arbitrary limits because of the limited number of
minors on major 13 - there is only 256 of them if I still want to keep
the driver working on non-devfs kernels.
The 256 is a limit for total devices connected to the system for the
assigned numbers to behave sanely. Above this limit the 'inputX: ....'
kernel messages will get somewhat less reasonable numbering. This is a
reaction to Alessandro's bug report that if you do:
insmod usbmouse
insmod usbkbd
rmmod usbmouse
insmod usbmouse
You'll get two input1's. This was fixed by the change. Nothing else.
> ...and...
> on Thu. 2000-APR-06, Alessandro Rubini wrote:
>
> > Wouldn't it be better to have /dev/usbmice as well as /dev/usbmouse[0123]?
Yes, with the latest changes you get both
/dev/input/mice (13:63)
and
/dev/input/mouse0 (13:32)
/dev/input/mouse1 (13:33)
/dev/input/mouse2 (13:34)
:
:
/dev/input/mouse30 (13:62)
--
Vojtech Pavlik
SuSE Labs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]