LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   getting I2C + LMsensors to work? (https://www.linuxquestions.org/questions/linux-hardware-18/getting-i2c-lmsensors-to-work-192085/)

electronics45 06-10-2004 06:07 PM

getting I2C + LMsensors to work?
 
I have been having alot of trouble trying to install the modules for i2c on my 2.4.24 kernel. I run a Debian based system (Xandros). what I have tryed so far:

I first install the I2c source code, then I run sensors-detect in a shell, which walks me through the set up. It tells me something about not being able to read the PCI bus, and says it will try to load each module in turn. then they all fail to load except the "i2c-philips-par" driver. it then tires to load the modules, and gives me instructions to edit two files. /etc/modules (which I didn't do, as my OS has some sort of hardware detection at start up, so I edited the recommended file and it must have worked, as the lines appeared in /etc/modules upon next boot-up. I then run etc/init.d/modutils, but only got errors:

>rm: cannot remove `/etc/hotplug/.lock': No such file or directory
>Loading modules: I2C modprobe: Can't locate module drivers
>I2C modprobe: Can't locate module drivers
>hid keybdev mousedev parport floppy sis900 ide-scsi sr_mod usb-ohci usb-uhci >/lib/modules/2.4.24-x1/kernel/drivers/usb/host/usb-uhci.o: create_module: Operation not permitted
>/lib/modules/2.4.24-x1/kernel/drivers/usb/host/usb-uhci.o: insmod >/lib/modules/2.4.24-x1/kernel/drivers/usb/host/usb-uhci.o failed
>/lib/modules/2.4.24-x1/kernel/drivers/usb/host/usb-uhci.o: insmod usb-uhci failed

I was told to edit etc/modutils/local, but local didn't exist, so I created it. I then did a mod-probe, installed LMsensors from my update engine, and it said It couldn't find any sensors (but it should since I checked, and my motherboard+bios do support the i2c bus.

can anyone help me?


All times are GMT -5. The time now is 04:19 PM.