LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-10-2004, 06:07 PM   #1
electronics45
LQ Newbie
 
Registered: Feb 2004
Location: murrumbateman
Distribution: xubuntu + kde trinity
Posts: 23

Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Problems with i2c-dev. No more /dev/i2c-* em1l Fedora 0 10-28-2005 05:48 AM
Getting i2c to work with K8N Neo4? sk545 Linux - Hardware 1 07-13-2005 10:48 PM
Using Rivatv with Lmsensors powadha Linux - Software 0 05-16-2004 04:33 AM
-mm4 kernel patch and lmsensors & i2c joel112 Linux - Software 1 03-23-2004 08:33 AM
lmsensors celeron2002 Linux - Hardware 0 02-18-2004 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration