Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Unloading uvcvideo makes no difference. However if I never load uvcvideo
and never use the camera after booting the laptop, then the device
doesn't use any power.
This is better than nothing, but not very desirable since I do use the
camera from time to google for video conferencing.

Here's the module info
gandalfthegreat:/sys/bus/usb/drivers/uvcvideo# l
total 0
drwxr-xr-x 2 root root 0 Sep 18 17:48 ./
drwxr-xr-x 12 root root 0 Sep 17 15:10 ../
lrwxrwxrwx 1 root root 0 Sep 18 21:30 3-1.6:1.0 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/
lrwxrwxrwx 1 root root 0 Sep 18 21:30 3-1.6:1.1 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1/
--w------- 1 root root 4096 Sep 18 21:30 bind
lrwxrwxrwx 1 root root 0 Sep 18 21:30 module -> ../../../../module/uvcvideo/
-rw-r--r-- 1 root root 4096 Sep 18 21:30 new_id
-rw-r--r-- 1 root root 4096 Sep 18 21:30 remove_id
--w------- 1 root root 4096 Sep 18 17:48 uevent
--w------- 1 root root 4096 Sep 18 21:30 unbind

gandalfthegreat:/sys/bus/usb/devices/3-1.6/power# grep . *
active_duration:61227648
async:enabled
autosuspend:2
autosuspend_delay_ms:2000
connected_duration:66830880
control:auto
level:auto
persist:1
runtime_active_kids:0
runtime_active_time:18870052
runtime_enabled:enabled
runtime_status:active
runtime_suspended_time:5324088
runtime_usage:0

powertop 2.4 output:
---------------------------------------------------------------------
The battery reports a discharge rate of 18.4 W
The estimated remaining time is 4 hours, 18 minutes

Summary: 657.6 wakeups/second, 28.4 GPU ops/seconds, 0.0 VFS ops/sec and 9.3% CPU use

Power est. Usage Events/s Category Description
12.2 W 100.0% Device USB device: Integrated Camera (Chicony Electronics Co., Ltd.)
997 mW 60.0% Device Display backlight
76.1 mW 34.9 µs/s 34.8 Process [rcu_preempt]
23.1 mW 1.5 ms/s 16.5 Process xfce4-terminal -T window11 --role=window11
9.20 mW 59.0 ms/s 347.4 Process /usr/bin/enlightenment
---------------------------------------------------------------------


Now after I resumed from S3 sleep, this time I'm seeing
210 mW 100.0% Device USB device: Integrated Camera (Chicony Electronics Co., Ltd.)
While the 100% is bad, 210mW isn't as bad compared to 12W below (I'm sure it's not really 12W).


Any ideas?

Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901
Loading...