File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,11 @@ def start_ast2700_test(self, name):
83
83
'echo lm75 0x4d > /sys/class/i2c-dev/i2c-1/device/new_device ' ,
84
84
'i2c i2c-1: new_device: Instantiated device lm75 at 0x4d' );
85
85
exec_command_and_wait_for_pattern (self ,
86
- 'cat /sys/class/ hwmon/hwmon20 /temp1_input' , '0' )
86
+ 'cat /sys/bus/i2c/devices/1-004d/ hwmon/hwmon* /temp1_input' , '0' )
87
87
self .vm .cmd ('qom-set' , path = '/machine/peripheral/tmp-test' ,
88
88
property = 'temperature' , value = 18000 )
89
89
exec_command_and_wait_for_pattern (self ,
90
- 'cat /sys/class/ hwmon/hwmon20 /temp1_input' , '18000' )
90
+ 'cat /sys/bus/i2c/devices/1-004d/ hwmon/hwmon* /temp1_input' , '18000' )
91
91
92
92
def test_aarch64_ast2700_evb_sdk_v09_03 (self ):
93
93
self .set_machine ('ast2700-evb' )
You can’t perform that action at this time.
0 commit comments