Re: VAIO GRX616SP & Red Hat 9
Jack Coates <[email protected]>
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Organization | Monkeynoodle.Org |
| Message-ID | <[email protected]> |
On Fri, 2003-07-25 at 09:48, [email protected] wrote: > ...> > > looks like the ACPI modules aren't loading. > > They are there. Otherwise there would be no /proc/acpi/battery. > BTW, I can live without them, as sonypi already reports the > battery status. > good point; failing that, you may have an old version of ACPI or unsupported hardware. > ...> > > gkacpi, kacpi -- I don't know about one for the gnome panel > though. > > thanks you. gkacpi should be the gnome one. > no, it's actually for gkrellm. > > > - Either with apm, or acpi, when mI do sleep or suspend, or > > > anything else, I get back, actually I see no signs of getting > > > back. I have set up resume=/dev/hdxy, but that should be related > > > to the suspend to disk, what about the others? I did echo 3 > > > > /proc/acpi/sleep. > > > > > sleep (suspend to ram) isn't supported in 2.4 kernels at all; suspend to > > disk works for some people, but not for all. Have a look at > > /etc/suspend.conf and the pmsuspend script, you might be able to tweak > > them and get lucky. > > Well, it's a redhat kernel. They usually do port backwards. > So, how should I check if it works? any modules? piece of code? > How should I do suspend to disk? Also, how can I grab the power > button? currently it does nothing, and neither acpi nor sonypi > catch that. > nobody's backporting this, suspend-to-ram relies on code that is only available in 2.5.*. http://sourceforge.net/projects/swsusp and the older page at http://fchabaud.free.fr/English/default.php3?COUNT=3&FILE0=Tricks&FILE1=Laptop&FILE2=Swsusp have information on suspend-to-disk. Once you've got that working, you can grab power button events with acpid. For instance: [jack@chupacabra jack]$ cat /etc/acpi/events/power # change screen brightness when AC adapter comes and goes event=ac_adapter.* action=/etc/acpi/actions/powerchange # shut down when power button is pressed event=button/power.* action=/usr/local/sbin/halt-dialog > > > - Anything else that can be caught by sonypi module other than Fn > > > keys? > > > > jogdial events. > > What is this jogdial thing? the common wheel that almost all > sony products have? I don't have one. Or is it somewhere I > couldn't find out yet? > Right -- bummer, mine is right between the mouse buttons and makes a handy scroll wheel. > > > - Any ready systems that sets cpu speed based on acpi output (on > > > battery, ...)? > > > > there are some scripts out there for listening to acpi events and > > running tools like longrun -- autospeedstep is a more efficient way to > > do it though, so I'd just stick with that. > > Thanks you. Weird that Red Hat has almost no support for these > stuff. > We try to avoid distro wars on this list, but if you're looking for a better out-of-the-box laptop experience, you might try out Mandrake or SuSE. > > > Well, I really need some help. Please do that. > > > > > > Behdad > > Thanks you very much. If I can get any suspend or sleep mode > working, I almost have all what I need. Then I'm going to do > some hacking, to make everything work from the GUI. I still don't have swsusp working, unfortunately, but I'm also not willing to keep up with the bleeding edge of development. I've got most everything GUI-fied and/or key-press triggered now though, thanks to acpid and rsjog for sonypi events. -- Jack Coates Monkeynoodle: A Scientific Venture...