Prepare for USB scanners, and add Rio 500 support while messing.
This commit is contained in:
parent
650c1aea1c
commit
8e735041d9
@ -1,5 +1,5 @@
|
||||
#!/bin/sh -
|
||||
# $NetBSD: MAKEDEV,v 1.61 2000/07/27 18:43:14 mason Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.62 2000/09/23 04:27:17 augustss Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -84,6 +84,8 @@
|
||||
# uhid* Generic HID devices
|
||||
# ulpt* Printer devices
|
||||
# ugen* Generic devices
|
||||
# urio* Diamond Rio 500
|
||||
# uscanner* Scanners
|
||||
# ttyU* Modem
|
||||
#
|
||||
# Special purpose devices:
|
||||
@ -159,6 +161,8 @@ usbs)
|
||||
sh $0 uhid0 uhid1 uhid2 uhid3
|
||||
sh $0 ulpt0 ulpt1
|
||||
sh $0 ttyU0 ttyU1
|
||||
sh $0 urio0
|
||||
sh $0 uscanner0 uscanner1
|
||||
;;
|
||||
|
||||
std)
|
||||
@ -239,6 +243,26 @@ ugen*)
|
||||
done
|
||||
;;
|
||||
|
||||
urio*)
|
||||
unit=${i#urio}
|
||||
urio=urio$unit
|
||||
major=62
|
||||
rm -f $urio
|
||||
mknod $urio c $major $unit
|
||||
chown root.wheel $urio
|
||||
chmod 600 $urio
|
||||
;;
|
||||
|
||||
uscanner*)
|
||||
unit=${i#uscanner}
|
||||
uscanner=uscanner$unit
|
||||
major=62
|
||||
rm -f $uscanner
|
||||
mknod $uscanner c $major $unit
|
||||
chown root.wheel $uscanner
|
||||
chmod 600 $uscanner
|
||||
;;
|
||||
|
||||
fd)
|
||||
rm -f fd/*
|
||||
mkdir fd > /dev/null 2>&1
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.47 2000/07/27 18:43:19 mason Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.48 2000/09/23 04:27:18 augustss Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -84,6 +84,8 @@
|
||||
# uhid* Generic HID devices
|
||||
# ulpt* Printer devices
|
||||
# ugen* Generic device
|
||||
# urio* Diamond Rio 500
|
||||
# uscanner* Scanners
|
||||
# ttyU* Modem
|
||||
#
|
||||
# Special purpose devices:
|
||||
@ -142,6 +144,8 @@ usbs)
|
||||
sh $0 uhid0 uhid1 uhid2 uhid3
|
||||
sh $0 ulpt0 ulpt1
|
||||
sh $0 ttyU0 ttyU1
|
||||
sh $0 urio0
|
||||
sh $0 uscanner0 uscanner1
|
||||
;;
|
||||
|
||||
std)
|
||||
@ -292,6 +296,26 @@ ttyU*)
|
||||
chmod 600 $ttyU $dtyU $ctyU
|
||||
;;
|
||||
|
||||
urio*)
|
||||
unit=${i#urio}
|
||||
urio=urio$unit
|
||||
major=75
|
||||
rm -f $urio
|
||||
mknod $urio c $major $unit
|
||||
chown root.wheel $urio
|
||||
chmod 600 $urio
|
||||
;;
|
||||
|
||||
uscanner*)
|
||||
unit=${i#uscanner}
|
||||
uscanner=uscanner$unit
|
||||
major=76
|
||||
rm -f $uscanner
|
||||
mknod $uscanner c $major $unit
|
||||
chown root.wheel $uscanner
|
||||
chmod 600 $uscanner
|
||||
;;
|
||||
|
||||
tty*)
|
||||
unit=${i#???}
|
||||
rm -f tty0$unit dty0$unit
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.12 2000/07/27 18:43:22 mason Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.13 2000/09/23 04:27:18 augustss Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -75,6 +75,9 @@
|
||||
# uhid* Generic HID devices
|
||||
# ulpt* Printer devices
|
||||
# ugen* Generic device
|
||||
# urio* Diamond Rio 500
|
||||
# uscanner* Scanners
|
||||
# ttyU* Modem
|
||||
#
|
||||
# Special purpose devices:
|
||||
# fd file descriptors
|
||||
@ -129,6 +132,8 @@ usbs)
|
||||
sh $0 uhid0 uhid1 uhid2 uhid3
|
||||
sh $0 ulpt0 ulpt1
|
||||
sh $0 ttyU0 ttyU1
|
||||
sh $0 urio0
|
||||
sh $0 uscanner0 uscanner1
|
||||
;;
|
||||
|
||||
std)
|
||||
@ -210,6 +215,26 @@ ugen*)
|
||||
done
|
||||
;;
|
||||
|
||||
urio*)
|
||||
unit=${i#urio}
|
||||
urio=urio$unit
|
||||
major=39
|
||||
rm -f $urio
|
||||
mknod $urio c $major $unit
|
||||
chown root.wheel $urio
|
||||
chmod 600 $urio
|
||||
;;
|
||||
|
||||
uscanner*)
|
||||
unit=${i#uscanner}
|
||||
uscanner=uscanner$unit
|
||||
major=40
|
||||
rm -f $uscanner
|
||||
mknod $uscanner c $major $unit
|
||||
chown root.wheel $uscanner
|
||||
chmod 600 $uscanner
|
||||
;;
|
||||
|
||||
wscons)
|
||||
sh $0 ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
|
||||
sh $0 wsmouse0 wsmouse1 wsmouse2 wsmouse3
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.122 2000/07/27 19:09:57 veego Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.123 2000/09/23 04:27:18 augustss Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -87,6 +87,7 @@
|
||||
# ulpt* USB printer devices
|
||||
# ugen* USB generic devices
|
||||
# urio* USB Diamond Rio 500 devices
|
||||
# uscanner* Scanners
|
||||
# ttyU* USB modems
|
||||
#
|
||||
# Special purpose devices:
|
||||
@ -176,6 +177,7 @@ usbs)
|
||||
sh $0 ulpt0 ulpt1
|
||||
sh $0 ttyU0 ttyU1
|
||||
sh $0 urio0
|
||||
sh $0 uscanner0 uscanner1
|
||||
sh $0 ugen0
|
||||
;;
|
||||
|
||||
@ -243,6 +245,16 @@ urio*)
|
||||
chmod 666 $urio
|
||||
;;
|
||||
|
||||
uscanner*)
|
||||
unit=${i#uscanner}
|
||||
uscanner=uscanner$unit
|
||||
major=62
|
||||
rm -f $uscanner
|
||||
mknod $uscanner c $major $unit
|
||||
chown root.wheel $uscanner
|
||||
chmod 600 $uscanner
|
||||
;;
|
||||
|
||||
ttyU*)
|
||||
unit=${i#ttyU}
|
||||
ttyU=ttyU$unit
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: MAKEDEV,v 1.30 2000/07/27 18:43:25 mason Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.31 2000/09/23 04:27:18 augustss Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -73,6 +73,8 @@
|
||||
# uhid* Generic HID devices
|
||||
# ulpt* Printer devices
|
||||
# ugen* Generic device
|
||||
# urio* Diamond Rio 500
|
||||
# uscanner* Scanners
|
||||
# ttyU* Modem
|
||||
#
|
||||
# Special purpose devices:
|
||||
@ -513,6 +515,8 @@ usbs)
|
||||
sh $0 uhid0 uhid1 uhid2 uhid3
|
||||
sh $0 ulpt0 ulpt1
|
||||
sh $0 ttyU0 ttyU1
|
||||
sh $0 urio0
|
||||
sh $0 uscanner0 uscanner1
|
||||
;;
|
||||
|
||||
usb*)
|
||||
@ -564,6 +568,26 @@ ugen*)
|
||||
done
|
||||
;;
|
||||
|
||||
urio*)
|
||||
unit=${i#urio}
|
||||
urio=urio$unit
|
||||
major=62
|
||||
rm -f $urio
|
||||
mknod $urio c $major $unit
|
||||
chown root.wheel $urio
|
||||
chmod 600 $urio
|
||||
;;
|
||||
|
||||
uscanner*)
|
||||
unit=${i#uscanner}
|
||||
uscanner=uscanner$unit
|
||||
major=62
|
||||
rm -f $uscanner
|
||||
mknod $uscanner c $major $unit
|
||||
chown root.wheel $uscanner
|
||||
chmod 600 $uscanner
|
||||
;;
|
||||
|
||||
local)
|
||||
umask 0
|
||||
sh $0.local all
|
||||
|
Loading…
Reference in New Issue
Block a user