Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-16 Thread Baptiste Clenet
Works now! Think the .dts wasn't taken into account correctly. 2015-09-15 17:32 GMT+02:00 Baptiste Clenet : > 2015-09-15 13:57 GMT+02:00 Baptiste Clenet : >> 2015-09-14 20:17 GMT+02:00 John Crispin : >>> >>> >>> On 14/09/2015 20:09,

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-15 Thread Baptiste Clenet
2015-09-15 13:57 GMT+02:00 Baptiste Clenet : > 2015-09-14 20:17 GMT+02:00 John Crispin : >> >> >> 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:

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-15 Thread Baptiste Clenet
2015-09-14 20:17 GMT+02:00 John Crispin : > > > 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: Hi, I'm using a MT7628 chip and I try to implement an I2C

[OpenWrt-Devel] i2c device not in /dev

2015-09-14 Thread Baptiste Clenet
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?

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-14 Thread Daniel Golle
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);

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-14 Thread John Crispin
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 >

Re: [OpenWrt-Devel] i2c device not in /dev

2015-09-14 Thread John Crispin
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: >>> 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