Wrong exmple in "etc/laptop-mode/conf.d/runtime-pm.conf"

Bug #1656750 reported by Luo Lei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Laptop Mode Tools
Fix Committed
Medium
Ritesh Raj Sarraf

Bug Description

Line #44 in "etc/laptop-mode/conf.d/runtime-pm.conf"
# Example: AUTOSUSPEND_DEVID_BLACKLIST="usbhid usb-storage"

should be as follows:
# Example: AUTOSUSPEND_DEVTYPE_BLACKLIST="usbhid usb-storage"

I've copied the example to set device type and failed. Found the typo finally.

Revision history for this message
Ritesh Raj Sarraf (rrs) wrote :

What version of Laptop Mode Tools are you using ? ON what distribution ? Did you install from source ?

In the upstream repo, it is already mentioned correctly.
https://github.com/rickysarraf/laptop-mode-tools/blob/lmt-upstream/etc/laptop-mode/conf.d/runtime-pm.conf#L45

Changed in laptop-mode-tools:
assignee: nobody → Ritesh Raj Sarraf (rrs)
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Ritesh Raj Sarraf (rrs) wrote :

I just checked the entire revision history for that file. Never was it marked for DEVID_BLACKLIST for device types. It must have been a copy/paste error at your end.

I'm marking this bug as invalid and closing it. If you have newer information proving it a bug, please feel free to re-open it.

Changed in laptop-mode-tools:
status: Incomplete → Invalid
Revision history for this message
Luo Lei (luolei) wrote :
Revision history for this message
Ritesh Raj Sarraf (rrs) wrote :

Thank you Luo. I see it now. Fixed in 1266b6cd0fdf2320061e59b30b129e60002ad0d9.

Changed in laptop-mode-tools:
status: Invalid → Confirmed
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.