Skip to contentSkip to conversation

USB storage powersaving patches

DISCUSSION Pavel Machek 2 participants 7 messages Dec 17, 2007 – Jan 1, 2008

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw
Quoted 2 lines · Pavel Machek

...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

#2 lore raw

Hi!

Quoted 5 lines · Pavel Machek
Quoted 3 lines

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

Quoted 7 lines

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#3 lore raw
Quoted 10 lines · Pavel Machek

Hi!

Quoted 8 lines · Pavel Machek
Quoted 3 lines

...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.

Quoted 8 lines
Quoted 4 lines

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

#4 lore raw

HI!

Quoted 10 lines
Quoted 3 lines

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#5 lore raw
Quoted 8 lines · Pavel Machek

HI!

Quoted 6 lines
Quoted 3 lines

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:

Quoted 7 lines
Quoted 4 lines
	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

#6 lore raw
Quoted 12 lines · Alan Stern
Quoted 10 lines · Pavel Machek

HI!

Quoted 8 lines
Quoted 3 lines

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
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

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.

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