Ticket #2240 (closed defect: fixed)
bus type guessing in sensors_read_one_sysfs_chip
| Reported by: | khali | Owned by: | khali |
|---|---|---|---|
| Priority: | major | Milestone: | 3.0.1 |
| Component: | libsensors | Version: | 3.0.0 |
| Keywords: | Cc: |
Description
The method to detect the bus type for each hwmon chip in sensors_read_one_sysfs_chip() is quite tricky. We attempt to deduce the type from the format of the device's bus id. This is fragile. We should instead read the "subsystem" link to figure out the bus type, and only then parse the bus id accordingly.
Change History
Note: See
TracTickets for help on using
tickets.
