Ticket #2210 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Configuration problem

Reported by: ralphus@… Owned by: khali
Priority: major Milestone: 2.10.6
Component: sensord Version: 2.10.1
Keywords: Cc:

Description

Motherboard: Intel D975BX2. OS: Gentoo

I install lm_sensors, all is ok. It finds the sensors, and the output of sensors is normal. I try to start sensord (lm_sensors emerged with sensord use flag), and it wont start. I look at the log, it says, "Error getting sensor data: lm85/in5: Can't access procfs/sysfs file". Ok, I put "ignore in5" in the sensors.conf file.

I start sensord. log says, "Error getting sensor data: lm85/in6: Can't access procfs/sysfs file" I put "ignore in6" in the sensors.conf file.

I start sensord. log says, "Error getting sensor data: lm85/in7: Can't access procfs/sysfs file" I put "ignore in7" in the sensors.conf file.

I start sensord. log says, "Error getting sensor data: lm85/fan1_tach_mode: Can't access procfs/sysfs file" I put "ignore fan1" in the sensors.conf file.

I start sensord. log says, "Error getting sensor data: lm85/zone1_limit: Can't access procfs/sysfs file" I put "ignore zone1" in the sensors.conf file.

I start sensord. log says, "Error getting sensor data: lm85/zone1_limit: Can't access procfs/sysfs file" What? ignore zone1 doesn't work. I put "ignore zone1_limit" in the sensors.conf file.

I start sensord. the log says, "Error getting sensor data: lm85/zone1_hyst: Can't access procfs/sysfs file"

So how long do I have to do this drill? Can't we have sensord do something like "I can't find item1, item2, item3, etc, skipping these items. If you think this is wrong then..."

Thansk, bt

Change History

Changed 6 years ago by khali

  • cc ralphus@… removed
  • component changed from misc to sensord
  • reporter changed from ticket to ralphus@…

Changed 5 years ago by khali

  • owner changed from somebody to khali
  • status changed from new to assigned

The problem is that sensord doesn't have specific support for the lm85 driver, so it falls back to generic mode where it queries libsensors for all features of each sensor chip. For the lm85 driver, libsensors lists many features which are optional and may or may not exist on each sensor chip supported by the driver. In your case, the in5, in6, in7 features (and many more) are not implemented by your device. sensord doesn't expect features to be missing and thus reports an error.

Changed 5 years ago by khali

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

Support for the lm85 driver was added to sensord in version 2.10.6. It will also work fine in version 3.0.0 and later, where the features available are discovered automatically so no driver-specific code is longer necessary.

Note: See TracTickets for help on using tickets.