GithubHelp home page GithubHelp logo

Upstream it to the kernel about xow HOT 1 CLOSED

yodatak avatar yodatak commented on June 5, 2024 1
Upstream it to the kernel

from xow.

Comments (1)

medusalix avatar medusalix commented on June 5, 2024

I don't think so, as xow is not a kernel driver. It runs completely in user space and is not designed to be used as a kernel module. Doing so would require a full rewrite of xow (in C). Getting drivers upstreamed is a whole different story, not even xpadneo is upstreamed yet. There are multiple reasons for xow to run in user space:

  1. Stability (if xow crashes your system will crash too)
  2. Maintenance (every single new update would have to be upstreamed)
  3. Support (why does feature xy work on kernel 5.5 but not on 5.4?)
  4. Security (a simple buffer overflow could lead to a full compromise of your system)

It doesn't make sense to create kernel drivers, unless there's no other way to access the hardware interfaces you want to use. In the case of xow, we've got libusb and uinput which allow us to stay 100% in user space. I hope this answers your question.

from xow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.