[sane-devel] scanbd problem with dbus permission ?
Hi, I tried to install scanbd and I guess that's very easy, but now I have a permission problem. In the past I use my scanner with sane as scanserver and everything worked. My system: Debian Wheezy, Kernel 3.6.11 on Raspberry Pi Scanner: Canon canoscan lide 35 Here my installation steps: - install libconfuse-dev libsane-dev libudev-dev libusb-dev - I use scanbd from SVN - ./configure --enable-scanbuttond (no problems) - make (no problems) - make install (no problems) - copy scanbd_dbus.conf to /etc/dbus-1/system.d/ - install xinetd - generate /etc/xinetd.d/sane-port - edit /etc/sane.d/dll.conf set only net - edit /usr/local/etc/scanbd/dll.conf set #net - edit /etc/sane.d/net.conf set localhost and connect_timeout = 60 - copy backends /etc/sane.d/ to /usr/local/etc/scanbd/ - export SANE_CONFIG_DIR=/usr/local/etc/scanbd - /usr/local/sbin/scanbd -d -f -c /usr/local/etc/scanbd/scanbd.conf (with problems) Log: /usr/local/sbin/scanbd: debug on: level: 7 /usr/local/sbin/scanbd: dropping privs to uid saned /usr/local/sbin/scanbd: dropping privs to gid lp /usr/local/sbin/scanbd: drop privileges to gid: 7 /usr/local/sbin/scanbd: Can't set the effective gid to 7 /usr/local/sbin/scanbd: drop privileges to uid: 112 /usr/local/sbin/scanbd: Can't set the effective uid to 112 /usr/local/sbin/scanbd: dbus_init /usr/local/sbin/scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager' /usr/local/sbin/scanbd: Loading /usr/local/lib/scanbd/scanbuttond/backends/meta.so /usr/local/sbin/scanbd: meta-backend: init /usr/local/sbin/scanbd: libusbi: initializing... /usr/local/sbin/scanbd: Loading /usr/local/lib/scanbd/scanbuttond/backends/hp3500.so /usr/local/sbin/scanbd: meta-backend: attaching backend: HP3500 USB /usr/local/sbin/scanbd: hp3500-backend: init /usr/local/sbin/scanbd: Loading /usr/local/lib/scanbd/scanbuttond/backends/snapscan.so /usr/local/sbin/scanbd: meta-backend: attaching backend: Snapscan USB /usr/local/sbin/scanbd: snapscan-backend: init /usr/local/sbin/scanbd: Loading /usr/local/lib/scanbd/scanbuttond/backends/niash.so /usr/local/sbin/scanbd: meta-backend: attaching backend: Niash USB /usr/local/sbin/scanbd: niash-backend: init /usr/local/sbin/scanbd: Loading /usr/local/lib/scanbd/scanbuttond/backends/epson_vphoto.so /usr/local/sbin/scanbd: meta-backend: attaching backend: Epson VX00 Photo USB /usr/local/sbin/scanbd: epson-vphoto-backend: init /usr/local/sbin/scanbd: Scanning for local-only devices /usr/local/sbin/scanbd: Can't get the scbtn device list /usr/local/sbin/scanbd: device list null /usr/local/sbin/scanbd: start_scbtn_threads /usr/local/sbin/scanbd: start the threads (0) /usr/local/sbin/scanbd: start dbus thread /usr/local/sbin/scanbd: Not Primary Owner (-1) /usr/local/sbin/scanbd: Name Error (Connection :1.48 is not allowed to own the service de.kmux.scanbd.server due to security policies in the configuration file) If I started scanbd as sudo: Log: ... /usr/local/sbin/scanbd: meta-backend: attaching backend: Epson VX00 Photo USB /usr/local/sbin/scanbd: epson-vphoto-backend: init /usr/local/sbin/scanbd: Scanning for local-only devices /usr/local/sbin/scanbd: Can't get the scbtn device list /usr/local/sbin/scanbd: device list null /usr/local/sbin/scanbd: start_scbtn_threads /usr/local/sbin/scanbd: start the threads (0) /usr/local/sbin/scanbd: start dbus thread /usr/local/sbin/scanbd: timeout: 500 ms /usr/local/sbin/scanbd: Iteration on dbus call /usr/local/sbin/scanbd: Iteration on dbus call /usr/local/sbin/scanbd: Iteration on dbus call /usr/local/sbin/scanbd: Iteration on dbus call /usr/local/sbin/scanbd: Iteration on dbus call /usr/local/sbin/scanbd: Iteration on dbus call I tried also too: - SANE_CONFIG_DIR=/usr/local/etc/scanbd scanimage -L (with problems) - copy 99-saned.rules to /lib/udev/rules.d - udevadm trigger - SANE_CONFIG_DIR=/usr/local/etc/scanbd scanimage -L (with problems) - sudo SANE_CONFIG_DIR=/usr/local/etc/scanbd scanimage -L (no problems) I'm not familiar with dbus and so on... Can someone help me please? Thanks, Michael
[sane-devel] unable using Primax Colorado USB 19200
Hi everybody ! I'm using Ubuntu 10.04 LTS Lynx Lucide. I've got an old scanner but I'm not able to use it because I'm not able to install it. I need help. If you agree helping me, wow ! Scanner is Primax Colorado usb 19200 ; sane-find-scanner found : vendor=0x0461 product=0x0360 at libusb:002:005. Then I am not able to do more... :-( ; I am not sure to do correctly, I know a few ubuntu (linux). Friendly, Camillio
[sane-devel] Time to set up SANE's release plan ?
Sorry for not responding sooner, I was on holiday. Yes- it has been too long since our last release. I have two new scanners I would like to fix in the canon_dr backend, so for selfish reasons, I would plan to release on Sept 29. We would have the usual feature and code freezes. Comments? Complaints? allan On Sun, Aug 11, 2013 at 4:31 PM, Stef stef.dev at free.fr wrote: Hello, it's about one year that SANE 1.0.23 has been released. I think we should set a release plan to get 1.0.24 ready this year. Regards, Stef -- sane-devel mailing list: sane-devel at lists.alioth.**debian.orgsane-devel at lists.alioth.debian.org http://lists.alioth.debian.**org/cgi-bin/mailman/listinfo/**sane-develhttp://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject unsubscribe your_password to sane-devel-request at lists.**alioth.debian.orgsane-devel-request at lists.alioth.debian.org -- The truth is an offense, but not a sin -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130818/b2142bb6/attachment.html
[sane-devel] Time to set up SANE's release plan ?
On 18/08/2013 16:04, m. allan noah wrote: Sorry for not responding sooner, I was on holiday. Yes- it has been too long since our last release. I have two new scanners I would like to fix in the canon_dr backend, so for selfish reasons, I would plan to release on Sept 29. We would have the usual feature and code freezes. Comments? Complaints? allan Hello, late september is fine for me. Regards, Stef