Re: 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Apr 1, 2005 11:14 AM, Benoit Boissinot <[EMAIL PROTECTED]> wrote: > On Mar 31, 2005 8:09 PM, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > > It works, too. Which one is the best one? > > > > > > > Both of them are needed as they address two different problems. > > > I tried to boot with the 2 patches applied (and the patch which solves > noresume) and now touchpad/touchpoint no longer works (with this > kernel or with an older kernel). > Could you be more explicit - it is not recognized at all or it is recognized but mouse pointer does not move or something else? dmesg also might be interesting. Also, the 2nd "patch" was never published, could you post what exactly you have applied? Thanks! -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Mar 31, 2005 8:09 PM, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > It works, too. Which one is the best one? > > > > Both of them are needed as they address two different problems. > I tried to boot with the 2 patches applied (and the patch which solves noresume) and now touchpad/touchpoint no longer works (with this kernel or with an older kernel). Were the 2 patches safe or is it unrelated ? Is there an easy way to get the touchpad back ? regards, Benoit - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Thursday 31 March 2005 11:50, Romano Giannetti wrote: > On Thu, Mar 31, 2005 at 10:15:26AM -0500, Dmitry Torokhov wrote: > > On Thu, 31 Mar 2005 16:47:29 +0200, Romano Giannetti <[EMAIL PROTECTED]> > > wrote: > > > > > > The bad news is that with 2.6.12-rc1 (no preempt) swsusp fails to go. > > > > Ok, I see you have an ALPS touchpad. I think this patch will help you > > with swsusp: > > > > http://marc.theaimsgroup.com/?l=linux-kernel&m=111212532524998&q=raw > > 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. > > It works, too. Which one is the best one? > Both of them are needed as they address two different problems. -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Thu, 31 Mar 2005 18:50:07 +0200, Romano Giannetti <[EMAIL PROTECTED]> wrote: > On Thu, Mar 31, 2005 at 10:15:26AM -0500, Dmitry Torokhov wrote: > > On Thu, 31 Mar 2005 16:47:29 +0200, Romano Giannetti <[EMAIL PROTECTED]> > > wrote: > > > > > > The bad news is that with 2.6.12-rc1 (no preempt) swsusp fails to go. > > > > Ok, I see you have an ALPS touchpad. I think this patch will help you > > with swsusp: > > > > http://marc.theaimsgroup.com/?l=linux-kernel&m=111212532524998&q=raw > > 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! Thanks, Benoit - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Thu, Mar 31, 2005 at 10:15:26AM -0500, Dmitry Torokhov wrote: > On Thu, 31 Mar 2005 16:47:29 +0200, Romano Giannetti <[EMAIL PROTECTED]> > wrote: > > > > The bad news is that with 2.6.12-rc1 (no preempt) swsusp fails to go. > > Ok, I see you have an ALPS touchpad. I think this patch will help you > with swsusp: > > http://marc.theaimsgroup.com/?l=linux-kernel&m=111212532524998&q=raw 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. It works, too. Which one is the best one? I will try now with preempt, although I suspect that this was an unrelated problem. Thanks a lot, Romano -- Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain) Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Thu, Mar 31, 2005 at 10:15:26AM -0500, Dmitry Torokhov wrote: > On Thu, 31 Mar 2005 16:47:29 +0200, Romano Giannetti <[EMAIL PROTECTED]> > wrote: > > > > The bad news is that with 2.6.12-rc1 (no preempt) swsusp fails to go. > > Ok, I see you have an ALPS touchpad. I think this patch will help you > with swsusp: > > http://marc.theaimsgroup.com/?l=linux-kernel&m=111212532524998&q=raw > > 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. I will try in a moment. But... probably I am not understanding but... the patch is at "resume()" and my problem happens during suspend... ...mumbling... ...is because we suspend, then restart to write image, then suspend again? Maybe. Will try. By the way, thanks for the ALPS integration, it works very well for me in 2.6.11. Romano -- Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain) Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Thu, 31 Mar 2005 16:47:29 +0200, Romano Giannetti <[EMAIL PROTECTED]> wrote: > > The bad news is that with 2.6.12-rc1 (no preempt) swsusp fails to go. Ok, I see you have an ALPS touchpad. I think this patch will help you with swsusp: http://marc.theaimsgroup.com/?l=linux-kernel&m=111212532524998&q=raw 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. Thanks! -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]
On Tue, Mar 29, 2005 at 08:15:51PM +0200, Pavel Machek wrote: > I'd start with non-preempt 2.6.12-rc1, then remove all the > unneccessary drivers, boot init=/bin/bash, and see what happens. Tried it. Well, the good news is that now I can use correctly the serial console. I discovered that if I use console=ttyS0,115200n8 all the message goes through the cable... but if I add (as per documentation) console=tty0 too, something goes to the serial console and something no... but well, I can live with it. The bad news is that with 2.6.12-rc1 (no preempt) swsusp fails to go. The all thing that can capture the serial console is: Mar 31 16:14:52 rukbat kernel: [4294819.325000] usbcore: deregistering driver usbhid Mar 31 16:14:52 rukbat kernel: [4294819.537000] uhci_hcd :00:07.2: remove, state 1 Mar 31 16:14:52 rukbat kernel: [4294819.537000] usb usb1: USB disconnect, address 1 Mar 31 16:14:52 rukbat kernel: [4294819.537000] usb 1-2: USB disconnect, address 2 Mar 31 16:14:52 rukbat kernel: [4294819.714000] uhci_hcd :00:07.2: USB bus 1 deregistered Mar 31 16:14:52 rukbat kernel: [4294819.729000] uhci_hcd :00:07.3: remove, state 1 Mar 31 16:14:52 rukbat kernel: [4294819.729000] usb usb2: USB disconnect, address 1 Mar 31 16:14:52 rukbat kernel: [4294819.819000] uhci_hcd :00:07.3: USB bus 2 deregistered Mar 31 16:14:52 rukbat kernel: [4294819.861000] usbcore: deregistering driver usbmouse [4294821.492000] Stopping tasks: ===| [4294821.505000] Freeing memory... done (44548 pages freed) And then stops dead. One thing I noticed: the "rotating bar" is now much more slow than before (although the total time before "done" is not changed a lot, it seems). Could be a hint? the full log (42k) is here http://www.dea.icai.upco.es/romano/linux/swsusp/2612-rc1.log I tried with init=/bin/bash, same thing, here: http://www.dea.icai.upco.es/romano/linux/swsusp/2612-rc1-2nd.log To compare, this is a full log of boot, suspend and successful resume with 2.6.11: http://www.dea.icai.upco.es/romano/linux/swsusp/2611-rg.log it's not vanilla, it has the following patch applied, but I tested with and without it and nothing change (that is, all is OK in this kernel) http://www.dea.icai.upco.es/romano/linux/config-2.6.11-rg/patch-no3851.id4516 Well... what can I do now (apart doing some real work)? I can try to debug why 2.6.11 with preempt fail, or continue on 2.6.12? I am willing to help! Thank you for your help, Romano -- Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain) Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/