View previous topic :: View next topic |
Author |
Message |
equus n00b

Joined: 16 Jan 2005 Posts: 9
|
Posted: Sun Sep 02, 2007 11:22 am Post subject: Can't find module i2c_isa in kernel 2.6.22 |
|
|
Hello,
I just tried upgrading to the kernel linux-2.6.22-gentoo-r6.
I compiled it but after rebooting, i found that fancontrol wasn't working any more.
It appears that the following driver disappeared from the i2c Hardware Bus Support list : PCA9564 on an ISA bus
Would anyone have a clue on this ? |
|
Back to top |
|
 |
Ozon n00b

Joined: 08 Apr 2007 Posts: 7 Location: SWE
|
Posted: Sun Sep 02, 2007 12:43 pm Post subject: |
|
|
If I understand correctly i2c_isa isn't build?
Dependencies for i2c_isa:
SENSORS_IT87 && HWMON && I2C ||
SENSORS_PC87360 && HWMON && I2C && EXPERIMENTAL ||
SENSORS_SIS5595 && HWMON && I2C && PCI && EXPERIMENTAL ||
SENSORS_VIA686A && HWMON && I2C && PCI ||
SENSORS_VT8231 && HWMON && I2C && PCI && EXPERIMENTAL ||
SENSORS_W83627EHF && HWMON && I2C && EXPERIMENTAL
(&& = AND, || = OR)
So it appears you missed a config, maybe in Hardware Monitoring support (hwmon)? |
|
Back to top |
|
 |
equus n00b

Joined: 16 Jan 2005 Posts: 9
|
Posted: Sun Sep 02, 2007 4:29 pm Post subject: |
|
|
Hello Ozon,
Thanks for your reply.
Actually the hardware monitoring and sensors are OK (lm_sensors and Ksensors work fine).
But when I run "make menuconfig" in the 2.6.22 kernel source directory, under the "i2c Hardware Bus Support" driver section, I don't see any more the line "PCA9564 on an ISA bus".
In the 2.6.21 kernel source this line exists.
Extracted from .config (2.6.22 - in bold : 2.6.21) :
CONFIG_EXPERIMENTAL=y
CONFIG_DEVPORT=y
CONFIG_I2C=m
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=m
#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m
#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
[Missing in 2.6.22 but present in 2.6.21:]CONFIG_I2C_ISA=m
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_I2C_SIMTEC 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_STUB is not set
# CONFIG_I2C_TINY_USB is not set
# CONFIG_I2C_VIA is not set
CONFIG_I2C_VIAPRO=m
# CONFIG_I2C_VOODOO3 is not set
[Missing in 2.6.22 but present in 2.6.21:]CONFIG_I2C_PCA_ISA=m
#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCA9539 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set
CONFIG_HWMON=y
CONFIG_HWMON_VID=m
[...]
CONFIG_SENSORS_W83627HF=m
[...] |
|
Back to top |
|
 |
Rob1n l33t

Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Sun Sep 02, 2007 4:42 pm Post subject: |
|
|
Do you have the PCA6564 enabled under "I2C Algorithms"? |
|
Back to top |
|
 |
equus n00b

Joined: 16 Jan 2005 Posts: 9
|
Posted: Sun Sep 02, 2007 5:34 pm Post subject: |
|
|
.config - Linux Kernel v2.6.22-gentoo-r6 Configuration
──────────────────────────────────────────────────────────────────────────────
┌──────────────────────────── I2C Algorithms ─────────────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus --->. │
│ Highlighted letters are hotkeys. Pressing <Y> includes, <N> excludes, │
│ <M> modularizes features. Press <Esc><Esc> to exit, <?> for Help, </> │
│ for Search. Legend: [*] built-in [ ] excluded <M> module < > │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ <M> I2C bit-banging interfaces │ │
│ │ <M> I2C PCF 8584 interfaces │ │
│ │ <M> I2C PCA 9564 interfaces │ │ |
|
Back to top |
|
 |
Rob1n l33t

Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Sun Sep 02, 2007 5:56 pm Post subject: |
|
|
Actually, looking at the config files, all that needs to be enabled is "ISA Support" (under "Bus Options" at the top level) and "I2C support" (under "Device Drivers" at the top level). Do you have both of these enabled? |
|
Back to top |
|
 |
equus n00b

Joined: 16 Jan 2005 Posts: 9
|
Posted: Mon Sep 03, 2007 7:03 pm Post subject: |
|
|
Thanks Ozon and Rob1n for your help.
When I enable "ISA support" I get CONFIG_I2C_PCA_ISA but there still is no CONFIG_I2C_ISA in the .config file.
After a closer look at Ozon's port, I enabled SENSORS_W83627EHF in addition to my CONFIG_SENSORS_W83627HF, and yes, I got CONFIG_I2C_ISA in the .config file.
So I recompiled and rebooted, but fancontrol still refuses to run.
sensors-detect finds a W83627HF, not a W83627EHF, and the module i2c_isa seems inoperative even after a manual modprobe.  |
|
Back to top |
|
 |
groonie n00b

Joined: 03 Jul 2004 Posts: 24
|
Posted: Thu Nov 29, 2007 2:53 pm Post subject: |
|
|
I have the same problem. Tried to upgrade to kernel 2.6.22-vs2.2.0.5-gentoo (vserver sources).
The entry ISA is completely missing under "BUS OPTIONS".
How can I enable ISA to enable my lm_sensor modules? |
|
Back to top |
|
 |
veal n00b

Joined: 08 May 2003 Posts: 47
|
Posted: Sat Dec 29, 2007 11:39 am Post subject: *hijackingthishtread* [solved] |
|
|
[edit]ok i'm stupid. just called `sensor` where all the needed information is displayed.now i just need to know where this is stored[/edit]
[SOLVED]
it's there /sys/class/hwmon/hwmon?/device
for conky use ${hwmon (dev) type n}
check manual
[/SOLVED]
i upgraded my kernel today to 2.6.23-gentoo-r3 but there is no longer a i2c_isa module available (CONFIG_I2C_ISA). i've been searching on the net and found diffs to confirm the removal in 2.6.23.
so, what is the alternative? i enabled all modules for i2c/hwmon in kernel and ran sensors-detect but all the dirs that arise in /sys/bus/i2c/devices/ don't look like they have temp1_input&co
two new modules have been found though by sensors-detect (k8temp and it87), maybe that information is now stored elsewhere? anyone has some hints?
thanks
modules i have loaded (i consider to be relevant):
k8temp 4416 0
it87 15884 0
hwmon_vid 2688 1 it87
eeprom 5712 0
i2c_nforce2 5248 0
i2c_dev 5572 0 |
|
Back to top |
|
 |
|