Summary: | colord wakes up the scanner on every login | ||
---|---|---|---|
Product: | colord | Reporter: | Matthew Trescott <matthewtrescott> |
Component: | daemon | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Matthew Trescott
2017-08-19 23:03:26 UTC
It's probably colord-sane that's probing the device -- doesn't the scanner go back to sleep? There's not a lot I can do about sane -- it's not like I'm asking SANE to wake up the scanner, I'm just asking for the list of connected devices. Perhaps it would be possible to query the scanner's color information when it's requested, (lazy-loading) rather than on each login? I suppose it's not ideal but you could then cache this color information and make it available immediately when requested without checking again? I don't know the intricacies of colord's API so I can't know whether this would work but at the surface at least it seems possible. > Perhaps it would be possible to query the scanner's color information
We're not, we're just asking for the list of scanners. I don't know how you could possibly cache the "is it connected or not" when the device is removable and hotpluggable. If you want to remove this functionality you can just delete the colord-sane binary or just compile with -Denable-sane=false.
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.