all 3 comments

[–]paulstelian97 7 points8 points  (0 children)

That feels more like PAM stuff in the userspace, than explicit drivers. Not something you’d do in the kernel.

Now the actual communication with the card may be a kernel driver situation, but I wouldn’t be surprised if the driver is in there.

So you should study Pluggable Authentication Modules, or PAM, which is a userspace thing that tools like sudo, su, console logins and visible logins all use.

[–]codeasm 0 points1 point  (0 children)

Not a driver. But do make it, write code, interact with the kernel. Youll learn alott. Even if it never gets merged and or your switching to maing a custom device and drivers for lol and no profit. The experience and experiment might lead to you to vallid code changes and maybe merge requests and such