From f0ab72d26c819df35a76ddeb41f86984eda34a8c Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 27 Feb 2004 19:00:10 +0000 Subject: [PATCH] Tell Linux 2.6 users that they may need i2c_sensor. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2315 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/sensors/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prog/sensors/main.c b/prog/sensors/main.c index 3367cf22..3b6f6bf4 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -244,7 +244,8 @@ int main (int argc, char *argv[]) if (res == -SENSORS_ERR_PROC) fprintf(stderr, "Unable to find i2c bus information;\n" - "For 2.6 kernels, make sure you have mounted sysfs!\n" + "For 2.6 kernels, make sure you have mounted sysfs and done\n" + "'modprobe i2c_sensor'!\n" "For older kernels, make sure you have done 'modprobe i2c-proc'!\n"); exit(1); }