Re: [sane-devel] Iscan and Ubuntu 17.10/18.04 fixed
Am 18.11.2017 um 12:26 schrieb Olaf Meeuwissen: Actually, I'd leave them where they are and create symlinks to them from where they are expected. After moving them back to /usr/lib/sane cd /usr/lib/x86_64-linux-gnu/sane ln -s ../../sane/libsane-epkowa.la ln -s ../../sane/libsane-epkowa.so.1 ln -s ../../sane/libsane-epkowa.so.1.0.15 Dear Olaf I discovered this after my post by myself ... Nevertheless many thanks for your kind advice. And yes you are right: no reboot needed. In the meanwhile we got the following backends working by doing these steps: 1.Brother: brscan, brscan2, brscan3 a) 'sudo ln -sfr /usr/lib64/libbr* /usr/lib/x86_64-linux-gnu' b) 'sudo ln -sfr /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane' c) generate '/etc/udev/rules.d/59-udev-local.rules' content: # Brother brscan devices ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="*", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes" 2. Epson Iscan a) 'sudo ln -sfr /usr/lib/sane/libsane-epkowa* /usr/lib/x86_64-linux-gnu/sane' b) generate '/etc/udev/rules.d/79-udev-epson.rules' content: # chmod device EPSON group ATTRS{manufacturer}=="EPSON", DRIVERS=="usb", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="*", MODE="0777" 3. Xerox Workcentre 3225 a) 'sudo ln -sfr /usr/lib/sane/libsane-smfp* /usr/lib/x86_64-linux-gnu/sane' b) 'sudo adduser $USER lp' Only brscan4 refuses to work for what reason ever (it works only as root and only with xsane, no scanimage, no scantopdf ...) currently we try discover if any 'special' udev rules are missing and generating them might work. Any help/advice appreciated. The owner of the brscan4 Scanner asked Brother. They replied: "read the faq, or check over internet if there are solutions from the community". current state can be observed here https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1728012 Some people call using 'MODE="0777" for epson dangerous. The rule was installed by the epson-printer-utility. With the rule Iscan works, without not. Thanks for your kind interest Klaus Staedtler -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Iscan and Ubuntu 17.10/18.04 fixed
Hi, staedtler-przyborski writes: > Dear Sane developers, > > all Iscan dependend Epson scanners refused to work with Ubuntu 17.10 > (and 18.04) > > see https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1707352. What a mess. Changing the package name from libsane to libsane1 and then expecting nothing breaks??? The Provides: libsane is absolutely required until all depending packages have been updated to require the new libsane1 package. The issue with third party package does not end there. A lot of them were created before "multi-arch" so they install in /usr/lib/sane or /usr/lib64/sane, not in some really architecture dependent place such as /usr/lib/x86_64-linux-gnu/sane. There is little change that third party *vendor* packages will be rebuilt to fix this. As far as iscan and its interpreters are concerned, to the best of my knowledge they are no longer actively maintained. Good luck prodding EPSON in fixing this. # Full disclosure: I work at a daughter company of EPSON and have been # taking care of iscan for over a decade (and spent about five years # working on utsushi, aka imagescan). > I know it is not your fault. But maybe some users try to find a solution > on the sane-devel-mailing- list. Fortunately not. > I discovered today a simple fix for this bug (after updating libsane to > :libsane1 1.0.27- > > 1~experimental2ubuntu2.1, curently in proposed). > > Copy (or move) the files from /usr/lib/sane (libsane-epkowa.la, libsane- > epkowa.so.1, libsane-epkowa.so.1.0.15 in my case) to > /usr/lib/x86_64-linux-gnu/sane Actually, I'd leave them where they are and create symlinks to them from where they are expected. After moving them back to /usr/lib/sane cd /usr/lib/x86_64-linux-gnu/sane ln -s ../../sane/libsane-epkowa.la ln -s ../../sane/libsane-epkowa.so.1 ln -s ../../sane/libsane-epkowa.so.1.0.15 > after a reboot the Iscan dependend scanners (verified with a Epson V300) > start to work. You shouldn't have to reboot. Just restart your application. > Maybe Epson delivers updated packages some day so the manual correction > will be unnecessary Like I said, good luck with that. Hope this helps -- Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Softwarehttps://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Saned systemd issues
On 11/18/2017 02:48 AM, ToddAndMargo wrote: Note that I can use the name saned\@.service name due to a very long standing bug: that should have been "can not" :'( -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] Saned systemd issues
Hi All, Scientific Linux 7.4 (RHEL Clone based on CentOS) # rpm -qa sane-backends sane-backends-1.0.24-9.el7.x86_64 I can start /usr/sbin/saned from the command line: /usr/sbin/saned -a saned -d128; echo $?; ps ax | grep -i [s]aned 0 29857 ?Ss 0:00 /usr/sbin/saned -a saned -d128 But not from my systemd scripts, which I picked up from "man saned". Note that I can use the name saned\@.service name due to a very long standing bug: 'systemctl' does not properly run the 'start', 'restart' or 'status' for a .service file containing an '@' https://bugzilla.redhat.com/show_bug.cgi?id=1142369 In my case it gives: Failed to start saned@.service: Unit name saned@.service is missing the instance name. So I called 'saned\@.service" "saned\@sane.service" [Unit] Description=saned incoming socket [Socket] ListenStream=6566 Accept=yes MaxConnections=1 [Install] WantedBy=sockets.target [Unit] Description=Scanner Service Requires=saned.socket [Service] RemainAfterExit=yes ExecStart=/usr/sbin/saned -a saned -s User=saned Group=saned # User=root # Group=root StandardInput=null StandardOutput=syslog StandardError=syslog Environment=SANE_CONFIG_DIR=/etc/sane.d # If you need to debug your configuration uncomment the next line and # change it as appropriate to set the desired debug options Environment=SANE_DEBUG_DLL=255 SANE_DEBUG_BJNP=5 [Install] Also=saned.socket Error message is # systemctl daemon-reload; systemctl stop saned.socket; systemctl stop saned\@sane.service; systemctl start saned.socket; systemctl start saned\@sane.service; systemctl -l status saned\@sane.service; ps ax | grep [s]aned ● saned@sane.service - Scanner Service Loaded: loaded (/etc/systemd/system/saned@sane.service; indirect; vendor preset: disabled) Active: active (exited) since Sat 2017-11-18 02:42:54 PST; 46ms ago Process: 31110 ExecStart=/usr/sbin/saned (code=exited, status=0/SUCCESS) Main PID: 31110 (code=exited, status=0/SUCCESS) Nov 18 02:42:54 rn4.rent-a-nerd.local systemd[1]: Started Scanner Service. Nov 18 02:42:54 rn4.rent-a-nerd.local systemd[1]: Starting Scanner Service... Nov 18 02:42:54 rn4.rent-a-nerd.local saned[31110]: saned (AF-indep+IPv6) from sane-backends 1.0.24 starting up ps command is empty How do I troubleshoot this? Why did it succeed and exit? And were are the logs for 'Environment=SANE_DEBUG_DLL=255 SANE_DEBUG_BJNP=5"? Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~ -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] how do you use "saned -d and -s?
Dear list, Scientific Linux 7.4 (RHEL Clone based on CentOS) # rpm -qa sane-backends sane-backends-1.0.24-9.el7.x86_64 # ps ax | grep [s]aned 29857 ?Ss 0:00 /usr/sbin/saned -a saned -d128 How do I use /usr/sbin/saned -a saned -d128 or -s to see why a scanner command is crashing? Simple Scan works. PDF Studio requires saned be running and does find the scanner, gives me the following error: com.qoppa.uk.b.b.e.m: Invalid operation at com.qoppa.uk.b.b.e.k.b(Unknown Source) at com.qoppa.uk.b.b.b.o.fc(Unknown Source) at com.qoppa.uk.b.b.b.o.wb(Unknown Source) at com.qoppa.pdfStudio.k.p.d(Unknown Source) at com.qoppa.pdfStudio.k.p.e(Unknown Source) at com.qoppa.pdfStudio.k.p.s(Unknown Source) at com.qoppa.pdfStudio.l.vd.dae(Unknown Source) at com.qoppa.pdfStudio.l.vd.fzd(Unknown Source) at com.qoppa.pdfStudio.l.vd$14.run(Unknown Source) at java.lang.Thread.run(Thread.java:748) Many thanks, -T -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
Re: [sane-devel] Can't use scanner on Mac High Sierra (10.13)
Hi again, Olaf Meeuwissen writes: > Hi Tom, > > Cc:ing the list for the benefit of everyone. > > Tom Myers writes: > >> I have faith that we will get the code to work with High Sierra. I >> have now been able to build the software now and in my “spare” time >> trying to debug why it isn’t connecting. It works on 10.11, but not >> 10.12 or 10.13 so I am hopeful either I find the problem or the group >> finds the issue. I figured since I have access to the 12000XL and >> noticed it wasn’t in there I would share it with the group. >> >> Thanks for all the work you do. >> >>> On Nov 9, 2017, at 7:51 AM, Olaf Meeuwissen>>> wrote: >>> >>> Hi Tom, >>> >>> Tom Myers writes: >>> I have been able to build the SANE-Backends-1.0.27 But running it gives a problem on USB scanners. It works fine with network scanner ――― Building --- ./configure BACKENDS="epson2" PRELOADABLE_BACKENDS="epson2" --with-usb make make install Note it would be great if the epson2.desc file be updated for the new 12000XL :model "Expression 12000XL" :interface "USB" :usbid "0x04b8" "0x015b" :status :good :comment"overseas version of the DS-G2" >>> >>> I'd gladly do so but ... seeing that you have trouble using it via USB >>> on your Mac, what makes you confidently say that this should be added to >>> the epson2.desc file? > > So seeing that it works on 10.11 (but not on 10.12 and 10.13, yet?), > I'll add it to the epson2.desc (and epson2_usb.c) file. Done. Changes are in d6a93b83. Hope this helps, -- Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 Support Free Softwarehttps://my.fsf.org/donate Join the Free Software Foundation https://my.fsf.org/join -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org