You are not logged in.
so i'm using internet through my phone, and i would like to use a USB cable to make my slow internet slightly faster, and occasionally, the connected phone just... disconnects, the cable is still connected, and the phone is still charging, but neither devices recognize eachother, my phone is just charging (no options for anything, like it's connected to an outlet) and my laptop also treats it the same way, like nothing is connected. this gets fixed right after i restart my laptop, but it's pretty annoying.
any help is much appreciated, i'll try to answer as soon as i can
Offline
Check dmesg for any messages regarding this on whether it loses the network card for some reason (an easy way to do this is run
dmesg -Win some terminal on the side, it will update when there are new messages in the kernel ring buffer as they appear). Some phones might cut/disable certain features if idle for too long or so, might want to check to disable e.g. USB power saving or s o.
FWIW depending on your actual wifi adapter and the speed of your actual USB plug and relevant chip in the phone doing a wifi hotspot might paradoxically be faster than USB.
Offline
i think i found something
after disconnecting and reconnecting my phone, it outputs this
"[36278.769227] usb usb1-port1: attempt power cycle
[36280.609788] usb usb1-port1: unable to enumerate USB device"
also this
FWIW depending on your actual wifi adapter and the speed of your actual USB plug and relevant chip in the phone doing a wifi hotspot might paradoxically be faster than USB.
i got a pretty crappy phone, and a pretty weak laptop, so yeah no. i have tested this and using USB is pretty faster than wifi
i'm also positive that this is a problem with my arch setup, rather than my phone, since back when i had windows, this worked fine.
Offline
if you deliberately trigger this then some message in that regard might be normal, getting the logs from when it randomly happens would be more interesting but I'd try to disable usb power suspend for the relevant plug/device as a first measure anyway: https://wiki.archlinux.org/title/Power_ … utosuspend
Offline
i'll try to capture logs when it happens again.
just to make sure, i can use journalctl for getting the logs the moment it stops working right? or should i just keep dmesg running in the background the whole time?
Offline
either work, but I often find it easier to pinpoint "random HW dropouts" with something that actively shows the events as they happen, but it doesn't fundamentally matter.
Offline