{"id":1659,"date":"2016-02-20T01:48:17","date_gmt":"2016-02-20T01:48:17","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1659"},"modified":"2016-02-20T01:48:17","modified_gmt":"2016-02-20T01:48:17","slug":"udev-getting-an-old-scanner-to-behave","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1659","title":{"rendered":"UDEV &#8211; Getting an Old Scanner to Behave.."},"content":{"rendered":"<p>I recently acquired a vintage (2006?) Minolta Elite 5400 II scanner, and &#8211; according to the VueScan support info, I needed to &#8221;set up libusb device protections&#8221;..\u00a0\u00a0 That info included a link to a somewhat ancient SANE USB support page &#8211; last changed in 2003!..<\/p>\n<p>That rang a bell, and I guessed that I had to mess about with good old UDEV again, after many years..<\/p>\n<p>Sure enough, the scanner showed up ok:<\/p>\n<pre><span style=\"font-family: courier new,courier;\"><strong># lsusb |grep Minolta<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>Bus 001 Device 019: ID 132b:0012 Konica Minolta Dimage Scan Elite 5400 II (2892)<\/strong><\/span><\/pre>\n<p>&#8211; but would only work if I ran the scanner utility as &#8216;root&#8217;&#8230;<\/p>\n<p>I had some notes on making an Epson scanner work, from 2008, but that was somewhat out-of-date &#8211; mentioning the use of good old <em>usbfs<\/em> etc etc..<\/p>\n<p>As usual, there is a lot of searchable information on this topic, but much of it is tragically out-of-date &#8211; and some is just inaccurate speculation..<\/p>\n<p>The solution is actually fairly simple, these days..<\/p>\n<p>On my Fedora 23 system, I just had to add a &#8216;.rules&#8217; file under the <strong><span style=\"font-family: courier new,courier;\">\/etc\/udev\/rules.d<\/span><\/strong> directory (not the one at <span style=\"font-family: courier new,courier;\">\/lib\/udev\/rules.d<\/span>!)<\/p>\n<p>I created a text file &#8216;<strong><span style=\"font-family: courier new,courier;\">50-scanner.rules<\/span><\/strong>&#8216; with the following contents, including the <strong>vendor<\/strong> and <strong>product<\/strong> ids from the <span style=\"font-family: courier new,courier;\"><strong># lsusb<\/strong><\/span> output:<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\"># Minolta Dimage 5400 II (added Feb 2016. RG)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">ATTRS{idVendor}==\"132b\", ATTRS{idProduct}==\"0012\", ENV{libsane_matched}=\"yes\", GROUP=\"users\", MODE=\"0660\"<\/span><\/strong><\/pre>\n<p>To save time, I just added myself to the &#8216;<em>users<\/em>&#8216; group.. You could create a new &#8216;<em>scanners<\/em>&#8216; group and add yourself to it, and change the GROUP= parameter accordingly&#8230;<\/p>\n<p>Just power-cycle the scanner, and everything should work correctly..\u00a0\u00a0\u00a0\u00a0\u00a0 Scan output quality is excellent&#8230; \u00a0 Shame they stopped production some years back&#8230;<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 February 19, 2016.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently acquired a vintage (2006?) Minolta Elite 5400 II scanner, and &#8211; according to the VueScan support info, I needed to &#8221;set up libusb device protections&#8221;..\u00a0\u00a0 That info included a link to a somewhat ancient SANE USB support page &#8211; last changed in 2003!.. That rang a bell, and I guessed that I had to mess <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1659\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1238,11,15,19,20,350],"tags":[161,1273,1272,1271,1175,376,383],"class_list":["post-1659","post","type-post","status-publish","format-standard","hentry","category-fix","category-hacks","category-linux-2","category-opinion","category-performance-2","category-success","tag-fix","tag-minolta-5400-ii","tag-rules","tag-scanner","tag-success","tag-udev","tag-usb"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1659"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1659\/revisions"}],"predecessor-version":[{"id":1661,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1659\/revisions\/1661"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}