I have looked around online and in the SuSE documentation, and can't figure this out, so maybe someone here knows. I have a Gigabyte GA-7N400 Pro2 Motherboard with Fan speed, Temperature and other sensors on it which I am trying to gain access to in SuSE 9.1 (not just in BIOS). I have the Sensors package installed, and have run sensors-detect, which comes back with this at the end: ------------------------------ I will now generate the commands needed to load the I2C modules. Sometimes, a chip is available both through the ISA bus and an I2C bus. ISA bus access is faster, but you need to load an additional driver module for it. If you have the choice, do you want to use the ISA bus or the I2C/SMBus (ISA/smbus)? To make the sensors modules behave correctly, add these lines to /etc/modules.conf: #----cut here---- # I2C module options alias char-major-89 i2c-dev options it87 ignore=-1,0x290 #----cut here---- To load everything that is needed, add this to some /etc/rc* file: #----cut here---- # I2C adapter drivers modprobe i2c-nforce2 modprobe i2c-savage4 modprobe i2c-isa # I2C chip drivers modprobe eeprom # no driver for Smart Battery Charger yet, ask us for one! modprobe smartbatt modprobe max6650 modprobe saa1064 modprobe smbus-arp modprobe pca9540 modprobe it87 # sleep 2 # optional /usr/bin/sensors -s # recommended #----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. ------------------------------- So I followed its instructions and tried to load each of the kernel modules at the command line. i2c-nforce2, i2c-savage4, i2c-isa, eeprom, and ti87 (at the bottom) loaded ok. I skipped SmartBatt, as this is a desktop. On the rest of the modules: max6650, saa1064, smbus-arp, pca9540, I get "FATAL: Module max6650 not found." When I do a "find / -name max6650" (one of the modules that failed) I only get one hit "/usr/share/doc/packages/sensors/chips/max6650" but I when I search for i2c-nforce2 (one of the modules that loads) all I find is a documentation file in the same directory.
From what I have read online, it looks to me like the Sensors should come with all the modules it knows about, so I don't know where to go from here.
Any guidance or advice would be greatly appreciated. Thanks in advance, -Jesse
On Mon, 2005-05-30 at 17:37 -0700, Jesse Shaver wrote:
I have looked around online and in the SuSE documentation, and can't figure this out, so maybe someone here knows.
I have a Gigabyte GA-7N400 Pro2 Motherboard with Fan speed, Temperature and other sensors on it which I am trying to gain access to in SuSE 9.1 (not just in BIOS).
I have the Sensors package installed, and have run sensors-detect, which comes back with this at the end:
------------------------------ I will now generate the commands needed to load the I2C modules. Sometimes, a chip is available both through the ISA bus and an I2C bus. ISA bus access is faster, but you need to load an additional driver module for it. If you have the choice, do you want to use the ISA bus or the I2C/SMBus (ISA/smbus)?
To make the sensors modules behave correctly, add these lines to /etc/modules.conf:
#----cut here---- # I2C module options alias char-major-89 i2c-dev options it87 ignore=-1,0x290 #----cut here----
To load everything that is needed, add this to some /etc/rc* file:
#----cut here---- # I2C adapter drivers modprobe i2c-nforce2 modprobe i2c-savage4 modprobe i2c-isa # I2C chip drivers modprobe eeprom # no driver for Smart Battery Charger yet, ask us for one! modprobe smartbatt modprobe max6650 modprobe saa1064 modprobe smbus-arp modprobe pca9540 modprobe it87 # sleep 2 # optional /usr/bin/sensors -s # recommended #----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.
-------------------------------
So I followed its instructions and tried to load each of the kernel modules at the command line. i2c-nforce2, i2c-savage4, i2c-isa, eeprom, and ti87 (at the bottom) loaded ok. I skipped SmartBatt, as this is a desktop. On the rest of the modules: max6650, saa1064, smbus-arp, pca9540, I get "FATAL: Module max6650 not found."
When I do a "find / -name max6650" (one of the modules that failed)
Try find / -name max* as all modules will have an extension and won't be found without the "*" at the end.
I only get one hit "/usr/share/doc/packages/sensors/chips/max6650" but I when I search for i2c-nforce2 (one of the modules that loads) all I find is a documentation file in the same directory.
From what I have read online, it looks to me like the Sensors should come with all the modules it knows about, so I don't know where to go from here.
Any guidance or advice would be greatly appreciated.
Thanks in advance,
-Jesse
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
Ken, On Mon, May 30, 2005 at 10:23:56PM -0400, Ken Schneider wrote:
On Mon, 2005-05-30 at 17:37 -0700, Jesse Shaver wrote:
-------------------------------
So I followed its instructions and tried to load each of the kernel modules at the command line. i2c-nforce2, i2c-savage4, i2c-isa, eeprom, and ti87 (at the bottom) loaded ok. I skipped SmartBatt, as this is a desktop. On the rest of the modules: max6650, saa1064, smbus-arp, pca9540, I get "FATAL: Module max6650 not found."
When I do a "find / -name max6650" (one of the modules that failed)
Try find / -name max* as all modules will have an extension and won't be found without the "*" at the end.
I tried this: All the i2c-* modules were found in "/lib/modules/2.6.5-7.151-default/kernel/drivers/i2c/i2c-*.ko", these were loading already though. eeprom was only found here: "/lib/modules/2.6.5-7.151-default/kernel/drivers/i2c/chips". It87 was found in "/lib/modules/2.6.5-7.151-default/kernel/drivers/i2c/chips/it87.ko". The rest (max6650, saa1064, smbus-arp, and pca9540 only show up under "/usr/share/doc/packages/sensors/chips/[Name]" are these not part of the sensors package? where can I find them. Thanks, any more help people can give is appreciated, -Jesse
Jesse Shaver wrote:
Ken,
On Mon, May 30, 2005 at 10:23:56PM -0400, Ken Schneider wrote:
On Mon, 2005-05-30 at 17:37 -0700, Jesse Shaver wrote:
-------------------------------
So I followed its instructions and tried to load each of the kernel modules at the command line. i2c-nforce2, i2c-savage4, i2c-isa, eeprom, and ti87 (at the bottom) loaded ok. I skipped SmartBatt, as this is a desktop. On the rest of the modules: max6650, saa1064, smbus-arp, pca9540, I get "FATAL: Module max6650 not found."
When I do a "find / -name max6650" (one of the modules that failed)
Try find / -name max* as all modules will have an extension and won't be found without the "*" at the end.
I tried this: All the i2c-* modules were found in "/lib/modules/2.6.5-7.151-default/kernel/drivers/i2c/i2c-*.ko", these were loading already though. eeprom was only found here: "/lib/modules/2.6.5-7.151-default/kernel/drivers/i2c/chips". It87 was found in "/lib/modules/2.6.5-7.151-default/kernel/drivers/i2c/chips/it87.ko". The rest (max6650, saa1064, smbus-arp, and pca9540 only show up under "/usr/share/doc/packages/sensors/chips/[Name]" are these not part of the sensors package? where can I find them.
Thanks, any more help people can give is appreciated,
-Jesse
Even in the latest kernel sources, SuSE and kernel.org, there is only max1619. In lm_sensors-2.8.7 and later there is stuff for the max6650, looks like it's been moved to user space. Grab the sources and check the README, just glanced at some stuff regarding kernel modules there. # locate max6650 /ftp/nov04/lm_sensors-2.8.8/doc/chips/max6650 /ftp/nov04/lm_sensors-2.8.8/kernel/chips/max6650.c /ftp/nov04/lm_sensors-2.8.8/kernel/chips/max6650.d /usr/share/doc/lm_sensors-2.8.7/doc/chips/max6650 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks
participants (3)
-
Jesse Shaver
-
Ken Schneider
-
Sid Boyce