Re: VAIO GRX616SP & Red Hat 9

[email protected]
Newsgroups gmane.linux.hardware.sony
Message-ID <[email protected]>
On 25 Jul 2003, Jack Coates wrote:

> On Thu, 2003-07-24 at 22:54, Behdad Esfahbod wrote:
> > Hi all,
> > 
> > I have got my Vaio just for a few days, and I'm trying to set up 
> > things.  I have compiled redhat updates kernel 2.4.20-19.9.  It 
> > shouldn't need the acpi patches, as I checked that.  BTW, now I 
> > can understand if the AC adaptor is connected or not, but the 
> > battery modules does not work, means:
> > 
> > [behdad@mces behdad]$ cat /proc/acpi/battery/*/*
> > Present:                 no
> > Present:                 no
> > Present:                 no
> > Present:                 no
> 
> 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.

> > Another thing, when I do cat /proc/acpi/events, I see nothing.  
> > What actions create events?  Another thing, I insmoded sonypi, 
> > and now I see log entries when I use Fn keys, but nothing more.
> > I have also insmoded speedstep, so I can change the CPU freq.
> > 
> > I have installed acpi and acpid packages too.
> > 
> > I've got some questions, any help, or precise answer to qny of 
> > them is highly appreciated:
> > 
> > - How should I fix the battery module?\-
> > 
> > - How should I use sonypi?  Any applications around?
> > 
> 
> rsjog is a nice one.

Would try that.

> > - Anything like gnome's battstat-applet that uses acpi instead of 
> > apm?   How people usually use the acpi thing?
> > 
> 
> gkacpi, kacpi -- I don't know about one for the gnome panel 
though.

thanks you.  gkacpi should be the gnome one.

> > - 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.

> > - 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?

> > - 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.

> > 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.

-- 
Behdad Esfahbod		3 Mordad 1382, 2003 Jul 25 
http://behdad.org/	[Finger for Geek Code]

If you do a job too well, you'll get stuck with it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.