Re: Writing to /sys/../power/autosuspend when not root.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[quoted lines by Greg KH on 2020/04/27 at 12:30 +0200]

>Have a udev rule that turns autosuspend off for each specific USB device
>that you know does not work with autosuspend.  

Yes, thanks, that should work. I have another question, though. Our code first
tries to write "-1" to power/autosuspend, and then, if that fails, it writes
"0". I'm guessing that "-1" was an older way (but I've forgotten). How can a
udev rule be written to accommodate that?

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave@xxxxxxxxx  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux