Tobias Diedrich wrote:Ok, after another long debugging session I finally found out the reason for the immediate reboot (after finding the place that suspends the serial console (drivers/pnp) and disabling that suspend path): The system is woken up by USB activity! (Optical mouse, anyone?) Lo and behold: drivers/usb/core/hcd-pci.c tries it's best to activate 'wake on usb', which I didn't know since it apparently also never worked. However, after applying the 'use platform_enable_wakeup'-patch, not only forcedeth wake starts working, also usb wake. If I prevent usb wake: |echo disabled > /sys/devices/pci0000\:00/0000\:00\:02.0/power/wakeup' |echo disabled > /sys/devices/pci0000\:00/0000\:00\:02.1/power/wakeup' And then hibernate in platform mode, the immediate reboot is gone and waking up using magic packets works fine even without setting up /proc/acpi/wakeup first. Maybe I should try hooking mouse and keyboard onto different usb host controllers, so I can disable wakeup for the mouse host controller and enable wakeup for the keyboard host controller, then it should be possible to wake the system by pressing a key. :) -- Tobias PGP: http://9ac7e0bc.uguu.de このメールは十割再利用されたビットで作られています。 --
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Joe Perches | [PATCH 015/148] include/asm-x86/checksum_64.h: checkpatch cleanups - formatting only |
| Jeremy Allison | Re: [RFC] Heads up on sys_fallocate() |
git: | |
| Corey Minyard | [PATCH 3/3] Convert the UDP hash lock to RCU |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
