Ticket #2327 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

sensors-detect: Fix the bus numbering prediction magic

Reported by: khali Owned by: khali
Priority: minor Milestone: 3.1.0
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

Changed 5 years ago by khali

  • milestone changed from 3.0.3 to 3.0.4

Changed 4 years ago by khali

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

Changed 4 years ago by khali

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

Done in r5441, r5442 and r5443.

Note: See TracTickets for help on using tickets.