cdumonde / raspberry_slave_i2c

6 stars 2 forks source link

loading module on an RPI2 (stock, current release) #2

Open HunterWare opened 7 years ago

HunterWare commented 7 years ago

Thanks for taking the time to bring this driver so far along. I'm getting a failure after compiling and loading the dtb:

git clone https://github.com/cdumonde/raspberry_slave_i2c.git cd raspberry_slace_i2c make dtc -@ -I dts -O dtb -o i2cslave-bcm2708-overlay.dtbo i2cslave-bcm2708-overlay.dts sudo dtoverlay i2cslave-bcm2708-overlay.dtbo sudo insmod bcm2835_slave_mod.ko dmesg | tail ... [169115.045032] 3f214000.i2c [169115.047702] bcm2835_i2c_slave 3f214000.i2c: alias is missing [169115.054095] bcm2835_i2c_slave: probe of 3f214000.i2c failed with error -22

I tried substituting the 0x7e2XXXXX entries with 0x3f2XXXXX, but that wasn't the issue.

Do you have any thoughts on what might be the issue?

Thanks again, Hunter

morandat commented 7 years ago

Most of those adresses are given by the main dtc file. It seems to have change since a couple of version. Unfortunately I don't have a pi close to me and I'll be only able to help next week. This driver was working out of the box for pi2 + and a 8month old raspbian

HunterWare commented 7 years ago

Replied with external ssh access offer via emails in driver. =)