public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* USB storage powersaving patches
@ 2007-12-17 14:20 Pavel Machek
  2007-12-18 15:36 ` Alan Stern
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2007-12-17 14:20 UTC (permalink / raw)
  To: Linux-pm mailing list

...are they available somewhere? I'd like to do something similar for
AHCI, but so far SCSI seems to be winning...
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: USB storage powersaving patches
  2007-12-17 14:20 USB storage powersaving patches Pavel Machek
@ 2007-12-18 15:36 ` Alan Stern
  2007-12-18 16:10   ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Stern @ 2007-12-18 15:36 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Linux-pm mailing list

On Mon, 17 Dec 2007, Pavel Machek wrote:

> ...are they available somewhere? I'd like to do something similar for
> AHCI, but so far SCSI seems to be winning...

The usb-storage dynamic power management patches have been removed for 
the time being, because they don't respect the SCSI stack.

I intend to spend some time over the holidays on adding dynamic power 
management to the SCSI core.  That should allow us to put the 
usb-storage PM stuff back (in modified form), and it should allow you 
to do the same sort of thing with AHCI.  Does that sound okay?

Alan Stern

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: USB storage powersaving patches
  2007-12-18 15:36 ` Alan Stern
@ 2007-12-18 16:10   ` Pavel Machek
  2007-12-18 16:50     ` Alan Stern
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2007-12-18 16:10 UTC (permalink / raw)
  To: Alan Stern; +Cc: Linux-pm mailing list

Hi!

> On Mon, 17 Dec 2007, Pavel Machek wrote:
> 
> > ...are they available somewhere? I'd like to do something similar for
> > AHCI, but so far SCSI seems to be winning...
> 
> The usb-storage dynamic power management patches have been removed for 
> the time being, because they don't respect the SCSI stack.
> 
> I intend to spend some time over the holidays on adding dynamic power 
> management to the SCSI core.  That should allow us to put the 
> usb-storage PM stuff back (in modified form), and it should allow you 
> to do the same sort of thing with AHCI.  Does that sound okay?

Do you think I could get a copy of some version of those patches? I'm
currently struggling with getting AHCI to powersave in _any_ way,
"clean" is not on radar, yet.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: USB storage powersaving patches
  2007-12-18 16:10   ` Pavel Machek
@ 2007-12-18 16:50     ` Alan Stern
  2007-12-21 19:17       ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Stern @ 2007-12-18 16:50 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Linux-pm mailing list

On Tue, 18 Dec 2007, Pavel Machek wrote:

> Hi!
> 
> > On Mon, 17 Dec 2007, Pavel Machek wrote:
> > 
> > > ...are they available somewhere? I'd like to do something similar for
> > > AHCI, but so far SCSI seems to be winning...
> > 
> > The usb-storage dynamic power management patches have been removed for 
> > the time being, because they don't respect the SCSI stack.
> > 
> > I intend to spend some time over the holidays on adding dynamic power 
> > management to the SCSI core.  That should allow us to put the 
> > usb-storage PM stuff back (in modified form), and it should allow you 
> > to do the same sort of thing with AHCI.  Does that sound okay?
> 
> Do you think I could get a copy of some version of those patches? I'm
> currently struggling with getting AHCI to powersave in _any_ way,
> "clean" is not on radar, yet.

The usb-storage patch is here:

	http://marc.info/?l=linux-usb-devel&m=118374628105232&w=2

I'm afraid it won't do you much good, however, because of the way it 
relies on the USB power-management infrastructure.

Alan Stern

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: USB storage powersaving patches
  2007-12-18 16:50     ` Alan Stern
@ 2007-12-21 19:17       ` Pavel Machek
  2007-12-22  3:13         ` Alan Stern
  0 siblings, 1 reply; 7+ messages in thread
From: Pavel Machek @ 2007-12-21 19:17 UTC (permalink / raw)
  To: Alan Stern; +Cc: Linux-pm mailing list

HI!

> > Do you think I could get a copy of some version of those patches? I'm
> > currently struggling with getting AHCI to powersave in _any_ way,
> > "clean" is not on radar, yet.
> 
> The usb-storage patch is here:
> 
> 	http://marc.info/?l=linux-usb-devel&m=118374628105232&w=2
> 
> I'm afraid it won't do you much good, however, because of the way it 
> relies on the USB power-management infrastructure.

I see... you already have a process context, so resuming is easy for
you... ok. But thanks for the pointer!
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: USB storage powersaving patches
  2007-12-21 19:17       ` Pavel Machek
@ 2007-12-22  3:13         ` Alan Stern
  2008-01-01 12:04           ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Stern @ 2007-12-22  3:13 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Linux-pm mailing list

On Fri, 21 Dec 2007, Pavel Machek wrote:

> HI!
> 
> > > Do you think I could get a copy of some version of those patches? I'm
> > > currently struggling with getting AHCI to powersave in _any_ way,
> > > "clean" is not on radar, yet.
> > 
> > The usb-storage patch is here:
> > 
> > 	http://marc.info/?l=linux-usb-devel&m=118374628105232&w=2
> > 
> > I'm afraid it won't do you much good, however, because of the way it 
> > relies on the USB power-management infrastructure.
> 
> I see... you already have a process context, so resuming is easy for
> you... ok. But thanks for the pointer!

The SCSI version will use a dedicated kernel thread for both
autosuspend and autoresume.

Alan Stern

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: USB storage powersaving patches
  2007-12-22  3:13         ` Alan Stern
@ 2008-01-01 12:04           ` Pavel Machek
  0 siblings, 0 replies; 7+ messages in thread
From: Pavel Machek @ 2008-01-01 12:04 UTC (permalink / raw)
  To: Alan Stern; +Cc: Linux-pm mailing list

On Fri 2007-12-21 22:13:34, Alan Stern wrote:
> On Fri, 21 Dec 2007, Pavel Machek wrote:
> 
> > HI!
> > 
> > > > Do you think I could get a copy of some version of those patches? I'm
> > > > currently struggling with getting AHCI to powersave in _any_ way,
> > > > "clean" is not on radar, yet.
> > > 
> > > The usb-storage patch is here:
> > > 
> > > 	http://marc.info/?l=linux-usb-devel&m=118374628105232&w=2
> > > 
> > > I'm afraid it won't do you much good, however, because of the way it 
> > > relies on the USB power-management infrastructure.
> > 
> > I see... you already have a process context, so resuming is easy for
> > you... ok. But thanks for the pointer!
> 
> The SCSI version will use a dedicated kernel thread for both
> autosuspend and autoresume.

Sounds great. Let me know when you have something to play with.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-01-01 12:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-17 14:20 USB storage powersaving patches Pavel Machek
2007-12-18 15:36 ` Alan Stern
2007-12-18 16:10   ` Pavel Machek
2007-12-18 16:50     ` Alan Stern
2007-12-21 19:17       ` Pavel Machek
2007-12-22  3:13         ` Alan Stern
2008-01-01 12:04           ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox