Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to tell if scanner is simply not supported hp scanjet pro 2500 f1 #5

Open
garberw opened this issue Aug 25, 2021 · 1 comment
Open

Comments

@garberw
Copy link

garberw commented Aug 25, 2021


# 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

wg.scanlog.2021-08-25T08:20:31-07:00.log
can anyone help or show me why this scanner does not work please?

@mdengler
Copy link
Owner

mdengler commented Aug 26, 2021

why does this scanner not work

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants