change to udev-hwdb like sane did
This commit is contained in:
1 parent
f72e24d82e
commit
24bbe17a27
4 files changed
+25
-28
No files matched your search
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/gawk -f
|
||||
BEGIN {
|
||||
FS = ",";
|
||||
print "# brscan4-supported scanners (or interfaces of MFD)";
|
||||
print "";
|
||||
}
|
||||
NF >= 3 && $1 ~ /^0[xX][[:xdigit:]]{4}$/ {
|
||||
id = tolower( substr( $1, 3 ));
|
||||
name = $4
|
||||
gsub("\"", "", name)
|
||||
print "# " name;
|
||||
print "usb:v04f9p" id "*";
|
||||
print " libsane_matched=yes";
|
||||
print "";
|
||||
}
|
||||
Reference in new issue
Block a user