Well I messed up in giving the auerswald driver the minor numbes 80-95.
Turns out those minors are used by the dc2xx driver :)
AND the hiddev driver uses minor 96-111, which was not documented
_anywhere_ (in dc2xx's defence, the linux-usb.org site did show this.
now it is updated with the correct information for all of the
_registered_ minor numbers.)
So here's a patch against my last 2.4.18-rc2-gregkh-1 patch that fixes
this information, and puts the auerswald on its own minor number range.
Sorry for any problems this might have caused.
I'll also add this to the 2.5 tree.
thanks,
greg k-h
diff -Nru a/Documentation/devices.txt b/Documentation/devices.txt
--- a/Documentation/devices.txt Fri Feb 22 11:36:18 2002
+++ b/Documentation/devices.txt Fri Feb 22 11:36:18 2002
@@ -2180,9 +2180,15 @@
...
63 = /dev/usb/scanner15 16th USB scanner
64 = /dev/usb/rio500 Diamond Rio 500
- 80 = /dev/usb/auer0 1st auerswald ISDN device
+ 80 = /dev/usb/dc2xx0 1st DC2xx camera device
...
- 95 = /dev/usb/auer15 16th auerswald ISDN device
+ 95 = /dev/usb/dc2xx15 16th DC2xx camera device
+ 96 = /dev/usb/hiddev0 1st USB HID device
+ ...
+ 111 = /dev/usb/hiddev15 16th USB HID device
+ 112 = /dev/usb/auer0 1st auerswald ISDN device
+ ...
+ 127 = /dev/usb/auer15 16th auerswald ISDN device
181 char Conrad Electronic parallel port radio clocks
0 = /dev/pcfclock0 First Conrad radio clock
diff -Nru a/Documentation/usb/auerswald.txt b/Documentation/usb/auerswald.txt
--- a/Documentation/usb/auerswald.txt Fri Feb 22 11:36:18 2002
+++ b/Documentation/usb/auerswald.txt Fri Feb 22 11:36:18 2002
@@ -19,9 +19,9 @@
auerswald and shipped as part of the java software.
You may create the devices with:
- mknod -m 666 /dev/usb/auer0 c 180 80
+ mknod -m 666 /dev/usb/auer0 c 180 112
...
- mknod -m 666 /dev/usb/auer15 c 180 95
+ mknod -m 666 /dev/usb/auer15 c 180 127
Future plans
============
diff -Nru a/drivers/usb/auerswald.c b/drivers/usb/auerswald.c
--- a/drivers/usb/auerswald.c Fri Feb 22 11:36:18 2002
+++ b/drivers/usb/auerswald.c Fri Feb 22 11:36:18 2002
@@ -60,7 +60,7 @@
#define ID_AUERSWALD 0x09BF
#ifndef AUER_MINOR_BASE /* allow external override */
-#define AUER_MINOR_BASE 80 /* auerswald driver minor number */
+#define AUER_MINOR_BASE 112 /* auerswald driver minor number */
#endif
/* we can have up to this number of device plugged in at once */
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel