diff options
author | nate <nate@FreeBSD.org> | 1993-10-19 20:00:35 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1993-10-19 20:00:35 +0000 |
commit | 0f7d6b2a33ab344a7458f0ad82a4bb373859bfa9 (patch) | |
tree | 67bf54003c7a5d1dcc50ba40ab229503a529454c /etc | |
parent | cb844f9aa85746789830d555bd6cf464c52ddb00 (diff) | |
download | FreeBSD-src-0f7d6b2a33ab344a7458f0ad82a4bb373859bfa9.zip FreeBSD-src-0f7d6b2a33ab344a7458f0ad82a4bb373859bfa9.tar.gz |
Fixe a spelling error and added both the mse (logitech and ATI inport) and
the psm (PS/2 bus) mouse support
(The psm driver will have to come later)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 35 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 35 |
2 files changed, 64 insertions, 6 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 75e1a0d..67d22eb 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -41,6 +41,10 @@ # pc* devices for stock pccons # vty* virtual console devices for syscons/pcvt/codrv # +# Pointing devices: +# mse* Logitech and ATI Inport bus mouse +# psm* PS/2 mouse +# # Terminal ports: # com* standard PC COM ports (really makes tty* entries for com) # sio* fast interrupt PC COM ports (really makes tty* entries for sio) @@ -62,7 +66,7 @@ # speaker pc speaker # tw* xten power controller # -# $Id: MAKEDEV,v 1.9 1993/09/30 20:18:59 rgrimes Exp $ +# $Id: MAKEDEV,v 1.10 1993/10/06 03:35:03 rgrimes Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -77,8 +81,8 @@ all) sh MAKEDEV pty0 tty0 tty1 tty2 tty3 pc0 lpt0 lpt1 lpt2 # cdev sh MAKEDEV ch0 tw0 bpf0 dcf0 lpa0 lpa1 lpa2 # cdev sh MAKEDEV speaker mse0 sio0 sio1 sio2 sio3 # cdev - # NOTE: co0 and vty04 is not done by a sh MAKEDEV all, rgrimes - # these are for codrv and interfere with other stuff! + # NOTE: co0 and vty04 are not done by a "sh MAKEDEV all" + # these are for codrv and interfere with other devices! - rgrimes ;; std) rm -f console drum mem kmem null tty klog stdin stdout stderr @@ -353,6 +357,31 @@ sio*|tty*) chown uucp.wheel tty0$unit ;; +mse*) + unit=`expr $i : 'mse\(.*\)'` + chr=27 + rm -f mse$unit + mknod mse$unit c $chr `expr $unit '*' 2 + 1` # non-blocking for X11 + chown root.wheel mse$unit + ;; + +psm*) + unit=`expr $i : 'psm\(.*\)'` + chr=21 + rm -f psm$unit + mknod psm$unit c $chr `expr $unit '*' 2 + 1` # non-blocking for X11 + chown root.wheel psm$unit + ;; + +mouse*) + name=`expr $i : 'mouse-\(.*\)'` + if [ ! -c $name ]; then + $0 $name # make the appropriate device + fi + rm -f mouse + ln -s $name mouse + ;; + local) umask 0 sh MAKEDEV.local diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 75e1a0d..67d22eb 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -41,6 +41,10 @@ # pc* devices for stock pccons # vty* virtual console devices for syscons/pcvt/codrv # +# Pointing devices: +# mse* Logitech and ATI Inport bus mouse +# psm* PS/2 mouse +# # Terminal ports: # com* standard PC COM ports (really makes tty* entries for com) # sio* fast interrupt PC COM ports (really makes tty* entries for sio) @@ -62,7 +66,7 @@ # speaker pc speaker # tw* xten power controller # -# $Id: MAKEDEV,v 1.9 1993/09/30 20:18:59 rgrimes Exp $ +# $Id: MAKEDEV,v 1.10 1993/10/06 03:35:03 rgrimes Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -77,8 +81,8 @@ all) sh MAKEDEV pty0 tty0 tty1 tty2 tty3 pc0 lpt0 lpt1 lpt2 # cdev sh MAKEDEV ch0 tw0 bpf0 dcf0 lpa0 lpa1 lpa2 # cdev sh MAKEDEV speaker mse0 sio0 sio1 sio2 sio3 # cdev - # NOTE: co0 and vty04 is not done by a sh MAKEDEV all, rgrimes - # these are for codrv and interfere with other stuff! + # NOTE: co0 and vty04 are not done by a "sh MAKEDEV all" + # these are for codrv and interfere with other devices! - rgrimes ;; std) rm -f console drum mem kmem null tty klog stdin stdout stderr @@ -353,6 +357,31 @@ sio*|tty*) chown uucp.wheel tty0$unit ;; +mse*) + unit=`expr $i : 'mse\(.*\)'` + chr=27 + rm -f mse$unit + mknod mse$unit c $chr `expr $unit '*' 2 + 1` # non-blocking for X11 + chown root.wheel mse$unit + ;; + +psm*) + unit=`expr $i : 'psm\(.*\)'` + chr=21 + rm -f psm$unit + mknod psm$unit c $chr `expr $unit '*' 2 + 1` # non-blocking for X11 + chown root.wheel psm$unit + ;; + +mouse*) + name=`expr $i : 'mouse-\(.*\)'` + if [ ! -c $name ]; then + $0 $name # make the appropriate device + fi + rm -f mouse + ln -s $name mouse + ;; + local) umask 0 sh MAKEDEV.local |