We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f644ad + 623e781 commit 479e814Copy full SHA for 479e814
internal/hwmon/hwmon.go
@@ -19,6 +19,7 @@ const (
19
BusTypeVirtual = 4
20
BusTypeAcpi = 5
21
BusTypeHid = 6
22
+ BusTypeScsi = 8
23
)
24
25
type HwMonController struct {
@@ -266,6 +267,8 @@ func computeIdentifier(chip gosensors.Chip) (name string) {
266
267
identifier = fmt.Sprintf("%s-acpi-%d", identifier, chip.Bus.Nr)
268
case BusTypeHid:
269
identifier = fmt.Sprintf("%s-hid-%d-%d", identifier, chip.Bus.Nr, chip.Addr)
270
+ case BusTypeScsi:
271
+ identifier = fmt.Sprintf("%s-scsi-%d-%d", identifier, chip.Bus.Nr, chip.Addr)
272
}
273
274
return identifier
0 commit comments