From: aurelien@aurel32.net (Aurelien Jarno)
To: lm-sensors@vger.kernel.org
Subject: [PATCH] Manpages for i2cdetect and sensors-detect
Date: Thu, 19 May 2005 06:24:49 +0000 [thread overview]
Message-ID: <20040321202314.GA18469@pc.aurel32.private> (raw)
Hi all,
Please find attached manpages for i2cdetect and sensors-detect. They are
very small, but the programs are very easy to start (ie very few
options).
Aurelien
--
.''`. Aurelien Jarno GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineering Student
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
-------------- next part --------------
--- lm-sensors-2.8.5.orig/prog/detect/Module.mk
+++ lm-sensors-2.8.5/prog/detect/Module.mk
@@ -21,6 +21,9 @@
MODULE_DIR := prog/detect
PROGDETECTDIR := $(MODULE_DIR)
+PROGDETECTMAN8DIR := $(MANDIR)/man8
+PROGDETECTMAN8FILES := $(MODULE_DIR)/i2cdetect.8 $(MODULE_DIR)/sensors-detect.8
+
# Regrettably, even 'simply expanded variables' will not put their currently
# defined value verbatim into the command-list of rules...
PROGDETECTTARGETS := $(MODULE_DIR)/i2cdetect
@@ -39,8 +42,9 @@
$(CC) $(EXLDFLAGS) -o $@ $^
install-prog-detect: all-prog-detect
- $(MKDIR) $(DESTDIR)$(SBINDIR)
+ $(MKDIR) $(DESTDIR)$(SBINDIR) $(DESTDIR)$(PROGDETECTMAN8DIR)
$(INSTALL) -m 755 $(PROGDETECTSBININSTALL) $(DESTDIR)$(SBINDIR)
+ $(INSTALL) -m 644 $(PROGDETECTMAN8FILES) $(DESTDIR)$(PROGDETECTMAN8DIR)
user_install :: install-prog-detect
clean-prog-detect:
--- lm-sensors-2.8.5.orig/prog/detect/i2cdetect.8
+++ lm-sensors-2.8.5/prog/detect/i2cdetect.8
@@ -0,0 +1,22 @@
+.TH I2CDETECT 8 "March 2004"
+.SH NAME
+i2cdetect \- detect i2c chips
+
+.SH SYNOPSIS
+.B i2cdetect
+\fI-l\fR | \fII2CBUS\fR
+
+.SH DESCRIPTION
+i2cdetect is a userspace program to scan an i2c bus for devices. It outputs
+a table with the list of detected devices on the specified bus.
+.PP
+WARNING! This program can confuse your I2C bus, cause data loss and worse!
+
+.SH OPTIONS
+.TP
+.B "\-l"
+Outputs a list of installed busses.
+
+.SH AUTHOR
+This manual page was written by Aurelien Jarno <aurel32@debian.org>, for
+the Debian GNU/Linux system (but may be used by others).
--- lm-sensors-2.8.5.orig/prog/detect/sensors-detect.8
+++ lm-sensors-2.8.5/prog/detect/sensors-detect.8
@@ -0,0 +1,14 @@
+.TH SENSORS-DETECT 8 "May 1999"
+.SH NAME
+sensors-detect \- detect lm-sensors chips
+
+.SH SYNOPSIS
+.B sensors-detect
+
+.SH DESCRIPTION
+sensors-detect is an interactive program that will walk you through the
+process of scanning your system for various sensors supported by lm-sensors.
+
+.SH AUTHOR
+This manual page was written by Joey Hess <joey@debian.org>, for
+the Debian GNU/Linux system (but may be used by others).
next reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:24 Aurelien Jarno [this message]
2005-05-19 6:24 ` [PATCH] Manpages for i2cdetect and sensors-detect Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040321202314.GA18469@pc.aurel32.private \
--to=aurelien@aurel32.net \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.