[Sane] [HP] disable source auto
The person who submitted the scan report #522 also tried to submit one by with the source "Auto" selected. Unfortunately, when using "Auto" and scanning from the flatbed, their scanner keep scanning forever.
They also got this warning in the logs:
[WARNING] [paperwork_backend.docscan.libinsane] [LibInsane] ../subprojects/libinsane/src/workarounds/one_page_flatbed.c:L75(one_end_of_feed): Unexpected source type: -1 (Auto). Don't know whether we must stop at the first page. Assuming the driver works as expected
Which is logical: "Auto" doesn't tell us from which source it will scan. So Libinsane can't know how many pages must be scanner. And obviously, the HP driver is buggy and keep telling us there are pages to scan from the bed.
Only solution: hide the source "auto".