You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# installation howto for fedora users (some steps may be missing) plus I need help with my bug
# first install the scanner with hplip rpm package and run hp-setup and hp-plugin
sudo dnf install libusb-devel libconfuse-devel libudev-devel dbus-devel sane-backends-devel sane-backends-daemon
# sane-backends-daemon installs saned user and group
# see README for scanbd
./configure --disable-Werror
# do not use --enable-scanbuttond ; this just enables older drivers which mask the ones we want
make all
sudo make install
# backup the following two files to .orig
/etc/sane.d/saned.conf (two line file)
------------>
connect_timeout = 3
localhost
<--------------
/etc/sane.d/dll.conf (one line file)
------------->
net
<-------------
sudo cp integration/scanbd_dbus.conf /etc/dbus-1/system.d
# reboot
# turn on scanner
sudo cp -a /etc/sane.d/dll.d /usr/local/etc/scanbd/
sudo cp -a /etc/sane.d/hp* /usr/local/etc/scanbd/
sudo cp -a /etc/sane.d/dll.conf.orig /usr/local/etc/scanbd/dll.conf
# edit and remove "net" line from previous file dll.conf; this is the original file ...
# from /etc/sane.d with the driver for the hp scanner uncommented;
edit /usr/local/etc/scanbd/scanbd.conf (this is for fedora) (only changes to defaults are shown)
------------->
user = saned
group = saned
# group = scanner ??????
# hp drivers
scanbuttond_backends_dir = "/usr/lib/sane"
environment {
device = "dbus device"
action = "insert"
}
function function_knob {
filter = "^source.*"
desc = "The value of the function knob / wheel / selector"
# fixme
env = "SCANBD_FUNCTION"
}
action preview {
filter = "^preview.*"
numerical-trigger {
from-value = 0
to-value = 1
}
desc = "Preview"
script = "test.script"
}
# include(scanner.d/hp.conf)
include(scanner.d/myscanner.conf)
<-------------
/usr/local/etc/scanbd/scanner.d/myscanner.conf is the same as /usr/local/etc/scanbd/scanner.d/hp.conf except:
------------->
device hp2500 {
filter = "^hpgt2500.*"
desc = "HP"
action test {
filter = ".*preview.*"
desc = "test"
script = "test.script"
}
}
<-------------
sudo systemctl enable --now saned.socket
sudo systemctl enable --now scanbd # also sets up another socket
sudo systemctl status scanbd
journalctl -f
# try scanning buttons nothing happens
Thanks for the effort of gathering the debug logs and information. Unfortunately I am only an occasional user and don't know how to help. You may have some luck searching the web for "sane" or "twain" as well as "hp2500 scanner support"
wg.scanlog.2021-08-25T08:20:31-07:00.log
can anyone help or show me why this scanner does not work please?
The text was updated successfully, but these errors were encountered: