Date: Wed, 29 Jun 2005 19:01:59 +0400 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Bruno Ducrot <ducrot@poupinou.org> Cc: freebsd-current@freebsd.org, hartzell@alerce.com Subject: Re: suspend/restore almost works on Sony PCG-GRX570, acpi_video not good Message-ID: <1120057319.6226.1.camel@localhost> In-Reply-To: <20050629123505.GT8899@poupinou.org> References: <17077.62001.211846.349890@satchel.alerce.com> <20050629123505.GT8899@poupinou.org>
next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D3=D2, 29/06/2005 =D7 14:35 +0200, Bruno Ducrot =D0=C9=DB=C5=D4: > On Sun, Jun 19, 2005 at 03:31:13PM -0700, George Hartzell wrote: > >=20 > > Hi, > >=20 > > I'm working on a Sony PCG-GRX570. > >=20 > > I'm working with -CURRENT as of a few days ago. > >=20 > > I'm trying to get suspend and resume to work. S3 suspend and resume > > work (from X) when I boot off of a Ubuntu Linux 5.04 live CD. > >=20 > > Actually, suspend seems to be working. I have > >=20 > > hw.acpi.reset_video=3D0 > > hw.acpi.sleep_delay=3D4 > >=20 > > and a kernel that's stripped of everything I could get rid of. I > > eventually added fxp0 back in to see if it was coming back to life, > > the machine still almost resumes but the interface doesn't work (it > > does work pre-suspend). > >=20 > > When I suspend (from the console, no X, using acpiconf -s 3), the > > screen dims, the fan stops, and the green LED that usually says > > "powered on" switches to a slowly flashing red. > >=20 > > When I hit the any key, the screen brightens, the fan spins up, and > > after a couple of moments the disk light flashes a bit, and settles in > > to a fairly normal "I'm awake" kind of activity. > >=20 > > But the console's dead (no new prompt, no response to the keyboard) > > and pinging the interface from another machine doesn't do anything. > >=20 > > I *have* seen "acpi: resume at..." message in my /var/log/messages > > though, so it's getting somewhere. > >=20 > > I've googled around and it seems that many people have trouble w/ the > > backlight on suspend and the fix is the acpi_video module with the > > DPMS hack applied. It won't probe/attach on my machine, it seems that > > it doesn't have the right capabilities (dim, brighten). Since I > > don't care about them but want it to hook up suspend/resume actions, I > > butchered the probe routine. That left me w/ something that attached > > to 9 different devices (clearly I know enough to be dangerous, but no > > more...). The backlight did go out when I suspended though.... > >=20 > > I just noticed that if I lightly pop the power button after a "failed" > > resume, I get a lot of disk activity and on the next boot the disks > > are clean. Looks like it's doing the S5 thing (more or less) but > > doesn't actually poweroff (which it does normally). > >=20 > > There's a bunch of info (kernel cnfig file, asl, dmesg, loader.conf, > > pciconf -lv output, sysctl -a output, uname -a output) at: > >=20 > > http://grapeape.alerce.com/KONG > >=20 > > Setting hw.acpi.reset_video to 1 results in a dimmed LCD that > > brightens when I hit a key but there's no disk life and the power > > button doesn't do anything. > >=20 > > So, I'm trying to figure out what to try next. > >=20 > > Can someone suggest something to try? > >=20 >=20 > It seems there are propritary methods to control the brightess > looking around the asl. > Is there any kind of sony driver under FreeBSD? Brightness - yes, see acpi_sony.ko, but it just control how bright it is, not turn LCD on/off. --=20 Vladimir B. Grebenschikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1120057319.6226.1.camel>
