On Thu, Dec 04, 2014 at 08:47:34PM -0600, Sean Cody wrote: > >Synopsis: Suspend/Resume broken, doesn't re-attached video. > >Category: amd64 > >Environment: > System : OpenBSD 5.6 > Details : OpenBSD 5.6-current (GENERIC.MP) #648: Thu Dec 4 > 14:23:47 MST 2014 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > > Suspend/Resume doesn't quite work out on this laptop (Acer Aspire One > D27-1375). Hibernate _does_ work (ZZZ and power button to resume). When > using lid or 'zzz' to suspend you can see all the devices detach and it shuts > down but when you attempt to start it back up (lid open OR keyboard mash) the > screen doesn't activate. It is partially resuming as I can make the system > beep with bad keys and was able to use the reboot command and ZZZ (which > worked but the resume didn't attach the display). Using the function keys to > swap interfaces or kill the backlight doesn't seem to do much (though screen > does dim so it does something). > > Tried i386 and amd64 kernels with a November current snapshot and a > snapshot from today with the same behavior. > > Consistently repeatable, just need to 'zzz' and it will sleep, wake up > and the screen doesn't engage/attach/activate. > > >How-To-Repeat: > > zzz or close lid on device. Attempt to wake up with keyboard or > lid-open. > >Fix: > <how to correct or work around the problem, if known (multiple lines)>
We should probably repost all known powervr devices given there is otherwise no kernel support. For now try this: Index: sys/dev/pci/vga_pci.c =================================================================== RCS file: /cvs/src/sys/dev/pci/vga_pci.c,v retrieving revision 1.81 diff -u -p -r1.81 vga_pci.c --- sys/dev/pci/vga_pci.c 28 Jul 2014 15:00:27 -0000 1.81 +++ sys/dev/pci/vga_pci.c 5 Dec 2014 02:55:20 -0000 @@ -167,6 +167,11 @@ static const struct vga_device_descripti 0x0000, 0x0000 }, { 0xffff, 0xffff, 0x0000, 0x0000 }, 1 }, + { /* All machines with Intel D2000/N2000 (until more evidence) */ + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_D2000_IGD, + 0x0000, 0x0000 }, + { 0xffff, 0xffff, 0x0000, 0x0000 }, 1 + }, }; #endif