Update the sane-devel contact suggestion

merge-requests/1/head
m. allan noah 2010-04-18 20:37:15 -04:00
rodzic 7701eeb5ca
commit 0340d25366
2 zmienionych plików z 54 dodań i 21 usunięć

Wyświetl plik

@ -1,3 +1,6 @@
2010-04-18 m. allan noah <kitno455 at gmail dot com>
* tools/sane-desc.c: Update the sane-devel contact suggestion
2010-04-16 m. allan noah <kitno455 at gmail dot com> 2010-04-16 m. allan noah <kitno455 at gmail dot com>
* backend/kvs1025*, kvs1025.desc, sane-kvs1025.man: backend v3 * backend/kvs1025*, kvs1025.desc, sane-kvs1025.man: backend v3
- invert usb status, add 0x to usbids, add missing KV-S1045 usbid - invert usb status, add 0x to usbids, add missing KV-S1045 usbid

Wyświetl plik

@ -3297,20 +3297,25 @@ print_usermap_header (void)
{ {
time_t current_time = time (0); time_t current_time = time (0);
printf ("# This file was automatically created based on description files (*.desc)\n"
"# by sane-desc %s from %s on %s",
SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (&current_time)));
printf printf
("#\n" ("# This file was automatically created based on description files (*.desc)\n"
"# The entries below are used to detect a USB device when it's plugged in\n" "# by sane-desc %s from %s on %s"
"# and then run the libusbscanner script to change the ownership and\n" "#\n"
"# permissions on the \"device node\" used by libusb.\n" ,
SANE_DESC_VERSION, PACKAGE_STRING, asctime (localtime (&current_time)));
printf
("# The entries below are used to detect a USB device and change owner\n"
"# and permissions on the \"device node\" used by libusb.\n"
"#\n" "#\n"
"# The 0x0003 match flag means the device is matched by its vendor and\n" "# The 0x0003 match flag means the device is matched by its vendor and\n"
"# product IDs.\n" "# product IDs.\n"
"#\n" "#\n"
"# Sample entry (replace 0xVVVV and 0xPPPP with vendor ID and product ID\n" "# Sample entry (replace 0xVVVV and 0xPPPP with vendor ID and product ID\n"
"# respectively):\n"); "# respectively):\n"
"#\n"
);
printf printf
("# libusbscanner 0x0003 0xVVVV 0xPPPP 0x0000 0x0000 0x00 0x00 0x00 0x00 " ("# libusbscanner 0x0003 0xVVVV 0xPPPP 0x0000 0x0000 0x00 0x00 0x00 0x00 "
"0x00 0x00 0x00000000\n" "0x00 0x00 0x00000000\n"
@ -3318,10 +3323,20 @@ print_usermap_header (void)
"bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass " "bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass "
"bInterfaceSubClass bInterfaceProtocol driver_info\n" "bInterfaceSubClass bInterfaceProtocol driver_info\n"
"#\n" "#\n"
"# The following list already contains a lot of scanners. If your scanner\n" );
"# isn't mentioned there, add it as explained above and mail the entry to\n"
printf
("# If your scanner isn't listed below, you can add it as explained above.\n"
"#\n"
"# If your scanner is supported by some external backend (brother, epkowa,\n"
"# hpaio, etc) please ask the author of the backend to provide proper\n"
"# device detection support for your OS\n"
"#\n"
"# If the scanner is supported by sane-backends, please mail the entry to\n"
"# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).\n" "# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).\n"
"#\n"); "#\n"
);
} }
static void static void
@ -3373,13 +3388,21 @@ print_db_header (void)
"# product ID\n" "# product ID\n"
"# ownership (user:group)\n" "# ownership (user:group)\n"
"# permissions\n" "# permissions\n"
"# path of an optional script to run (it can be omitted)\n", DEVOWNER, DEVGROUP, DEVMODE); "# path of an optional script to run (it can be omitted)\n"
"#\n"
, DEVOWNER, DEVGROUP, DEVMODE);
printf printf
("#\n" ("# If your scanner isn't listed below, you can add it as explained above.\n"
"# The following list already contains a lot of scanners. If your scanner\n" "#\n"
"# isn't mentioned there, add it as explained above and mail the entry to\n" "# If your scanner is supported by some external backend (brother, epkowa,\n"
"# hpaio, etc) please ask the author of the backend to provide proper\n"
"# device detection support for your OS\n"
"#\n"
"# If the scanner is supported by sane-backends, please mail the entry to\n"
"# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).\n" "# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).\n"
"#\n"); "#\n"
);
} }
static void static void
@ -3430,13 +3453,20 @@ print_udev_header (void)
"# LABEL=\"libsane_usb_rules_begin\" and LABEL=\"libsane_usb_rules_end\" lines.\n" "# LABEL=\"libsane_usb_rules_begin\" and LABEL=\"libsane_usb_rules_end\" lines.\n"
"#\n" "#\n"
"# To run a script when your device is plugged in, add RUN+=\"/path/to/script\"\n" "# To run a script when your device is plugged in, add RUN+=\"/path/to/script\"\n"
"# to the appropriate rule.\n"); "# to the appropriate rule.\n"
"#\n"
);
printf printf
("#\n" ("# If your scanner isn't listed below, you can add it as explained above.\n"
"# The following list already contains a lot of scanners. If your scanner\n" "#\n"
"# isn't mentioned there, add it as explained above and mail the entry to\n" "# If your scanner is supported by some external backend (brother, epkowa,\n"
"# hpaio, etc) please ask the author of the backend to provide proper\n"
"# device detection support for your OS\n"
"#\n"
"# If the scanner is supported by sane-backends, please mail the entry to\n"
"# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).\n" "# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).\n"
"#\n\n"); "#\n"
);
} }
static void static void