Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which I2C modules to select?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
l33t
l33t


Joined: 03 Oct 2014
Posts: 773
Location: Fayetteville, NC, USA

PostPosted: Sat Aug 06, 2016 7:28 pm    Post subject: Which I2C modules to select? Reply with quote

Alright, is there an easy way to figure out which I2C modules I need to select for a given system? I cannot figure it out and would like to have I2C working without the trial and error method I currently use.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
The_Great_Sephiroth
l33t
l33t


Joined: 03 Oct 2014
Posts: 773
Location: Fayetteville, NC, USA

PostPosted: Sun Aug 07, 2016 2:36 pm    Post subject: Reply with quote

Anybody? I tried using modprobe in the live environment but it loads all of them, even the Intel ones despite this being an AMD system, so I cannot figure out which ones I need that way either.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Tony0945
Veteran
Veteran


Joined: 25 Jul 2006
Posts: 1241

PostPosted: Sun Aug 07, 2016 5:38 pm    Post subject: Reply with quote

From https://hwmon.wiki.kernel.org/faq

Quote:
What chips are on motherboard XYZ?

We have no idea. Here is what you should do:

Run sensors-detect. If that doesn't work read on:
Look at your motherboard.
Check the manufacturer's website or ask their support
Check the Motherboard Monitor website and the “links” page on our website some good cross-references.



If you have a motherboard model number, maybe someone can say what they have.
On all my Gigabyte AMD mobos, I have needed the it87 driver, however YMMV.
Back to top
View user's profile Send private message
The_Great_Sephiroth
l33t
l33t


Joined: 03 Oct 2014
Posts: 773
Location: Fayetteville, NC, USA

PostPosted: Sun Aug 07, 2016 11:24 pm    Post subject: Reply with quote

I am fairly sure that sensors-detect is for thermal (and voltage?) sensors. It is a part of the "lm_sensors" package and I am not sure it does much with I2C. Please correct me if I am wrong. I can get the laptop model for you when I get to it again.

*UPDATE*

Toshiba model L775d-S7228. It has an AMD A6-3400M CPU in it.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Tony0945
Veteran
Veteran


Joined: 25 Jul 2006
Posts: 1241

PostPosted: Mon Aug 08, 2016 12:27 am    Post subject: Reply with quote

sensors-detect will probe the i2c bus to try and discover which devices are on it. And as they say on the wiki, you can always look at the mobo for chip makings (assumes your eyes are better than mine.) You will need the i2c-dev module for sensors-detect to do this.

Not sure what you want to do on the bus beyond reading temperatures, voltages, and setting fans. If you are not doing that, you can safely leave support out of the kernel.
Back to top
View user's profile Send private message
The_Great_Sephiroth
l33t
l33t


Joined: 03 Oct 2014
Posts: 773
Location: Fayetteville, NC, USA

PostPosted: Mon Aug 08, 2016 4:01 pm    Post subject: Reply with quote

You are correct, it did probe my I2C stuff and found the one I needed. I had forgotten that sensors-detect did that. As for temp, this system uses k10temp. The rest I know, I was just unclear on I2C. Thanks!
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum