mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
3.1 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/devfsd/usb-support.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. Since DevFS does not seem to be actively maintained anymore we might
  20. need to push it a bit in the future ...
  21. - Rene Rebe <rene@exactcode.de>
  22. --- devfsd/compat_name.c.orig 2002-01-25 08:06:35.000000000 +0100
  23. +++ devfsd/compat_name.c 2003-12-07 00:37:49.000000000 +0100
  24. @@ -3,6 +3,7 @@
  25. Compatibility name file for devfsd (build compatibility names).
  26. Copyright (C) 1998-2002 Richard Gooch
  27. + 2003 Rene Rebe <rene@exactcode.de>
  28. This program is free software; you can redistribute it and/or modify
  29. it under the terms of the GNU General Public License as published by
  30. @@ -58,9 +59,11 @@
  31. new compatibility names for IDE devices. Consolidated SCSI code. Consolidated
  32. IDE code.
  33. - Last updated by Richard Gooch 25-JAN-2002: Added compatibility entries
  34. + Updated by Richard Gooch 25-JAN-2002: Added compatibility entries
  35. for parallel port generic ATAPI interface.
  36. + Last updated by Rene Rebe 07-DEZ-2003: Added compatibility entires
  37. + for the usb/ directory.
  38. */
  39. #include <linux/major.h>
  40. @@ -126,6 +129,7 @@
  41. {"tts/", "ttyS%s"}, /* Generic serial: must be after others */
  42. {"cua/", "cua%s"}, /* Generic serial: must be after others */
  43. {"input/js", "js%s"}, /* Joystick driver */
  44. + {"usb/", "usb%s"}, /* USB devices like lp and scanner */
  45. {NULL, NULL}
  46. };
  47. --- devfsd/modules.devfs.orig 2002-03-25 01:00:33.000000000 +0100
  48. +++ devfsd/modules.devfs 2003-12-07 00:37:20.000000000 +0100
  49. @@ -1,5 +1,6 @@
  50. # /etc/modules.devfs
  51. # Richard Gooch <rgooch@atnf.csiro.au> 24-MAR-2002
  52. +# Rene Rebe <rene@exactcode.de> 07-DEZ-2003
  53. #
  54. # THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT EDIT!!!
  55. # THIS FILE WILL BE OVERWRITTEN EACH TIME YOU INSTALL DEVFSD!!!
  56. @@ -128,6 +129,14 @@
  57. # Raw I/O devices
  58. alias /dev/rawctl /dev/raw
  59. +# USB
  60. +alias /dev/usb/scanner scanner
  61. +alias /dev/usb/scanner* /dev/usb/scanner
  62. +alias /dev/usbscanner* /dev/usb/scanner
  63. +
  64. +alias /dev/usb/lp printer
  65. +alias /dev/usb/lp* /dev/usb/lp
  66. +alias /dev/usblp* /dev/usb/lp
  67. # Pull in the configuration file. Do this last because modprobe(8) processes in
  68. # per^H^H^Hreverse order and the sysadmin may want to over-ride what is in the