r/linux • Verified • Apr 08 '20

AMA I'm Greg Kroah-Hartman, Linux kernel developer, AMA again!

To refresh everyone's memory, I did this 5 years ago [here] (https://www.reddit.com/r/linux/comments/2ny1lz/im_greg_kroahhartman_linux_kernel_developer_ama/) and lots of those answers there are still the same today, so try to ask new ones this time around.

To get the basics out of the way, this post describes my normal workflow that I use day to day as a Linux kernel maintainer and reviewer of way too many patches.

Along with mutt and vim and git, software tools I use every day are Chrome and Thunderbird (for some email accounts that mutt doesn't work well for) and the excellent vgrep for code searching.

For hardware I still rely on Filco 10-key-less keyboards for everyday use, along with a new Logitech bluetooth trackball finally replacing my decades-old wired one. My main machine is a few years old Dell XPS 13 laptop, attached when at home to an external monitor with a thunderbolt hub and I rely on a big, beefy build server in "the cloud" for testing stable kernel patch submissions.

For a distro I use Arch on my laptop and for some tiny cloud instances I run and manage for some minor tasks. My build server runs Fedora and I have help maintaining that at times as I am a horrible sysadmin. For a desktop environment I use Gnome, and here's a picture of my [normal desktop] (https://i.imgur.com/g412C1E.png) while working on reviewing and modifying kernel code.

With that out of the way, ask me your Linux kernel development questions or anything else!

Edit - Thanks everyone, after 2 weeks of this being open, I think it's time to close it down for now. It's been fun, and remember, go update your kernel!

2.2k Upvotes

1.0k comments sorted by

View all comments

Show parent comment

3

u/odd_lama Apr 18 '20

True, the modern buses all support vendor and device ids. But there still are these older ones, and they are actively used. My recently bought laptop uses a PS2 elantech touchpad, and I don't see them going away anytime soon.

With "touching" I meant this: To fully implement device detection without compiling all drivers, my guess is that you need to completely separate the two systems. And so judging with my limited knowledge of the kernel, I thought a lot of drivers would need to be changed to implement this. Doesn't sound like a great idea anymore.

Do you have a vision of how it should be done?

P.S.: I guess we'll just need to send an angry mob over to the hardware department then to solve some problems...

4

u/gregkh Verified Apr 18 '20

As there are relatively few drivers that are in this "odd" category you are dealing with, I doubt many would have to be changed, if at all.

Note, the kernel has to know somehow to load those modules, today, right? So look at how that works to see how you can detect this in userspace the same way.

Good luck!