As an update, I started evaluating a generic 360 degree-style laptop dock that looks pretty similar to pictures I’ve seen of the Nexdock 360. It turns out it works out of the box with the Librem 5 without a hub in between. I already mounted an after-market magnetic phone mount to it so I can mount the Librem 5 next to the screen:
I’ve only been using it for a couple days but I’m already pretty pleased with it. At the moment power delivery only negotiated 500mA so the Librem 5 does lose some charge over time (instead of being charged) but it’s of course much slower a discharge than when it’s not plugged into the dock.
Hmm, I think when it’s enabled you can use it as a button to disable it. I do also think there is some command you can run to enter docked mode (which essentially disables having windows automatically go full screen), but I don’t have it handy.
You can also control Display settings in Gnome Control Center.
After further testing on my part I’ve found that my dogwood will crash when trying to enter docked mode with my dock. The dock is a Kensington SD4600P USB-C dock. Serial No B1802B002177. The dock powers the Librem 5, the Librem 5 crashes when plugged into it with a mouse and keyboard plugged in.
Actually I meant: type in lsusb and look at the two 16-bit hex numbers. That is the way to ensure that two people are talking about the same make and model of device. e.g. 0424:4041 for the uSD card reader. The first number (0424) is the USB vendor id and the second number (4041) is the USB product id.
I did some testing with four docks and my Librem5 (edit: Evergreen). I’m running with the latest amber updates (as of this post).
One thing I wanted to test is whether the Librem5 can be docked and usable without a battery. This is based on my understanding that the ideal battery state for storage is to leave it around 50% charged. So my plan would be to have the phone docked (keyboard/mouse/monitor) without a battery and have my battery in storage until I actually need the phone for mobile.
All connections from the docks were done via HDMI, and I tested the connection between a laptop and the monitor with the cable used for the tests beforehand.
I also tested all of the docks except the Baseus with the laptop, and the keyboard/mouse/monitor worked in all cases.
When I write “power cycling”, I mean:
The phone light goes quickly from green to yellow
The light stays yellow for a few seconds
The light turns red and starts blinking
The Librem5 logo comes up for a moment then goes off
The light goes back to solid yellow
[process repeats 2 or three times, then nothing]
DELL WD-19S:
No battery: power cycling
With battery:
Plugging USB-C cable in while phone is already on:
Keyboard/mouse works
Monitor not detected (not listed in Devices–>Displays and docking mode not available)
Resetting phone with USB-C cable plugged in:
Keyboard/mouse NOT working
Monitor not detected (same as above)
Lenovo USB-C Dock Gen 2:
No battery: power cycling
With battery:
Plugging USB-C cable in while phone is already on:
Keyboard/mouse NOT working
Monitor NOT detected (not listed in Devices–>Displays and docking mode not available)
Unplugging USB-C cable and re-inserting it while running:
Keyboard/mouse works
Monitor NOT detected (same as above)
Resetting phone with USB-C cable plugged in:
Keyboard/mouse works
Monitor detected in devices, docking mode NOT active or available, no output on monitor. It’s like the monitor is detected but the phone can’t send a signal.
Anker 7-in-1 USB C Adapter
No battery: power cycling
With battery:
Plugging USB-C cable in while phone is already on:
Keyboard/mouse works
Monitor not detected (not listed in Devices–>Displays and docking mode not available)
Resetting phone with USB-C cable plugged in:
Keyboard/mouse NOT working
Monitor NOT detected (same as above)
Baseus Mate
No battery: Nothing. No red light, cannot turn phone on.
With battery:
Plugging USB-C cable in while phone is already on:
Keyboard/mouse works
Monitor works. Docking mode is enabled. Tested two different monitors. One weird thing: when the phone locked while in docking mode, I couldn’t unlock it.
Summary:
It seems like I can’t currently run the phone without a battery from any of the docks.
Only the Baseus gave me functional video output
The Lenovo’s video output half-way worked (it saw the display in Devices, but didn’t seem to push a signal. Also didn’t put the phone in “dock” mode)
Keyboard/mouse detection seemed to randomly work. If I restarted or plugged/unplugged the the USB-C connection, I could get it to work sometimes. The keyboard/mouse detection seems to randomly work with the same frequency as my WiFi. I don’t know if those issues are related (is the WiFi running across some kind of USB bus internally? Maybe not).
Kind of comment only (just to encourage further your thoughts direction and in order to learn something from you): As original Librem 5 charger uses PD3.0 protocol (and guessing somewhat that the PD2.0 negotiation is out of question here as well) I do not see that any of docking stations mentioned within your post uses (is based on) pass-through PD charging (but didn’t researched controllers of those hubs at all, certainly not extensively), as input and in particular (if matters here?), as PD3.0 power output standard (directly from used hub) when connected to the Librem 5 USB-C port. In your shoes (as I don’t have L5) I’d test, in order to expect that things might work the way you want (to have it for your purpose) those two devices: C31NANODOCKLANPD (2109:0102, see second link/list) and ZDSHB01 (2109:0103, also second link). Also, you might ask the author of linked thread if this i-tec docking station usable under PD3.0 (only), without battery of course.
Thanks a lot, great post anyway!
P.S. I saw another i-tec docking station that might be tempting if above one works as expected. But anyway, ZDSHB01 is already advanced one as USB-C(1) provides with 30W just enough power for every Librem 5 feature (as said, all here is just current thought of mine, nothing to add/confirm).
I have received a second unit of Baseus (the first was faulty) and I can also verify that it works even with the screen protection of ViaScreens I have added. I mean that even with this increased width of the phone the amount the phone “travels” in the dock to connect to the usb-c is enough to make it work. But, you have to give it some time. Say, wait for at least 10 seconds to see that the charging led lights up. If you just connect and expect for charging to start immediately, the way it does when you connect it to the charger it will not work. Give it more seconds.
Now, there is a problem with sound. One of the scenarios for the dock is to connect it through hdmi to a TV and play a video on the TV with the L5 (say with vlc or mpv). VLC can not be moved to the TV screen. How to you grab its window with a mouse? Nevertheless the main problem is how to route the sound through hdmi to the TV.
To make sure it works through Baseus I tried with my sons Samsung using Samsung DeX. And it works. So the Baseus dock can stream the sound to the TV.
But on the L5 how can I do that? It plays through the L5 speaker. I opened Settings→Sound and there does not appear any new output device to select. I can select L5speakers, Handset, Multichannel Output - Modem, and Analog Output - Modem. (4 options).
Is it possible somehow? If not from the interface maybe through terminal?
How about using pavucontrol for sound settings? I think you have to install it from the repositories. IIRC there is some tag with a dropdown to select HDMI output.
That is out of my memory from years ago on my desktop.
Try going to the “Configuration” tab. Do you see HDMI devices in the menu for “Built in audio”? Try selecting an entry with “Digital Stereo (HDMI) Output”.
I doubt that this is a pure amber vs. byzantium issue (I reckon that if you were running amber on your L13 you would also see the HDMI profiles). However the audio on the L5 in byzantium might have more options of course - is there anyone here who can check? If not, we could ping one or two of the devs who hang out on these forums.
Just checked the @amosbatto question you gave me. Nope. The playback tab for the application lollipop I tested gives only two options:
Speaker+Headset+Jack
Modem
No hdmi output. Rechecked Configuration tab, no hdmi output there either. So it is time to ask some developer. Dear @dos or @Kyle_Rankin who originally wrote (I think) about the docking do you know what is the problem and no hdmi output is given in either build-in sound preferences or pavucontrol on L5 with amber?
There’s no support for audio output over DP in the kernel yet. From what I know there’s nothing in the hardware that would prevent it from being supported, so it likely just needs some kernel driver work.