Ticket #2240 (closed defect: fixed)

Opened 1 year ago

Last modified 8 months ago

bus type guessing in sensors_read_one_sysfs_chip

Reported by: khali Assigned to: 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

12/10/07 14:39:21 changed by khali

  • owner changed from somebody to khali.
  • priority changed from minor to major.
  • version changed from SVN to 3.0.0.
  • status changed from new to assigned.

01/05/08 13:33:01 changed by khali

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r5092.