Open stappersg opened 3 years ago
I am not sure if someone will try to implement this particular module, but it sounds like a reasonable candidate for a first Rust module (you are welcome to implement it if you have the time, of course!).
I'm gonna see if I can try to implement this, but I doubt I will succeed. But always worth a try
Hello, is there any progress on this issue? Is there first Rust module in the project now?
Hi,
This is a catogorie wish issue. The goal is to have an in rust written kernel module that doesn't need (special) hardware in the mainline kernel. Have a rust kernel module that works for every one. If I recall correct, did @joshtriplett recommend to write virtio modules in rust, this issue is about is virtual I/O.
https://github.com/freemed/tty0tty is kernel module that doesn't need (special) hardware.
tty0tty
is a null modem emulator. In fact an emulator of pairs of serial ports having connected on ends Transmit line to others end Receive line and vice versa. This is great for testing user applications that use a serial interface (/dev/ttyS0
,/dev/ttyACM0
,/dev/ttyUSB0
) Withtty0tty
you tell the to be tested applications to use/dev/tnt0
and/dev/tnt1
.tty0tty
was not included in mainline linux, I do hope the rust implementation will. I haven't done an implementation attempt since I had the idea back several months ago and unlikely I will bite the bullet on this in the next few months. So feel free to make my wish come true.