Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think you can do it direcly.

I recently found the Openterface Mini-KVM [1], which is supposed to allow you plug it into your laptop over USB-C, and some arbitrary system with USB+HDMI. Then, using their host software, view the HDMI display output and send mouse and keyboard inputs with ease.

I haven't tried it, so I can't speak to how well it works, but it sounds promising.

It is a crowdfunded project, so the usual caveats apply

[1] https://openterface.com/



This thread has gone from:

  could exist?
   not possible
    specs imply yes?
     exists as open hw/sw
Thanks so much for the pointer! https://www.crowdsupply.com/techxartisan/openterface-mini-kv...

> KVM-over-USB .. macOS, Windows, and Linux [clients], with Android support in development.. HDMI and emulated keyboard/mouse (HID) input.. video up to 1920x1080@30Hz with under 140ms latency.. play target device's audio directly on the host computer.. [send text] from the host to the target device, ideal for copying usernames, passwords.. Switchable USB-A Port.. for transferring files.. or sharing other USB devices.

With USB storage emulation, this approaches BMC remote mgmt, minus network attack surface.


I think most people just weren't sure what you're talking about.

Communications between such a thingamajig capture card and a laptop has nothing to do with DP Alt mode or USB HID, it's whatever custom USB packet types that capture card manufacturer comes up with. That technically wouldn't be an answer to your original comment in strict sense.

The most likely heuristic paraphrasing for your original query is something like "are there ways to multiplex DP _source_ and HID _peripheral_ on a single USB3+DP Alt connection". That made no sense at multiple levels on top of being unlikely to be possible. That lead to people hallucinating wildly.

The alternate question "are there ways to plug an SBC into laptop somehow for remote control, over a single USB-C cable" has that dongle as an answer as we now know in hindsight. But that is not a straightforward interpretation and response for your original comment, especially with your follow-up replies about DP Alt mode specs that would not be used by such a device.


Thanks for the feedback.

As mentioned by others, there are USB-C docking stations/monitors where a single cable provides power to the device, takes video from the device, and sends keyboard/mouse events to the device. I should have asked whether software on a laptop could emulate a USB-C docking station, i.e. DP display sink + keyboard + mouse, since docking stations already exist.

> Communications between such a thingamajig capture card and a laptop has nothing to do with DP Alt mode or USB HID, it's whatever custom USB packet types that capture card manufacturer comes up with.

Revisiting the question above, could a manufacturer make capture card output compatible with existing USB-C docking stations, instead of inventing bespoke USB packet types? If custom hardware is needed, why not emulate standard protocols?

I was surprised to learn that Windows/Linux/Mac/Android userspace software can encode/decode custom USB packets from a USB-C cable, without a custom kernel driver. Could RP2350 implement a similar custom protocol at the other end of the cable, removing the need for a hardware capture device?


The host and peripheral PHYs are different. Protocols going downstream and upstream are different. USB peripherals are literally not allowed to speak unless spoken to. It's always the king and his slaves. It's that way in the hardware.

You can make such a standalone computer, painted in orange and marketed as an ice cream, that works as the king class when a slave-class is connected to its sole USB-C port, and as a slave class when a king-class like a laptop connected to it. This is in fact how many smartphones work. But that's again not what you asked.

Exactly what you're asking in the way you're asking, standard USB protocols(and DisplayPort signals) going in and out of devices and computers freely like Ethernet packets, just isn't possible with USB.


> USB protocols (and DisplayPort signals) going in and out of devices and computers freely like Ethernet packets, just isn't possible with USB

That reminds me of Intel Thunderbolt Share [1][2], which offers sharing of screen/keyboard/mouse between 2 PCs, and is probably software-emulated ethernet over Thunderbolt.

[1] https://download.intel.com/newsroom/2024/client-computing/th...

[2] https://www.pcworld.com/article/2330173/meet-thunderbolt-sha...


Host-to-host connections over USB4 (which is Thunderbolt without Intel's marketing) actually just have a packet interface over which you can pass IP, no need for Ethernet emulation.

Linux driver is here https://github.com/torvalds/linux/blob/master/drivers/net/th...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: