* [PATCH] Manpages for i2cdetect and sensors-detect
@ 2005-05-19 6:24 Aurelien Jarno
2005-05-19 6:24 ` Jean Delvare
0 siblings, 1 reply; 2+ messages in thread
From: Aurelien Jarno @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
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).
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] Manpages for i2cdetect and sensors-detect
2005-05-19 6:24 [PATCH] Manpages for i2cdetect and sensors-detect Aurelien Jarno
@ 2005-05-19 6:24 ` Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2005-05-19 6:24 UTC (permalink / raw)
To: lm-sensors
> 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).
I used these as a base and augmented them a bit before committing them.
Thanks :)
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-19 6:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19 6:24 [PATCH] Manpages for i2cdetect and sensors-detect Aurelien Jarno
2005-05-19 6:24 ` Jean Delvare
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.