Simple scan should not recognize webcam as scanning device

Bug #1252257 reported by moimael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Simple Scan
Triaged
Wishlist
Unassigned

Bug Description

Hi,

When I open simple-scan without scanner attached or powered on, I don't get the infobar message saying so. Instead my webcam is detected as a scanning device. It is not an expected behaviour. Particularly when you hit scan all pages, then scanning will go in an infinite loop.

Webcam should not appear in simple scan. It is rather cheese job.

Thanks !

Revision history for this message
Michael Nagel (nailor) wrote :

For some reason SANE detects webcams as scanners because they provide some features scanners also provide. while this is an interesting feature, i don't think it should be enabled by default.

currently Simple Scan does nothing to discriminate against webcams but accepts any device SANE offers. maybe we can change it at the application level...

Changed in simple-scan:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
moimael (moimael) wrote :

I made a very simple patch that should only detect scanner devices.

Here is the doc behind the logic : http://www.sane-project.org/html/doc011.html (section "4.2.8 Device Descriptor Type")

Revision history for this message
moimael (moimael) wrote :

Would be cool if it could be integrated in 3.12 ! :)

Revision history for this message
moimael (moimael) wrote :

The patch is quite old now, can it be reviewed ?

Thanks !

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.