* Re: [ACPI] s4bios: does anyone use it?
2005-03-05 19:14 Pavel Machek
@ 2005-03-07 17:08 ` Bruno Ducrot
2005-03-07 20:44 ` Pavel Machek
0 siblings, 1 reply; 6+ messages in thread
From: Bruno Ducrot @ 2005-03-07 17:08 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list, ACPI mailing list, seife, Len Brown
On Sat, Mar 05, 2005 at 08:14:05PM +0100, Pavel Machek wrote:
> Hi!
>
> Is there single user of s4bios? It used to work for me 4 notebooks
> ago, but I never really used it.
I don't have anymore my toshiba laptop where S4 bios was first
implemented.
> I think I'm the only person that ever
> seen it working, but I could be wrong.
You are indeed wrong.
--
Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ACPI] s4bios: does anyone use it?
2005-03-07 17:08 ` [ACPI] " Bruno Ducrot
@ 2005-03-07 20:44 ` Pavel Machek
2005-03-08 9:20 ` Bruno Ducrot
0 siblings, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2005-03-07 20:44 UTC (permalink / raw)
To: Bruno Ducrot; +Cc: kernel list, ACPI mailing list, seife, Len Brown
Hi!
> >
> > Is there single user of s4bios? It used to work for me 4 notebooks
> > ago, but I never really used it.
>
> I don't have anymore my toshiba laptop where S4 bios was first
> implemented.
>
> > I think I'm the only person that ever
> > seen it working, but I could be wrong.
>
> You are indeed wrong.
Okay, so we had 2 users in past but have 0 users now? :-).
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [ACPI] s4bios: does anyone use it?
@ 2005-03-08 5:24 Li, Shaohua
2005-03-08 9:18 ` Pavel Machek
0 siblings, 1 reply; 6+ messages in thread
From: Li, Shaohua @ 2005-03-08 5:24 UTC (permalink / raw)
To: Pavel Machek, Bruno Ducrot
Cc: kernel list, ACPI mailing list, seife, Brown, Len
Hi,
>> >
>> > Is there single user of s4bios? It used to work for me 4 notebooks
>> > ago, but I never really used it.
>>
>> I don't have anymore my toshiba laptop where S4 bios was first
>> implemented.
>>
>> > I think I'm the only person that ever
>> > seen it working, but I could be wrong.
>>
>> You are indeed wrong.
>
>Okay, so we had 2 users in past but have 0 users now? :-).
I wonder how could anyone use S4BIOS in 2.6.11. S4 and S4b all came into
'enter_state'. and in acpi_sleep_init:
if (i == ACPI_STATE_S4) {
if (acpi_gbl_FACS->S4bios_f) {
sleep_states[i] = 1;
printk(" S4bios");
acpi_pm_ops.pm_disk_mode =
PM_DISK_FIRMWARE;
}
if (sleep_states[i])
acpi_pm_ops.pm_disk_mode =
PM_DISK_PLATFORM;
}
That means we actually can't set PM_DISK_FIRMWARE (always set
PM_DISK_PLATFORM). Is this intended? If no, .pm_disk_mode should be a
mask.
Thanks,
Shaohua
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ACPI] s4bios: does anyone use it?
2005-03-08 5:24 [ACPI] s4bios: does anyone use it? Li, Shaohua
@ 2005-03-08 9:18 ` Pavel Machek
2005-03-08 9:42 ` Stefan Seyfried
0 siblings, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2005-03-08 9:18 UTC (permalink / raw)
To: Li, Shaohua, Andrew Morton
Cc: Bruno Ducrot, kernel list, ACPI mailing list, seife, Brown, Len
Hi!
> >Okay, so we had 2 users in past but have 0 users now? :-).
> I wonder how could anyone use S4BIOS in 2.6.11. S4 and S4b all came into
> 'enter_state'. and in acpi_sleep_init:
>
> if (i == ACPI_STATE_S4) {
> if (acpi_gbl_FACS->S4bios_f) {
> sleep_states[i] = 1;
> printk(" S4bios");
> acpi_pm_ops.pm_disk_mode =
> PM_DISK_FIRMWARE;
> }
> if (sleep_states[i])
> acpi_pm_ops.pm_disk_mode =
> PM_DISK_PLATFORM;
> }
> That means we actually can't set PM_DISK_FIRMWARE (always set
> PM_DISK_PLATFORM). Is this intended? If no, .pm_disk_mode should be a
> mask.
pm_disk_mode is settable using /sys/power/disk, no? Anyway, what about
this, then?
--- clean/Documentation/feature-removal-schedule.txt 2005-01-22 21:24:50.000000000 +0100
+++ linux/Documentation/feature-removal-schedule.txt 2005-03-08 10:18:05.000000000 +0100
@@ -15,3 +15,8 @@
against the LSB, and can be replaced by using udev.
Who: Greg Kroah-Hartman <greg@kroah.com>
+What: ACPI S4bios support
+When: May 2005
+Why: Noone uses it, and it probably does not work, anyway. swsusp is
+ faster, more reliable, and people are actually using it.
+Who: Pavel Machek <pavel@suse.cz>
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ACPI] s4bios: does anyone use it?
2005-03-07 20:44 ` Pavel Machek
@ 2005-03-08 9:20 ` Bruno Ducrot
0 siblings, 0 replies; 6+ messages in thread
From: Bruno Ducrot @ 2005-03-08 9:20 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list, ACPI mailing list, seife, Len Brown
On Mon, Mar 07, 2005 at 09:44:01PM +0100, Pavel Machek wrote:
> Okay, so we had 2 users in past but have 0 users now? :-).
I don't know. I remember having at least one positive feedback one or
two years ago, but this was for an old 2.4 kernel (does that count ?),
maybe if that guy switched to 2.6 there will be then one user now using
S4bios under 2.6 who knows :)
--
Bruno Ducrot
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ACPI] s4bios: does anyone use it?
2005-03-08 9:18 ` Pavel Machek
@ 2005-03-08 9:42 ` Stefan Seyfried
0 siblings, 0 replies; 6+ messages in thread
From: Stefan Seyfried @ 2005-03-08 9:42 UTC (permalink / raw)
To: Pavel Machek
Cc: Li, Shaohua, Andrew Morton, Bruno Ducrot, kernel list,
ACPI mailing list, Brown, Len
Pavel Machek wrote:
> Hi!
>
>> >Okay, so we had 2 users in past but have 0 users now? :-).
>> I wonder how could anyone use S4BIOS in 2.6.11. S4 and S4b all came into
>> 'enter_state'. and in acpi_sleep_init:
>>
>> if (i == ACPI_STATE_S4) {
>> if (acpi_gbl_FACS->S4bios_f) {
>> sleep_states[i] = 1;
>> printk(" S4bios");
>> acpi_pm_ops.pm_disk_mode =
>> PM_DISK_FIRMWARE;
>> }
>> if (sleep_states[i])
>> acpi_pm_ops.pm_disk_mode =
>> PM_DISK_PLATFORM;
>> }
>> That means we actually can't set PM_DISK_FIRMWARE (always set
>> PM_DISK_PLATFORM). Is this intended? If no, .pm_disk_mode should be a
>> mask.
>
> pm_disk_mode is settable using /sys/power/disk, no?
No, it isn't. That was my original point: you can write "firmware" into
it, but it has no effect. This probably was a side-effect of the "make
firmware mode not default" patch from a year ago.
But the real question is: what is firmware mode good for today? Is there
a single machine where firmware mode once worked, but swsusp does not
work today?
> Anyway, what about this, then?
>
> --- clean/Documentation/feature-removal-schedule.txt 2005-01-22 21:24:50.000000000 +0100
> +++ linux/Documentation/feature-removal-schedule.txt 2005-03-08 10:18:05.000000000 +0100
Fine with me. I think it cannot work since ~one year (when we changed
the default from "firmware if available" to "shutdown always", the code
piece cited above) and nobody complained until now, so it won't be
missed IMO.
--
Stefan Seyfried, QA / R&D Team Mobile Devices, SUSE LINUX Nürnberg.
"Any ideas, John?"
"Well, surrounding them's out."
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-03-08 9:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-08 5:24 [ACPI] s4bios: does anyone use it? Li, Shaohua
2005-03-08 9:18 ` Pavel Machek
2005-03-08 9:42 ` Stefan Seyfried
-- strict thread matches above, loose matches on Subject: below --
2005-03-05 19:14 Pavel Machek
2005-03-07 17:08 ` [ACPI] " Bruno Ducrot
2005-03-07 20:44 ` Pavel Machek
2005-03-08 9:20 ` Bruno Ducrot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox