From: jonsmirl@yahoo.com (Jon Smirl) Date: Thu, 19 May 2005 06:24:41 +0000 Subject: I2C on 2.6 Message-Id: <20040210010927.41108.qmail@web14910.mail.yahoo.com> List-Id: References: <20040206032153.63685.qmail@web14917.mail.yahoo.com> In-Reply-To: <20040206032153.63685.qmail@web14917.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org I see now that the usb hosts are in /sys/class/usb_host. But to be symetrical with USB and PCI we should have i2c-1, i2c-2, etc in /sys/bus/i2c/devices. --- Greg KH wrote: > On Thu, Feb 05, 2004 at 07:21:53PM -0800, Jon Smirl wrote: > > On kernel 2.6 I2C creates /sys/class/i2c-adapter. This directory contains > all of > > my I2C busses. Now when I modprobe i2c-dev in it makes /sys/class/i2c-dev > which > > also contains all of my I2C buses with the addition of a 'dev' file. Udev > then > > picks up on this 'dev' file and makes the devices. Do we really need two I2C > > /sys/class entries? Could these be combined? > > Those are two completly separate things. So no, they can't be combined > very easily :) > > thanks, > > greg k-h ==Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html