[OpenWrt-Devel] i2c device not in /dev

Daniel Golle daniel at makrotopia.org
Mon Sep 14 14:09:53 EDT 2015


On Mon, Sep 14, 2015 at 07:47:08PM +0200, John Crispin wrote:
> On 14/09/2015 19:28, Baptiste Clenet wrote:
> > Hi,
> > 
> > I'm using a MT7628 chip and I try to implement an I2C device which
> > will use i2c-ralink adapter. I registered my i2c device with
> > module_i2c_driver(i2c_device_driver);
> > 
> > I can see it on my bus:
> > ./sys/bus/i2c/drivers/i2c_device_driver
> > But it doesn't appear in /dev.
> > 
> > What am I doing wrong?
> > 
> > Regards,
> > 
> 
> you are missing CONFIG_I2C_CHARDEV in the kernel config

or maybe i2c-dev isn't loaded? try
modprobe i2c-dev
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list