Christopher Bostic | 82d7000 | 2017-06-07 16:12:27 -0500 | [diff] [blame] | 1 | #!/bin/bash |
2 | # ######################################################### | ||||
3 | # Script to run on witherspoon BMC to unbind/bind the ir35221 | ||||
4 | # driver's devices | ||||
5 | |||||
6 | echo 4-0070 > /sys/bus/i2c/drivers/ir35221/$1 | ||||
7 | echo 4-0071 > /sys/bus/i2c/drivers/ir35221/$1 | ||||
8 | echo 5-0070 > /sys/bus/i2c/drivers/ir35221/$1 | ||||
9 | echo 5-0071 > /sys/bus/i2c/drivers/ir35221/$1 |