Ticket #2309 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

"sensors_init: Kernel interface error" if /s/c/h/hwmon0/device does'nt exist

Reported by: ticket Owned by: khali
Priority: major Milestone: 3.0.2
Component: libsensors Version: 3.0.1
Keywords: Cc: stefan.bauer@…

Description

If /s/c/h/hwmon0 doesn't have a 'device' entry sensors fails with the above error and does'nt check for further devices. In my case hwmon0 seems to come from ACPI, as hwmon0/name is "thermal_sys_class".

The device I really want to access is hwmon1 and is a (from dmesg):
it87: Found IT8712F chip at 0x290, revision 3

Kernel: 2.6.25-rc6
lm_sensors: 3.0.1 (Debian Lenny)

Change History

Changed 5 years ago by khali

  • owner changed from somebody to khali
  • status changed from new to assigned
  • component changed from sensors to libsensors

Already discussed at:
 https://bugzilla.redhat.com/show_bug.cgi?id=437637
 http://bugzilla.kernel.org/show_bug.cgi?id=10259

Just upgrade to kernel 2.6.25-rc7, the thermal_sys_class device has been removed so the problem no longer happens.

The problem has already been fixed in branch 2.10.x of lm-sensors (r5147). For branch 3.0.x, no fix has been committed yet, although a proposal has been made:
 https://bugzilla.redhat.com/attachment.cgi?id=298270

Changed 5 years ago by khali

  • milestone set to 3.0.2

Changed 5 years ago by khali

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

Now fixed in branch 3.0.x as well (r5176).

Note: See TracTickets for help on using tickets.