Ticket #2327 (closed defect: fixed)

Opened 6 months ago

Last modified 5 days ago

sensors-detect: Fix the bus numbering prediction magic

Reported by: khali Assigned to: khali
Priority: minor Milestone: 3.0.4
Component: misc Version:
Keywords: Cc:

Description

There's some old code to attempt to figure out how I2C buses will be numbered after next reboot, so that the "ignore" module options are correct. This code is broken in more than one way. It assumes that it knows about all drivers which create i2c buses, which is not true (all graphics and multimedia adapters in particular are missing.) It assumes that the user will reboot after running sensors-detect. It assumes that i2c bus drivers don't autoload, while they almost all do by now. And it assumes that the bus numbering is stable over reboot, which is not necessarily the case (I can't think of a fix for this one though.)

Change History

09/21/08 17:39:38 changed by khali

  • milestone changed from 3.0.3 to 3.0.4.

11/27/08 10:18:20 changed by khali

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

11/27/08 19:07:04 changed by khali

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

Done in r5441, r5442 and r5443.