Skip to content

Commit f570616

Browse files
cytsai0409Shuotian Cheng
authored andcommitted
[Ingrasys]: Change hwmon kernel modules installation order (#980)
change hwmon kernel modules installation order on S8810-32Q/S8900-54XC/S8900-64XC/S9100-32X change hwmon kernel modules installation order in i2c_utils.sh and update related fancontrol file Check the hwmon kernel module insertion order in /sys/class/hwmon/hwmonX. w83795 should be in /sys/class/hwmon/hwmon1, and jc42 should be the last one. change hwmon kernel modules installation order on S8810-32Q/S8900-54XC/S8900-64XC/S9100-32X
1 parent b5eb0c2 commit f570616

File tree

5 files changed

+33
-36
lines changed

5 files changed

+33
-36
lines changed
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# Configuration file generated by pwmconfig, changes will be lost
22
INTERVAL=10
3-
DEVPATH=hwmon2=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4-
DEVNAME=hwmon2=w83795adg
5-
FCTEMPS=hwmon2/device/pwm2=hwmon2/device/temp2_input hwmon2/device/pwm1=hwmon2/device/temp2_input
6-
#FCFANS=hwmon2/device/pwm2=hwmon2/device/fan8_input+hwmon2/device/fan7_input+hwmon2/device/fan6_input+hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input+hwmon2/device/fan3_input+hwmon2/device/fan2_input+hwmon2/device/fan1_input
7-
FCFANS=hwmon2/device/pwm2=hwmon2/device/fan8_input hwmon2/device/pwm2=hwmon2/device/fan7_input hwmon2/device/pwm2=hwmon2/device/fan6_input hwmon2/device/pwm2=hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input hwmon2/device/pwm1=hwmon2/device/fan3_input hwmon2/device/pwm1=hwmon2/device/fan2_input hwmon2/device/pwm1=hwmon2/device/fan1_input
8-
MINTEMP=hwmon2/device/pwm2=20 hwmon2/device/pwm1=20
9-
MAXTEMP=hwmon2/device/pwm2=60 hwmon2/device/pwm1=60
10-
MINSTART=hwmon2/device/pwm2=75 hwmon2/device/pwm1=75
11-
MINSTOP=hwmon2/device/pwm2=22 hwmon2/device/pwm1=22
3+
DEVPATH=hwmon1=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4+
DEVNAME=hwmon1=w83795adg
5+
FCTEMPS=hwmon1/device/pwm2=hwmon1/device/temp2_input hwmon1/device/pwm1=hwmon1/device/temp2_input
6+
FCFANS=hwmon1/device/pwm2=hwmon1/device/fan8_input hwmon1/device/pwm2=hwmon1/device/fan7_input hwmon1/device/pwm2=hwmon1/device/fan6_input hwmon1/device/pwm2=hwmon1/device/fan5_input hwmon1/device/pwm1=hwmon1/device/fan4_input hwmon1/device/pwm1=hwmon1/device/fan3_input hwmon1/device/pwm1=hwmon1/device/fan2_input hwmon1/device/pwm1=hwmon1/device/fan1_input
7+
MINTEMP=hwmon1/device/pwm2=20 hwmon1/device/pwm1=20
8+
MAXTEMP=hwmon1/device/pwm2=60 hwmon1/device/pwm1=60
9+
MINSTART=hwmon1/device/pwm2=75 hwmon1/device/pwm1=75
10+
MINSTOP=hwmon1/device/pwm2=22 hwmon1/device/pwm1=22
1211

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Configuration file generated by pwmconfig, changes will be lost
22
INTERVAL=10
3-
DEVPATH=hwmon2=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4-
DEVNAME=hwmon2=w83795adg
5-
FCTEMPS=hwmon2/device/pwm2=hwmon2/device/temp2_input hwmon2/device/pwm1=hwmon2/device/temp2_input
6-
#FCFANS=hwmon2/device/pwm2=hwmon2/device/fan8_input+hwmon2/device/fan7_input+hwmon2/device/fan6_input+hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input+hwmon2/device/fan3_input+hwmon2/device/fan2_input+hwmon2/device/fan1_input
7-
FCFANS=hwmon2/device/pwm2=hwmon2/device/fan8_input hwmon2/device/pwm2=hwmon2/device/fan7_input hwmon2/device/pwm2=hwmon2/device/fan6_input hwmon2/device/pwm2=hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input hwmon2/device/pwm1=hwmon2/device/fan3_input hwmon2/device/pwm1=hwmon2/device/fan2_input hwmon2/device/pwm1=hwmon2/device/fan1_input
8-
MINTEMP=hwmon2/device/pwm2=20 hwmon2/device/pwm1=20
9-
MAXTEMP=hwmon2/device/pwm2=60 hwmon2/device/pwm1=60
10-
MINSTART=hwmon2/device/pwm2=75 hwmon2/device/pwm1=75
11-
MINSTOP=hwmon2/device/pwm2=22 hwmon2/device/pwm1=22
3+
DEVPATH=hwmon1=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4+
DEVNAME=hwmon1=w83795adg
5+
FCTEMPS=hwmon1/device/pwm2=hwmon1/device/temp2_input hwmon1/device/pwm1=hwmon1/device/temp2_input
6+
FCFANS=hwmon1/device/pwm2=hwmon1/device/fan8_input hwmon1/device/pwm2=hwmon1/device/fan7_input hwmon1/device/pwm2=hwmon1/device/fan6_input hwmon1/device/pwm2=hwmon1/device/fan5_input hwmon1/device/pwm1=hwmon1/device/fan4_input hwmon1/device/pwm1=hwmon1/device/fan3_input hwmon1/device/pwm1=hwmon1/device/fan2_input hwmon1/device/pwm1=hwmon1/device/fan1_input
7+
MINTEMP=hwmon1/device/pwm2=20 hwmon1/device/pwm1=20
8+
MAXTEMP=hwmon1/device/pwm2=60 hwmon1/device/pwm1=60
9+
MINSTART=hwmon1/device/pwm2=75 hwmon1/device/pwm1=75
10+
MINSTOP=hwmon1/device/pwm2=22 hwmon1/device/pwm1=22
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Configuration file generated by pwmconfig, changes will be lost
22
INTERVAL=10
3-
DEVPATH=hwmon2=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4-
DEVNAME=hwmon2=w83795adg
5-
FCTEMPS=hwmon2/device/pwm1=hwmon2/device/temp2_input hwmon2/device/pwm2=hwmon2/device/temp2_input
6-
FCFANS=hwmon2/device/pwm2=hwmon2/device/fan10_input hwmon2/device/pwm2=hwmon2/device/fan9_input hwmon2/device/pwm2=hwmon2/device/fan8_input hwmon2/device/pwm2=hwmon2/device/fan7_input hwmon2/device/pwm2=hwmon2/device/fan6_input hwmon2/device/pwm2=hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input hwmon2/device/pwm1=hwmon2/device/fan3_input hwmon2/device/pwm1=hwmon2/device/fan2_input hwmon2/device/pwm1=hwmon2/device/fan1_input
7-
MINTEMP=hwmon2/device/pwm1=20 hwmon2/device/pwm2=20
8-
MAXTEMP=hwmon2/device/pwm1=60 hwmon2/device/pwm2=60
9-
MINSTART=hwmon2/device/pwm1=150 hwmon2/device/pwm2=150
10-
MINSTOP=hwmon2/device/pwm1=0 hwmon2/device/pwm2=0
3+
DEVPATH=hwmon1=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4+
DEVNAME=hwmon1=w83795adg
5+
FCTEMPS=hwmon1/device/pwm1=hwmon1/device/temp2_input hwmon1/device/pwm2=hwmon1/device/temp2_input
6+
FCFANS=hwmon1/device/pwm2=hwmon1/device/fan10_input hwmon1/device/pwm2=hwmon1/device/fan9_input hwmon1/device/pwm2=hwmon1/device/fan8_input hwmon1/device/pwm2=hwmon1/device/fan7_input hwmon1/device/pwm2=hwmon1/device/fan6_input hwmon1/device/pwm2=hwmon1/device/fan5_input hwmon1/device/pwm1=hwmon1/device/fan4_input hwmon1/device/pwm1=hwmon1/device/fan3_input hwmon1/device/pwm1=hwmon1/device/fan2_input hwmon1/device/pwm1=hwmon1/device/fan1_input
7+
MINTEMP=hwmon1/device/pwm1=20 hwmon1/device/pwm2=20
8+
MAXTEMP=hwmon1/device/pwm1=60 hwmon1/device/pwm2=60
9+
MINSTART=hwmon1/device/pwm1=150 hwmon1/device/pwm2=150
10+
MINSTOP=hwmon1/device/pwm1=0 hwmon1/device/pwm2=0
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Configuration file generated by pwmconfig, changes will be lost
22
INTERVAL=10
3-
DEVPATH=hwmon2=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4-
DEVNAME=hwmon2=w83795adg
5-
FCTEMPS=hwmon2/device/pwm2=hwmon2/device/temp2_input hwmon2/device/pwm1=hwmon2/device/temp2_input
6-
#FCFANS=hwmon2/device/pwm2=hwmon2/device/fan8_input+hwmon2/device/fan7_input+hwmon2/device/fan6_input+hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input+hwmon2/device/fan3_input+hwmon2/device/fan2_input+hwmon2/device/fan1_input
7-
FCFANS=hwmon2/device/pwm2=hwmon2/device/fan8_input hwmon2/device/pwm2=hwmon2/device/fan7_input hwmon2/device/pwm2=hwmon2/device/fan6_input hwmon2/device/pwm2=hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input hwmon2/device/pwm1=hwmon2/device/fan3_input hwmon2/device/pwm1=hwmon2/device/fan2_input hwmon2/device/pwm1=hwmon2/device/fan1_input
8-
MINTEMP=hwmon2/device/pwm2=20 hwmon2/device/pwm1=20
9-
MAXTEMP=hwmon2/device/pwm2=60 hwmon2/device/pwm1=60
10-
MINSTART=hwmon2/device/pwm2=75 hwmon2/device/pwm1=75
11-
MINSTOP=hwmon2/device/pwm2=22 hwmon2/device/pwm1=22
3+
DEVPATH=hwmon1=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4+
DEVNAME=hwmon1=w83795adg
5+
FCTEMPS=hwmon1/device/pwm2=hwmon1/device/temp2_input hwmon1/device/pwm1=hwmon1/device/temp2_input
6+
FCFANS=hwmon1/device/pwm2=hwmon1/device/fan8_input hwmon1/device/pwm2=hwmon1/device/fan7_input hwmon1/device/pwm2=hwmon1/device/fan6_input hwmon1/device/pwm2=hwmon1/device/fan5_input hwmon1/device/pwm1=hwmon1/device/fan4_input hwmon1/device/pwm1=hwmon1/device/fan3_input hwmon1/device/pwm1=hwmon1/device/fan2_input hwmon1/device/pwm1=hwmon1/device/fan1_input
7+
MINTEMP=hwmon1/device/pwm2=20 hwmon1/device/pwm1=20
8+
MAXTEMP=hwmon1/device/pwm2=60 hwmon1/device/pwm1=60
9+
MINSTART=hwmon1/device/pwm2=75 hwmon1/device/pwm1=75
10+
MINSTOP=hwmon1/device/pwm2=22 hwmon1/device/pwm1=22

0 commit comments

Comments
 (0)