OpenSDE Packages Database (without history before r20070)
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.

78 lines
2.9 KiB

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