Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CONFIG] add FORCE_MODULE_UNLOAD for rmmod -f #72

Merged
merged 1 commit into from
Jul 30, 2023

Conversation

Apaczer
Copy link
Member

@Apaczer Apaczer commented Jul 29, 2023

Mostly to handel unload/load fb0 kernel modules, simple script like this works when launched from device:

sleep 10 & 
sleep 2
rmmod -f <fb_module1>
sleep 1
modprobe <fb_module2>
sleep 0.5

This is not ideal, as it force kill all processes dependant from /dev/miyoo_fb0 (see lsof <kernel_module>), for e.g. daemon crashes and you can't launch above script with /dev/ttyGS0 (OTG) active.

For now very usefull when developing.

maybe usefull with modprobe -rf <>
@Apaczer Apaczer merged commit 10f10f3 into MiyooCFW:master Jul 30, 2023
1 check passed
@Apaczer Apaczer deleted the rmmod branch July 30, 2023 06:58
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.

1 participant