Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to use your hardware sensors with Kernel 2.6
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Merlin-TC
l33t
l33t


Joined: 16 May 2003
Posts: 603
Location: Germany

PostPosted: Thu Nov 13, 2003 6:56 pm    Post subject: Reply with quote

With the 2.6 kernel versions you don't have to emerge anything related to i2c.
Just reemerge gkrellm.
Back to top
View user's profile Send private message
patsonrt1
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2003
Posts: 104
Location: Somewhere in my head

PostPosted: Thu Nov 13, 2003 9:54 pm    Post subject: Reply with quote

Merlin-TC wrote:
@patsonrt1: I finally got it to work. Seems like it's using another chipset (not via) to read the data out.
Just enable "ITE87XX and compatibles" under "I2C Hardware Sensor Chip Support" and there you go.
And don't forget to reemerge gkrellm2 again after that or it won't find your sensors.

Hope I could help :)


Thank You!!
That did it :D I don't know how I can repay you.......so thanks again.
_________________
"Well fine, go ahead and miss church, and when you die and go to hell you can answer to SATAN!"

"Ok"

-fortune
Back to top
View user's profile Send private message
fedekapo
Apprentice
Apprentice


Joined: 16 Jun 2003
Posts: 223
Location: Argentina

PostPosted: Thu Dec 04, 2003 7:49 pm    Post subject: Reply with quote

Now lm-sensors2 from CVS supports kernel 2.6
Back to top
View user's profile Send private message
elpollodiablo
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2003
Posts: 141

PostPosted: Tue Dec 09, 2003 12:31 am    Post subject: Reply with quote

i had no luck with a asus p4c800! hopefully it's supported, but i'm not sure, and i've been searching the forum for days! any idea?

ps: i'm recompiling the kernel right now with some more modules....
Back to top
View user's profile Send private message
elpollodiablo
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2003
Posts: 141

PostPosted: Tue Dec 09, 2003 6:46 am    Post subject: Reply with quote

wow! i realized just now that this post is almost one year old! 8O
Back to top
View user's profile Send private message
riprjak
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 116
Location: Adelaide, Au

PostPosted: Thu Dec 11, 2003 11:17 pm    Post subject: Reply with quote

I *USED* to have working sensors on my old kt400 chipset... then I upgraded to an Athlon64 and MSI k8t with a 64bit kernel; Now I cant find i2c_isa ANYWHERE...

Its not in the .config for x86_64... there isn't any indication of the ISA bus either... so I cant get my winbond chip telling me critical things like, how hot is this bad boy getting and are my voltages even approximately stable.

;) Anyone who can help me find, enable and compile i2c_isa.ko for x86_64 with development-sources or gentoo-dev-sources-test11 would be greatly appreciated!!

err!
jak
_________________
---
$> cd /pub
$> more beer > /home/riprjak/.mouth
Back to top
View user's profile Send private message
Biker
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 156
Location: A very dark, cold and moisty place...

PostPosted: Tue Dec 16, 2003 11:26 am    Post subject: Reply with quote

I have the modules loaded, but...

My PC is a Shuttle SB61G2. It has the ITE87xx chip.

The AWARD BIOS implements something they call "Smart Fan", which controls the speed of one (selectable) fan according to the CPU temperature.

My problem (I think):
- Whenever I modprobe the it87 module, it gets successfully loaded and all the required modules are loaded. And at the same time, the "Smart Fan" controlled fan speeds up to max speed. I guess the "Smart Fan" code in BIOS lets go the ownership of the fan.

- The only way I've found to give back the fan to "Smart Fan" is to reboot.

Is this working as foreseen?

If not, what can/should I do?

Biker
_________________
The "Freedom of the Press" belongs to those that have a press.
Back to top
View user's profile Send private message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 292

PostPosted: Fri Dec 19, 2003 11:28 pm    Post subject: Reply with quote

Can anyone tell me how to get my sensors working with the 2.6 kernel? I've loaded the correct modules and merge lm_sensors 2.8.2, but can't get anything to work.

Here's the last part of the output from sensors-detect...
Code:

If you want to load the modules at startup, generate a config file
below and make sure lm_sensors get started (eg. rc-update add lm_sensors default).

To make the sensor modules behave correctly, add these lines to
/etc/modules.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----end cut here----

WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.
To load everything that is needed, execute the commands above...

#----cut here----
# I2C adapter drivers
# modprobe unknown adapter bt878 #0 [sw] using Algorithm unavailable
modprobe i2c-viapro
# modprobe unknown adapter bt878 #0 [sw] using Algorithm unavailable
modprobe i2c-isa
# I2C chip drivers
modprobe lm80
modprobe eeprom
modprobe via686a
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----end cut here----

Code:

root # lsmod
Module                  Size  Used by
via686a                18056  -
eeprom                  5736  -
i2c_sensor              2176  -
i2c_isa                 1472  -
i2c_viapro              5676  -
i2c_dev                 8192  -
i2c_core               20232  -

Code:

root # /etc/init.d/lm_sensors start
 * Loading lm_sensors modules...                                                 [ ok ]
 *   Loading i2c-proc...                                                         [ !! ]

Code:

root # sensors
eeprom-i2c-1-51
Adapter: SMBus Via Pro adapter at 5000
Algorithm: Unavailable from sysfs
Memory type: Unavailable

eeprom-i2c-1-50
Adapter: SMBus Via Pro adapter at 5000
Algorithm: Unavailable from sysfs
Memory type: Unavailable

eeprom-i2c-0-50
Adapter: bt878 #0 [sw]
Algorithm: Unavailable from sysfs
Memory type: Unavailable

Temic-i2c-0-61
Adapter: bt878 #0 [sw]
Algorithm: Unavailable from sysfs
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2526
Location: Denmark

PostPosted: Sat Dec 20, 2003 7:32 am    Post subject: Reply with quote

Thx for the guide :)
I got it working here on Asus A7v333
modules for the via chipset and Winbond.

Code:

via686a                17796  -
w83781d                33600  -
i2c_sensor              2144  -
i2c_viapro              4684  -
i2c_core               20068  -

_________________
linux: #232767
Back to top
View user's profile Send private message
AgenT
Apprentice
Apprentice


Joined: 18 May 2003
Posts: 280

PostPosted: Sat Dec 20, 2003 4:23 pm    Post subject: Reply with quote

elpollodiablo wrote:
wow! i realized just now that this post is almost one year old! 8O


Are you sure? First post is dated Fri Oct 31, 2003 10:28 am and your post is dated Tue Dec 09, 2003 1:46 am. :roll:
Back to top
View user's profile Send private message
jstuart
n00b
n00b


Joined: 03 Dec 2002
Posts: 57

PostPosted: Tue Dec 23, 2003 5:32 am    Post subject: Reply with quote

riprjak wrote:
I *USED* to have working sensors on my old kt400 chipset... then I upgraded to an Athlon64 and MSI k8t with a 64bit kernel; Now I cant find i2c_isa ANYWHERE...

Its not in the .config for x86_64... there isn't any indication of the ISA bus either... so I cant get my winbond chip telling me critical things like, how hot is this bad boy getting and are my voltages even approximately stable.

;) Anyone who can help me find, enable and compile i2c_isa.ko for x86_64 with development-sources or gentoo-dev-sources-test11 would be greatly appreciated!!

err!
jak


You have to turn on the ISA bus to allow i2c_isa to be made. I was able to build all of this into my kernel and now lm_sensors works PERFECTLY! This is NICE... I now only load 3 modules! I LOVE IT!
_________________
Jeff Stuart
JAHGU (Just another happy Gentoo User)
Back to top
View user's profile Send private message
CharlieS
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2003
Posts: 146
Location: Texas, USA

PostPosted: Wed Dec 24, 2003 5:02 am    Post subject: read all of this but still cant get working Reply with quote

i have read all of the info above. but i still cannot get it to work...

i have a soyo kt333 mobo. 1800XP.. i have made them all modules like explained.. i have isa support in also.. when i goto /sys/bus/i2c/ i see devices and drivers..

the devices directory is completly empty and the drivers directory has stuff in it.. what have i done wrong?

i have modprobed every i2c module i see under modprobe -l

any help i would love.. thanks
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2526
Location: Denmark

PostPosted: Wed Dec 24, 2003 5:06 am    Post subject: Reply with quote

why do you people use the isa module ?
I didnt compile anything related to isa, because i dont have any isa cards, and the sensors works ... is it because you guyes have some isa cards ?? isa its really old ..
_________________
linux: #232767
Back to top
View user's profile Send private message
lurid
Guru
Guru


Joined: 12 Mar 2003
Posts: 595
Location: Florida

PostPosted: Wed Dec 24, 2003 5:11 am    Post subject: Reply with quote

I finally got the sensors working. According to the lm_sensors website the module I was supposed to be using is via686a, but that never worked. I decided to try using the w83781d module that I saw a lot of people with newer via boards using and it worked. Kinda strange. The lm_sensors docs never mentioned this module.

Now I'm trying to get it working on my girlfriends ECS board (sis735). The modules load correctly and I get info in /sys/bus/i2c/devices but GKrellM reports temps that are WAY off, like 500 C. :roll:
_________________
Go find a cheerleader and saw her legs off. - Nny
Back to top
View user's profile Send private message
jstuart
n00b
n00b


Joined: 03 Dec 2002
Posts: 57

PostPosted: Thu Dec 25, 2003 4:58 am    Post subject: Reply with quote

ikaro wrote:
why do you people use the isa module ?
I didnt compile anything related to isa, because i dont have any isa cards, and the sensors works ... is it because you guyes have some isa cards ?? isa its really old ..


Because that's the only way I can access my system's onboard sensors.
_________________
Jeff Stuart
JAHGU (Just another happy Gentoo User)
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Fri Dec 26, 2003 1:15 pm    Post subject: Reply with quote

Here are the needed /etc/sensors.conf entries for the Soyo Dragon Plus (VIA KT266a). I found them somewhere in the web and they are working here. The standard sensor.conf seems to be very suboptimal for this boad.

Code:

# Sensors configuration file used by 'libsensors'
#------------------------------------------------
#
# Modified by shyamal.prasad@sbcglobal.net for Soyo Dragon+ motherboard
# from the version distributed in lm-sensors 2.6

chip "it87-*"

# Voltage monitors as advised in the It8705 data sheet
# Changed labels to read like the Soyo Dragon+ BIOS on rattler
    label in0 "VCore"
    label in1 "VCC 2.5"
    label in2 "+3.3V"
    label in3 "+5V"   #really +5V, and not 5VSB I think
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "5VSB"  #standby - I think

    set in0_min 1.75 * 0.95
    set in0_max 1.75 * 1.05
    set in1_min 2.4
    set in1_max 2.6
    set in2_min 3.3 * 0.95
    set in2_max 3.3 * 1.05
    set in3_min 5.0 * 0.95
    set in3_max 5.0 * 1.05
    set in4_min 12 * 0.95
    set in4_max 12 * 1.05
    set in5_min -12 * 0.95
    set in5_max -12 * 1.05
    set in6_min -5 * 0.95
    set in6_max -5 * 1.05
    set in7_min 5 * 0.95
    set in7_max 5 * 1.05

    # vid not monitored by IT8705F
    ignore  vid
   
    # not monitored by Soyo Dragon? These are not in the BIOS print outs!
    # or the compute statements below are wrong
    ignore in5
    ignore in6
    ignore in8

# For this family of chips the negative voltage equation is different from
# the lm78.  The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
# data sheet is wrong)
# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.
# Following line uncommeted for Soyo Dragon
#    compute in2 (1 + 1)*@ ,       @/(1 + 1)
    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
# Formula:
#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
#    For -12V input use Rin/Rf = 6.68
#    For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like:
    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
#
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

# Temperature
# Labels chosen to match the Soyo Dragon+ BIOS
    label temp1       "CPU Temp"
    set   temp1_over  60
    set   temp1_hyst  20

    label temp3       "SYS Temp"
    set   temp3_over  40
    set   temp3_hyst  15

    # Unused on Soyo Dragon+
    ignore temp2

# Fans

    set fan1_min 0
    set fan2_min 3000
    ignore fan3

    # For rattler - Soyo Dragon+ has only a CPU fan for now
    ignore fan1
    label fan2          "CPU Fan"


Needed modules: i2c-core, i2c-dev, i2c-isa, it87
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Fri Dec 26, 2003 11:00 pm    Post subject: Reply with quote

Anyone know what sensors are used in ibm thinkpad t23? I compiled everything as module and loaded them, but nothing showed up. Controller is an Intel 82801CA/CAM.
Back to top
View user's profile Send private message
NatuNobilis
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2003
Posts: 88
Location: Rio de Janeiro, Brazil

PostPosted: Sat Dec 27, 2003 10:15 pm    Post subject: Reply with quote

It's working here. Perfectly, if I may add.

I have a KT333 motherboard. I also didn't know I had to enable ISA support in the kernel for having the i2c-isa options available. Just added this into the kernel, recompiled, rebooted, recompiled gkrellm, and everything suddenly got working.

The modules loaded:
Code:
w83781d                33792  0
i2c_dev                 8384  0
i2c_viapro              5004  0
i2c_isa                 1664  0
i2c_algo_bit            9416  1 bttv
i2c_sensor              2368  1 w83781d
i2c_core               20868  9 i2c_dev,i2c_viapro,tuner,tvaudio,bttv,w83781d,i2c_isa,i2c_algo_bit,i2c_sensor
Please disconsider everything related to bttv, since it has nothing to do with our sensors (I guess).

I have i2c-2.7.0 installed, which was working with kernel 2.4 but I think it is not necessary anymore. Too afraid to unmerge it.

I'm really puzzled by something, though. Do I need lm-sensors at all? I have lm-sensors-2.7.0-r1 installed, and an lm_sensors restart won't complete. It complains about not being able to load i2c-proc. Yeah, this module doesn't exist anymore, so I guess lm_sensors is not even running.

However, I'm afraid of unmerging it. Would my sensors stop working?

One more question: I used to use wmsensormon, a dockapp for WindowMaker which uses lm_sensors for displaying temp's and voltages. It definitely stopped working. So, what's different in the way gkrellm and wmsensormon check the hardware sensors? Is it just that gkrellm is 2.6-ready whereas wmsensormon is 2.4-dependent?

Thanks for the great mini-HOWTO anyway! :D
Back to top
View user's profile Send private message
mickgreen
n00b
n00b


Joined: 23 Dec 2003
Posts: 16

PostPosted: Sun Dec 28, 2003 7:34 pm    Post subject: Reply with quote

The i2c_isa seems paramount to get things working, although it's not obvious.

So I've got my EPOX-EP4BEAR (i845 chipset with W83627HF) working. GKrellM didn't need recompiling.
Back to top
View user's profile Send private message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Sun Dec 28, 2003 10:48 pm    Post subject: Re: How to use your hardware sensors with Kernel 2.6 Reply with quote

Master_Of_Disaster wrote:

[...]
- Pick the items from I2C Hardware Bus support matching your hardware (compile as modules).
- Pick the items from I2C Hardware Sensors Chip support matching your hardware (compile as modules)
[...]


Ok, first of all I have to say I'm a total newbie in regard to running hardware sensors under Linux. Now, I'd like to know: how the hell am I supposed to know what to pick in the sensors chip section?! I figured out I'd need the nForce2 driver in the hardware bus section, but I only see unfamiliar stuff in sensors. I have an Asus A7N8X.

BTW, is there any nice KDE app for displaying the sensors' results?
Back to top
View user's profile Send private message
NatuNobilis
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2003
Posts: 88
Location: Rio de Janeiro, Brazil

PostPosted: Mon Dec 29, 2003 6:19 am    Post subject: Re: How to use your hardware sensors with Kernel 2.6 Reply with quote

IntergalacticWalrus wrote:
Now, I'd like to know: how the hell am I supposed to know what to pick in the sensors chip section?! I figured out I'd need the nForce2 driver in the hardware bus section, but I only see unfamiliar stuff in sensors. I have an Asus A7N8X.

It's easy. Just pick everything as modules. That's what I did and I have no problem now. Oh, and be sure to compile the i2c-isa module!

IntergalacticWalrus also wrote:
BTW, is there any nice KDE app for displaying the sensors' results?
Look for superkaramba. Really sweet app. gkrellm also works on KDE as it does on any WM.

NatuNobilis
Back to top
View user's profile Send private message
IntergalacticWalrus
Guru
Guru


Joined: 07 Jan 2003
Posts: 513
Location: Montreal QC (Canada)

PostPosted: Mon Dec 29, 2003 7:38 am    Post subject: Reply with quote

Okay, now I modprobed every sensor driver and I get this:
Code:

root@naru:3[/sys/bus/i2c/devices]# ls
0-0050  0-0052  1-0049
root@naru:3[/sys/bus/i2c/devices]# cd 1-0049/
root@naru:3[/sys/bus/i2c/devices/1-0049]# ls
detach_state  name  power  temp_input  temp_max  temp_min
root@naru:3[/sys/bus/i2c/devices/1-0049]# cat temp_input
32500
root@naru:3[/sys/bus/i2c/devices/1-0049]# cat temp_max
60000
root@naru:3[/sys/bus/i2c/devices/1-0049]# cat temp_min
50000

(0-0050 and 0-0052 not ls'ed here since they are eeproms, nothing interesting)

What the hell? I only get temp_input, temp_max and temp_min, and they don't seem like very useful values.

Any tips from fellow Asus A7N8X users?

And BTW is there something similar to Asus Probe for KDE? (I love that Windows app) I hate superkaramba (wastes too much resources IMHO) and I don't want to run gkrellm only for the sensors.
Back to top
View user's profile Send private message
zoid
n00b
n00b


Joined: 29 Dec 2003
Posts: 18

PostPosted: Mon Dec 29, 2003 8:34 pm    Post subject: a7v8x hardware monitoring help Reply with quote

I'm fairly new to Gentoo and have been trying to get hardware monitoring up and running. I'm using kernel 2.6 and have compiled i2c support as modules:

Quote:

bash-2.05b# lsmod
Module Size Used by
via686a 18244 0
i2c_viapro 5900 0
i2c_isa 1664 0
lm75 6592 0
i2c_sensor 2432 3 via686a,lm75
i2c_core 21124 6 via686a,i2c_viapro,i2c_isa,lm75,i2c_sensor


I eventually found lm75 gave me some output in ls /sys/bus/i2c/devices/

Quote:

bash-2.05b# ls /sys/bus/i2c/devices/1-0048
detach_state name power temp_input temp_max temp_min

bash-2.05b# ls /sys/bus/i2c/devices/1-0049
detach_state name power temp_input temp_max temp_min


gkrellm does not find any sensors though (I have reemerged it) and running sensors returns:

Quote:

bash-2.05b# sensors
lm75-i2c-1-49
Adapter: SMBus Via Pro adapter at e800
Algorithm: Unavailable from sysfs
ERROR: Can't get temperature data!

lm75-i2c-1-48
Adapter: SMBus Via Pro adapter at e800
Algorithm: Unavailable from sysfs
ERROR: Can't get temperature data!


Hopefully it'll turn out I've missed something really simple. I'd also expect to see more sensors listed in sys/bus/i2c/devices as there is nothing there for fan speed, etc.

My motherboard is an Asus a7v8x.

Any help would be appreciated.
Back to top
View user's profile Send private message
capran
n00b
n00b


Joined: 01 Apr 2003
Posts: 48

PostPosted: Tue Dec 30, 2003 6:01 am    Post subject: Reply with quote

I got sensors working:

Code:

eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400
Algorithm: Unavailable from sysfs
Memory type: Unavailable

eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 0400
Algorithm: Unavailable from sysfs
Memory type: Unavailable

w83697hf-isa-0290
Adapter: ISA adapter
Algorithm: ISA algorithm
VCore:     +1.66 V  (min =  +1.71 V, max =  +1.89 V)
+3.3V:     +3.18 V  (min =  +3.14 V, max =  +3.46 V)       ALARM
+5V:       +4.73 V  (min =  +4.73 V, max =  +5.24 V)       ALARM
+12V:     +12.28 V  (min = +10.82 V, max = +13.19 V)
-12V:     -12.77 V  (min = -13.18 V, max = -10.88 V)
-5V:       -5.45 V  (min =  -5.25 V, max =  -4.75 V)
V5SB:      +5.46 V  (min =  +4.73 V, max =  +5.24 V)
VBat:      +3.36 V  (min =  +2.40 V, max =  +3.60 V)
fan1:     3515 RPM  (min = 3000 RPM, div = 2)
fan2:        0 RPM  (min = 3000 RPM, div = 2)
temp1:       +36°C  (high =  +127°C, hyst =   +60°C)   sensor = thermistor
temp2:     +54.5°C  (high =   +60°C, hyst =   +50°C)   sensor = thermistor
alarms:   Chassis intrusion detection                      ALARM
beep_enable:
          Sound alarm disabled



But I cannot get gkrellm-sensors to read it. The "Chipsets" tab is empty.
I've unmerged gkrellm and gkrellm-sensors and then remerged them, but still no good. I even deleted the .gkrellm dir.
Back to top
View user's profile Send private message
rXi
n00b
n00b


Joined: 08 Jul 2003
Posts: 20

PostPosted: Tue Dec 30, 2003 11:03 am    Post subject: Reply with quote

ziod:

try looking in /sys/bus/i2c/devices/1-002d/

thats where mine where.. im running the same mobo as you (ASUS A7V8x).

here is my lsmod:

Module Size Used by
lm75 8196 0
i2c_viapro 6284 0
w83781d 35712 0
i2c_dev 10880 0
i2c_sensor 3200 2 lm75,w83781d
i2c_core 25480 5 lm75,i2c_viapro,w83781d,i2c_dev,i2c_sensor


i cant emerge i2c or lm-sensors and all the sensor apps what both packages.

i get this error:
>>> emerge (1 of 1) sys-apps/i2c-2.7.0 to /
>>> md5 src_uri ;-) i2c-2.7.0.tar.gz
>>> Unpacking source...
>>> Unpacking i2c-2.7.0.tar.gz to /var/tmp/portage/i2c-2.7.0/work
>>> Source unpacked.
Makefile:188: kernel/i2c-core.d: No such file or directory
Makefile:188: kernel/i2c-dev.d: No such file or directory
Makefile:188: kernel/i2c-algo-bit.d: No such file or directory
Makefile:188: kernel/i2c-philips-par.d: No such file or directory
Makefile:188: kernel/i2c-elv.d: No such file or directory
Makefile:188: kernel/i2c-velleman.d: No such file or directory
Makefile:188: kernel/i2c-algo-pcf.d: No such file or directory
Makefile:188: kernel/i2c-elektor.d: No such file or directory
Makefile:188: kernel/i2c-proc.d: No such file or directory
Makefile:188: kernel/i2c-pport.d: No such file or directory
Makefile:188: kernel/i2c-pcf-epp.d: No such file or directory
make: *** No rule to make target `/lib/modules/2.6.0-test9/build/include/linux/modversions.h', needed by `kernel/i2c-pcf-epp.d'. Stop.
/usr/sbin/ebuild.sh: line 21: [: too many arguments

>>> Install i2c-2.7.0 into /var/tmp/portage/i2c-2.7.0/image/ category sys-apps
make: *** No rule to make target `/lib/modules/2.6.0-test9/build/include/linux/modversions.h', needed by `kernel/i2c-pcf-epp.d'. Stop.

!!! ERROR: sys-apps/i2c-2.7.0 failed.
!!! Function src_install, Line 35, Exitcode 2
!!! (no error message)


any ideas?

rxi
_________________
hell hath but one fury greater than a woman scorned: a woman rooted, then scorned.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, ... 9, 10, 11  Next
Page 2 of 11

 
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