[OpenWrt-Devel] i2c device not in /dev
blogic at openwrt.org
Mon Sep 14 14:17:13 EDT 2015
On 14/09/2015 20:09, Daniel Golle wrote:
> On Mon, Sep 14, 2015 at 07:47:08PM +0200, John Crispin wrote:
>> On 14/09/2015 19:28, Baptiste Clenet wrote:
>>> 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
>>> I can see it on my bus:
>>> But it doesn't appear in /dev.
>>> What am I doing wrong?
>> you are missing CONFIG_I2C_CHARDEV in the kernel config
> or maybe i2c-dev isn't loaded? try
> modprobe i2c-dev
i2c-dev is part of i2c-core if that symbol is selected. i2c-core uses
AutoLoad and not AutoProbe so it should always load.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel