Re: [RFT]patch to remove kernel thread for runtime pm from usbhid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 12, 2010 at 7:09 PM, Maulik Mankad <mankad.maulik@xxxxxxxxx> wrote:
> Seems like the below commit added that support to sysfs.
>
> commit 8d4b9d1bfef117862a2889dec4dac227068544c9
> Author: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> Date:   Mon Jul 19 02:01:06 2010 +0200
>
>    PM / Runtime: Add runtime PM statistics (v3)
>
> I will see if I can apply this to my kernel and provide the stats you need.
>

I applied the relevant patches to 2.6.35 related to runtime PM and
collected the below statistics.

cat /sys/bus/usb/devices/1-1/power/active_duration
120609

cat /sys/bus/usb/devices/1-1/power/autosuspend
0

cat /sys/bus/usb/devices/1-1/power/connected_duration
220398

cat /sys/bus/usb/devices/1-1/power/control
auto

cat /sys/bus/usb/devices/1-1/power/level
auto

cat /sys/bus/usb/devices/1-1/power/persist
1

cat /sys/bus/usb/devices/1-1/power/runtime_active_time
120523

cat /sys/bus/usb/devices/1-1/power/runtime_status
suspended

cat /sys/bus/usb/devices/1-1/power/runtime_suspended_time
159773

cat /sys/bus/usb/devices/1-1/power/wakeup
enabled

cat /sys/bus/usb/devices/1-1/power/wakeup_count
0

I am not familiar with the runtime pm statistics and can't interpret
the above values.

Let me know if this information is helpful and if you need anything else.

Regards,
Maulik
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux