Ticket #2087 (closed defect: fixed)

Opened 7 years ago

Last modified 5 years ago

'parse error' when libsensors encounters an unrecognized hwmon device

Reported by: mmh Owned by: 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

Changed 5 years ago by khali

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

Changed 5 years ago 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.

Changed 5 years ago by khali

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

Note: See TracTickets for help on using tickets.