blob: d42f5faa82863d8c6d78d2b0354c009b9bfa7705 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- tools/sane-desc.c 2006-07-28 10:46:32.000000000 +0200
+++ tools/sane-desc.c.new 2006-07-28 10:46:21.000000000 +0200
@@ -3151,7 +3151,7 @@
printf
("#\n"
- "# udev rules file for supported USB devices\n"
+ "# udev rules file for supported USB and SCSI devices\n"
"#\n"
"# To add a USB device, add a rule to the list below between the SUBSYSTEM...\n"
"# and LABEL... lines.\n"
@@ -3173,6 +3173,7 @@
print_udev_header ();
printf ("\nACTION!=\"add\", GOTO=\"libsane_rules_end\"\n");
+ puts("BUS==\"scsi\", SYSFS{type}==\"6\", MODE=\"660\", GROUP=\"scanner\"");
printf ("SUBSYSTEM!=\"usb_device\", GOTO=\"libsane_rules_end\"\n\n");
while (usbid)
{
|