* Question about runtime pm status issue
@ 2012-10-29 13:46 Lan Tianyu
2012-10-29 14:20 ` Ming Lei
0 siblings, 1 reply; 5+ messages in thread
From: Lan Tianyu @ 2012-10-29 13:46 UTC (permalink / raw)
To: Alan Stern, Rafael J. Wysocki, Linux-pm mailing list
hi Rafael, Alan:
I recently meet a problem that I enable a usb disk's runtime auto autosuspend,
set power/autosuspend_delay_ms to be 100 and make its usage_count to be 0. But after
a long time, the disk's runtime status always is active. From my view, the
disk's status
should be "suspend" after the usage_count being 0 and delay timeout. If my
opinion was
wrong, please corrent me. Thanks.
--
Best regards
Tianyu Lan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Question about runtime pm status issue
2012-10-29 13:46 Question about runtime pm status issue Lan Tianyu
@ 2012-10-29 14:20 ` Ming Lei
2012-10-29 14:43 ` Lan Tianyu
0 siblings, 1 reply; 5+ messages in thread
From: Ming Lei @ 2012-10-29 14:20 UTC (permalink / raw)
To: Lan Tianyu; +Cc: Alan Stern, Rafael J. Wysocki, Linux-pm mailing list
On Mon, Oct 29, 2012 at 9:46 PM, Lan Tianyu <lantianyu1986@gmail.com> wrote:
> hi Rafael, Alan:
> I recently meet a problem that I enable a usb disk's runtime auto autosuspend,
> set power/autosuspend_delay_ms to be 100 and make its usage_count to be 0. But after
> a long time, the disk's runtime status always is active. From my view, the
> disk's status
> should be "suspend" after the usage_count being 0 and delay timeout. If my
> opinion was
> wrong, please corrent me. Thanks.
Please try to umount the disk to see if it can be auto suspended.
Thanks,
--
Ming Lei
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Question about runtime pm status issue
2012-10-29 14:20 ` Ming Lei
@ 2012-10-29 14:43 ` Lan Tianyu
2012-10-29 14:50 ` Ming Lei
0 siblings, 1 reply; 5+ messages in thread
From: Lan Tianyu @ 2012-10-29 14:43 UTC (permalink / raw)
To: Ming Lei; +Cc: Alan Stern, Rafael J. Wysocki, Linux-pm mailing list
于 2012/10/29 22:20, Ming Lei 写道:
> On Mon, Oct 29, 2012 at 9:46 PM, Lan Tianyu <lantianyu1986@gmail.com> wrote:
>> hi Rafael, Alan:
>> I recently meet a problem that I enable a usb disk's runtime auto autosuspend,
>> set power/autosuspend_delay_ms to be 100 and make its usage_count to be 0. But after
>> a long time, the disk's runtime status always is active. From my view, the
>> disk's status
>> should be "suspend" after the usage_count being 0 and delay timeout. If my
>> opinion was
>> wrong, please corrent me. Thanks.
>
> Please try to umount the disk to see if it can be auto suspended.
>
I have umount the disk and there is no user of the device since its usage_count
become zero.
>
> Thanks,
>
--
Best regards
Tianyu Lan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Question about runtime pm status issue
2012-10-29 14:43 ` Lan Tianyu
@ 2012-10-29 14:50 ` Ming Lei
2012-10-29 14:52 ` Lan Tianyu
0 siblings, 1 reply; 5+ messages in thread
From: Ming Lei @ 2012-10-29 14:50 UTC (permalink / raw)
To: Lan Tianyu; +Cc: Alan Stern, Rafael J. Wysocki, Linux-pm mailing list
On Mon, Oct 29, 2012 at 10:43 PM, Lan Tianyu <lantianyu1986@gmail.com> wrote:
> I have umount the disk and there is no user of the device since its
> usage_count
> become zero.
Looks runtime PM of usb mass storage works well on my box with
3.7.0-rc3-next-20121029, maybe you can enable trace event on
runtime PM to see what happened.
Thanks
--
Ming Lei
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Question about runtime pm status issue
2012-10-29 14:50 ` Ming Lei
@ 2012-10-29 14:52 ` Lan Tianyu
0 siblings, 0 replies; 5+ messages in thread
From: Lan Tianyu @ 2012-10-29 14:52 UTC (permalink / raw)
To: Ming Lei; +Cc: Alan Stern, Rafael J. Wysocki, Linux-pm mailing list
On 2012年10月29日 22:50:37, Ming Lei wrote:
> On Mon, Oct 29, 2012 at 10:43 PM, Lan Tianyu <lantianyu1986@gmail.com> wrote:
>
>> I have umount the disk and there is no user of the device since its
>> usage_count
>> become zero.
>
> Looks runtime PM of usb mass storage works well on my box with
> 3.7.0-rc3-next-20121029, maybe you can enable trace event on
> runtime PM to see what happened.
>
Ok. Thanks.
>
> Thanks
--
Best regards
Tianyu Lan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-29 14:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 13:46 Question about runtime pm status issue Lan Tianyu
2012-10-29 14:20 ` Ming Lei
2012-10-29 14:43 ` Lan Tianyu
2012-10-29 14:50 ` Ming Lei
2012-10-29 14:52 ` Lan Tianyu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).