2021-07-17 04:44 AM
Hi everyone,
I'm using STM32MP157F MPU and I'd like to set the "autosuspend" parameter. It's allocated in /sys/module/usbcore/parameters/autosuspend and its default value is 2. When I modify its value to 0 and press the reset button, it becomes 2 again. I'm following this post https://unix.stackexchange.com/questions/91027/how-to-disable-usb-autosuspend-on-kernel-3-7-10-or-above where users say to use grub, however that tool isn't available in OpenSTLinux.
Any ideas about how to keep "autosuspend" parameter modified after rebooting?
Thank you,
Oscar
2021-07-19 12:59 AM
Hi @Óscar Baselga ,
I'm not sure you are doing the right thing, but as first hint I would suggest to try a "sync" command prior to reset in order to force your change to be writen to your permanent storage.
Olivier