Hi GenodiansI'm trying to use a Terminal session to provide access to a character device (TPM) under base-linux. The reason I'm not using a vfs it that implementing a File_system session server in my lx_chardev component would be unnessecarily complicated for this usage.
The problem I encountered it that the vfs_terminal even in raw mode buffers read data thereby issuing longer reads than requested by the application. While this is fine for other more terminal-like usages it doesn't play well inbetween a character device and it's driver.
I would suggest either not buffering reads in raw mode or adding an additional "unbuffered" config option. Which would be the preferred option? Whould such a change have the potential to be accepted upstream?
Kind regards Stefan
OpenPGP_0x99A5F4B3D4E372A6.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ users mailing list -- users@lists.genode.org To unsubscribe send an email to users-le...@lists.genode.org Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/message/Y2JIV73COVGD5GIWFQAE2QNATXVWUUTM/