On Tue, Apr 28, 2020 at 05:26:49AM -0400, Dave Mielke wrote: > [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? udev rules can run any script/program that they want to :) greg k-h