summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-10 08:47:49 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-10 08:47:49 +0000
commit33b23a749724c7e347a6d64810ca15664fa42fd2 (patch)
tree97a60dcb005f1770de22a42143e405b7db7dc80b
parent6dd9886e90c51d622dab3ca9a5b223074fe5d52f (diff)
downloaddrakx-backup-do-not-use-33b23a749724c7e347a6d64810ca15664fa42fd2.tar
drakx-backup-do-not-use-33b23a749724c7e347a6d64810ca15664fa42fd2.tar.gz
drakx-backup-do-not-use-33b23a749724c7e347a6d64810ca15664fa42fd2.tar.bz2
drakx-backup-do-not-use-33b23a749724c7e347a6d64810ca15664fa42fd2.tar.xz
drakx-backup-do-not-use-33b23a749724c7e347a6d64810ca15664fa42fd2.zip
added input/event class of devices (necessary for usb wacom at install)
-rw-r--r--perl-install/devices.pm19
1 files changed, 10 insertions, 9 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index b5b516a1c..d14f3c397 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -83,15 +83,16 @@ sub entry {
$minor = 16 * $3 + ($4 || 0);
} elsif (/(.*)(\d+)$/) {
($type, $major, $minor) =
- @{ ${{"fd" => [ c::S_IFBLK(), 2, 0 ],
- "hidbp-mse-" => [ c::S_IFCHR(), 10, 32 ],
- "lp" => [ c::S_IFCHR(), 6, 0 ],
- "usb/lp" => [ c::S_IFCHR(), 180, 0 ],
- "loop" => [ c::S_IFBLK(), 7, 0 ],
- "md" => [ c::S_IFBLK(), 9, 0 ],
- "nst" => [ c::S_IFCHR(), 9, 128],
- "scd" => [ c::S_IFBLK(), 11, 0 ],
- "ttyS" => [ c::S_IFCHR(), 4, 64 ],
+ @{ ${{"fd" => [ c::S_IFBLK(), 2, 0 ],
+ "hidbp-mse-" => [ c::S_IFCHR(), 10, 32 ],
+ "lp" => [ c::S_IFCHR(), 6, 0 ],
+ "usb/lp" => [ c::S_IFCHR(), 180, 0 ],
+ "input/event" => [ c::S_IFCHR(), 13, 64 ],
+ "loop" => [ c::S_IFBLK(), 7, 0 ],
+ "md" => [ c::S_IFBLK(), 9, 0 ],
+ "nst" => [ c::S_IFCHR(), 9, 128],
+ "scd" => [ c::S_IFBLK(), 11, 0 ],
+ "ttyS" => [ c::S_IFCHR(), 4, 64 ],
}}{$1}};
$minor += $2;
}