Bug 108011 - Sony VGN-NW320F needs acpi_sleep=nonvs; add to blacklist
Summary: Sony VGN-NW320F needs acpi_sleep=nonvs; add to blacklist
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Sleep-Wake (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Aaron Lu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-16 21:16 UTC by Casey Peel
Modified: 2016-03-15 07:56 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.2.5-201.fc22.x86_64
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmidecode output for Sony VGN-NW320F (6.10 KB, text/plain)
2015-11-18 02:52 UTC, Casey Peel
Details
Add to nonvs blacklist (1.04 KB, patch)
2015-11-26 02:51 UTC, Aaron Lu
Details | Diff

Description Casey Peel 2015-11-16 21:16:36 UTC
After being suspended, my Sony VGN-NW320F would always boot instead of wakeup.
After using acpi_sleep=nonvs, it is working correctly. This bug is to add this Sony model to the blacklist.

I've attached dmiencode output.

# uname -a
Linux Radagast 4.2.5-201.fc22.x86_64 #1 SMP Wed Oct 28 20:00:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

(see also bug 16396)
Comment 1 Aaron Lu 2015-11-18 02:34:34 UTC
(In reply to Casey Peel from comment #0)
> After being suspended, my Sony VGN-NW320F would always boot instead of
> wakeup.
> After using acpi_sleep=nonvs, it is working correctly. This bug is to add
> this Sony model to the blacklist.
> 
> I've attached dmiencode output.

forgot to attach?

> 
> # uname -a
> Linux Radagast 4.2.5-201.fc22.x86_64 #1 SMP Wed Oct 28 20:00:23 UTC 2015
> x86_64 x86_64 x86_64 GNU/Linux
> 
> (see also bug 16396)

Would you care to send a patch for this problem? The corresponding DMI table to add an entry for your laptop is acpisleep_dmi_table, the callback should be set to init_nvs_nosave. Take the other Sony machine as an example:
        {
        .callback = init_nvs_nosave,
        .ident = "Sony Vaio VGN-FW21E",
        .matches = {
                DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
                DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW21E"),
                },
        },
I think you just need to change the ident and PRODUCT_NAME line.
Comment 2 Casey Peel 2015-11-18 02:52:09 UTC
Created attachment 194741 [details]
dmidecode output for Sony VGN-NW320F
Comment 3 Casey Peel 2015-11-18 02:53:01 UTC
(In reply to Aaron Lu from comment #1)
> (In reply to Casey Peel from comment #0)
> > After being suspended, my Sony VGN-NW320F would always boot instead of
> > wakeup.
> > After using acpi_sleep=nonvs, it is working correctly. This bug is to add
> > this Sony model to the blacklist.
> > 
> > I've attached dmiencode output.
> 
> forgot to attach?

Oops. Fixed.
Comment 4 Aaron Lu 2015-11-26 02:05:38 UTC
Casey,

Would you like to prepare the patch? If you need any help, feel free to let me know, I'll be glad to help you prepare the patch. But if you would rather not do this, I can do it too.
Comment 5 Casey Peel 2015-11-26 02:22:53 UTC
(In reply to Aaron Lu from comment #4)
> Would you like to prepare the patch?

No thanks, I have enough on my plate right now and I presume you're already set up
to make the change and ensure the file parses/compiles.
Comment 6 Aaron Lu 2015-11-26 02:51:08 UTC
Created attachment 195531 [details]
Add to nonvs blacklist

Please test this patch, thanks.
Comment 7 Aaron Lu 2015-12-08 05:43:05 UTC
ping?
Comment 8 Casey Peel 2015-12-08 06:53:19 UTC
I have been, and am still on, vacation and won't be able to get to this until the end of the week at the earliest. Note that I have no easy way to test this -- I haven't done a kernel compilation in years and will have to figure out Fedora does its kernel builds to test this.
Comment 9 Aaron Lu 2015-12-08 07:20:38 UTC
No hurry since you are on vacation, people sometimes just forgot bugs they reported due to various reasons so I normally send the ping after it's been quiet for at least a week.
Have a nice vacation :-)
Comment 10 Zhang Rui 2015-12-28 12:50:57 UTC
ping...
Comment 11 Zhang Rui 2016-03-15 07:56:13 UTC
Bug closed as there is no response from the bug reporter.
Please feel free to reopen it if you can try the patch at comment #6.

Note You need to log in before you can comment on or make changes to this bug.