Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.0 final - Still having i2c problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
lurid
Guru
Guru


Joined: 12 Mar 2003
Posts: 595
Location: Florida

PostPosted: Thu Dec 18, 2003 5:32 pm    Post subject: 2.6.0 final - Still having i2c problems Reply with quote

Ok, I have a VIA motherboard. I'm trying to get my hardware sensors working. I haven't had any luck with the test series but I just figured something was wrong or there wasn't support yet. Now that 2.6 stable is out and its still not working, I'm going to ask about it. According to the lm_sensors website, I should be using the viapro and the via686a modules.


Quote:
Description
-----------

i2c-viapro is a true SMBus host driver for motherboards with one of the
supported VIA southbridges.

Your /proc/pci or lspci -n listing must show one of these :

...
device 1106:3057 (VT82C686 function 4)
...


cat /proc/pci:
Code:
Bus  0, device  17, function  1:
    IDE interface: VIA Technologies, In VT82C586/B/686A/B PI (rev 6).


Quote:
Kernel driver `via686a.o'
=========================

Status: Stable.

Supported chips:
* Via VT82C686A, VT82C686B Southbridge Integrated Hardware Monitor


So, the modules selected are correct according to those documents.

lsmod:
Code:
Module                  Size  Used by
via686a                18308  0
i2c_viapro              5836  0
i2c_isa                 1664  0
i2c_sensor              2368  1 via686a
i2c_dev                 8640  0
i2c_core               21252  5 via686a,i2c_viapro,i2c_isa,i2c_sensor,i2c_dev


All the modules are loaded, yet GKrellM2 reports no sensors are found. I've poked around in both /proc and /sys and have found no i2c information at all. Can anyone help me to get this going? I'm at a complete loss.
_________________
Go find a cheerleader and saw her legs off. - Nny
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Thu Dec 18, 2003 5:59 pm    Post subject: Reply with quote

I have a VIA chipset on my motherboard(KT333) and I need to put these in /etc/modules.autoload/kernel-2.6:
i2c-viapro
i2c-isa
eeprom
w83781d

I was having a hell of a time trying to get it to work until I realized I needed the eeprom module
Back to top
View user's profile Send private message
lurid
Guru
Guru


Joined: 12 Mar 2003
Posts: 595
Location: Florida

PostPosted: Thu Dec 18, 2003 7:33 pm    Post subject: Reply with quote

Ok, I added those modules (with my driver instead and eeprom) to /etc/modules.autoload.d/kernel-2.6 and rebooted.

Code:
Module                  Size  Used by
via686a                18308  0
eeprom                  5888  0
i2c_sensor              2368  2 via686a,eeprom
i2c_isa                 1664  0
i2c_viapro              5836  0
i2c_core               21252  5 via686a,eeprom,i2c_sensor,i2c_isa,i2c_viapro


Still nothing. /sys now shows some stuff under an i2c directory, but it only deals with eeprom, nothing about the actual sensor.
_________________
Go find a cheerleader and saw her legs off. - Nny
Back to top
View user's profile Send private message
newbenji
n00b
n00b


Joined: 05 Sep 2003
Posts: 69
Location: Denmark, Odense

PostPosted: Sun Jan 04, 2004 11:01 pm    Post subject: Reply with quote

try with only
via686a
i2c-isa

as i know via686a and i2c-viapro can't work together..
Back to top
View user's profile Send private message
lurid
Guru
Guru


Joined: 12 Mar 2003
Posts: 595
Location: Florida

PostPosted: Sun Jan 04, 2004 11:19 pm    Post subject: Reply with quote

I finally figured this out a few days ago. Evidently, the lm_sensors page is incorrect, or just possibly out of date. Turns out I need these modules

Code:
i2c_isa                 1664  0
w83781d                33920  0
i2c_sensor              2368  1 w83781d
i2c_core               21252  3 i2c_isa,w83781d,i2c_sensor


There is something to be said for compiling every module and inserting them one by one until it actually works. Its a shme it took so much time to do it though. Just goes to show how important accurate documentation is. That page had me loading the completely wrong module.
_________________
Go find a cheerleader and saw her legs off. - Nny
Back to top
View user's profile Send private message
stateq2
Apprentice
Apprentice


Joined: 11 Sep 2003
Posts: 242
Location: us

PostPosted: Sun Jan 04, 2004 11:44 pm    Post subject: Reply with quote

edit: nevermind :lol:
_________________
unite
Back to top
View user's profile Send private message
Kow
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 227

PostPosted: Wed Jan 07, 2004 10:12 pm    Post subject: Reply with quote

Yea LM-Sensors is probably the worst documentated project ever, along with its sensors-detect program.
_________________
-Kow
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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