-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add kernel options for hid devices #5219
base: master
Are you sure you want to change the base?
Conversation
Please don't just take the list of what's enabled on your (probably x86) Fedora box but take the time to check the entries for what's really relevant for ALL libreelec devices. I don't think any ARM box will get in contact with the Apple IR receiver or the Asus notebook keyboard attached via I2C - I stopped looking at the remaining options at this point
|
may I quote myself?
Please check your tone and work to give constructive feedback 😃 |
Sorry if this came over the wrong way, but the recommendation you asked us for was as I wrote in my first sentence:
Also your PR also seems to change a lot of HID devices from y to m (compared to eg what's currently in RPi kernel config) which means they will no longer work during init - which isn't really great if you need that HID device during init (eg rescue/panic mode). So, please start again from scratch, not taking the config of your Fedora box as a starting point but looking at the config we currently have eg for Generic or RPi. I'm marking this PR as WIP and with MERGE BLOCKED so it doesn't accidentally get merged |
Then please review to actually provide feedback, not just "please start again from scratch". 😃 If you think I should set all keyboard type devices to Considering our Generic and RPi configs for HID devices are just an amalgamation of years of leftovers and individual changes, they are not really a great start. This is always going to be subjective really but that's the point of having a master list for all projects and even then it's never going to be perfect. So I'd rather start somewhere and we can always make changes down the line. That is also the point of having a proper discussion and review. 📈 |
Sure there's lots of cruft in our configs but there are also a lot of options that were deliberately set to y- like keyboard HIDs (eg CONFIG_HID_LOGITECH / CONFIG_HID_LOGITECH_DJ). Or oddball stuff that we seemed is not actually needed in LE - eg CONFIG_HID_NTRIG. Ignoring all that and just proposing to move everything to your Fedora config (which will have initrd with modules) without any comments why a specific module should be enabled on all LE configs, why a device built into kernel should be changed to a module is not a good start. Sorry, your PR is in no state for a proper review, I already pointed out several issues and proposed a way to move forward, so the onus here is really on you if you want to get that into LE. |
Ok I've updated it with my personal opinion. Time for review! 😺 |
A year later and no comments, I assume it's g2g? |
No, it's still the same as after one year the only motivation for changing all those settings was because it's "your personal opinion" - that's not really a solid explanation why you changed each individual option which we can use as a base to review it. Also this is way too huge to review, back then I started reviewing it but gave up - checking each individual kernel option took too much time. And, as I already stated, take RPi/Generic config as a base to align the other projects, this is proven to be working and a solid base we can work on,not just personal opinion. If you want to change something from RPi/Generic config explicitly explain why you changed each setting - this is something we can try to review. |
This is long overdue. These options should be unified across all devices.
I've simply made this list from what is enabled on my fedora workstation and I'm open to changes if anyone has any recommendations (I assume ubuntu would be similar).