aboutsummaryrefslogtreecommitdiffstats
path: root/util/dib3000-watch/make-i2c-dev
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--util/dib3000-watch/make-i2c-dev6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/dib3000-watch/make-i2c-dev b/util/dib3000-watch/make-i2c-dev
new file mode 100644
index 0000000..8f02bbd
--- /dev/null
+++ b/util/dib3000-watch/make-i2c-dev
@@ -0,0 +1,6 @@
+for i in `seq 0 10`;
+do
+ mknod /dev/i2c-$i c 89 $i
+ chown root.video /dev/i2c-$i
+ chmod 664 /dev/i2c-$i
+done