View previous topic :: View next topic |
Author |
Message |
mbjr Guru
Joined: 17 Jan 2004 Posts: 531 Location: Budapest/Hungary
|
Posted: Wed Jun 16, 2004 8:21 am Post subject: |
|
|
Hi,
I have a lil problem with lm_sensors )
I've rebuilt my kernel, with the correct modules, which are loading upon a reboot, and here's what I get:
netsrv root # sensors
eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 5000
Memory type: SDR SDRAM DIMM
Memory size (MB): 512
netsrv root # ls /sys/bus/i2c/devices/
0-0050
netsrv root # ls /sys/bus/i2c/devices/0-0050/
detach_state eeprom name power
netsrv root #
do you know what this can be? I see no sensors _________________ mb |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Sun Jun 20, 2004 3:29 am Post subject: |
|
|
Sorry for the n00b question, but how do I fix this?
Code: | # emerge =lm-sensors-2.8.6
Calculating dependencies
!!! all ebuilds that could satisfy "=lm-sensors-2.8.6" have been masked.
!!! possible candidates are:
- sys-apps/lm-sensors-2.8.6 (masked by: -keyword)
!!! Error calculating dependencies. Please correct. |
I have:
Code: | # grep lm /etc/portage/*
/etc/portage/package.keywords:~sys-apps/lm-sensors ~x86
/etc/portage/package.mask:=lm-sensors-2.8.6 |
Is that correct? Do I need something else? _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
Fubarovic Tux's lil' helper
Joined: 18 Aug 2003 Posts: 115 Location: Belgium
|
Posted: Sun Jun 20, 2004 10:48 am Post subject: |
|
|
I'm confused. What are 2.6.*-users supposed to do? What version of lm-sensors do we need? _________________ Orbis non sufficit |
|
Back to top |
|
|
linux_girl Apprentice
Joined: 12 Sep 2003 Posts: 287
|
Posted: Sun Jun 20, 2004 12:53 pm Post subject: |
|
|
nadamsieee wrote: | Sorry for the n00b question, but how do I fix this?
Code: | # emerge =lm-sensors-2.8.6
Calculating dependencies
!!! all ebuilds that could satisfy "=lm-sensors-2.8.6" have been masked.
!!! possible candidates are:
- sys-apps/lm-sensors-2.8.6 (masked by: -keyword)
!!! Error calculating dependencies. Please correct. |
I have:
Code: | # grep lm /etc/portage/*
/etc/portage/package.keywords:~sys-apps/lm-sensors ~x86
/etc/portage/package.mask:=lm-sensors-2.8.6 |
Is that correct? Do I need something else? |
lm-sensors is hard-masked ! to emerge you need to (root user):
1) mkdir /etc/portage
2) echo sys-app/lm-sensors >>/etc/portage/package.unmask
that was what i found at gentoo-portage.com but did not work
i also tried
Code: |
$alias xmerge='ACCEPT_KEYWORDS="~x86" emerge'
|
Code: |
$cat /etc/portage/package.unmask
>sys-app/lm-sensors-2.8.2
>sys-app/i2c-2.8.1
$xmerge =lm-sensors-2.8.6
Calculating dependencies
!!! all ebuilds that could satisfy "=lm-sensors-2.8.6" have been masked.
!!! possible candidates are:
- sys-apps/lm-sensors-2.8.6 (masked by: -keyword)
!!! Error calculating dependencies. Please correct.
|
Code: |
$cat /etc/portage/package.unmask
=sys-app/lm-sensors-2.8.6
>sys-app/i2c-2.8.1
$xmerge =lm-sensors-2.8.6
Calculating dependencies
!!! all ebuilds that could satisfy "=lm-sensors-2.8.6" have been masked.
!!! possible candidates are:
- sys-apps/lm-sensors-2.8.6 (masked by: -keyword)
!!! Error calculating dependencies. Please correct.
|
_________________ |
|
Back to top |
|
|
Paranoid Apprentice
Joined: 07 Jan 2004 Posts: 290 Location: Portland, ME
|
Posted: Sun Jun 20, 2004 8:45 pm Post subject: |
|
|
Put this in your /etc/portage/package.keywords (if you don't have package.keywords create it):
sys-apps/lm-sensors -x86 _________________ A paranoid is someone who knows a little of what's going on.
William S. Burroughs |
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Sun Jun 20, 2004 9:38 pm Post subject: |
|
|
Paranoid wrote: | Put this in your /etc/portage/package.keywords (if you don't have package.keywords create it):
sys-apps/lm-sensors -x86 |
No joy here.
Code: | # ls /etc/portage/
package.keywords package.unmask
# cat /etc/portage/package.keywords
sys-apps/lm-sensors -x86
# cat /etc/portage/package.unmask
sys-app/lm-sensors
# emerge =sys-app/lm-sensors-2.8.6
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "=sys-app/lm-sensors-2.8.6".
!!! Error calculating dependencies. Please correct.
# emerge =sys-app/lm-sensors-2.8.4
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "=sys-app/lm-sensors-2.8.4".
!!! Error calculating dependencies. Please correct. |
Am I trying to emerge the correct version? _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
Paranoid Apprentice
Joined: 07 Jan 2004 Posts: 290 Location: Portland, ME
|
Posted: Sun Jun 20, 2004 10:52 pm Post subject: |
|
|
Works fine here:
Code: | Luna portage # cat package.keywords
sys-kernel/linux-headers -*
sys-apps/lm-sensors -x86 |
Code: | Luna portage # emerge -pv lm-sensors
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-apps/lm-sensors-2.8.6 -debug 0 kB
Total size of downloads: 0 kB |
Man page on package.unmask:
Just like package.mask above except here you list pack-
ages you want to unmask. Useful for overriding the
global profile.mask file (see below). Note that this
does not override packages that are masked via KEYWORDS.
Ebuild--> Code: | KEYWORDS="amd64 -ppc -sparc -x86" |
So this file does nothing to unmask a package keyworded -x86, package.keywords is what should be used. _________________ A paranoid is someone who knows a little of what's going on.
William S. Burroughs
Last edited by Paranoid on Mon Jun 21, 2004 7:36 am; edited 1 time in total |
|
Back to top |
|
|
BlindSpy Apprentice
Joined: 20 Mar 2004 Posts: 263
|
Posted: Mon Jun 21, 2004 1:19 am Post subject: |
|
|
i've got an epox ep-8k9a with a via kt400 chipset. Now what modules do i need to load to get the sensors to detect? _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
|
_BarNey_ n00b
Joined: 11 Mar 2004 Posts: 21 Location: Germany/Trier
|
Posted: Mon Jun 21, 2004 3:11 pm Post subject: |
|
|
Hellaz.
Does somebody else has the problem that after a reboot (or restarting the lm_sensors) my gkrellm "resets" his configuration of the lm-sensors?
I have to make all preferences of the monitoring again and again and again.... Really annoying.
I tried it with several gkrellm and lm-sensor versions.
kernel 2.6.5, i2c-viapro, w83627hf (MSI KT3 Ultra Board).
Thanks for any hinds.
/edit:
I found that the sensore-name is changed every restart in gkrellm.
Example: w83697-hf-15-0290/temp1 is after a restart w83697-hf-16-0290/temp1
Any suggestions how to fix that? |
|
Back to top |
|
|
thrasher6670 Apprentice
Joined: 04 Aug 2003 Posts: 269 Location: London, Ontario
|
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
|
Back to top |
|
|
nadamsieee Guru
Joined: 30 May 2003 Posts: 340 Location: Atlanta, GA, USA
|
Posted: Wed Jun 23, 2004 1:35 am Post subject: |
|
|
Original Post wrote: | emerge =lm-sensors-2.8.4 |
Paranoid wrote: | emerge -pv lm-sensors |
Paranoid wins. Thanks for the example. _________________ nadams (at) ieee (dot) org |
|
Back to top |
|
|
blitz303 n00b
Joined: 20 May 2004 Posts: 45
|
Posted: Mon Jul 26, 2004 3:59 am Post subject: Resolved |
|
|
Having trouble...
Code: | # cat /etc/portage/package.keywords
sys-apps/lm-sensors -x86 |
Code: | # emerge =lm-sensors-2.8.7
Calculating dependencies
!!! all ebuilds that could satisfy "=lm-sensors-2.8.7" have been masked.
!!! possible candidates are:
- sys-apps/lm-sensors-2.8.7 (masked by: missing keyword)
|
Odd, these same instructions seemed to work for version 2.8.6 |
|
Back to top |
|
|
blitz303 n00b
Joined: 20 May 2004 Posts: 45
|
Posted: Mon Jul 26, 2004 4:13 am Post subject: resolved |
|
|
Hey, I noticed they took KEYWORDS="-x86" out of the .ebuild. Now I emerge w/
Code: | emerge --nodeps =lm-sensors-2.8.7
|
|
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Fri Jul 30, 2004 6:54 pm Post subject: |
|
|
hello, having problems getting sensors to work on my gigabyte ga 7nnxp motherboard.
setup so far:
Kernel gentoo-dev-sources 2.6.7-r11
Code: |
Bus options (PCI, PCMCIA, EISA, MCA, ISA)
[*] PCI support
PCI access mode (Any) --->
[*] Legacy /proc/pci interface
[*] PCI device name database
[*] ISA support
---------------------
I2C support
--- I2C support
<M> I2C device interface
I2C Algorithms --->
--- I2C bit-banging interfaces
<*> I2C PCF 8584 interfaces
I2C Hardware Bus support --->
<M> Nvidia Nforce2
Hardware Sensors Chip support --->
<M> ITE IT87xx and compatibles
<M> Winbond W83781D, W83782D, W83783S, W83627HF, Asus AS99127F
|
From reseach most users seem to be using Winbond however looking here it sya it uses ITE87** chip. Have set isa even though should not be needed in my kernel
I have set lm sensors to run at boot and get following from dmesg
Code: |
i2c /dev entries driver
i2c_adapter i2c-2: sendbytes: error - bailout.
i2c_adapter i2c-2: sendbytes: error - bailout. (repeated few times)
|
lsmod | grep i2c gives
Code: |
lsmod | grep i2c
i2c_dev 7808 0
i2c_sensor 2368 2 it87,w83781d
i2c_nforce2 5056 0
|
kernel autoload modules is:
Code: |
ide-scsi
i2c_nforce2
w83781d
i2c_sensor
i2c_core
|
After doing sensors-detect
Code: |
/etc/conf.d/lm_sensors
# List the modules that are to be loaded for your system
#
# Generated by sensors-detect on Fri Jul 30 19:21:03 2004
MODULE_0=i2c-nforce2
MODULE_1=i2c-isa
MODULE_2=eeprom
MODULE_3=smartbatt
MODULE_4=max6650
MODULE_5=it87
|
running sensors command gets:
Code: |
linux # sensors
Temic PAL_BG -i2c-4-61
Adapter: bt878 #0 [sw]
i2c IR -i2c-4-18
Adapter: bt878 #0 [sw]
MSP3415D-i2c-4-40
Adapter: bt878 #0 [sw]
|
any ideas well appreciated _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
Drewgrange Guru
Joined: 29 Mar 2003 Posts: 483 Location: Ohio, US
|
Posted: Mon Oct 04, 2004 7:24 pm Post subject: |
|
|
I'm having problems getting the sensors to work with gdesklets. I'm trying both the lmsensors and cputemp (the modified one posted on the gdesklets website meant to work with i2c).
The lmsensors desklet only sees my motherboard temperature. Under Available Temperature sensors I only see "asb100-i2c-0-2d/M/BTemp"
I can't figure out where that is or what to do to see why it isn't finding the cpu temp.
The CPUTemp desklet lets you choose the input. I have
/sys/class/i2c-dev/i2c-0/device/i2c-0/0-002d/temp1_input
There are three others (temp2_input, temp3_input, temp4_input). They all show a temperature of 0 on the desklet.
I know the sensor works, because my "sensors" command shows, in part:
Code: | M/B Temp: +32 C (high = +45 C, hyst = +40 C)
CPU Temp (Intel):
+44 C (high = +60 C, hyst = +50 C)
Power Temp:
-0 C (high = +45 C, hyst = +40 C)
CPU Temp (AMD):
+25 C (high = +60 C, hyst = +50 C)
|
That makes sense that there would be four temp*_input's, but they all seem to read out as blank. |
|
Back to top |
|
|
plainzwalker n00b
Joined: 22 Nov 2003 Posts: 62 Location: Rose Barracks, Vilseck, Germany
|
Posted: Sun Oct 10, 2004 3:33 pm Post subject: |
|
|
woohoo...after about an hour of trails and tribulations, I've finally and for the first time have been able to get lm_sensors working in linux. Asus A7v600-X mb.
Code: | bash-2.05b# sensors
it87-isa-0290
Adapter: ISA adapter
VCore 1: +1.74 V (min = +1.42 V, max = +1.57 V) ALARM
VCore 2: +0.00 V (min = +2.40 V, max = +2.61 V) ALARM
+3.3V: +6.50 V (min = +3.14 V, max = +3.46 V) ALARM
+5V: +4.89 V (min = +4.76 V, max = +5.24 V)
+12V: +12.10 V (min = +11.39 V, max = +12.61 V)
-12V: -27.36 V (min = -12.63 V, max = -11.41 V) ALARM
-5V: -13.64 V (min = -5.26 V, max = -4.77 V) ALARM
Stdby: +4.95 V (min = +4.76 V, max = +5.24 V)
VBat: +4.08 V
fan1: 4166 RPM (min = 0 RPM, div = 2)
fan2: 3040 RPM (min = 2657 RPM, div = 2) ALARM
fan3: 0 RPM (min = 2657 RPM, div = 2) ALARM
M/B Temp: +53 C (low = +15 C, high = +40 C) sensor = thermistor
CPU Temp: +33 C (low = +15 C, high = +45 C) sensor = thermistor
Temp3: -1 C (low = +15 C, high = +45 C) sensor = disabled
eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at e800
Memory type: DDR SDRAM DIMM
Memory size (MB): 512
bash-2.05b#
|
Only problem I see so far is the temperature is in Celsius,, but other then that everything is good to go
Great guide!!!
Thanks
Jeff |
|
Back to top |
|
|
dalcorta n00b
Joined: 01 Nov 2003 Posts: 36
|
Posted: Tue Oct 12, 2004 9:39 pm Post subject: How do I enable I2C support? |
|
|
How do I enable I2C support?
Device Drivers --->
I2C support --->
--- I2C support <-- ?
<M> I2C device interface
I2C Hardware Bus support --->
<M> Choose the appropriate module for your hardware here
I2C Hardware Sensors Chip support --->
<M> Choose the appropriate module for your sensors here |
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
Posted: Tue Oct 12, 2004 9:56 pm Post subject: |
|
|
@dalcorta
Seems like another option in the kernel's config depends on I²C and won't build without it. Just type in 'make' and see if drivers/i2c/i2c-core.o exists afterwards. _________________ post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today! |
|
Back to top |
|
|
Martz n00b
Joined: 04 Mar 2004 Posts: 72
|
Posted: Sat Oct 16, 2004 6:26 pm Post subject: |
|
|
I'm having some problems while emerging lm-sensors. emerge i2c works fine, and I have already compiled my kernel with most of the i2c kernel options as modules.
Any help appreciated!
Code: |
tux martz # emerge lm-sensors
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/lm-sensors-2.8.7 to /
>>> md5 src_uri ;-) lm_sensors-2.8.7.tar.gz
>>> Unpacking source...
>>> Unpacking lm_sensors-2.8.7.tar.gz to /var/tmp/portage/lm-sensors-2.8.7/work
QA Notice: USE Flag 'rrdtool' not in IUSE for sys-apps/lm-sensors-2.8.7
>>> Source unpacked.
* *****************************************************************
*
* This ebuild assumes your /usr/src/linux kernel is the one you
* used to build i2c-2.8.7.
*
* For 2.5+ series kernels, use the support already in the kernel
* under 'Character devices' -> 'I2C support' and then merge this
* ebuild.
*
* To cross-compile, 'export LINUX="/lib/modules/<version>/build"'
* or symlink /usr/src/linux to another kernel.
*
* *****************************************************************
* Using kernel in /usr/src/linux/:- 2.6.9-rc4
* You are using a 2.5 / 2.6 series kernel; only building utilities...
* You may safely ignore any errors from compilation
* that contain 'No such file' references.
rm -f mkpatch/.temp
rm -f kernel/*.o kernel/*.d
rm -f kernel/busses/*.o kernel/busses/*.d
rm -f kernel/chips/*.o kernel/chips/*.d
rm -f kernel/include/*.h.install kernel/include/sensors.h kernel/include/sensors.hd
rm -f lib/*.ld lib/*.ad
rm -f prog/detect/*.rd prog/detect/*.ro prog/detect/i2cdetect
rm -f lib/*.lo lib/*.ao
rm -f prog/dump/*.rd prog/dump/*.ro prog/dump/i2cdump prog/dump/i2cset prog/dump/isadump prog/dump/isaset
rm -f lib/libsensors.a lib/libsensors.so.3.0.5 lib/libsensors.so.3 lib/libsensors.so lib/conf-parse.h lib
/conf-parse.c lib/conf-lex.c
rm -f prog/sensors/*.rd prog/sensors/*.ro
rm -f lib/libsensors.so.*
rm -f prog/sensors/sensors
rm -f lm_sensors-*
/bin/sh: -/: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
/bin/sh: -print-search-dirs: command not found
Makefile:245: kernel/include/sensors.hd: No such file or directory
Makefile:245: lib/data.ld: No such file or directory
Makefile:245: lib/general.ld: No such file or directory
Makefile:245: lib/error.ld: No such file or directory
Makefile:245: lib/chips.ld: No such file or directory
Makefile:245: lib/proc.ld: No such file or directory
Makefile:245: lib/access.ld: No such file or directory
Makefile:245: lib/init.ld: No such file or directory
Makefile:245: lib/data.ad: No such file or directory
Makefile:245: lib/general.ad: No such file or directory
Makefile:245: lib/error.ad: No such file or directory
Makefile:245: lib/chips.ad: No such file or directory
Makefile:245: lib/proc.ad: No such file or directory
Makefile:245: lib/access.ad: No such file or directory
Makefile:245: lib/init.ad: No such file or directory
Makefile:245: prog/detect/i2cdetect.rd: No such file or directory
Makefile:245: prog/dump/i2cdump.rd: No such file or directory
Makefile:245: prog/dump/i2cset.rd: No such file or directory
Makefile:245: prog/dump/i2cbusses.rd: No such file or directory
Makefile:245: prog/dump/isadump.rd: No such file or directory
Makefile:245: prog/dump/isaset.rd: No such file or directory
Makefile:245: prog/sensors/main.rd: No such file or directory
Makefile:245: prog/sensors/chips.rd: No such file or directory
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector prog/sensors/chips.c | \
sed -e 's@^\(.*\)\.o:@prog/sensors/chips.rd prog/sensors/chips.ro: Makefile '`dirname prog/sensor
s/chips.rd`/Module.mk' @' > prog/sensors/chips.rd
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector prog/sensors/main.c | \
sed -e 's@^\(.*\)\.o:@prog/sensors/main.rd prog/sensors/main.ro: Makefile '`dirname prog/sensors/
main.rd`/Module.mk' @' > prog/sensors/main.rd
/bin/sh: M: command not found
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector prog/dump/isaset.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/isaset.rd prog/dump/isaset.ro: Makefile '`dirname prog/dump/isase
t.rd`/Module.mk' @' > prog/dump/isaset.rd
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector prog/dump/isadump.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/isadump.rd prog/dump/isadump.ro: Makefile '`dirname prog/dump/isa
dump.rd`/Module.mk' @' > prog/dump/isadump.rd
/bin/sh: M: command not found
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector prog/dump/i2cbusses.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/i2cbusses.rd prog/dump/i2cbusses.ro: Makefile '`dirname prog/dump
/i2cbusses.rd`/Module.mk' @' > prog/dump/i2cbusses.rd
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector prog/dump/i2cset.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/i2cset.rd prog/dump/i2cset.ro: Makefile '`dirname prog/dump/i2cse
t.rd`/Module.mk' @' > prog/dump/i2cset.rd
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector prog/dump/i2cdump.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/i2cdump.rd prog/dump/i2cdump.ro: Makefile '`dirname prog/dump/i2c
dump.rd`/Module.mk' @' > prog/dump/i2cdump.rd
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector prog/detect/i2cdetect.c | \
sed -e 's@^\(.*\)\.o:@prog/detect/i2cdetect.rd prog/detect/i2cdetect.ro: Makefile '`dirname prog/
detect/i2cdetect.rd`/Module.mk' @' > prog/detect/i2cdetect.rd
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/init.c | \
sed -e 's@^\(.*\)\.o:@lib/init.ad lib/init.ao: Makefile '`dirname lib/init.ad`/Module.mk' @' > li
b/init.ad
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/access.c | \
sed -e 's@^\(.*\)\.o:@lib/access.ad lib/access.ao: Makefile '`dirname lib/access.ad`/Module.mk' @
' > lib/access.ad
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/proc.c | \
sed -e 's@^\(.*\)\.o:@lib/proc.ad lib/proc.ao: Makefile '`dirname lib/proc.ad`/Module.mk' @' > li
b/proc.ad
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/chips.c | \
sed -e 's@^\(.*\)\.o:@lib/chips.ad lib/chips.ao: Makefile '`dirname lib/chips.ad`/Module.mk' @' >
lib/chips.ad
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/error.c | \
sed -e 's@^\(.*\)\.o:@lib/error.ad lib/error.ao: Makefile '`dirname lib/error.ad`/Module.mk' @' >
lib/error.ad
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/general.c | \
sed -e 's@^\(.*\)\.o:@lib/general.ad lib/general.ao: Makefile '`dirname lib/general.ad`/Module.mk
' @' > lib/general.ad
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium
4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/data.c | \
sed -e 's@^\(.*\)\.o:@lib/data.ad lib/data.ao: Makefile '`dirname lib/data.ad`/Module.mk' @' > li
b/data.ad
/bin/sh: M: command not found
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=p
entium4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/init.c | \
sed -e 's@^\(.*\)\.o:@lib/init.ld lib/init.lo: Makefile '`dirname lib/init.ld`/Module.mk' @' > li
b/init.ld
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=p
entium4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/access.c | \
sed -e 's@^\(.*\)\.o:@lib/access.ld lib/access.lo: Makefile '`dirname lib/access.ld`/Module.mk' @
' > lib/access.ld
/bin/sh: M: command not found
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=p
entium4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/proc.c | \
sed -e 's@^\(.*\)\.o:@lib/proc.ld lib/proc.lo: Makefile '`dirname lib/proc.ld`/Module.mk' @' > li
b/proc.ld
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=p
entium4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/chips.c | \
sed -e 's@^\(.*\)\.o:@lib/chips.ld lib/chips.lo: Makefile '`dirname lib/chips.ld`/Module.mk' @' >
lib/chips.ld
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=p
entium4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/error.c | \
sed -e 's@^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile '`dirname lib/error.ld`/Module.mk' @' >
lib/error.ld
/bin/sh: M: command not found
/bin/sh: M: command not found
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=p
entium4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/general.c | \
sed -e 's@^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile '`dirname lib/general.ld`/Module.mk
' @' > lib/general.ld
M -MG -I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=p
entium4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector lib/data.c | \
sed -e 's@^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile '`dirname lib/data.ld`/Module.mk' @' > li
b/data.ld
/bin/sh: M: command not found
/bin/sh: M: command not found
( grep 'SENSORS SYSCTL START' /dev/null kernel/chips/*.c | \
sed -e 's/:.*//' -e 's#^#kernel/include/sensors.h: #' ) > kernel/include/sensors.hd
/bin/sh: -/: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
/bin/sh: -print-search-dirs: command not found
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c lib/data.c -o lib/data.ao
make: I.: Command not found
make: [lib/data.ao] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c lib/general.c -o lib/general.ao
make: I.: Command not found
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c lib/error.c -o lib/error.ao
make: make: I.: Command not found
[lib/general.ao] Error 127 (ignored)
make: [lib/error.ao] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c lib/chips.c -o lib/chips.ao
make: I.: Command not found
make: [lib/chips.ao] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c lib/proc.c -o lib/proc.ao
make: I.: Command not found
make: [lib/proc.ao] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c lib/access.c -o lib/access.ao
make: I.: Command not found
make: [lib/access.ao] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c lib/init.c -o lib/init.ao
make: I.: Command not found
make: [lib/init.ao] Error 127 (ignored)
bison -p sensors_yy -d lib/conf-parse.y -o lib/conf-parse.c
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4
-O3 -pipe -fomit-frame-pointer -fno-stack-protector -c lib/data.c -o lib/data.lo
make: I.: Command not found
make: [lib/data.lo] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4
-O3 -pipe -fomit-frame-pointer -fno-stack-protector -c lib/general.c -o lib/general.lo
make: I.: Command not found
make: [lib/general.lo] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4
-O3 -pipe -fomit-frame-pointer -fno-stack-protector -c lib/error.c -o lib/error.lo
make: I.: Command not found
make: [lib/error.lo] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4
-O3 -pipe -fomit-frame-pointer -fno-stack-protector -c lib/chips.c -o lib/chips.lo
make: I.: Command not found
make: [lib/chips.lo] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4
-O3 -pipe -fomit-frame-pointer -fno-stack-protector -c lib/proc.c -o lib/proc.lo
make: I.: Command not found
make: [lib/proc.lo] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4
-O3 -pipe -fomit-frame-pointer -fno-stack-protector -c lib/access.c -o lib/access.lo
make: I.: Command not found
make: [lib/access.lo] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4
-O3 -pipe -fomit-frame-pointer -fno-stack-protector -c lib/init.c -o lib/init.lo
make: I.: Command not found
make: [lib/init.lo] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c prog/detect/i2cdetect.c -o prog/detect/i2cdetect.ro
make: I.: Command not found
make: [prog/detect/i2cdetect.ro] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c prog/dump/i2cbusses.c -o prog/dump/i2cbusses.ro
make: I.: Command not found
make: [prog/dump/i2cbusses.ro] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c prog/dump/i2cdump.c -o prog/dump/i2cdump.ro
make: I.: Command not found
make: [prog/dump/i2cdump.ro] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c prog/dump/i2cset.c -o prog/dump/i2cset.ro
make: I.: Command not found
make: [prog/dump/i2cset.ro] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c prog/dump/isadump.c -o prog/dump/isadump.ro
make: I.: Command not found
make: [prog/dump/isadump.ro] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c prog/dump/isaset.c -o prog/dump/isaset.ro
make: I.: Command not found
make: [prog/dump/isaset.ro] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c prog/sensors/main.c -o prog/sensors/main.ro
make: I.: Command not found
make: [prog/sensors/main.ro] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c prog/sensors/chips.c -o prog/sensors/chips.ro
make: I.: Command not found
make: [prog/sensors/chips.ro] Error 127 (ignored)
Wl,-rpath,/usr/local/lib -o prog/detect/i2cdetect prog/detect/i2cdetect.ro prog/dump/i2cbusses.ro
make: Wl,-rpath,/usr/local/lib: Command not found
make: [prog/detect/i2cdetect] Error 127 (ignored)
Wl,-rpath,/usr/local/lib -o prog/dump/i2cdump prog/dump/i2cdump.ro prog/dump/i2cbusses.ro
make: Wl,-rpath,/usr/local/lib: Command not found
make: [prog/dump/i2cdump] Error 127 (ignored)
Wl,-rpath,/usr/local/lib -o prog/dump/i2cset prog/dump/i2cset.ro prog/dump/i2cbusses.ro
make: Wl,-rpath,/usr/local/lib: Command not found
make: [prog/dump/i2cset] Error 127 (ignored)
Wl,-rpath,/usr/local/lib -o prog/dump/isadump prog/dump/isadump.ro
make: Wl,-rpath,/usr/local/lib: Command not found
make: [prog/dump/isadump] Error 127 (ignored)
Wl,-rpath,/usr/local/lib -o prog/dump/isaset prog/dump/isaset.ro
make: Wl,-rpath,/usr/local/lib: Command not found
make: [prog/dump/isaset] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 -
pipe -fomit-frame-pointer -fno-stack-protector -c lib/conf-parse.c -o lib/conf-parse.ao
make: I.: Command not found
make: [lib/conf-parse.ao] Error 127 (ignored)
flex -Psensors_yy -t lib/conf-lex.l > lib/conf-lex.c
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4
-O3 -pipe -fomit-frame-pointer -fno-stack-protector -c lib/conf-parse.c -o lib/conf-parse.lo
make: I.: Command not found
make: [lib/conf-parse.lo] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -Wall -O2 -march=pentium4 -O3 - pipe -fomit-frame-pointer -fno-stack-protector -Wno-unused -c lib/conf-lex.c -o lib/conf-lex.ao
make: I.: Command not found
make: [lib/conf-lex.ao] Error 127 (ignored)
I. -Ikernel/include -I/var/tmp/portage/lm-sensors-2.8.7/work/i2c-headers -fpic -Wall -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -fno-stack-protector -Wno-unused -c lib/conf-lex.c -o lib/conf-lex.lo
make: I.: Command not found
make: [lib/conf-lex.lo] Error 127 (ignored)
rm -f lib/libsensors.a
shared -Wl,-soname,libsensors.so.3 -o lib/libsensors.so.3.0.5 lib/data.lo lib/general.lo lib/error.lo lib /chips.lo lib/proc.lo lib/access.lo lib/init.lo lib/conf-parse.lo lib/conf-lex.lo -lc -lm
make: shared: Command not found
ar rcvs lib/libsensors.a lib/data.ao lib/general.ao lib/error.ao lib/chips.ao lib/proc.ao lib/access.ao l ib/init.ao lib/conf-parse.ao lib/conf-lex.ao
make: [lib/libsensors.so.3.0.5] Error 127 (ignored)
rm -f lib/libsensors.so.3
ar: lib/data.ao: No such file or directory
ln -sf libsensors.so.3.0.5 lib/libsensors.so.3
make: *** [lib/libsensors.a] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: sys-apps/lm-sensors-2.8.7 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! Could not compile user-mode utilities!
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
|
Back to top |
|
|
Major Apprentice
Joined: 27 Feb 2004 Posts: 198 Location: Sherbrooke, Qc, Canada
|
Posted: Mon Oct 25, 2004 6:27 pm Post subject: |
|
|
OK I just spent an hour reading this post and did not find anything useful !
So here : I just compile my kernel with the I2C stuff.
I'm trying to start lm-sensors
Code: | # /etc/init.d/lm_sensors start
* /etc/conf.d/lm_sensors does not exist, try running sensors-detect
|
So like I was ask for :
Code: | # sensors-detect
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.
|
Hum so how can I run this line ? Code: | prog/mkdev/mkdev.sh |
Quote: |
sensors-detect spits out "No i2c device files found. Use prog/mkdev/mkdev.sh to create them"! What shall I do?
* modprobe i2c-dev ; sensors-detect
|
ok then :
Code: |
# modprobe i2c-dev ; sensors-detect
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.
|
Kind of an infinite loop here !?!? _________________ Major over and out |
|
Back to top |
|
|
nat Apprentice
Joined: 04 Sep 2002 Posts: 205
|
Posted: Thu Nov 25, 2004 7:59 am Post subject: |
|
|
Major wrote: |
ok then :
Code: |
# modprobe i2c-dev ; sensors-detect
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.
|
Kind of an infinite loop here !?!? |
If you unpack /usr/portage/distfiles/lm_sensors* you will find a file that is named prog/mkdev/mkdev.sh. You can try running that. |
|
Back to top |
|
|
zeek Guru
Joined: 16 Nov 2002 Posts: 480 Location: Bantayan Island
|
Posted: Fri Nov 26, 2004 1:51 am Post subject: |
|
|
Major wrote: |
ok then :
Code: |
# modprobe i2c-dev ; sensors-detect
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.
|
Kind of an infinite loop here !?!? |
I have a 2.6 and udev system and needed to run the mkdev.sh script to create the entries under /dev to get sensors-detect to work.
Here is the script (from the lm_sensors sources):
Code: | #!/bin/bash
# Here you can set several defaults.
# The number of devices to create (max: 256)
NUMBER=32
# The owner and group of the devices
OUSER=root
OGROUP=root
# The mode of the devices
MODE=600
i=0;
while [ $i -lt $NUMBER ] ; do
echo /dev/i2c-$i
mknod -m 000 /dev/i2c-$i c 89 $i
chown "$OUSER:$OGROUP" /dev/i2c-$i
chmod $MODE /dev/i2c-$i
i=$[$i + 1]
done
|
|
|
Back to top |
|
|
edit_21 Tux's lil' helper
Joined: 19 Nov 2004 Posts: 110
|
Posted: Mon Nov 29, 2004 7:54 pm Post subject: shuttle sb75g2 sensing |
|
|
ok now im scared , just got kde running ok , now i need to monitor temps fan speds etc in kde, is this the mainway to get this info , im using a Shuttle sb75g2 (Intel 875P + ICH5R).
i read somewhere on this forum that there was problems ith shuttle xpc's . Can anyone help have started by emerging gkrellm-sensors , any help would be fantastic es kde monitering app.
im still noob, will be for some time lol |
|
Back to top |
|
|
|