axe-debug: add tdump cmd

This commit is contained in:
Jaroslav Kysela 2015-04-20 15:41:39 +02:00
parent 94a9177c78
commit bc5a8c6301

View File

@ -86,6 +86,14 @@ gain)
axehelper i2c_reg_write 0xc6 0x01 0x5${val1}
axehelper i2c_reg_write 0xc6 0x0b 0x5${val1}
;;
tdump)
echo "Tuner 1"
axehelper i2c_reg_read 0xc0 0 10
axehelper i2c_reg_read 0xc0 10 15
echo "Tuner 2"
axehelper i2c_reg_read 0xc6 0 10
axehelper i2c_reg_read 0xc6 10 15
;;
gain2)
val1="$2"
test -z "$val1" && val1="9"