Skip to Content.
Sympa Menu

linux-sony-z1 - Re: [linux-sony-z1] swsusp2 patch 98 not working at all on Sony and Alsa patch

Subject: Linux users of Sony Z1 series

List archive

Re: [linux-sony-z1] swsusp2 patch 98 not working at all on Sony and Alsa patch


Chronological Thread 
  • From: "Svetoslav Slavtchev" <>
  • To: Brouard Nicolas <>
  • Cc:
  • Subject: Re: [linux-sony-z1] swsusp2 patch 98 not working at all on Sony and Alsa patch
  • Date: Wed, 21 Jul 2004 01:00:07 +0200 (MEST)

> Le mar 20/07/2004 à 13:13, Svetoslav Slavtchev a écrit :
> > > rpm --rebuild kernel-sds-2.6.7-1.sds.23mdk-1-1mdk.nosrc.rpm --with
> > > uponly --with win4lin --with swsusp2 --without apic
>
> > it does work here,
> > well it doesn't power off, but if i turn the power off(via power button)
> > i'm able to resume without problems
>
> On the Sony, it looks like it is powered off (hard disc stops, screen
> blank, button black). But it is not correctly off. And you can't do
> anything, pressing the start button doesn't do anything neither restart.
> The only solution, also reported by other people on acpi-devel or swsusp
> (I don't remember) is to unplug the battery (and AC). Then, you can plug
> the battery again. And pressing the start button will resume correctly.
>
> Nigel reported that patches 97 and 98 were experimental with some S4
> features. Patches 99 and 100 corrected the previous bugs (97 and 98) but
> you had something to do with ACPI which I did not understand.

they didn't corrected it, but they did added an option to
disable the new feature, which breaks poweroff


> > issues here are:
> > - alsa has to be stoped/started
> > or my audigy wont give a sound after resume
> > (my usb-audio seems to work fine after resume
> > without unloading)
> > - my radeon card hangs unless the agp and card
> > drivers are reloaded after resume
> >
> > that's with going to runlevel 3 and
> > echo 1 > /proc/swsusp/activate
> >
> > i haven't tried the scripts
>
> You should try the script (just a useful file
> /etc/hibernate/hibernate.conf).

hm,
i don't really use swsusp, i just try to make some people happy :-)
and as i added it to the kernel i have to test it
i own just a desktop PC, which would have uptime at least a month
if i shouldn't test my kernels

> I haven't test all features (I have had some problems (but only once
> when on my replicator) like sound. But here is a patch for Alsa that you
> probably could incorporated. (the swsusp mailing list moved).

i've seen that the list moved,
and i sort of don't like the patch
cause it's pretty different from the fix in current (cvs version)
of alsa

i've almost merged alsa cvs, but with the free time i have ... :(

but i'll drop very soon a sds24 with only the attached patches added
i really hope they'll fix 2.0.0.98 for you


AS21_swsusp2_acpiS4_config_from2.0.0.99.patch
- extract the acpi-S4 config option from 2.0.0.99
you should disable it, to get the behaviour of
2.0.0.96 (this is also the default setting for -sds24)
AS22_swsusp2_progress_fix_from_2.0.0.100.patch
- extract the fix for the progressbar from 2.0.0.100

and the most important one :-) (which you might skip)
AS29_swsusp2_change_version.patch
- change swsusp2 version from "2.0.0.98" to "2.0.0.98sds"

best,

svetljo

PS.

it does power down here, so i really hope it'll work
for you too

Attachment: AS21_swsusp2_acpiS4_config_from2.0.0.99.patch
Description: application/octect-stream

Attachment: AS22_swsusp2_progress_fix_from_2.0.0.100.patch
Description: application/octect-stream

Attachment: AS29_swsusp2_change_version.patch
Description: application/octect-stream



  • Re: [linux-sony-z1] swsusp2 patch 98 not working at all on Sony and Alsa patch, Svetoslav Slavtchev, 07/21/2004

Archive powered by MHonArc 2.6.18.

Top of Page