From c4be590ca6393549aa98078a0d15c35bfaa81955 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 31 Mar 2001 19:19:31 +0000 Subject: [PATCH] update for devfs /dev/i2c/x devices git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1055 7894878c-1315-0410-8ee3-d5d059ff63e0 --- QUICKSTART | 5 +++-- doc/FAQ | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/QUICKSTART b/QUICKSTART index f7c714fc..874b47eb 100644 --- a/QUICKSTART +++ b/QUICKSTART @@ -5,7 +5,7 @@ NOTE: PLEASE SKIM THE INSTALL DOCUMENT, OR BETTER YET READ IT CAREFULLY! The instructions in this document will generally work if you have a standard system, but not always!! -Quickstart: +Quickstart for i2c option 1 (modules) and lm_sensors option 1 (modules): * Make sure you have the kernel tree corresponding to your current kernel in /usr/src/linux. Distribution kernels usually won't do, @@ -31,7 +31,8 @@ Quickstart: * Do (as root) `ldconfig'. - * Run (as root) `prog/mkdev/mkdev.sh' to create the device files. + * Run (as root) `prog/mkdev/mkdev.sh' to create the device files, + unless you already have them or are running devfs. * Run (as root) `prog/detect/sensors-detect' to detect your hardware, put the lines it suggests into /etc/modules.conf diff --git a/doc/FAQ b/doc/FAQ index 1a17561f..3dfbf2e2 100644 --- a/doc/FAQ +++ b/doc/FAQ @@ -76,7 +76,7 @@ sensor reading results. Why? 4.23C What is at I2C addresses 0x30 - 0x37? 4.24 Sensors-detect doesn't work at all 4.24A Sensors-detect says "Couldn't open /proc/bus/i2c?!?" - 4.24B Sensors-detect says "Can't open /dev/i2c[-]0" + 4.24B Sensors-detect says "Can't open /dev/i2c[-/]0" 4.24C Sensors-detect doesn't find any sensors 5 How to Ask for Help @@ -717,11 +717,12 @@ We don't know the exact cause. was not loaded and you did not run sensors-detect as root. -4.24B Sensors-detect says "Can't open /dev/i2c[-]0" +4.24B Sensors-detect says "Can't open /dev/i2c[-/]0" - Your /dev/i2c-0 or /dev/i2c0 (either will work) files do not exist -(run the script prog/mkdev/mkdev.sh to create them), or you did not -run sensors-detect as root. + Your /dev/i2c-0, /dev/i2c0, or /dev/i2c/0 files do not exist +or you did not run sensors-detect as root. +Run the script prog/mkdev/mkdev.sh to create the /dev/i2c-x files. +Run devfs in the kernel to get the /dev/i2c/x files. 4.24C Sensors-detect doesn't find any sensors!