Using Linux system (hwmon) driver for user application
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to use a Raspberry Pi compute module as part of an embedded control system. There are several sensors like multiple INA226 current sensors, a DS3231 RTC, two SI7050 temperature and LPS331AP pressure sensors, and an MPU-6050 IMU.
All of these devices have default Linux drivers. So I am wondering if I can't just use them? If I look for Raspberry Pi drivers for these devices I find many librarys running in the user space. Why would anyone write a driver in the user space if tested drivers are available in the kernel?
Is it a problem that some drivers are hwmon drivers? For example the temperature and current sensor and the fan controller. I would "misuse" them for other purposes (measuring data not related to the actual Raspberry Pi core but in a different part of the system).
Thanks for your input!
drivers raspberry-pi
add a comment |Â
up vote
0
down vote
favorite
I want to use a Raspberry Pi compute module as part of an embedded control system. There are several sensors like multiple INA226 current sensors, a DS3231 RTC, two SI7050 temperature and LPS331AP pressure sensors, and an MPU-6050 IMU.
All of these devices have default Linux drivers. So I am wondering if I can't just use them? If I look for Raspberry Pi drivers for these devices I find many librarys running in the user space. Why would anyone write a driver in the user space if tested drivers are available in the kernel?
Is it a problem that some drivers are hwmon drivers? For example the temperature and current sensor and the fan controller. I would "misuse" them for other purposes (measuring data not related to the actual Raspberry Pi core but in a different part of the system).
Thanks for your input!
drivers raspberry-pi
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to use a Raspberry Pi compute module as part of an embedded control system. There are several sensors like multiple INA226 current sensors, a DS3231 RTC, two SI7050 temperature and LPS331AP pressure sensors, and an MPU-6050 IMU.
All of these devices have default Linux drivers. So I am wondering if I can't just use them? If I look for Raspberry Pi drivers for these devices I find many librarys running in the user space. Why would anyone write a driver in the user space if tested drivers are available in the kernel?
Is it a problem that some drivers are hwmon drivers? For example the temperature and current sensor and the fan controller. I would "misuse" them for other purposes (measuring data not related to the actual Raspberry Pi core but in a different part of the system).
Thanks for your input!
drivers raspberry-pi
I want to use a Raspberry Pi compute module as part of an embedded control system. There are several sensors like multiple INA226 current sensors, a DS3231 RTC, two SI7050 temperature and LPS331AP pressure sensors, and an MPU-6050 IMU.
All of these devices have default Linux drivers. So I am wondering if I can't just use them? If I look for Raspberry Pi drivers for these devices I find many librarys running in the user space. Why would anyone write a driver in the user space if tested drivers are available in the kernel?
Is it a problem that some drivers are hwmon drivers? For example the temperature and current sensor and the fan controller. I would "misuse" them for other purposes (measuring data not related to the actual Raspberry Pi core but in a different part of the system).
Thanks for your input!
drivers raspberry-pi
asked Apr 1 at 7:37
Jan B.
113
113
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434796%2fusing-linux-system-hwmon-driver-for-user-application%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password