lkml.org 
[lkml]   [1999]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: USB device allocation
Hi Pavel.

> USB is getting into stage where it is actually usefull. And I've
> experienced first clashes with other devices. Therefore, it is
> time to allocate entries.

> Previous numbers are unusable :-(: their either crash with
> existing device, or there's only convient room for one such
> device where around 16 are needed.

How many really need 16?

> XXX char USB devices
> 0 = /dev/usblp0 Printers connected via usb
> ...
> 15 = /dev/usblp15
> 16 = /dev/usbmouse0 USB mouse
> ...
> 31 = /dev/usbmouse15
> 32 = /dev/ezusb0 USB firmware downloader
> ...
> 63 = /dev/ezusb15
> 64 = /dev/usbscanner0 USB HP scanner
> ...
> 95 = /dev/usbscanner15
> 128 = /dev/ttyACM0 USB modem
> ...
> 255 = /dev/ttyACM127

Let's be a bit more reasonable...

0 => 31 USB Serial (Mouse or Modem)
32 => 47 USB Printers
48 => 63 USB Scanners
64 => 79 USB Cameras
80 => 95 USB Keyboards
96 => 111 USB firmware downloaders
112 => 239 Reserved for future definition
240 => 255 USB Experimental

Remember also that the names are reasonably irrelevant, and only the
node numbers actually matter.

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/Linux/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.081 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site