Public bug reported:

freeipmi supports an SSIF driver mode that uses the kernel's /dev/i2c-*
interface. However, this interface is only exposed when the i2c-dev
module is loaded, and this appears to be a manual process today.

Some options I see:
 - Link i2c-dev statically in the kernel. This would work for cases where the 
lowlevel i2c driver is autoloaded (which is the case today, at least with 
properly configured device-tree platforms). The problem is that this will 
consume memory on all Ubuntu systems, whether or not they support this 
interface and whether or not the user plans to use it.
 - Make freeipmi commands suggest the user load the module when it fails to 
find the user-requested dev entry
 - Make freeipmi commands automatically load the i2c-dev module, if available, 
when the user specifies SSIF
 - Introduce a package (or modify an existing package) to automatically load 
the i2c-dev module on boot if an i2c device is found on the system (possibly 
via a udev rule, or an upstart/systemd job). Precedent for this exists in the 
openipmi package.

It should be straightforward to generate a patch to do the right thing -
but we'll need some advice from the Ubuntu community to decide what the
best mechanism is.

** Affects: freeipmi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to freeipmi in Ubuntu.
https://bugs.launchpad.net/bugs/1341788

Title:
  requires manually loading i2c-dev module in SSIF driver mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeipmi/+bug/1341788/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to