Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2438

Raspberry Pi OS • Cannot rm certain kernal files

$
0
0
Hello I have a couple of scripts using libcomposite to load modules and unload previous modules from the usb c port. For example i have a module that creates a midi and audio devices on the usb c line i have the usb set to peripheral mode. I have raspberry pi os lite 64 bit installed. However when i try to unload the RNDIS for ethernet on windows i need to delete a folder which is made in /sys/kernel/config/usb_gadget/usb-gadget/configs

i can remove a config file but i cannot remove something like MaxPower i get operation not permitted. I am a root user and i don't know why i can delete some files and directorys but not others there. I can't really find anything specific online and chatgpt just gives generic answers which don't work. can somebody please help me?

thanks in advance!

Statistics: Posted by gasman123 — Thu Feb 06, 2025 9:42 pm



Viewing all articles
Browse latest Browse all 2438

Trending Articles