Bug 326912 - Scanner buttons support using scanbd
Summary: Scanner buttons support using scanbd
Status: REPORTED
Alias: None
Product: Skanlite
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 22:24 UTC by Petric Frank
Modified: 2017-02-27 17:31 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petric Frank 2013-10-30 22:24:15 UTC
Feature request.

There is a daemon named scanbd (http://scanbd.sourceforge.net/). It can send button actions via dbus. If skanlite is able to listen to the signals it can execute appropriate actions.
For example pressing the "Scan" button it can start the scan process and display the result.
Or for the "Copy" button show the printer dialog after the scan.

I don't know whether this is an easy task to implement. But i think i am not the only one which will be very happy if this feature would be implemented.


Reproducible: Always

Actual Results:  
No action issued if a button on the scanner is pressed

Expected Results:  
Appropriate action issued dependent on the button pressed
Comment 1 Michael 2014-08-21 06:22:17 UTC
I too would like to see this idea implemented as it would create a satisfying impression that scanning under Linux is complete.
Comment 2 mau 2014-10-01 06:35:27 UTC
I agree as well, would be very nice to have!
Comment 3 Alexander Trufanov 2016-11-07 19:32:05 UTC
Would be helpful indeed.
Comment 4 Alexander Trufanov 2017-02-27 17:31:10 UTC
I've forked and played with skanlite and made it work with DBus. The project is here: https://github.com/trufanov-nok/skanlite
There is a big README that describes my investigations. In short - I don't think it can work via scribd at all. Going to try someday but it seems doubtful. But skanlite actually receives HW buttons notifications from SANE - it just ignores them. If your device driver is fine you can get HW buttons work as I force skanlite to signal these events via DBus and now user can perform some tasks (like scanning...) via DBus too. So I just made a shell script which listens for HW button signal and fires scan command to skanlite. No scribd required. Anyway - a detailed description is in project's README and anyone is welcome to play with it. Feedback appreciated.