Public bug reported:

Ubuntu 18.04

Install scanbd and run from root (no need any permisions troubles for
now)

sudo apt-get install scanbd

root@ubuntu1804:~# SANE_CONFIG_DIR=/etc/sane.d scanbd -d7 -f
scanbd: foreground
scanbd: reading config file /etc/scanbd/scanbd.conf
scanbd: debug on: level: 7
scanbd: dropping privs to uid saned
scanbd: dropping privs to gid scanner
scanbd: group scanner has member: 
scanbd: saned
scanbd: drop privileges to gid: 120
scanbd: Running as effective gid 120
scanbd: drop privileges to uid: 115
scanbd: Running as effective uid 115
scanbd: dbus_init
scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'
scanbd: SANE_CONFIG_DIR=/etc/sane.d
scanbd: sane version 1.0
scanbd: Scanning for local-only devices
scanbd: start_sane_threads
scanbd: no devices, not starting any polling thread
scanbd: start dbus thread

Something wrong. Scanbd can not find scanner.
Compile package by self.

sudo apt-get install build-essential checkinstall pkg-config libconfuse-dev 
libsane-dev libudev-dev libusb-dev libdbus-1-dev
./configure
make all
sudo checkinstall

root@ubuntu1804:~# SANE_CONFIG_DIR=/etc/sane.d scanbd -d7 -f
scanbd: foreground
scanbd: reading config file /usr/local/etc/scanbd/scanbd.conf
scanbd: debug on: level: 7
scanbd: dropping privs to uid saned
scanbd: dropping privs to gid lp
scanbd: drop privileges to gid: 7
scanbd: Running as effective gid 7
scanbd: drop privileges to uid: 115
scanbd: Running as effective uid 115
scanbd: dbus_init
scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'
scanbd: SANE_CONFIG_DIR=/etc/sane.d
scanbd: sane version 1.0
scanbd: Scanning for local-only devices
scanbd: found device: snapscan:libusb:001:002 EPSON EPSON Scanner flatbed 
scanner
scanbd: start_sane_threads

Success! Scanner has been found.

I think that key in this. From readme.txt:
"If you want to use the scanbuttond-backends instead of sane-backends, use
--enable-scanbuttond for configure."

PS: It's old prloblem https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=824450 - "I'm still wondering what's wrong with
the Debian package itself."

** Affects: scanbd (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Ubuntu 18.04
  
  Install scanbd and run from root (no need any permisions troubles for
  now)
  
  sudo apt-get install scanbd
  
  root@ubuntu1804:~# SANE_CONFIG_DIR=/etc/sane.d scanbd -d7 -f
  scanbd: foreground
- scanbd: reading config file /usr/local/etc/scanbd/scanbd.conf
+ scanbd: reading config file /etc/scanbd/scanbd.conf
  scanbd: debug on: level: 7
  scanbd: dropping privs to uid saned
- scanbd: dropping privs to gid lp
- scanbd: drop privileges to gid: 7
- scanbd: Running as effective gid 7
+ scanbd: dropping privs to gid scanner
+ scanbd: group scanner has member: 
+ scanbd: saned
+ scanbd: drop privileges to gid: 120
+ scanbd: Running as effective gid 120
  scanbd: drop privileges to uid: 115
  scanbd: Running as effective uid 115
  scanbd: dbus_init
  scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'
  scanbd: SANE_CONFIG_DIR=/etc/sane.d
  scanbd: sane version 1.0
  scanbd: Scanning for local-only devices
- scanbd: found device: snapscan:libusb:001:002 EPSON EPSON Scanner flatbed 
scanner
  scanbd: start_sane_threads
- 
+ scanbd: no devices, not starting any polling thread
+ scanbd: start dbus thread
  
  Something wrong. Scanbd can not find scanner.
  Compile package by self.
- 
  
  sudo apt-get install build-essential checkinstall pkg-config libconfuse-dev 
libsane-dev libudev-dev libusb-dev libdbus-1-dev
  ./configure
  make all
  sudo checkinstall
  
  root@ubuntu1804:~# SANE_CONFIG_DIR=/etc/sane.d scanbd -d7 -f
  scanbd: foreground
  scanbd: reading config file /usr/local/etc/scanbd/scanbd.conf
  scanbd: debug on: level: 7
  scanbd: dropping privs to uid saned
  scanbd: dropping privs to gid lp
  scanbd: drop privileges to gid: 7
  scanbd: Running as effective gid 7
  scanbd: drop privileges to uid: 115
  scanbd: Running as effective uid 115
  scanbd: dbus_init
  scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'
  scanbd: SANE_CONFIG_DIR=/etc/sane.d
  scanbd: sane version 1.0
  scanbd: Scanning for local-only devices
  scanbd: found device: snapscan:libusb:001:002 EPSON EPSON Scanner flatbed 
scanner
  scanbd: start_sane_threads
  
  Success! Scanner has been found.
  
  I think that key in this. From readme.txt:
- "If you want to use the scanbuttond-backends instead of sane-backends, use 
+ "If you want to use the scanbuttond-backends instead of sane-backends, use
  --enable-scanbuttond for configure."
  
- 
- PS: It's old prloblem 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824450 - "I'm still wondering 
what's wrong with the Debian package itself."
+ PS: It's old prloblem https://bugs.debian.org/cgi-
+ bin/bugreport.cgi?bug=824450 - "I'm still wondering what's wrong with
+ the Debian package itself."

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747115

Title:
  scanbd does not find scanner

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/scanbd/+bug/1747115/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to