[General Topics] BYgrex:
Hello,

I am using ThinkPad with three USB v3 ports running Linux 4.14. When I try charging my MT6572 device turned off (its battery is not replacable), the result depends on which USB port it is connected to. It charges fine (but probably slow) if connected to one of my two regular USB ports:

kernel: [192220.220540] usb 2-3: new high-speed USB device number 22 using xhci_hcd
kernel: [192220.369801] usb 2-3: New USB device found, idVendor=0e8d, idProduct=2000
kernel: [192220.369806] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [192220.369809] usb 2-3: Product: MT65xx Preloader
kernel: [192220.369811] usb 2-3: Manufacturer: MediaTek
kernel: [192220.432288] cdc_acm 2-3:1.1: ttyACM0: USB ACM device
mtp-probe: checking bus 2, device 22: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-3"
mtp-probe: bus: 2, device: 22 was not an MTP device
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.1
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3
kernel: [192223.020572] usb 2-3: USB disconnect, device number 22
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.1
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-3

but when it is connected to the powered USB port (the one with a battery icon carved next to it, it stays powered even if laptop is off) it goes in a loop like this:

kernel: [192371.848349] usb 2-1: new high-speed USB device number 24 using xhci_hcd
kernel: [192371.997647] usb 2-1: New USB device found, idVendor=0e8d, idProduct=2000
kernel: [192371.997649] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [192371.997650] usb 2-1: Product: MT65xx Preloader
kernel: [192371.997651] usb 2-1: Manufacturer: MediaTek
kernel: [192372.059915] cdc_acm 2-1:1.1: ttyACM0: USB ACM device
mtp-probe: checking bus 2, device 24: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
mtp-probe: bus: 2, device: 24 was not an MTP device
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.1
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1
kernel: [192374.648476] usb 2-1: USB disconnect, device number 24
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.1
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1
kernel: [192384.960396] usb 2-1: new high-speed USB device number 25 using xhci_hcd
kernel: [192385.109725] usb 2-1: New USB device found, idVendor=0e8d, idProduct=2000
kernel: [192385.109731] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [192385.109734] usb 2-1: Product: MT65xx Preloader
kernel: [192385.109737] usb 2-1: Manufacturer: MediaTek
kernel: [192385.172204] cdc_acm 2-1:1.1: ttyACM0: USB ACM device
mtp-probe: checking bus 2, device 25: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
mtp-probe: bus: 2, device: 25 was not an MTP device
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.1
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1
kernel: [192387.760370] usb 2-1: USB disconnect, device number 25
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.1
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1
kernel: [192398.032318] usb 2-1: new high-speed USB device number 26 using xhci_hcd
kernel: [192398.181511] usb 2-1: New USB device found, idVendor=0e8d, idProduct=2000
kernel: [192398.181516] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [192398.181519] usb 2-1: Product: MT65xx Preloader
kernel: [192398.181521] usb 2-1: Manufacturer: MediaTek
kernel: [192398.243803] cdc_acm 2-1:1.1: ttyACM0: USB ACM device
mtp-probe: checking bus 2, device 26: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
mtp-probe: bus: 2, device: 26 was not an MTP device
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.1
upowerd[829]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1
kernel: [192400.831870] usb 2-1: USB disconnect, device number 26
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.1
upowerd[829]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1

on every "USB disconnect" a battery logo shwos up on the device's display, on every "new high-speed USB device" the display goes black

can this reconnecting loop be prevented somehow? I just want to charge my device, no intention to use preloader