summaryrefslogtreecommitdiff
path: root/v4l/scripts/update
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/scripts/update')
-rw-r--r--v4l/scripts/update63
1 files changed, 63 insertions, 0 deletions
diff --git a/v4l/scripts/update b/v4l/scripts/update
new file mode 100644
index 000000000..5c41e552a
--- /dev/null
+++ b/v4l/scripts/update
@@ -0,0 +1,63 @@
+#!/bin/sh
+source scripts/modules.sh
+set -e
+
+case "`hostname --short`" in
+ eskarina)
+# btopt="card=10"
+# btopt="card=6 remote=1"
+ ;;
+ bogomips)
+ saopt="card=7"
+ ;;
+esac
+
+###########################################################################
+# unload
+
+# bttv
+xrmmod ir-kbd-gpio
+xrmmod ir-kbd-i2c
+xrmmod bttv
+
+# cx88
+xrmmod cx8800
+xrmmod cx88xx
+
+# saa7134
+xrmmod saa7134
+
+# common
+xrmmod btcx-risc
+xrmmod ir-common
+xrmmod video-buf
+
+# i2c
+xrmmod tuner
+xrmmod msp3400
+xrmmod tvaudio
+xrmmod tda9887
+
+##########################################################################
+# reload
+
+# common
+v4l2basic
+xinsmod video-buf debug=2
+xinsmod btcx-risc debug=1
+xinsmod ir-common debug=0 repeat=0
+xinsmod tuner debug=0
+xinsmod msp3400 debug=0
+
+# bttv
+xinsmod bttv bttv_debug=0 vbi_debug=0 irq_debug=0 \
+ fdsr=0 chroma_agc=1 vbibufs=4 irq_iswitch=0 $btopt
+test -f ir-kbd-i2c.ko && xinsmod ir-kbd-i2c debug=0
+test -f ir-kbd-gpio.ko && xinsmod ir-kbd-gpio debug=0
+
+# cx88
+xinsmod cx88xx core_debug=2
+xinsmod cx8800 video_debug=2
+
+# saa7134
+xinsmod saa7134 audio_debug=1 $saopt