
# Sometimes the kernel is too aggressive trying to suspend the USB port when it's actually in use. Disabling runtime suspend for the port usually helps a lot.
RULES_FILE=/etc/udev/rules.d/80-modem-eg25.rules
sed -i 's/ACTION=="add"/ON ACTION=="add"/' $RULES_FILE
sed -i 's/ATTR{power/control}="auto"/ATTR{power/control}="on"/' $RULES_FILE
