Skip to contentSkip to conversation

devices.txt inconsistency

DISCUSSION Ari Pollak 4 participants 5 messages Jan 1, 2001 – Jan 2, 2001 Documentation

lore
Share & tools
lore

Ari Pollak

author
#0 lore raw

This has not been fixed for at least a year that i can remember - in Documentation/devices.txt, it says /dev/js* should be char-major-15*, but in Documentation/joystick.txt it says it should be char-major-13. I'm assuming joystick.txt is the correct one, and devices.txt should be updated to reflect this.. before 2.4.0 would be nice.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw

devices.txt does need some updating. It still lists char-major-13 as the PC Speaker, but 13 appears to be the major for new input driver, and the joystick driver is now a minor off the that. Are there now two Joystick drivers, or can char-major-15 be obsoleted/deleted?

robert

Quoted 9 lines · Ari Pollak

This has not been fixed for at least a year that i can remember - in Documentation/devices.txt, it says /dev/js* should be char-major-15*, but in Documentation/joystick.txt it says it should be char-major-13. I'm assuming joystick.txt is the correct one, and devices.txt should be updated to reflect this.. before 2.4.0 would be nice.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Ari Pollak

How's this? Should char-major-15 be obsoleted, deleted or just left in for now?

robert

Documentation/devices.txt Mon Jan 1 15:33:38 2001 renamed from Documentation/devices.txt.bak Mon Jan 1 15:29:24 2001 +7 -7
@@ -430,14 +430,14 @@
                  1 = /dev/dos_cd1      Second MSCDEX CD-ROM
                    ...
 
- 13 char       PC speaker (OBSOLETE)
-                 0 = /dev/pcmixer      Emulates /dev/mixer
-                 1 = /dev/pcsp         Emulates /dev/dsp (8-bit)
-                 4 = /dev/pcaudio      Emulates /dev/audio
-                 5 = /dev/pcsp16       Emulates /dev/dsp (16-bit)
+ 13 char       Generic Input Driver
+                 0  = /dev/input/js0        First joystick
+                 1  = /dev/input/js1        Second joystick
+                    ...
 
-               The current PC speaker driver uses the Open Sound
-               System interface, and these devices are obsolete.
+                 64 = /dev/input/event0     For testing/debugging
+                 65 = /dev/input/event1
+                   ...
 
     block      8-bit MFM/RLL/IDE controller
                  0 = /dev/xda          First XT disk whole disk                        
Quoted 9 lines · Ari Pollak

This has not been fixed for at least a year that i can remember - in Documentation/devices.txt, it says /dev/js* should be char-major-15*, but in Documentation/joystick.txt it says it should be char-major-13. I'm assuming joystick.txt is the correct one, and devices.txt should be updated to reflect this.. before 2.4.0 would be nice.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
In reply to Ari Pollak
Followup to:  <[email protected]>
By author:    Robert Read <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 6 lines

devices.txt does need some updating. It still lists char-major-13 as the PC Speaker, but 13 appears to be the major for new input driver, and the joystick driver is now a minor off the that. Are there now two Joystick drivers, or can char-major-15 be obsoleted/deleted?

I think there are two; at least, the number will remain reserved for a long time.

The current devices.txt is available at:

http://www.lanana.org/docs/device-list/devices.txt

I don't have the details for /dev/input/* in there; I need to still make that update.

-hpa

Signature · 7 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#4 lore raw
In reply to Ari Pollak
Quoted 6 lines

The current devices.txt is available at:

http://www.lanana.org/docs/device-list/devices.txt

I don't have the details for /dev/input/* in there; I need to still make that update.

Small typo fix:

devices.txt renamed from devices.txt~ +1 -1
@@ -771,7 +771,7 @@
  36 char	Netlink support
 		  0 = /dev/route	Routing, device updates, kernel to user
 		  1 = /dev/skip		enSKIP security cache control
-		  3 = /dec/fwmonitor	Firewall packet copies
+		  3 = /dev/fwmonitor	Firewall packet copies
 		 16 = /dev/tap0		First Ethertap device
 		    ...
 		 31 = /dev/tap15	16th Ethertap device

Regards,
Roberto Nibali, ratz

Signature · 5 lines
mailto: `echo [email protected] | sed 's/[NOSPAM]//g'`
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/