public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SonyPI Driver
@ 2001-09-18 15:57 Knut.Neumann
  0 siblings, 0 replies; 4+ messages in thread
From: Knut.Neumann @ 2001-09-18 15:57 UTC (permalink / raw)
  To: linux-kernel

Hi there,

I noticed that when running the sonypi driver on my VAIO z600tek, APM Suspend does no longer work: The power button (to suspend) does no longer work and - well - it will still suspend if I force it to, by apm -s but it does not resume (powers on, but blank screen and no input gets processed).

The system is a vaio z600tek with debian potato and kernel 2.4.9 apm compiled in and enabled at boot time. Its also patched with ext3 patch and latest acpi-patch (though acpi is disabled at boot). I as well observed this behaviour with a non-acpi-patched kernel. Sonypi is compiled as module and the system will correctly suspend and resume as long as the module is not loaded. After it has been loaded once, the system will no longer resume from suspend.

I assume that is because the driver is mainly based on acpi-functionality (and thus reverse engineering), but I am not quite sure. 

If anyone has an idea, please let me know (and please cc: to me as I am not subscribed to the list)

Thank you very much in advance.

-Knut

knut.neumann@uni-duesseldorf.de 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SonyPI Driver
@ 2001-09-18 16:20 Stelian Pop
  2001-09-20  9:23 ` Pavel Machek
  0 siblings, 1 reply; 4+ messages in thread
From: Stelian Pop @ 2001-09-18 16:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Knut.Neumann

> I noticed that when running the sonypi driver on my VAIO z600tek, APM Suspend
> does no longer work: The power button (to suspend) does no longer work and -
> well - it will still suspend if I force it to, by apm -s but it does not
> resume (powers on, but blank screen and no input gets processed).

Yep, using the sonypi driver switches the laptop in a pseudo acpi
mode and APM based suspend will get disabled.

This is a known problem and there is currently no workaround
(especially since on my Vaio - a C1VE model, even the APM suspend
hangs).

You'll have to wait for ACPI suspend support in the kernel
(some support will get into the 2.5 kernel series) or choose between
the sonypi driver and APM suspend.

Of course, you can always find a workaround, in which case I and many
other Vaio owners will be grateful to you :-).

Stelian.
-- 
Stelian Pop <stelian.pop@fr.alcove.com>
|---------------- Free Software Engineer -----------------|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alcôve, liberating software ---------------|

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SonyPI Driver
  2001-09-18 16:20 Stelian Pop
@ 2001-09-20  9:23 ` Pavel Machek
  2001-09-21  8:52   ` Stelian Pop
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2001-09-20  9:23 UTC (permalink / raw)
  To: Stelian Pop; +Cc: Linux Kernel Mailing List, Knut.Neumann

Hi!

> > I noticed that when running the sonypi driver on my VAIO z600tek, APM Suspend
> > does no longer work: The power button (to suspend) does no longer work and -
> > well - it will still suspend if I force it to, by apm -s but it does not
> > resume (powers on, but blank screen and no input gets processed).
> 
> Yep, using the sonypi driver switches the laptop in a pseudo acpi
> mode and APM based suspend will get disabled.
...
> You'll have to wait for ACPI suspend support in the kernel
> (some support will get into the 2.5 kernel series) or choose between
> the sonypi driver and APM suspend.

Patrick Mochel has some patches for ACPI to enable suspend-to-ram
[problems with vesafb nd evices, otherwise ok], and
I'm currently working on suspend-to-disk [will work in easy cases].
See acpi list.
								Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SonyPI Driver
  2001-09-20  9:23 ` Pavel Machek
@ 2001-09-21  8:52   ` Stelian Pop
  0 siblings, 0 replies; 4+ messages in thread
From: Stelian Pop @ 2001-09-21  8:52 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Linux Kernel Mailing List, Knut.Neumann, ACPI list

On Thu, Sep 20, 2001 at 09:23:14AM +0000, Pavel Machek wrote:

> > You'll have to wait for ACPI suspend support in the kernel
> > (some support will get into the 2.5 kernel series) or choose between
> > the sonypi driver and APM suspend.
> 
> Patrick Mochel has some patches for ACPI to enable suspend-to-ram
> [problems with vesafb nd evices, otherwise ok], and
> I'm currently working on suspend-to-disk [will work in easy cases].
> See acpi list.

Yes, I saw this and I keep looking at those, some day I might even
try them. :-)

The main problem for me now is that the current ACPI code does pretty
nothing on my laptop (Sony Vaio C1VE): no battery status, no event
recorded etc... This was already reported on the acpi list some
time ago.

I'm adding a CC: to the ACPI list just in case someone has an idea
on how to make ACPI working for me. If this is not an already known
problem just tell me and I will compile an ACPI enabled kernel again
and give additionnal details / debug info.

Stelian.
-- 
Stelian Pop <stelian.pop@fr.alcove.com>
|---------------- Free Software Engineer -----------------|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alcôve, liberating software ---------------|

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-21  8:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-18 15:57 SonyPI Driver Knut.Neumann
  -- strict thread matches above, loose matches on Subject: below --
2001-09-18 16:20 Stelian Pop
2001-09-20  9:23 ` Pavel Machek
2001-09-21  8:52   ` Stelian Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox