[laptop-mode] usbhid autosuspend

list at phuk.ath.cx list at phuk.ath.cx
Wed Jul 29 17:12:07 CEST 2009


This is a multi-part message in MIME format.
--------------000002090801050805010708
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

ich at phuk.ath.cx wrote:
> list at phuk.ath.cx wrote:
>> Ritesh Raj Sarraf wrote:
>>> Very thanks for the patch. I've committed it and it should be part of 
>>> the next release.
>>>
>>> Ritesh
>>>
>>>
>>> On Wednesday 29 Jul 2009 02:11:01 list at phuk.ath.cx wrote:
>>>> Alright.
>>>> Now this is a patch against 1.50 trunk that adds a USB-ID blacklist.
>>>> It's empty by default, so users will have to realize they have broken
>>>> hardware.
>>>>
>>>> I also updated the config notice to reflect my view of the problem,
>>>> which is pretty much in line with what the kernel devs think. If you're
>>>> not okay with that, feel free to change it as you like.
>>>>
>>>> You might also want to give it another test run on your system. So 
>>>> far I
>>>> did not take proper care to test all possible border- or
>>>> error-conditions. However the worst-case behaviour is limited to
>>>> suspending a device when actually it shouldn't.
>>>
>>
>> Damn. Sorry, there's an error in there. Wait a minute, correct patch 
>> follows...
>>
> 
> Alright. I'm sorry. We want to consider an item blacklisted if both 
> vendor and product ID match, not just one of them. So this should behave 
> now.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> laptop-mode mailing list
> laptop-mode at mailman.samwel.tk
> http://mailman.samwel.tk/mailman/listinfo/laptop-mode

Patch for the already-patched file.

--------------000002090801050805010708
Content-Disposition: inline;
 filename="usb-autosuspend.patch.patch"
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

An embedded and charset-unspecified text was scrubbed...
Name: usb-autosuspend.patch.patch
URL: <http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20090729/336ebe13/attachment.asc>

--------------000002090801050805010708--


More information about the laptop-mode mailing list