Re: /proc/bus/i2c is missing

From: Greg KH
Date: Fri Nov 12 2004 - 14:18:53 EST


On Fri, Nov 12, 2004 at 02:12:02PM +0000, Karel Kulhavy wrote:
> Hello
>
> linux 2.6.8.1
>
> I insmoded i2c-parport and pcf8591 modules and i2c-1 appeared in my /dev
> (previously, only i2c-0 was there):
>
> clock@oberon:~$ ls /dev/i2*
> /dev/i2c-0 /dev/i2c-1
>
> /dev/i2c:
> 0 1
>
> /usr/src/linux/Documentation/i2c says "You can
> examine /proc/bus/i2c to see what number corresponds to which adapter."
> I don't have any /proc/i2c:

That is outdated, and you should look in /sys/class/i2c-dev/. I'll go
change that documentation now.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/