Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

cusexmp, the example of CUSE program, works.

Is there real programs that makes use of it?

For example, a thing that just mirrors other character device or thing that allows networked character devices.

share|improve this question
up vote 1 down vote accepted

How about this one:

It emulates OSS (Open Sound System) /dev/dsp e.t.c. device nodes and forwards all operations to pulseaudio. I believe this was (one of) the first applications, if not the motivation, for CUSE.

share|improve this answer

I'd be interested to use CUSE to make a virtual serial port that connects to an RFC-2217 serial-over-network server. That would be a really good use of CUSE.


I found mhuxd — Device Router for microHam Keyers and Linux which uses CUSE to create a virtual serial port.

I also found utty on GitHub which has some CUSE code for a TTY (terminal), although it's not clear to me whether the ioctls for serial port support are functional.

share|improve this answer

I maintain a Linux kernel-space serial-port-over-network driver, and have been wanting to move it to userspace for 15 years. I've looked into using ptys, but they only provide support for a subset of the operations that need to be implemented for a serial port. On several occasions I've proposed extending the Linux pty driver so that it could be used as a way to implement user-space serial port drivers, but have never gotten any response from the maintainers -- so CUSE looks like it might finally provide a way to do what I want. :)

I have found references to people using CUSE from Python, and cusepy seems to be the most popular way to do it:

There's a "quantumrandom" program on pypy that appears to use it.

And here's another OSS emulator that uses CUSE:

That might be the same as the one mentioned a a few posts up, but I can't tell because that link doesnt work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.