Browse Source

Add USB scanner device node to macppc and i386, both of these had the

uscanner compiled into the kernel, but no device node, or even entry
in the character device switch table.
ok todd@
OPENBSD_3_1
drahn 23 years ago
parent
commit
a15c6e2cca
2 changed files with 18 additions and 4 deletions
  1. +9
    -2
      src/etc/etc.i386/MAKEDEV
  2. +9
    -2
      src/etc/etc.macppc/MAKEDEV

+ 9
- 2
src/etc/etc.i386/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.104 2001/10/04 22:38:13 gluk Exp $
# $OpenBSD: MAKEDEV,v 1.105 2001/11/06 23:46:05 drahn Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -221,7 +221,7 @@ usbs)
sh $this usb0 usb1
sh $this uhid0 uhid1 uhid2 uhid3
sh $this ulpt0 ulpt1
sh $this urio0
sh $this urio0 uscanner0
sh $this utty0 utty1
;;
@ -282,6 +282,13 @@ urio*)
chmod 660 urio$unit
;;
uscanner*)
rm -f uscanner$unit
mknod uscanner$unit c 77 $unit
chown root.wheel uscanner$unit
chmod 660 uscanner$unit
;;
ugen*)
for j in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
do


+ 9
- 2
src/etc/etc.macppc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.2 2001/10/03 14:50:38 drahn Exp $
# $OpenBSD: MAKEDEV,v 1.3 2001/11/06 23:46:05 drahn Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -212,7 +212,7 @@ usbs)
sh $this usb0 usb1
sh $this uhid0 uhid1 uhid2 uhid3
sh $this ulpt0 ulpt1
sh $this urio0
sh $this urio0 uscanner0
sh $this utty0 utty1
;;
@ -513,6 +513,13 @@ urio*)
chmod 660 urio$unit
;;
uscanner*)
rm -f uscanner$unit
mknod uscanner$unit c 74 $unit
chown root.wheel uscanner$unit
chmod 660 uscanner$unit
;;
utty*)
rm -f utty$unit
mknod utty$unit c 66 $unit


Loading…
Cancel
Save