Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactored code to add
boot
,shutdown
,suspend
,wake
,hibernate
,restore
,recording
, andvoice
profiles.Added
nuc_led_profiles
parameter to the module to allow mass setting of all profiles at module load time.Added
debug
parameter to allow calls to dmesg to indicate which parameter is invalid.Added
hibernate_same
parameter to tell the module to treat hibernation and suspension events seperately or the same.Added code to add
current
to each setting so that profiles can specify a particular setting to change (ie: brightness) without affecting other settings.Added code to allow use of numbers instead of labels (ie:
power
,blink_fast
, etc) in order to allow for shorter strings when passing all profiles to the module at one time.Modified
Makefile
so thatdkms.conf
is updated with version number inMakefile
before building.Modified
acpi_write_read
to use internal buffer for its playpen, instead of allocating seperate memory. Also implemented process blocking code to avoid unwanted buffer corruption.Updated
README.md
with a ton of new information pertaining to the modifications I've made to the code.