Comments (4)
Seems this apperars since 3.17 (at least 3.16.5 doesn't have this line of code)
As far as I can understand it, the kernel devs don't like write permissions on devices for "others":
kernel.h:814
/* Other writable? Generally considered a bad idea. */ \
BUILD_BUG_ON_ZERO((perms) & 2) + \
(perms))`
Therefore all DEVICE_ATTR(
calls could have 0660 instead of 0666 permitions. It could make sense to change the devicegroup to something like video?
from lg4l.
Not bad idea, some device drivers (as nvidia nouveau) use video
group.
from lg4l.
The gnome15 project sets up appropriate permissions for devices using udev rules. I will look for other examples in the kernel code on how to set the defaults. If any of you has a patch ready, please attach it.
from lg4l.
Should be solvet by commit 91b0a91
from lg4l.
Related Issues (10)
- Kernel crashes on module removal HOT 1
- Unable to bind g15v1
- Ubuntu 18 HOT 27
- $PWD
- hid_ginput crash with 3.13 and 3.14 kernels on start of g15 client utilities HOT 7
- Review keyboard initialization sequences HOT 1
- Project status HOT 1
- Pull Request #5 pending for a year now HOT 2
- Error building with kernel 4.12.3 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lg4l.