Ticket #2087 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

'parse error' when libsensors encounters an unrecognized hwmon device

Reported by: mmh Assigned to: mmh
Priority: minor Milestone: 2.10.6
Component: libsensors Version: 2.10.5
Keywords: Cc:

Description

libsensors needs minor modification to handle non-I2C hwmon devices. If libsensors encounters an unrecognized device type, it halts with a 'parse error'. It would be better if it printed a warning or ignored the unrecognized device altogether.

Change History

12/27/07 16:00:20 changed by khali

In 3.0.0, unrecognized devices are handled as platform/isa devices with address 0. So, this problem no longer exists there.

12/27/07 16:38:10 changed by khali

  • status changed from new to closed.
  • resolution set to fixed.
  • version changed from SVN to 2.10.5.
  • component changed from interface to libsensors.
  • milestone set to 2.10.6.

Fixed in trunk (2.10.x) in r5086. I decided to ignore the device altogether, it's easier and consistent with ignoring devices with no name attribute.

01/05/08 13:34:53 changed by khali

The code in branch 3.x now behaves the same as in 2.10.x, i.e. unrecognized devices are ignored (r5092).