Skip to content

tty0tty, null modem emulator kernel module #62

@stappersg

Description

@stappersg

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 ) With tty0tty 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    • driversRelated to the example drivers in `drivers/`.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions