* devices.txt inconsistency
@ 2001-01-01 22:06 Ari Pollak
2001-01-01 23:24 ` Robert Read
2001-01-01 23:35 ` Robert Read
0 siblings, 2 replies; 7+ messages in thread
From: Ari Pollak @ 2001-01-01 22:06 UTC (permalink / raw)
To: linux-kernel
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: devices.txt inconsistency
2001-01-01 22:06 devices.txt inconsistency Ari Pollak
@ 2001-01-01 23:24 ` Robert Read
2001-01-01 23:48 ` H. Peter Anvin
2001-01-01 23:35 ` Robert Read
1 sibling, 1 reply; 7+ messages in thread
From: Robert Read @ 2001-01-01 23:24 UTC (permalink / raw)
To: Ari Pollak, linux-kernel
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
On Mon, Jan 01, 2001 at 05:06:54PM -0500, Ari Pollak wrote:
> 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: devices.txt inconsistency
2001-01-01 22:06 devices.txt inconsistency Ari Pollak
2001-01-01 23:24 ` Robert Read
@ 2001-01-01 23:35 ` Robert Read
1 sibling, 0 replies; 7+ messages in thread
From: Robert Read @ 2001-01-01 23:35 UTC (permalink / raw)
To: linux-kernel
How's this? Should char-major-15 be obsoleted, deleted or just left
in for now?
robert
--- linux/Documentation/devices.txt.bak Mon Jan 1 15:29:24 2001
+++ linux/Documentation/devices.txt Mon Jan 1 15:33:38 2001
@@ -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
On Mon, Jan 01, 2001 at 05:06:54PM -0500, Ari Pollak wrote:
> 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: devices.txt inconsistency
2001-01-01 23:24 ` Robert Read
@ 2001-01-01 23:48 ` H. Peter Anvin
2001-01-02 13:37 ` ratz
0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2001-01-01 23:48 UTC (permalink / raw)
To: linux-kernel
Followup to: <20010101232454.C8481@tenchi.datarithm.net>
By author: Robert Read <rread@datarithm.net>
In newsgroup: linux.dev.kernel
>
> 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
--
<hpa@transmeta.com> at work, <hpa@zytor.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: devices.txt inconsistency
2001-01-01 23:48 ` H. Peter Anvin
@ 2001-01-02 13:37 ` ratz
0 siblings, 0 replies; 7+ messages in thread
From: ratz @ 2001-01-02 13:37 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-kernel
> 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~ Tue Jan 2 14:34:32 2001
+++ devices.txt Tue Jan 2 14:34:48 2001
@@ -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
--
mailto: `echo NrOatSz@tPacA.cMh | sed 's/[NOSPAM]//g'`
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: devices.txt inconsistency
2001-01-02 16:19 Douglas Gilbert
@ 2001-01-02 17:29 ` H. Peter Anvin
0 siblings, 0 replies; 7+ messages in thread
From: H. Peter Anvin @ 2001-01-02 17:29 UTC (permalink / raw)
To: Douglas Gilbert; +Cc: linux-kernel, hpa, sct
Douglas Gilbert wrote:
>
> While on this subject, the description of raw devices
> (char 162) in lk 2.4 is not consistent with current
> usage.
>
> devices.txt contains this:
> 162 char Raw block device interface
> 0 = /dev/raw Raw I/O control device
> 1 = /dev/raw1 First raw I/O device
> 2 = /dev/raw2 Second raw I/O device
> ...
>
> but something like this would be more accurate:
> 162 char Raw block device interface
> 0 = /dev/rawctl Raw I/O control device
> 1 = /dev/raw/raw1 First raw I/O device
> 2 = /dev/raw/raw2 Second raw I/O device
> ...
>
> The raw(8) command supplied in RH 6.2 and 7.0 assumes the
> latter structure. I have already alerted sct and this
> change may be coming through in one of his patches.
>
The latter is actually better, so I certainly don't mind. sct, should I
change it?
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: devices.txt inconsistency
@ 2001-01-02 16:19 Douglas Gilbert
2001-01-02 17:29 ` H. Peter Anvin
0 siblings, 1 reply; 7+ messages in thread
From: Douglas Gilbert @ 2001-01-02 16:19 UTC (permalink / raw)
To: linux-kernel, hpa
While on this subject, the description of raw devices
(char 162) in lk 2.4 is not consistent with current
usage.
devices.txt contains this:
162 char Raw block device interface
0 = /dev/raw Raw I/O control device
1 = /dev/raw1 First raw I/O device
2 = /dev/raw2 Second raw I/O device
...
but something like this would be more accurate:
162 char Raw block device interface
0 = /dev/rawctl Raw I/O control device
1 = /dev/raw/raw1 First raw I/O device
2 = /dev/raw/raw2 Second raw I/O device
...
The raw(8) command supplied in RH 6.2 and 7.0 assumes the
latter structure. I have already alerted sct and this
change may be coming through in one of his patches.
Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-01-02 18:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-01 22:06 devices.txt inconsistency Ari Pollak
2001-01-01 23:24 ` Robert Read
2001-01-01 23:48 ` H. Peter Anvin
2001-01-02 13:37 ` ratz
2001-01-01 23:35 ` Robert Read
2001-01-02 16:19 Douglas Gilbert
2001-01-02 17:29 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).