You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going to leverage the PCI_IDS and USB_IDS data sets directly and ignore the udev construction stuff altogether. A tip of the hat to the CrOS developers for writing a nice script that we can leverage. 😁
The CrOS script is written in Python. Currently, clr-power-tweaks only generates C-code (with a perl script) for sysfs/procfs nodes specified in clr-power-tweaks.conf. To effectively leverage the CrOS whitelist script, I deem it necessary to generate headers for inclusion by pci.c and usb.c.
With my pedant hat on, it seems overkill to require perl and python at build-time. I am seriously considering re-implementing generate-tweaks.pl in python so all generation is done in one scripting language (python).
Summary says it all. See the following:
Investigate how much we can (or ought) to reuse/leverage, and integrate it into clr-power-tweaks.
The text was updated successfully, but these errors were encountered: