Re: SV: USB Gadget driver for USB screen?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 07.07.2018 22:24, Sebastian Nielsen wrote:
Isn't the "Standard VGA card" appearing in device manager a standarized
device class (that is used when no drivers are installed for the graphics
card)?
It would actually be cool if somebody could implement a VGA gadget driver
that works on both windows and linux out of the box (when plugged in),
because it could be useful in a lot of situations, everything from game
streaming to remote computer control.
For the ConfigFS, I think the best would be a option to supply the supported
resolutions and rates as a "descriptor". Anything more isn't really needed,
and the easiest way to supply the picture to the operating system would be
via a /dev/video0 output that works like a v4l webcam, but that shows the
picture that the host PC (which is connected to the OTG input of the linux
device) is sending to it.

Couple of years ago one of our interns wrote[1].
It's "the other side" of udl driver so it's a function which tries to mimic DisplayLink adapter behavior but instead of sending the output to monitor it just shows it inside a window on a gadget side SBC. So this works on both Windows and Linux but obviously it requires DisplayLink driver for this.

As far as I remember there was couple of problems with it. First of all the udl driver was quite unstable in that time, kernel panic and other issues like need to reboot computer to make it work was a daily routine not to mention high CPU usage on both sides. On windows host things were much better esp in terms of CPU usage, I also don't remember any problems with the driver itself.

Footnotes:
1 - https://github.com/kopasiak/f_dl_ffs

Best regards,
--
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux