With no other chargers near by I plugged it in to my laptop.
And my phone started going nuts constantly notifying me the usb is plugged in then unpluged.
I had this happen before but never looked into it too much.
Code: Select all
[Sat Apr 14 16:50:02 2018] usb 3-2: new high-speed USB device number 3 using xhci_hcd
[Sat Apr 14 16:50:02 2018] usb 3-2: New USB device found, idVendor=1004, idProduct=6300
[Sat Apr 14 16:50:02 2018] usb 3-2: New USB device strings: Mfr=1, Product=4, SerialNumber=0
[Sat Apr 14 16:50:02 2018] usb 3-2: Product: USB Charge Only Interface
[Sat Apr 14 16:50:02 2018] usb 3-2: Manufacturer: LG Electronics Inc.
[Sat Apr 14 16:50:02 2018] usbhid 3-2:1.0: couldn't find an input interrupt endpoint
[Sat Apr 14 16:50:36 2018] usb 3-2: USB disconnect, device number 3
[Sat Apr 14 16:50:37 2018] usb 3-2: new high-speed USB device number 4 using xhci_hcd
[Sat Apr 14 16:50:37 2018] usb 3-2: New USB device found, idVendor=1004, idProduct=6300
[Sat Apr 14 16:50:37 2018] usb 3-2: New USB device strings: Mfr=1, Product=4, SerialNumber=0
[Sat Apr 14 16:50:37 2018] usb 3-2: Product: USB Charge Only Interface
[Sat Apr 14 16:50:37 2018] usb 3-2: Manufacturer: LG Electronics Inc.
[Sat Apr 14 16:50:37 2018] usbhid 3-2:1.0: couldn't find an input interrupt endpoint
[Sat Apr 14 16:50:39 2018] usb 3-2: USB disconnect, device number 4
[Sat Apr 14 16:50:41 2018] usb 3-2: new high-speed USB device number 5 using xhci_hcd
[Sat Apr 14 16:50:41 2018] usb 3-2: New USB device found, idVendor=1004, idProduct=6300
[Sat Apr 14 16:50:41 2018] usb 3-2: New USB device strings: Mfr=1, Product=4, SerialNumber=0
[Sat Apr 14 16:50:41 2018] usb 3-2: Product: USB Charge Only Interface
[Sat Apr 14 16:50:41 2018] usb 3-2: Manufacturer: LG Electronics Inc.
[Sat Apr 14 16:50:41 2018] usbhid 3-2:1.0: couldn't find an input interrupt endpoint
[Sat Apr 14 16:51:12 2018] usb 3-2: USB disconnect, device number 5
[Sat Apr 14 16:51:13 2018] usb 3-2: new high-speed USB device number 6 using xhci_hcd
[Sat Apr 14 16:51:13 2018] usb 3-2: New USB device found, idVendor=1004, idProduct=6300
[Sat Apr 14 16:51:13 2018] usb 3-2: New USB device strings: Mfr=1, Product=4, SerialNumber=0
[Sat Apr 14 16:51:13 2018] usb 3-2: Product: USB Charge Only Interface
[Sat Apr 14 16:51:13 2018] usb 3-2: Manufacturer: LG Electronics Inc.
Code: Select all
lsusb -tand RTFM https://www.kernel.org/doc/Documentatio ... gement.txt
Android phones ask what you want to do when you plug in to a computer.
they can
- [1] Just charge or
[2] Sync via MTP
[3] Send images via PTP whatever that is.
[4]or there it the ADB shell for developers.
This driver seems to want to power off the phone if there is no 'activity' in the amount of time listed in this file:
Code: Select all
/sys/bus/usb/devices/3-3/power/autosuspend_delay_msCode: Select all
echo 'on' > /sys/bus/usb/devices/3-3/power/control
echo '-1" > /sys/bus/usb/devices/3-3/power/autosuspend_delay_msBut it still disconnects/reconnects less often (next I am going to see if I can read what the charging current is)
Has anyone messed around with this and made a udev rule or script or something for charging USB devices?
Or have i overlooked some common configuration?
I wonder why linux is giving the phone a new "device number" every time.
Cheers


