NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/50733: (Only) partial failure of laptop sleep (ACPI S3)



The following reply was made to PR port-amd64/50733; it has been noted by GNATS.

From: coypu%SDF.ORG@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-amd64/50733: (Only) partial failure of laptop sleep (ACPI
 S3)
Date: Thu, 4 Aug 2016 20:12:32 +0000

 So the following combinations work:
 
 With radeon enabled:
 boot with userconf disable gpio
 sysctl -w hw.acpi.sleep.vbios=0
 sysctl -w hw.acpi.sleep.state=3
 
 alternatively. if radeon and gpio are disabled, I believe I needed
 hw.acpi.sleep.vbios=2. note the default is 1.
 
 Running Xorg is still problematic.
 
 I believe gpio(4) is missing gpio_activate, in sys/dev/gpio/gpio.c we
 have:
 
 93 CFATTACH_DECL3_NEW(gpio, sizeof(struct gpio_softc),
 94     gpio_match, gpio_attach, gpio_detach, NULL, gpio_rescan,
 95     gpio_childdetached, DVF_DETACH_SHUTDOWN);
 
 NULL should probably be gpio_activate.
 
 (this fixes problem 2)
 
 Disk not waking up after suspend was helped by changing to a brand new
 SSD. (problem 1)
 


Home | Main Index | Thread Index | Old Index