<div dir="ltr"><div><div><div><div>About the terrible noise... Gerhard (or others), do you need any more testing from Winni and me? At the moment, a value of 0.76 for dMaxMotorSpeed seems to be fine for both of us.<br><br>

Winni, if you still have problems running sane as a non-privileged user, try to read here:<br><br><a href="http://www.sane-project.org/README.linux">http://www.sane-project.org/README.linux</a><br><br></div>and also <a href="http://ubuntuforums.org/showthread.php?t=1565846&page=2&s=736558689cd343dc4c4af0d3cabe7a4e">http://ubuntuforums.org/showthread.php?t=1565846&page=2&s=736558689cd343dc4c4af0d3cabe7a4e</a> (last post)<br>

<br></div>and here: <a href="http://manpages.ubuntu.com/manpages/hardy/man5/sane-usb.5.html">http://manpages.ubuntu.com/manpages/hardy/man5/sane-usb.5.html</a> (LIBUSB section)<br><br></div>and also, maybe, here: <a href="https://help.ubuntu.com/community/ScanningHowTo#Permission_Issues">https://help.ubuntu.com/community/ScanningHowTo#Permission_Issues</a><br>

<br></div>or simply among here ;-) : <a href="http://www.google.it/#q=xsane+works+only+root+ubuntu+12.04">http://www.google.it/#q=xsane+works+only+root+ubuntu+12.04</a><br><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">

Best regards,<br>Andrea<br></div><div class="gmail_extra"><br><div class="gmail_quote">2013/9/3 Winni <span dir="ltr"><<a href="mailto:"windose"@kabelmail.de" target="_blank">"windose"@kabelmail.de</a>></span><br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
with the help of Andrea Vai I was able to modify the file<br>
plustek-usbdevs.c @ line 2064 entering 0.76 for dMaxMotorSpeed.<br>
<br>
After that Andrea Vai showed me via Email recompiling sane-backends-git20130901<br>
<br>
Only recompiling did not work, so we had to rename and modify the symbolic links in /usr/lib/x86_64-linux-gnu/sane from<br>
<br>
libsane-plustek.so -> /usr/lib/sane/libsane-plustek.<u></u>so.1.0.22<br>
libsane-plustek.so.1 -> /usr/lib/sane/libsane-plustek.<u></u>so.1.0.22<br>
<br>
to<br>
<br>
libsane-plustek.so -> /usr/lib/sane/libsane-plustek.<u></u>so.1.0.24<br>
libsane-plustek.so.1 -> /usr/lib/sane/libsane-plustek.<u></u>so.1.0.24<br>
<br>
output scanimage -L<br>
<br>
[sanei_debug] Setting debug level of plustek to 5.<br>
[plustek] Plustek backend V0.52-11, part of sane-backends 1.0.24git<br>
[plustek] Retrieving all supported and conntected devices<br>
[plustek] Available and supported devices:<br>
[plustek] Device: >libusb:006:002< - 0x04a9x0x2206<br>
[plustek] usbDev_open(auto,) - 0xbcae70<br>
[plustek] Vendor ID=0x04A9, Product ID=0x2206<br>
[plustek] usbio_DetectLM983x<br>
[plustek] usbio_DetectLM983x: found LM9832/3<br>
[plustek] Detected vendor & product ID: 0x04A9-0x2206<br>
[plustek] Device description for >0x04A9-0x2206< found.<br>
[plustek] usb_initDev(38,0x04a9,-1)<br>
[plustek] Device WAF  : 0x00004002<br>
[plustek] Transferrate: 1000000 Bytes/s<br>
[plustek] Device Flags: 0x00000000<br>
[plustek] Vendor adjusted to: >Canon<<br>
[plustek] LAMP-STATUS: 0x00000000 (off)<br>
[plustek] RESETTING REGISTERS(-1) - 0x80<br>
[plustek] MISC I/O after RESET: 0x66, 0x16, 0x91<br>
[plustek] Calibration file-names set to:<br>
[plustek] >/root/.sane/Canon_CanoScan_<u></u>N650U_N656U-coarse.cal<<br>
[plustek] >/root/.sane/Canon_CanoScan_<u></u>N650U_N656U-fine.cal<<br>
[plustek] usb_SetScanParameters()<br>
[plustek] usb_GetMCLKDivider()<br>
[plustek] usb_GetMCLKDiv()<br>
[plustek] * PhyBytes   = 6<br>
[plustek] * PhyLines   = 4<br>
[plustek] * TotalBytes = 24<br>
[plustek] * Scansteps=72 (9*1200/150)<br>
[plustek] usb_SetScanParameters() done.<br>
[plustek] usbDev_getCaps()<br>
[plustek] Scanner information:<br>
[plustek] Vendor : Canon<br>
[plustek] Model  : CanoScan N650U/N656U<br>
[plustek] Flags  : 0x00000000<br>
[plustek] drvclose()<br>
[plustek] usbDev_stopScan()<br>
[plustek] usbDev_ScanEnd(), start=0, park=0<br>
[plustek] usbDev_close()<br>
device `v4l:/dev/video0' is a Noname WebCam SCB-0320N virtual device<br>
device `plustek:libusb:006:002' is a Canon CanoScan N650U/N656U flatbed scanner<br>
[plustek] Shutdown called (dev->fd=-1, libusb:006:002)<br>
[plustek] Waiting for scanner-ready...<br>
[plustek] Switching lamp off...<br>
[plustek] LAMP-STATUS: 0x00000000 (off)<br>
[plustek] LAMP-STATUS: 0x00000000 (off)<br>
[plustek] Lamp-Timer stopped<br>
<br>
<br>
BUT (!) with KanotixDFx86_64 Distro I can only start the GUI Frontend as root with [ALT f2] kdesu XSane<br>
<br>
then I get a dialogue-box which tells me in German ( I translate)<br>
<br>
#Warning<br>
#You try to execute XSane as ROOT. This is really DANGEROUS!<br>
#Don't send any error messages if you get problems when executing XSane #as root. You are alone !<br>
<br>
Then I can choose between 'continue on your own risk' or 'cancel'<br>
<br>
Thus, I am alone I go on on my own risk and there you see.<br>
<br>
My Canonscan 650U scans as it should. I tried different resolutions.<br>
NO TERRIBLE SOUND !!! YES !!!<br>
<br>
I guess it has something to do with rights that I have to use Xsane and scanimage -L as root, because using the normal user the device will not be recognized. So if someone here has an idea it is highly appreciated.<br>
<br>
Until now thank you very much to Andrea Vai showing me how to recompile and tweak.<br>
<br>
Regards,<br>
Winni<br>
<br>
<br></blockquote></div></div></div></div></div>