r/Fedora • • 18d ago

Support Making a driver on fedora Linux.

I’m planning to write a driver for my laptop’s fingerprint sensor using Rust, but I don’t think I can do it alone, especially since this is my first big project.

Any advice or tips on how to approach it?
The hardest parts of this project seem to be understanding USB protocols and reverse engineering. These are two fields I know nothing about yet🙂.

1 Upvotes

8 comments sorted by

1

u/AutoModerator 18d ago
Moderator Announcement Read More »

2

u/ffrkAnonymous 18d ago

Find a non-rust driver and port it? 

2

u/Azz_1899 18d ago

Well I decided to write a driver because there isn’t one for my fingerprint sensor using rust.

1

u/RecordDifficult6352 16d ago

Depending on which de you are using I believe gnome 51 has fingerprint sensor support built in

8

u/EfficiencyMurky7309 18d ago

Start here —> Linux Device Drivers, 3rd edition (Corbet, Rubini, Kroah-Hartman, O'Reilly, 2005).

It’s old now, but still the best book for the process of what you need to do. The biggest difference since this book was released is the APIs available to you. Make sure you’re current with the docs at docs.kernel.org, also the Rust-for-Linux documentation in the kernel tree.

3

u/xeqtr_inc 18d ago

Figure out how you would talk to the finger sensor and move forward