[linux] i2c-proc a 2.6-test11

Martin Kyrc horol na developers.sk
Pondělí Prosinec 15 12:53:56 CET 2003


Zdravim, 
skusam nahodit lm_sensors pre jadro 2.6-test11, ale... 

V README pre lm_sensors sa pise:

<README> 
!!! This package is ONLY for 2.6, 2.5, and 2.4 kernels (2.4.9 or later)
!!! 
!!! THIS PACKAGE REQUIRES i2c-2.8.1 or later!!! 

FOR 2.6/2.5 KERNELS, Use only the userspace tools in this package! 
Build and install them with 'make user' and 'make user_install'. 
The kernel modules in this package will not compile for 2.6/2.5; 
use the drivers already in the 2.5 kernel development tree. 
</README> 

teda: 
Priamo v jadre som zvolil podporu i2c, zvolil prislusny 'bus support' a
'hardvare sensor chip support'. Zaviedol moduly, ale pri spusteni
'sensors', pripadne 'sensors-detect' system hlasi:

Can't access /proc file
/proc/sys/dev/sensors/chips or /proc/bus/i2c unreadable;
Make sure you have done 'modprobe i2c-proc'!

Ale modul i2c-proc nemam.

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=m

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=y

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_ELV is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
CONFIG_I2C_ISA=m
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PHILIPSPAR is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VELLEMAN is not set
# CONFIG_I2C_VIA is not set
CONFIG_I2C_VIAPRO=y
# CONFIG_I2C_VOODOO3 is not set

#
# I2C Hardware Sensors Chip support
#
CONFIG_I2C_SENSOR=y
# CONFIG_SENSORS_ADM1021 is not set
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_IT87 is not set
CONFIG_SENSORS_LM75=m
CONFIG_SENSORS_LM78=m
# CONFIG_SENSORS_LM85 is not set
CONFIG_SENSORS_VIA686A=y
# CONFIG_SENSORS_W83781D is not set


V dokumentacii sa pise:
FOR 2.6/2.5 KERNELS, Use only the userspace tools in this package! 
Build and install them with 'make user' and 'make user_install'. 

ale make user skoci chybou:
...
make: *** No rule to make target `asm/keyboard.h', needed by
`kernel/busses/dmi_scan.d'.  Stop.

Verzia lm_sensors je 2.8.1-2 (debian package).
(ked som instaloval z tohto balika pre jadro 2.4.x, neboli s tym ziadne
problemy)

Skusal niekto rozbehnut sensor's s jadrom 2.6.0-textXX?
-- 
                                                         \ /
                                                       /\ o -
                                                    /\/  \ \ 
+-[ horol ]----------------------------------------/ /    \---+
| e-mail ........................... horol (at) developers.sk |
| ICQ number ....................................... 95090557 |
| IRC nick/channel ..................... horol/ #ta3, #kosice |
+-------------------------------------------------------------+
| Please do not send me any attachments in proprietary        |
| formats (*.doc,*.xls, *.pps,...). Read more at              |       
| http://www.gnu.org/philosophy/no-word-attachments.html      |
+-------------------------------------------------------------+
  Message Of The Day:
You can't hurt me!!  I have an ASSUMABLE MORTGAGE!!




Další informace o konferenci linux