<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 11, 2018 at 10:31 AM, Aveek Basu <span dir="ltr"><<a href="mailto:aveek.basu@lexmark.com" target="_blank">aveek.basu@lexmark.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I did some more investigation and here are the details in short:</div><div><br></div><div><b><font size="4" color="#0000ff">1. libusb version 0.1-4 is not installed:</font></b></div><div><br></div><div>It has been observed in Ubuntu 17.10 (x86) / (x64) & Ubuntu 18.04 that <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">libusb version 0.1-4<span> </span></span> is not installed properly. Lexmark Scanner drivers require <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">libusb version 0.1-4 for the scanners to get detected.</span></div><div><br></div><div>This seems to be a Ubuntu issue and nothing specific to any application. </div><div><br></div><div><b>Bug logged:</b> <a href="https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/1770653" target="_blank">https://bugs.<wbr>launchpad.net/ubuntu/+source/<wbr>xsane/+bug/1770653</a>.</div><div><br></div><div><font size="4" color="#0000ff"><b></b></font></div></div></blockquote><div><br></div><div>Not a bug. OS vendors are allowed to stop shipping outdated libraries, and that version of libusb is ancient.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font size="4" color="#0000ff"><b>2.</b> <b>XSANE looking for driver files in different paths:</b></font></div><div><b><br></b></div><div>Usually XSANE used to look for the driver files in <font face="Arial" color="#000000"><span style="white-space:pre-wrap"> /usr/lib/sane for 32 bit version of the Ubuntu OS and /usr/lib64/sane for the 64 bit version of the Ubuntu OS. This was the case at-least till Ubuntu 14.10. After that there seems to be discrepancies in the locations XSANE is trying to find the driver files. Details mentioned below:</span></font></div><div><font face="Arial" color="#000000"><span style="white-space:pre-wrap"><br></span></font></div><div><table dir="ltr" style="table-layout:fixed;font-size:10pt;font-family:arial,sans,sans-serif;width:0px;border-collapse:collapse;border:none" cellspacing="0" cellpadding="0" border="1"><colgroup><col width="100"><col width="132"><col width="117"><col width="126"><col width="230"></colgroup><tbody><tr style="height:21px"><td style="border:1px solid rgb(0,0,0);overflow:hidden;padding:2px 3px;vertical-align:middle;background-color:rgb(255,255,0);font-family:Arial;font-size:11pt;font-weight:bold;text-align:center" rowspan="2" colspan="1"><span><div style="max-height:42px">OS</div></span></td><td style="border-width:1px;border-style:solid;border-color:rgb(0,0,0) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(255,255,0);font-family:Arial;font-size:11pt;font-weight:bold;text-align:center" rowspan="1" colspan="4">OS locations searched by XSANE for the Driver Files</td></tr><tr style="height:21px"><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(255,255,0);font-family:Arial;font-size:11pt;font-weight:bold;text-align:center">Ubuntu 14.10</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(255,255,0);font-family:Arial;font-size:11pt;font-weight:bold;text-align:center">Ubuntu 16.04</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(255,255,0);font-family:Arial;font-size:11pt;font-weight:bold;text-align:center">Ubuntu 16.10</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(255,255,0);font-family:Arial;font-size:11pt;font-weight:bold;text-align:center">Ubuntu 17.10/18.04</td></tr><tr style="height:21px"><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(255,255,0);font-family:Arial;font-size:11pt;font-weight:bold;text-align:center">x86</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;font-family:Arial;font-size:11pt;font-weight:normal"> /usr/lib/sane</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;font-family:Arial;font-size:11pt;font-weight:normal"> /usr/lib/sane</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;font-family:Arial;font-size:11pt;font-weight:normal"> /usr/lib/sane</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(244,204,204);font-family:Arial;font-size:11pt;font-weight:normal">/usr/lib/i386-linux-gnu/sane</td></tr><tr style="height:21px"><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(255,255,0);font-family:Arial;font-size:11pt;font-weight:bold;text-align:center">x64</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;font-family:Arial;font-size:11pt;font-weight:normal">/usr/lib64/sane</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(244,204,204);font-family:Arial;font-size:11pt;font-weight:normal"> /usr/lib/sane</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(244,204,204);font-family:Arial;font-size:11pt;font-weight:normal"> /usr/lib/sane</td><td style="border-width:1px;border-style:solid;border-color:rgb(204,204,204) rgb(0,0,0) rgb(0,0,0) rgb(204,204,204);overflow:hidden;padding:2px 3px;vertical-align:bottom;background-color:rgb(244,204,204);font-family:Arial;font-size:11pt;font-weight:normal"> /usr/lib/x86_64-linux-gnu/sane</td></tr></tbody></table></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255)"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><br></div></span></div><div><span style="background-color:rgb(255,255,255)">So now the question is which should be the perfect path for XSANE to look for the driver files. If "</span><span style="color:rgb(34,34,34);font-family:Arial;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="background-color:rgb(255,255,255)"><b>/usr/lib/i386-linux-gnu/sane</b>" and "<span style="color:rgb(34,34,34);font-family:Arial;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><b>/usr/lib/x86_64-linux-gnu/<wbr>sane</b></span><span style="font-weight:400;color:rgb(34,34,34);font-family:Arial;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">" are the confirmed new locations then the driver has to change. Need a confirmation on the same.</span></span></span></div><div><span style="color:rgb(34,34,34);font-family:Arial;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="background-color:rgb(255,255,255)"><span style="font-weight:400;color:rgb(34,34,34);font-family:Arial;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></span></div><div><span style="color:rgb(34,34,34);font-family:Arial;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:Arial;font-size:14.6667px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><b>Bug logged: </b></span></span></span><font face="Arial"><span style="font-size:14.6667px"><a href="https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/1770656" target="_blank">https://bugs.<wbr>launchpad.net/ubuntu/+source/<wbr>xsane/+bug/1770656</a></span></font></div><div><br></div></div></blockquote><div><br></div><div>Again, not a bug, recent Linux distros have started to package libraries in this way. <br></div><div><br></div><div>You'll need to update your packages based on OS version, the same as you do for your Windows drivers. Though, another solution to the problem would be to open source your driver, and let the community package it for you :)<br></div><div><br clear="all"></div></div>allan<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">"well, I stand up next to a mountain- and I chop it down with the edge of my hand"</div>
</div></div>