Skip to content

check if ec_sys file interface already exists before modprobe#118

Open
raymond-w-ko wants to merge 1 commit intopop-os:masterfrom
raymond-w-ko:master
Open

check if ec_sys file interface already exists before modprobe#118
raymond-w-ko wants to merge 1 commit intopop-os:masterfrom
raymond-w-ko:master

Conversation

@raymond-w-ko
Copy link

The stock Arch Linux kernel has the 'ec_sys' module compiled in, which
means there is nothing to modprobe, causing an error. Make the code
check for the existence of this file interface before attempting to
modprobe.

Also, add a write check as the file interface is not writable by
default.

The stock Arch Linux kernel has the 'ec_sys' module compiled in, which
means there is nothing to modprobe, causing an error. Make the code
check for the existence of this file interface before attempting to
modprobe.

Also, add a write check as the file interface is not writable by
default.
mmstick
mmstick previously approved these changes Jul 29, 2019
@mmstick mmstick requested a review from brs17 July 29, 2019 17:03
@jackpot51 jackpot51 changed the base branch from master_jammy to master March 20, 2025 21:19
@jackpot51 jackpot51 dismissed mmstick’s stale review March 20, 2025 21:19

The base branch was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants