Re: "reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Johannes Weiner
Hi, On Tue, Mar 20, 2007 at 07:01:21PM +0100, Pavel Machek wrote: > > What does the "reboot" swsusp mean? > > echo reboot > ...disk. Thank you. > > I am having this (or a similar problem): > > > > echo shutdown > /sys/power/disk; echo disk > /sys/power/state > > Yep, that's duplicate.

Re: "reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Pavel Machek
Hi! > > Yes, we could do that. > > > > OTOH, we could simply avoid calling the platform code in resume > > path. It worked ok for a long while, and it seems to have no > > downsides... > > No, we have always done it, actually, but not in this particular place. ;-) > > In theory, avoiding it

Re: "reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Rafael J. Wysocki
On Tuesday, 20 March 2007 18:20, Pavel Machek wrote: > Hi! > > > > ...and cause is really simple. > > > > > > During resume, we do not know that "reboot" method was used, so we > > > assume plaform and make the led blink... > > > > > > Unfortunately I see no easy solution, and this may/will

Re: "reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Pavel Machek
Hi! > > ...and cause is really simple. > > > > During resume, we do not know that "reboot" method was used, so we > > assume plaform and make the led blink... > > What does the "reboot" swsusp mean? echo reboot > ...disk. > I am having this (or a similar problem): > > echo shutdown >

Re: "reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Pavel Machek
Hi! > > ...and cause is really simple. > > > > During resume, we do not know that "reboot" method was used, so we > > assume plaform and make the led blink... > > > > Unfortunately I see no easy solution, and this may/will cause other > > problems -- in case of broken bios and user telling us

Re: "reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Rafael J. Wysocki
On Tuesday, 20 March 2007 13:32, Pavel Machek wrote: > Hi! > > ...and cause is really simple. > > During resume, we do not know that "reboot" method was used, so we > assume plaform and make the led blink... > > Unfortunately I see no easy solution, and this may/will cause other > problems --

Re: "reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Rafael J. Wysocki
OTECTED]>, > > kernel list > > Cc: Andrew Morton <[EMAIL PROTECTED]> > > Subject: "reboot" swsusp mode leaves moon icon blinking > > > > Hi! > > > > ...and cause is really simple. > > > > During resume, we do not kn

Re: "reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Johannes Weiner
Hi, On Tue, Mar 20, 2007 at 01:32:45PM +0100, Pavel Machek wrote: > Date: Tue, 20 Mar 2007 13:32:45 +0100 > From: Pavel Machek <[EMAIL PROTECTED]> > To: "Rafael J. Wysocki" <[EMAIL PROTECTED]>, > kernel list > Cc: Andrew Morton <[EMAIL PROTECTED]

"reboot" swsusp mode leaves moon icon blinking

2007-03-20 Thread Pavel Machek
Hi! ...and cause is really simple. During resume, we do not know that "reboot" method was used, so we assume plaform and make the led blink... Unfortunately I see no easy solution, and this may/will cause other problems -- in case of broken bios and user telling us not to call that bios, we'll

reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Pavel Machek
Hi! ...and cause is really simple. During resume, we do not know that reboot method was used, so we assume plaform and make the led blink... Unfortunately I see no easy solution, and this may/will cause other problems -- in case of broken bios and user telling us not to call that bios, we'll

Re: reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Johannes Weiner
mode leaves moon icon blinking Hi! ...and cause is really simple. During resume, we do not know that reboot method was used, so we assume plaform and make the led blink... What does the reboot swsusp mean? I am having this (or a similar problem): echo shutdown /sys/power/disk

Re: reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Rafael J. Wysocki
Cc: Andrew Morton [EMAIL PROTECTED] Subject: reboot swsusp mode leaves moon icon blinking Hi! ...and cause is really simple. During resume, we do not know that reboot method was used, so we assume plaform and make the led blink... What does the reboot swsusp mean? I am having

Re: reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Rafael J. Wysocki
On Tuesday, 20 March 2007 13:32, Pavel Machek wrote: Hi! ...and cause is really simple. During resume, we do not know that reboot method was used, so we assume plaform and make the led blink... Unfortunately I see no easy solution, and this may/will cause other problems -- in case of

Re: reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Pavel Machek
Hi! ...and cause is really simple. During resume, we do not know that reboot method was used, so we assume plaform and make the led blink... Unfortunately I see no easy solution, and this may/will cause other problems -- in case of broken bios and user telling us not to call

Re: reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Pavel Machek
Hi! ...and cause is really simple. During resume, we do not know that reboot method was used, so we assume plaform and make the led blink... What does the reboot swsusp mean? echo reboot ...disk. I am having this (or a similar problem): echo shutdown /sys/power/disk;

Re: reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Rafael J. Wysocki
On Tuesday, 20 March 2007 18:20, Pavel Machek wrote: Hi! ...and cause is really simple. During resume, we do not know that reboot method was used, so we assume plaform and make the led blink... Unfortunately I see no easy solution, and this may/will cause other problems

Re: reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Pavel Machek
Hi! Yes, we could do that. OTOH, we could simply avoid calling the platform code in resume path. It worked ok for a long while, and it seems to have no downsides... No, we have always done it, actually, but not in this particular place. ;-) In theory, avoiding it could be

Re: reboot swsusp mode leaves moon icon blinking

2007-03-20 Thread Johannes Weiner
Hi, On Tue, Mar 20, 2007 at 07:01:21PM +0100, Pavel Machek wrote: What does the reboot swsusp mean? echo reboot ...disk. Thank you. I am having this (or a similar problem): echo shutdown /sys/power/disk; echo disk /sys/power/state Yep, that's duplicate. Try patch below. I