[sane-devel] Canon LiDE 210, suspend ./. standby

M G Berberich sane at oss.m-berberich.de
Wed Apr 27 12:58:33 UTC 2016


Hello,

Am Montag, den 26. Oktober schrieb M G Berberich:
> Canon datasheets say, the Canon LiDE 210 has 2.5 W max power in work,
> 1.4 W in standby and 11 mW in suspend.
> 
> Is there any way to determine (via sane) if it is in standby or
> suspend? Can it be switched between standy and suspend?

The Canon LiDE 210 uses about 400mA during work, 240mA in standby and
40mA in “sleep-mode”.
After beeing pluged in it is in 40mA-mode, after beeing used it seems
to never return to this mode but stays in 240mA-mode.

USB autosuspend reduces its power-consumption to 0 and seems not to
influence usability. It wakes up on usage and returns to 0 after use.
(As far as I can tell from a short test.)

But it never reaches this state on a standard sane-install because in

  sane-backends/tools/udev/libsane.rules

both the ATTR{power/control}="auto" is missing and a special rule
disables USB autosuspend for all USB-scanners.

  # The following rule will disable USB autosuspend for the device
  #ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'"

Maybe this behavior should be changed.

	MfG
	bmg

-- 
„Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!“          | mail at m-berberich.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | 



More information about the sane-devel mailing list