2 years ago

#25934

test-img

S2G

Procfs file vs Device file in Embedded Linux driver development

i am planning to develop a device driver for a custom board.

as my research went on , I encounter two main ways to develop a driver . the device file which uses structures and another one was using pro which i can work with registers directly , since i am an electronics engineer I prefer the register way but i am not familiar with possible issues.

now i have 3 questions

1- which way is newer and more acceptable in embedded driver developing ?

2- which one has more flexibility?

3- what is the advantages of each way 

P.S : I am quite new to Linux world

linux

driver

linux-device-driver

embedded-linux

kernel-module

0 Answers

Your Answer

Accepted video resources