Ethernet through the dock?
#13
(01-15-2021, 04:53 AM)dukla2000 Wrote: Reading OP - I still cannot understand why you are unable to run when powered: my power is old Samsung wall wart with Pine64 pinephone red cable, so again nothing fancy! What seems to work for me is plug everything (including power) into the dongle, then plug it into the phone. I think the phone is only enumerating stuff when it first connects to the dongle as I can get USB pendrive and keyboard/mouse to work this way, but not if I hotplug them after the dongle is connected to the phone. Similarly HDMI does work on my dongle. Last, when I plug in my dongle I often get a lot of clicking and a load of ANX messages in the log: about 50% of the time things have settled after 30 seconds and all the bits I expect to work are OK. Otherwise I unplug and try again. I have been neurotic that I have a physically loose connection but in fact think it is the ANX code that can be temperamental as I have had "the clicking symptom" kick off when the phone & dongle were flat on the desk and AFAIK the only movement was the earth rotating!
Hi,

i agree that it's kind of strange that the LAN chip only works with the dock unpowered.
As i got no original convergence dock i'm not able to do some mesurements.
So if this is the wrong place to post... tell me and i will delete my post.

Normally unpowered hubs enumerate with 100mA max. power.
If you then connect an external USB-LAN adapter, which enumerates with e.g. 250mA,
the driver would give a "unsufficient power" power message.
If you power up the hub before connecting to the Pinephone, it will enumerate as self powered hub.
Everything will be nice with the external USB-LAN adapter then.

Anyway i'd like to report what's happening when i use my USB‑C Digital AV Multiport Adapter (e.g. Apple-MUF82ZM and China-Clones).
These adapters seem to have a PD controller, a HDMI Bridge and a USB-Hub inside.

So this is the behaviour with the 5.10 kernel:
1. Scenario:
plug the adapter into the phone without power supply -> device get's recogized, hub is recognized as bus-powered, ANX7688 gets initialized after a few seconds
attach the power supply to the Type-C port -> PD is handled, charging symbol is showing up, but hub is not changing to self-powered
attach the USB-LAN Adapter to the Type-A port -> device gets enumerated but fails because device needs more than 100mA and self power wasn't recognized

2. Scenario (O.K.):
plug the adapter into the phone with power supply already attached -> device get's recogized, hub is now recognized as self-powered, ANX7688 gets initialized after a few seconds
attach the USB-LAN Adapter to the Type-A port -> now device gets enumerated and driver loads o.k.

This is very similar to dukla2000's observation.

In the meantime i also had a conversation with megous, and he told me the USB-PD function and USB role switching is still kind of flaky with the latest mobian kernel.
Megous is still very active to find some flaws in the kernel drivers for the Pinephone and already implemented new stuff for the ANX7688 driver.
Though these patches have not found their way to the mobian kernel yet.
So maybe we should contact a-wai to tell him about Megous' latest achievements...
See here for some of his latest patches in Dec. 2020:
https://github.com/megous/linux/commits/.../usb/typec

EDIT:
O.K. i just saw there'd been little adjustments in the mobian kernel repo... but parts are still missing... ayway this is not the right place to discuss these things i guess.

As i pointed out in the beginning... this info is not directly related to the Convergence-Dock, but it may have to do with an uncomplete implementation on the kernel side.

Cheers,
scholbert
  Reply


Messages In This Thread
Ethernet through the dock? - by Diagon - 01-09-2021, 12:48 AM
RE: Ethernet through the dock? - by dukla2000 - 01-09-2021, 03:15 AM
RE: Ethernet through the dock? - by Diagon - 01-09-2021, 06:32 AM
RE: Ethernet through the dock? - by dukla2000 - 01-10-2021, 10:50 AM
RE: Ethernet through the dock? - by dukla2000 - 01-12-2021, 09:10 AM
RE: Ethernet through the dock? - by dukla2000 - 01-13-2021, 04:23 PM
RE: Ethernet through the dock? - by Diagon - 01-13-2021, 11:28 PM
RE: Ethernet through the dock? - by a-wai - 01-09-2021, 08:44 AM
RE: Ethernet through the dock? - by Diagon - 01-09-2021, 02:27 PM
RE: Ethernet through the dock? - by dukla2000 - 01-15-2021, 04:53 AM
RE: Ethernet through the dock? - by scholbert - 01-15-2021, 10:18 AM
RE: Ethernet through the dock? - by Diagon - 01-16-2021, 03:47 AM
RE: Ethernet through the dock? - by scholbert - 01-18-2021, 09:03 AM
RE: Ethernet through the dock? - by Diagon - 01-18-2021, 05:17 PM
RE: Ethernet through the dock? - by scholbert - 01-19-2021, 04:20 AM
RE: Ethernet through the dock? - by dukla2000 - 01-21-2021, 02:26 PM
RE: Ethernet through the dock? - by zborgerd - 01-23-2021, 09:11 PM
RE: Ethernet through the dock? - by scholbert - 01-25-2021, 09:28 AM
RE: Ethernet through the dock? - by zborgerd - 01-25-2021, 11:18 AM
RE: Ethernet through the dock? - by zborgerd - 01-25-2021, 01:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no HDMI (DP) Output over Dock vuj 17 11,792 06-11-2022, 05:51 AM
Last Post: zltpxqhp69o2
  screen goes blank when I insert pinephone dock, or usb-a to usb-c adaptor rp3 3 3,602 01-12-2021, 05:06 AM
Last Post: rp3
  USB-C Dock and HDMI, revison 1.2 (Modded) Ersatz 5 7,859 08-05-2020, 11:57 AM
Last Post: Ersatz

Forum Jump:


Users browsing this thread: 1 Guest(s)