[Bug 1532582] Re: Regression: SnapScan 1212U stuck after scanning one page
I've booted Ubuntu 14.04.5 from the LiveUSB prepared using: dd if=ubuntu-14.04.5-desktop-amd64.iso of=/dev/sdX bs=4M and couldn't reproduce the problem with my 1212U. In case of openSUSE a very similar problem has appeared to be caused by the tlp package (and its /usr/lib/udev/tlp-usb-udev bash script). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532582 Title: Regression: SnapScan 1212U stuck after scanning one page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1532582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1532582] Re: Regression: SnapScan 1212U stuck after scanning one page
The workaround with a power management (keeping scanner turned on) is supposed to be handled by a udev rule. If you check /etc/udev/rules.d/ there should be a rule with something like: ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'" I have a very similar problem with AGFA 1212u when using the latest openSUSE releases: https://bugzilla.opensuse.org/show_bug.cgi?id=1124909 In openSUSE case there is *something* that switches scanner's power control from "on" back to the "auto" value. ** Bug watch added: bugzilla.opensuse.org/ #1124909 https://bugzilla.opensuse.org/show_bug.cgi?id=1124909 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532582 Title: Regression: SnapScan 1212U stuck after scanning one page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1532582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1532582] Re: Regression: SnapScan 1212U stuck after scanning one page
[Expired for sane-backends (Ubuntu) because there has been no activity for 60 days.] ** Changed in: sane-backends (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532582 Title: Regression: SnapScan 1212U stuck after scanning one page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1532582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1532582] Re: Regression: SnapScan 1212U stuck after scanning one page
bug 1532582 and bug 1184699 both talk about scanning to work for only a single page -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532582 Title: Regression: SnapScan 1212U stuck after scanning one page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1532582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1532582] Re: Regression: SnapScan 1212U stuck after scanning one page
dronus, thank you for reporting this and helping make Ubuntu better. To see if this is already resolved in Ubuntu, could you please test http://cdimage.ubuntu.com/daily-live/current/ and advise to the results? ** Description changed: If I scan a page using the Agfa SnapScan 1212u, the scanner bar does not return to the edge but stops in the middle of the scanner at which point the scanner powers off. If one now tries to do another scan, the motor give a squeeking sound for some seconds without movement, and the software reports a connection failure. If the scanner USB connection is un- and replugged, the slit returns to it's home position and it works again.. for one scan. Some time ago, the scanner worked fine. I don't know how long this is ago. + + WORKAROUND: Manually disable scanner USB autosuspend by executing as root: + echo -1 >/sys/bus/usb/devices/USB_ADDRESS_OF_SCANNER/power/autosuspend ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: libsane 1.0.23-3ubuntu3.1 ProcVersionSignature: Ubuntu 3.19.0-42.48~14.04.1-generic 3.19.8-ckt10 Uname: Linux 3.19.0-42-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 CurrentDesktop: Unity Date: Sun Jan 10 19:21:08 2016 EcryptfsInUse: Yes InstallationDate: Installed on 2015-11-22 (49 days ago) InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) SourcePackage: sane-backends UpgradeStatus: No upgrade log present (probably fresh install) ** Changed in: sane-backends (Ubuntu) Importance: Undecided => Low ** Changed in: sane-backends (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532582 Title: Regression: SnapScan 1212U stuck after scanning one page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1532582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1532582] Re: Regression: SnapScan 1212U stuck after scanning one page
The problem can be fixed by manually disabling USB autosuspend for the scanner by doing echo -1 >/sys/bus/usb/devices/USB_ADDRESS_OF_SCANNER/power/autosuspend as root. I guess an udev rule has to be added for that. However, the scanner would then power on while plugged all the time. So I guess it would be better if the sane backend would keep the device open until the scanner slit is retracted to it's home position, and then close it, allowing autosuspend power off the device. On the proprietary windows driver, the scanner is kept alive for some minutes until it is shut down. This is meant to keep the lamp warm which needs to be preheated after power off I guess. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1532582 Title: Regression: SnapScan 1212U stuck after scanning one page To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1532582/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs