[lkml]   [2005]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: s4bios: does anyone use it?
    Pavel Machek a écrit :
    > Can you try cat /proc/acpi/sleep? If there's no difference between S4
    > and S4bios, than you are probably just using plain S4...

    puligny:~% cat /proc/acpi/sleep
    S0 S1 S3 S4 S4bios S5

    Where am I suppose to see a difference between S4 and S4Bios here ?

    From what I see in acpi_system_write_sleep in drivers/acpi/sleep/proc.c
    4 uses software_suspend while 4b uses acpi_suspend(4)
    (SOFTWARE_SUSPEND is set in my .config)
    Is this code the right one ?

    /* Check for S4 bios request */
    if (!strcmp(str,"4b")) {
    error = acpi_suspend(4);
    goto Done;
    state = simple_strtoul(str, NULL, 0);
    if (state == 4) {
    error = software_suspend();
    goto Done;
    error = acpi_suspend(state);

    > Yes, but it will take quite long to do it properly. pm_message_t
    > framework needs to go in, first.

    Ok, great! I'll be happy to test it soon :)

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:10    [W:0.020 / U:166.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site