USB Tethering
#14
Hello, folks,

I have this exact problem, and after blowing a weekend on it, I think it's a problem with the 5.7 kernel.

The problem is that the Pinephone would not show up at all in dmesg, nor in the lsusb listings, of the host PC, when it's plugged into USB. The usb0 interface does show up on the phone side, can be configured with an ip address, and the interface can be set to "up", but "ip addr" and ifconfig will still show it as either "state DOWN" or "NO-CARRIER" no matter what.

My Pine Phone is a ubports CE - hardware rev 1.2 - shipped with Ubuntu Touch
My host PC is an amd64 system running Ubuntu Bionic.

There are two ways I //have// gotten this to work with a 5.7 kernel:
* The jumpdrive image works perfectly, as advertised. This uses a configfs implementation, which is completely different than the "g_multi" module most distros seem to be using.
* booting the Ubuntu Touch installed on emmc using volume up + power, which boots the phone into a rescue mode. it looks an awful lot like the Jump drive distro, so it's probably a modification of that.

What hasn't worked:
* postmarketos - with phosh, plasma mobile, fbkeyboard, and shelli interfaces (I was distro-hopping, since I just got my phone last week).
* Mobian image from July 16, using the scripts from the pinephone-devtools package
* Manjaro Alpha1 image from early July
* Attempting to backport the jumpdrive's USB configfs implementation into a Mobian system. It would not produce errors, and would create the usb0 interface, but it would still always be "state DOWN". I was able to blacklist the g_multi kernel module, but that did not help.

The Ubuntu touch distro that shipped with the phone happens to have a 5.6 kernel, but frankly, that distro is so alien to me that I have given even getting an openssh server working on it.

Since a few of you folks thought this used to work, I backtracked and pulled down the Mobian image from Jun 11th. It had the 5.6 kernel. The usb networking worked perfectly!

I'm pleased to know that this is definitely not a hardware issue. I'll leave my results here, and hope more adept kernel hackers than I can make use of it.


Messages In This Thread
USB Tethering - by scott_VYuCAbn3k1NFK - 07-19-2020, 12:22 AM
RE: USB Tethering - by dukla2000 - 07-21-2020, 04:59 PM
RE: USB Tethering - by scott_VYuCAbn3k1NFK - 07-22-2020, 03:44 AM
RE: USB Tethering - by dukla2000 - 07-22-2020, 03:19 PM
RE: USB Tethering - by dukla2000 - 07-23-2020, 03:40 AM
RE: USB Tethering - by scott_VYuCAbn3k1NFK - 07-24-2020, 07:01 AM
RE: USB Tethering - by HLing - 07-27-2020, 09:48 PM
RE: USB Tethering - by dukla2000 - 07-29-2020, 03:53 PM
RE: USB Tethering - by devrtz - 08-01-2020, 02:12 AM
RE: USB Tethering - by devrtz - 08-01-2020, 05:53 AM
RE: USB Tethering - by scott_VYuCAbn3k1NFK - 08-01-2020, 09:22 PM
RE: USB Tethering - by Nato - 08-02-2020, 09:06 PM
RE: USB Tethering - by Hiraghm - 08-02-2020, 11:21 PM
RE: USB Tethering - by HLing - 08-28-2020, 12:29 PM
RE: USB Tethering - by RTP - 09-07-2020, 07:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  sharing mobile data through usb tethering deb75 7 4,290 02-26-2022, 08:52 AM
Last Post: Zebulon Walton
  need my usb tethering back HLing 12 9,525 08-02-2021, 10:13 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 1 Guest(s)