openwrt-packages/utils/sane-backends
Luiz Angelo Daros de Luca 7dd2e1776e sane-backends: rebind printers to usblp after scan
While scanning, sane unbinds usb device from usblp module. This
patch creates a saned wrapper that keep track of all usb devices
binded to usblp before saned is launched and rebind them back
if not still bound after saned exits.

This workaround is only effective if saned is launched by a super
daemon like xinetd as it needs to exit after scan job finish. If
not, printing will not be available while saned service is running.

Write access to /sys/bus/usb/drivers/usblp/bind is required. So,
normally it would require root access.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2019-05-02 03:31:45 -03:00
..
files sane-backends: rebind printers to usblp after scan 2019-05-02 03:31:45 -03:00
patches sane-backends: bump to 1.0.27 2017-05-31 00:18:23 -03:00
Makefile sane-backends: rebind printers to usblp after scan 2019-05-02 03:31:45 -03:00