151013 Daniel Frey wrote: > On 10/13/2015 09:00 PM, Philip Webb wrote: >> 151013 Daniel Frey wrote: >>> On 10/13/2015 05:39 PM, Philip Webb wrote: >>>> but doesn't wake up when the power button or a key is pressed ; >>> There was a kernel change some time back >>> that disabled usb wake-up on all USB hubs. >>> Userspace needs to explicitly enable them or device wakeup will not work. >>> I wrote a script some time back to do that, >>> but it can probably be done with a udev rule. >> Don't be coy ! -- can you post your script here ? >> what would such a udev rule look like ? > Hah - sorry about that. Most people apparently use udev to do that. > I wrote my script first and used it instead. I never really looked > into udev as my script [kludge?] still works, I just tried it. > I posted it in the Docs, Tips & Tricks forum [1] some time back > & it's also on pastebin [2]. Use at your own risk ! > I've attached it here as well. The forum post lists how to use it. > Wow, 18,000 views to the forum post. I wonder if that's good or bad ? > It requires root, so you may want to put it in /sbin/. > Run it with no options and it'll display a usage page. > All it does is do some searching in the /sys/devices tree > and tries to find appropriate items to show. > [1] https://forums.gentoo.org/viewtopic-t-933934-highlight-usbwakeup.html > [2] http://pastebin.com/cYstsSSa
-- script snipped -- Thanks lots ! -- I looked up [1], which has useful extra advice. However, it occurs to me that my keyboard (Sanyo 1989) is PS/2 , so the script will help only to enable restart via the mouse. There's a PS/2 setting on the mobo, which I've enabled, but might there also be something in the kernel which needs enabling ? Lots of people seem to have problems with suspend/restart & it seems to be somewhat random & vary with different makes of mobo, so any further suggestions here may help others in future too. -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatchassdotutorontodotca