Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lm_sensors Problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Nash
n00b
n00b


Joined: 12 Jan 2003
Posts: 21

PostPosted: Tue Feb 18, 2003 6:08 pm    Post subject: lm_sensors Problem Reply with quote

Hallo,
ich hab mir jetzt mit emerge i2c und mit emerge lm_sensors den ganzen kram installiert den ich normal brauche. So nun weiss ich noch von meiner alten RH installation die ich vor Gentoo noch hatte die module i2c-proc, i2c-isa und w83781d geladen werden müssen. Wenn ich die Module mit nen modprobe aufrufen will bekomme ich aber nur den Fehler das er die Module nicht finden kann. Kann mir jemand sagen was ich falsch mache bzw falsch gemacht habe ?
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Tue Feb 18, 2003 7:28 pm    Post subject: Reply with quote

entweder hast du die i2c optionen in den kernel rein compiliert oder als module compiliert (offenbar hast du die module nicht.... sonst hättest du ja die fehler nicht).

also musst du folgendes machen:
Code:
cd /usr/src/linux
make menuconfig

dann die optionen für i2c anwählen (ich mache immer module daraus) und den kernel neu compilieren.

alternativ kannst du auch das config file selbst editieren:
Code:
nano -w /usr/src/linux/.config

und dann den i2c support aktivieren (meines sieht so aus):
Code:
# I2C support
CONFIG_I2C=m
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_PHILIPSPAR=m
CONFIG_I2C_ELV=m
CONFIG_I2C_VELLEMAN=m
# CONFIG_I2C_PPORT is not set
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ELEKTOR=m
# CONFIG_I2C_PCFEPP is not set
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_PROC=m


nachdem du den kernel übersetzt hast und neu gebootet hast, kannst du mit sensors-detect den lm_sensors teil fertig konfigurieren. bitte vergiss nicht vorher noch das sysconfig verzeichnis in /etc/ zu erstellen:
Code:
mkdir -p /etc/sysconfig/


nachdem du lm_sensors fertig konfiguriert hast, kannst du mit rc-update add lm_sensors default den lm_sensors deamon automatisch beim neustart aktivieren. da wir ja mit linux arbeiten kannst du ihn auch vorher starten (also kein reboot nötig):
Code:
/etc/init.d/lm_sensors start



gruss

SteveB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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