I also tried to increase the msleep, (retry = 5) - msleep(20); + msleep(40);
The same result on #7. I am not sure whether this applies to my AMD Ryzen 5 2500U.
Update: If the system is powered off for long time (i.e. 5+ mins), the patch will work.
In any case, it seems there are still room for improvement.
I also tried to increase the msleep, (retry = 5)
- msleep(20);
+ msleep(40);
The same result on #7. I am not sure whether this applies to my AMD Ryzen 5 2500U.
Update: If the system is powered off for long time (i.e. 5+ mins), the patch will work.
In any case, it seems there are still room for improvement.