Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261924AbVDAAse (ORCPT ); Thu, 31 Mar 2005 19:48:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262053AbVDAAse (ORCPT ); Thu, 31 Mar 2005 19:48:34 -0500 Received: from 206.175.9.210.velocitynet.com.au ([210.9.175.206]:11222 "EHLO cunningham.myip.net.au") by vger.kernel.org with ESMTP id S261924AbVDAAs3 (ORCPT ); Thu, 31 Mar 2005 19:48:29 -0500 Subject: Re: noresume breaks next suspend [was Re: 2.6.12-rc1 swsusp broken] From: Nigel Cunningham Reply-To: ncunningham@cyclades.com To: Pavel Machek Cc: Benoit Boissinot , romano@dea.icai.upco.es, dtor_core@ameritech.net, Linux Kernel Mailing List , Andrew Morton In-Reply-To: <20050331222531.GE1802@elf.ucw.cz> References: <20050329110309.GA17744@pern.dea.icai.upco.es> <20050329132022.GA26553@pern.dea.icai.upco.es> <20050329170238.GA8077@pern.dea.icai.upco.es> <20050329181551.GA8125@elf.ucw.cz> <20050331144728.GA21883@pern.dea.icai.upco.es> <20050331165007.GA29674@pern.dea.icai.upco.es> <40f323d005033110292934aa1d@mail.gmail.com> <20050331222531.GE1802@elf.ucw.cz> Content-Type: text/plain Message-Id: <1112316622.18871.132.camel@desktop.cunningham.myip.net.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Fri, 01 Apr 2005 10:50:23 +1000 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1494 Lines: 45 Hi. On Fri, 2005-04-01 at 08:25, Pavel Machek wrote: > Hi! > > > > Yes! With this it works ok. > > > > > > > Also, could you please try sticking psmouse_reset(psmouse) call at the > > > > beginning of drivers/input/mouse/alps.c::alps_reconnect() and see if > > > > it can suspend _without_ the patch above. > > > > > > > Both patches are working for me (Dell D600). before i was unable to > > suspend to disk on this laptop (it was stuck in alps code). > > > > By the way, i have an unrelated problem: > > if the kernel was booted with the "noresume" option, it cannot be > > suspended, it fails with: > > > > swsusp: FATAL: cannot find swap device, try swapon -a! > > Uh, okay, logic error, probably introduced by resume-from-initrd > patch. Does this fix it? > > OTOH, perhaps refusing suspend is right thing to do. If user is > running in "safe mode" (with noresume), we don't want him to be able > to suspend... What? If you suspend, then decide not to resume, you can suspend again until after your next reboot?! Nigel -- Nigel Cunningham Software Engineer, Canberra, Australia http://www.cyclades.com Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028; Mob: +61 (417) 100 574 Maintainer of Suspend2 Kernel Patches http://suspend2.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/