Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lm_sensors can't load some modules
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
matosale
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 218
Location: Lima - Peru // Linz - Austria

PostPosted: Thu Feb 27, 2003 2:15 pm    Post subject: lm_sensors can't load some modules Reply with quote

hi guys!

Making a "sensors-detect" and trying to load the SiS5595

Code:
Load `i2c-sis5595' (say NO if built into your kernel)? (YES/no): y
/lib/modules/2.4.20/misc/i2c-sis5595.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/misc/i2c-sis5595.o: insmod /lib/modules/2.4.20/misc/i2c-sis5595.o failed
/lib/modules/2.4.20/misc/i2c-sis5595.o: insmod i2c-sis5595 failed
Loading failed ()... skipping.

But:
Code:
# locate sis5595
/lib/modules/2.4.20/misc/i2c-sis5595.o
/lib/modules/2.4.20/misc/sis5595.o

As you see i have the module.

Code:
Load `i2c-elektor' (say NO if built into your kernel)? (YES/no): y
/lib/modules/2.4.20/kernel/drivers/i2c/i2c-elektor.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/drivers/i2c/i2c-elektor.o: insmod /lib/modules/2.4.20/kernel/drivers/i2c/i2c-elektor.o failed
/lib/modules/2.4.20/kernel/drivers/i2c/i2c-elektor.o: insmod i2c-elektor failed
Loading failed ()... skipping.

Code:
# locate i2c-elektor
/lib/modules/2.4.20/kernel/drivers/i2c/i2c-elektor.o
/usr/include/linux/i2c-elektor.h
/usr/src/linux-2.4.20/drivers/i2c/.i2c-elektor.o.flags
/usr/src/linux-2.4.20/drivers/i2c/i2c-elektor.c
/usr/src/linux-2.4.20/drivers/i2c/i2c-elektor.o
/usr/src/linux-2.4.20/include/linux/i2c-elektor.h

Code:
Load `i2c-velleman' (say NO if built into your kernel)? (YES/no): y
/lib/modules/2.4.20/kernel/drivers/i2c/i2c-velleman.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/drivers/i2c/i2c-velleman.o: insmod /lib/modules/2.4.20/kernel/drivers/i2c/i2c-velleman.o failed
/lib/modules/2.4.20/kernel/drivers/i2c/i2c-velleman.o: insmod i2c-velleman failed
Loading failed ()... skipping.
 To continue, we need module `i2c-dev' to be loaded.
 If it is built-in into your kernel, you can safely skip this.

Code:
locate i2c-velleman
/lib/modules/2.4.20/kernel/drivers/i2c/i2c-velleman.o
/usr/src/linux-2.4.20/drivers/i2c/.i2c-velleman.o.flags
/usr/src/linux-2.4.20/drivers/i2c/i2c-velleman.c
/usr/src/linux-2.4.20/drivers/i2c/i2c-velleman.o

then, everything finished:
Code:
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.

but!!!! there is no "lm_sensors.ini" file!!!. Off course no sensor sound is my result.

If someone has the same problem and solve it, please!!!
lm_sensors-2.6.5
Code:
 # lsmod
Module                  Size  Used by    Tainted: P
i2c-dev                 4676   0
i2c-elv                 1444   0
i2c-algo-bit            7560   1  [i2c-elv]
i2c-proc                7184   0  (unused)
i2c-core               13508   0  [i2c-dev i2c-algo-bit i2c-proc]

_________________
Alejandro Matos
Perumanta Austriapi
"...tupac manchis kama..."
Linux Registered User: #287900
Linux Registered Machine: #169303
http://counter.li.org
--
Back to top
View user's profile Send private message
Diggen
n00b
n00b


Joined: 27 Feb 2003
Posts: 17
Location: Germany

PostPosted: Thu Feb 27, 2003 3:59 pm    Post subject: Reply with quote

OK my english is not well but,

I had the same problem with Lm_sensors and my Elitegroup Board with a SIS5595 Chip.

But it works with the i2c-isa and it87 module.

Here is some part of my /etc/modules.autoload (I2C Support compiled as Modules)
Code:

# i2c
i2c-core
i2c-dev
i2c-proc

# lm_sensors
i2c-isa
it87


I think sensors-detect is written for "normal" distros and doesn't work with Gentoo, I only used it for detect the sensors and then I try to load all modules which it detects and it works.

I hope you understand me and it will help you. :D [/code]
Back to top
View user's profile Send private message
matosale
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 218
Location: Lima - Peru // Linz - Austria

PostPosted: Thu Feb 27, 2003 7:35 pm    Post subject: Reply with quote

Well, I don't understand why i can't load the modules if I have them. And i can't setup the sensor-detect :(

Diggen: keine sorge, ich habe dich sehr gut verstanden ;)
mfg
_________________
Alejandro Matos
Perumanta Austriapi
"...tupac manchis kama..."
Linux Registered User: #287900
Linux Registered Machine: #169303
http://counter.li.org
--
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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