On 29.09.2016 23:36, Pierre de Villemereuil wrote:
Hi Mathias, It seems you are right: entering echo on > /sys/bus/pci/devices/0000\:00\:14.0/power/control does tame USB to behave properly. However, every time the AC is plugged/unplugged, this value gets overridden. Any way to make this permanent? (I realise this would harm a tiny bit of my battery life, but I guess not enough for me to realise it).
There's probably something like laptop-mode-tools that sets these, I'm not really familiar, or using it myself but I'd start looking in /etc/laptop-mode/laptop-mode.conf /etc/laptop-mode/conf.d/* and try to find the configuration that enables runtime power management for usb host while on battery. -Mathias -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html