abusenius / insaned

Simple daemon for polling button presses on SANE scanners
GNU General Public License v2.0
43 stars 13 forks source link

Works on Raspberry Pi with HP Scanjet 2400c :) #1

Closed GaryA closed 7 years ago

GaryA commented 10 years ago

Hey Alex I didn't know how to just leave you a nice comment so I had to create an issue. I also fought with scanbd for 2 days before giving up and finding your project. Once I had found the latest sane backends and gcc compiler it was really easy to build, install and get working. If you want to open the wiki I could add an article about installing on RPi for you.

The one thing I'm really missing at the moment is the ability to use the scanner via the buttons and via a networked PC. I can do one or the other but not both at the same time. phpSANE gives me a nice web interface from any PC but it cannot work if insaned is using libsane. If you could fix this the program would be perfect!

Best wishes from England Gary

abusenius commented 10 years ago

Hi Gary

Thanks for the comment, it's great to see that insaned works for you :) Sorry for the delay, I've been offline for the last week.

It would be great if you would write something about installing on Rapsberry Pi in wiki. I'll open it for editing as soon as I find how to do it...

I'll have a look at phpSANE to see what it is doing. My guess is that it holds the scanner device open exclusively, which prevents insaned from opening it. Insaned only opens the device for a short period of time and is designed to tolerate the fact that the device could be temporary unavailable, but most programs just open the device for as long as they are running.

Best regards Alex

abusenius commented 10 years ago

I've just looked at phpSANE and it seems to just run scanimage in background, so it should work together with insaned most of the time, unless you manage to click on scan exactly at the moment when insaned is checking the buttons. If you start insaned and then phpSANE they should (in theory) work together, insaned will suspend checking for button presses while phpSANE is scanning and then resume checking.

Could you describe the issue in more details? Please also post the output of commands "insaned -L" and "scanimage -A".

abusenius commented 7 years ago

Closed due to inactivity