/etc/udev/rules.d/10-usb-power.rules does not work Slackware64 14.2
by bigbadaboum from LinuxQuestions.org on (#6EYAH)
after 3 years of use only as a 4G modem, my phone's battery is very swollen, the cover no longer close.
motherboard asus/intel, phone asus/qualcomm
sudo lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 011: ID 0b05:7774 ASUSTek Computer, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/etc/udev/rules.d/10-usb-power.rules
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="7774", ATTR{power/control}="off", ATTR{power/autosuspend_delay_ms}="500", ATTR{power/level}="auto"
if I change the rules in /sys/bus/usb/devices/3-3/power/ they will be overwritten after a few seconds
anyone have an idea?
motherboard asus/intel, phone asus/qualcomm
sudo lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 003 Device 011: ID 0b05:7774 ASUSTek Computer, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/etc/udev/rules.d/10-usb-power.rules
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="7774", ATTR{power/control}="off", ATTR{power/autosuspend_delay_ms}="500", ATTR{power/level}="auto"
if I change the rules in /sys/bus/usb/devices/3-3/power/ they will be overwritten after a few seconds
anyone have an idea?