We have moved to a new Sailfish OS Forum. Please start new discussions there.
8

USB-C OTG or how to connect monitor via HDMI, ethernet and usb flash drive

asked 2019-09-12 19:54:37 +0200

kyb gravatar image

There are a number of USB type-C multiport hubs:

  • Kingston Nucleum
  • Dell DA200
  • Satechi Type-C Multi-Port Adapter 4K with Ethernet V2
  • Vention H-2
  • Sitecom USB-C to HDMI + Gigabit LAN Adapter CN-379
  • Promate PrimeHub-C
  • etc..

Which of this devices could be used for port extension of Sony Xperia XA2 plus H4133 with Salifish X on board?

edit retag flag offensive close delete

Comments

1

they way those ports work require considerable cpu computation to compress video/audio/network streams through the usb-c port. displaylink provides linux drivers (kernel modules) for that.

pmelas ( 2019-09-12 20:19:59 +0200 )edit
1

@pmelas: actually, nope. No CPU required and no computation goin on. These hubs purely require GPU only.

As the answer bellow mentions, most of the "USB hubs with HDMI out" that you find on the market, actually rely on the USB-C "alt-modes", the capabilities of most laptop (and some smartphones) to output other things beside USB 3 via a USB-C connector.

The most well known example being Apple Mac Books, able to output Thunderbolt via their connectors. (And microUSB connectors used to the same and be able to output HDMI signal using MHL).

It happens that Sony Xperia can't do any of them. Their connector can only speak USB 3. There are no physical pins connected to the GPU as @WedgeStratos mentions, there's no way for the GPU to push display data on the port.

DrYak ( 2019-09-16 13:03:28 +0200 )edit

@DrYak: my experience with a dell laptop has shown me increased cpu usage, and just bearable display with rather increased latencies/responses, and lots of blank screens with proprietary kernel modules.

pmelas ( 2019-09-16 21:42:11 +0200 )edit

2 Answers

Sort by » oldest newest most voted
4

answered 2019-09-14 20:05:44 +0200

WedgeStratos gravatar image

None of them will work. The Sony Xperia XA2 also requires the USB-C port to have the pins to be interfaced to that hardware. The XA2 lacks the pin connections to use most if the alt-modes out there, including MHL which would use HDMI. Sorry to say. It's more complicated than just software in this case.

I can only suggest looking into something like Screencast for Sailfish. You should be able to display the screen output via HTTP.

edit flag offensive delete publish link more
4

answered 2019-09-16 13:17:16 +0200

DrYak gravatar image

Regarding Flash:

  • That one should work. Unlike dispaly, most of the flash reader on HUB are simply USB Mass Storage devices, and work straight with your phone.

Regarding Network:

  • Very often hubs use USB Ethernet network adapter. i.e.: simple USB device that show up as is on the smartphone and should work in theory (as opposed to PCIe network cards that would require Thunderbolt or something similar).
  • BUT the driver situation is going to be a mixed bag. Sailfish X on XA2 has the necessary 'usbnet' driver compiled in, but only has the 'CDC_ETHER' driver. If your USB ethernet work with that one, it's going to be seen by the phone, you'll get an interface (but you'll need to configure it manually, probably). If your works with a different driver (say 'r8152') you're out of luck, that one isn't compiled in.
  • Maybe you can try filing a Zendesk ticket at Jolla for any missing drivers you need. Or alternatively try to find some willing community member that would compile the missing .ko with the SDK.
edit flag offensive delete publish link more

Comments

And for display, it depends on DP alt mode (not supported) or various USB "graphics cards", like DisplayLink or FL2000. The former is simply not there, and the latter would require kernel modules and other OS adaptations before they work. Special thanks for the hint on what driver is available :)

attah ( 2019-09-16 20:46:10 +0200 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2019-09-12 19:54:37 +0200

Seen: 1,725 times

Last updated: Sep 16 '19