I2C on 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maybe /sys/class/i2c-adapter shouldn't exist. USB is using a different model to
solve the same problem. With USB the adapters are in /sys/bus/usb/devices as
usb1, usb2, etc. What about eliminating /sys/class/i2c-adapter and moving i2c-1,
i2c-2, etc into ls /sys/bus/i2c/devices to match USB?

--- Greg KH <greg at kroah.com> 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 at yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux