No i2c device files found when starting superodoctor

Problem

When starting superodoctor or sdt, the program reports the following error message:

Error: no i2c device files found. Please create them.
          Ex: 'mknod -m 600 /dev/i2c-0 c 89 0' if missing the 1st i2c device file.

Solution

The program attempts to access /dev/i2c-0 before the device node has been created. Under newer Linux distribution such as Fedora Core 3, this device node is only created when the i2c device driver is loaded (for example i2c_i801). To work around this, issue the following command:

mknod -m 600 /etc/udev/devices/i2c-0 c 89 0

This will cause udev to re-create the device node on every boot.