Module Name: src
Committed By: hubertf
Date: Thu Nov 26 16:56:52 UTC 2015
Modified Files:
src/usr.sbin/i2cscan: i2cscan.8
Log Message:
Add an EXAMPLES section to show what 'i2cdev' looks like.
Hint: /dev required!
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/i2cscan/i2cscan.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/i2cscan/i2cscan.8
diff -u src/usr.sbin/i2cscan/i2cscan.8:1.3 src/usr.sbin/i2cscan/i2cscan.8:1.4
--- src/usr.sbin/i2cscan/i2cscan.8:1.3 Wed Jul 10 15:18:54 2013
+++ src/usr.sbin/i2cscan/i2cscan.8 Thu Nov 26 16:56:52 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: i2cscan.8,v 1.3 2013/07/10 15:18:54 tcort Exp $
+.\" $NetBSD: i2cscan.8,v 1.4 2015/11/26 16:56:52 hubertf Exp $
.\"
.\" Copyright (c) 2011, 2013 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -62,5 +62,9 @@ Don't use this utility unless you know w
accept all sorts of unforeseen consequences.
.Sh EXIT STATUS
.Ex -std i2cscan
+.Sh EXAMPLES
+Scan the first IIC bus found on the system for devices:
+.Pp
+.Dl "i2cscan /dev/iic0"
.Sh SEE ALSO
.Xr iic 4