Docking Station

I guess, that is more of my question. What did you try? And was it while the L5 was on wifi, or hard-wired using a USB hub?

Refer: Librem5 vnc remote access

Yes, via WiFi. (It makes no difference though to the actual problem. I could have tried gigabit ethernet too.)

However someone did add a post subsequently to the above-linked topic and that post says that he found a way. Unfortunately it involves building a whole heap of software from source for ARM - so there is probably still no out-of-the-box solution and it is 50-50 whether, without detailed instructions, a random technical user could actually achieve the outcome.

Give it a go and let us know. :wink:

@kms
Would a streaming cable fit your needs?

As a use case I remember my Lattepanda Delta single board could interact with any hardware using this cable
https://www.dfrobot.com/product-1851.html

My cable must still be in a drawer somewhere, will have a look and report back when/if I found it.

When the Librem 5 is driving an additional display it requires extra power. That plus the fact that it canā€™t suspend in that state means that the level of power savings you can get (compared to when it can suspend) will be limited, so the ability to provide power to the Librem 5 when docked is pretty important.

By definition this means attaching the L5 to some sort of other, larger screen. The minimal level of investment here would be a USB-C hub that provides HDMI output. This is assuming you already have a monitor, keyboard and mouse to connect to. If not then you would need to invest in those things, at which point the $200-300 cost for a laptop dock would be comparable.

While everyone has different needs, Iā€™m not sure how common a use case it would be for someone to run graphical programs on the L5 to display on their (presumably faster) Linux laptop. It seems like in that case youā€™d just run the same Linux application on your laptop instead.

The main benefit of convergence in my mind is being able to run standard Linux desktop applications on the L5 that arenā€™t yet adaptive to the small screen. In my case it plus a lapdock have completely replaced my need for a personal laptop.

1 Like

The one case that I have encountered a few times over the years - but not frequently enough to influence your thinking any time soon (in my opinion) is:

  • There is a system administration function to be done (hence almost by definition you canā€™t just run the same application somewhere else), and
  • I donā€™t know how to do that function from the command line (or it is just really really crappy trying to do it at the command line), and
  • doing the function locally via a GUI is for some reason not an option.

To be clear, I am not talking about the Librem 5 here as far as my past experience goes.

However to illustrate the point for the Librem 5: If you want to add a new user, the GUI app for that is not adaptive and does not work adequately on the Librem 5 screen - and clearly it is not viable to add the user on another computer (unless you are using distributed authentication but letā€™s put that to one side). So the only option is adding users from the shell, which is fine for me but may be a showstopper for some customers.

But the answer in that specific case is to fix the GUI app that adds new users (and/or add the default user as part of the initial installation process, as for example Ubuntu does).

I got the CSV-1599 today after finding this thread and have mix results on things.

  1. PD 3.0 pass thru works and charges the L5 nicely IF the source ā€˜brickā€™ output is enough. In my first test with the Librem charger, the hub/dock itself consumes 15 of the 18W and the phone doesnā€™t charge. Switching to a HIGHSAY 100W GaN Charger I get the phone to charge while itā€™s connected.
  2. The HDMI display worked immediately after switching to the higher wattage power source.
  3. Ethernet jack lights up fine butā€¦ the L5 doesnā€™t recognize the device or automatically recognize the connection. Doing the lazy version of restarting networking (read rebooting) it still did not pick up the wired connection.
  4. NO MOUSE or KEYBOARD recognized by the L5 via USB-A or USB-C ports!! I thought for sure this would be the easy part but, thatā€™s what I get for thinking.
  5. USB flash drive in one of the USB-A ports ALSO goes unrecognized by the L5

Checking lsusb output the L5 lists a hub but, does not change when these other devices are added or removed from the Club-3d CSV-1599 hub/dock.

@quarnero have you successfully used a wired mouse, keyboard, or network connection with this dock? Is there some hidden package I need to install or firmware update for the L5? It feels like Iā€™m so close to having a phone and light duty workstation!!!

:sob: :confounded: :sob: :disappointed: :pleading_face:

1 Like


Ethernet is still not working with Club-3d CSV-1599. Interestingly, as shown above, Obda:8153 Ethernet adapter already works with PureOS out-of-the-box. Anyway, I admit that I wrongly presumed that even 0bda:8156 works with the Librem 5. Therefore Iā€™ll take a look into some workaround for this driver (instead of getting: cdc_ncm with physical Ethernet connection through CSV-1599).

Also, all three data USB ports work for me (I have none mouse nor keyboard issues there), even without providing PD to this hub/dock auto-mounts my USB flash drive on Librem 5 (please test there few other USB flash drives as well).

EDIT:


@cyber_fu, please download related file from: https://github.com/wget/realtek-r8152-linux/releases/tag/v2.16.3.20221209 and extract it. Copy 50-usb-realtek-net.rules into /etc/udev/rules.d/, as admin and reboot.

Below photos should at least show that CSV-1599 doesnā€™t consume much (by itself):

My dock (different from yours) sometimes does not recognize attached USB-A peripherals with the dockā€™s integrated USB-C connector inserted one way into the L5 but will recognize them with the dockā€™s USB-C connector flipped 180 degrees when plugged into the L5. Anyway, this is something easy that you might try.

What test did you use to get these results?

Iā€™d like to share here (as testing purpose, nothing else) that even over just one USB-A port from CSV-1599 it is possible to share data/files from compliant USB Flash Drive with the Librem 5 and at the same time (from the very same USB-A port) charge one of my favorite power banks:

Itā€™s written on the packaging. No technical testing beyond changing out the power source and seeing this work with more watts.

Is that file something you did differently than what just comes through normal updates?

Yes, procedure described in my post is needed to make Ethernet working with this dock/hub. It is needed procedure that still isnā€™t included into PureOS, as when I was streaming something last time (before this workaround) I just thought that Iā€™m using Ethernet connection, yet it was actually 4G Internet connection (you made me aware that I need to find some workaround for making Ethernet working there with PureOS).

I guess that was a good 4G connection! :smile:

1 Like

Iā€™ve noticed on my nextdock that when the Librem 5 sleeps it stops charging which isnā€™t ideal. I know my Samsung S22 continues to charge from the the dock when the screen blanks so not sure why it does with the Librem. Anyone else notice this behaviour with any other dock setup or is it just the nextdock?

I copied the file per your instructions but still see no change in lsusb or ifconfig -a output. Also tried multiple mice on the USB-A ports with no success. Thanks for they help and something to try but, it seems our goal lies elsewhere.

1 Like

Your 100W GaN power supply have USB-C2 65W and one USB-A power outputs there as well. Please test those there as you are not providing any power to this dock, I guess (over USB-C1 output). For other testing purpose you can use some power bank as well, another PD power supply, some 5V/3A only power supply, yet USB-C1 output on Highsay charging device doesnā€™t look like usable with the CSV-1599 (not even providing power to the USB 10Gbps data ports on CSV-1599).

EDIT: @cyber_fu, I just did few tests and to me it looks like you are using some advanced USB3.1 or USB3.2 USB-C to USB-C cable to provide power to the CSV-1599 (this will show steady RED light on your Librem 5, but actually not charging it for real, with around 0.1A). Please use charging purpose related USB2.0 (3A or 5A) USB-C to USB-C cable connecting PD power supply and PD input of your CSV-1599.

I order to test if Ethernet works now (without any power supply connected there, and after sudo used to copy 50-usb-realtek-net.rules into /etc/udev/rules.d/) please put your Librem 5 modem HKS down and connect it to the here related dock and afterwards connect Ethernet cable there. As first, simply execute: sudo apt update, you should be able now to use CSV-1599 for any Internet surfing (over Ethernet).

From the charger to the dock I am using the USB-C cable that came with the L5. It only shows red on the device when itā€™s charging then stops once the battery is 100%. I will test what you suggested later today.

1 Like