Ev3dev: ENOMEM when using I2C sensors with HiTechnic Sensor Multiplexer

Created on 28 Dec 2018  路  5Comments  路  Source: ev3dev/ev3dev

In https://github.com/ev3dev/ev3dev-lang-python/issues/586, @w1ref1re wrote:

If I run dmesg | tail there are the lines

[ 1277.145774] ht-nxt-smux-i2c-sensor: probe of ev3-ports:in2:i2c8:mux1:lego-nxt-us failed with error -12
[ 1277.146681] lego-port port12: Added new device 'ev3-ports:in2:i2c8:mux1:lego-nxt-us'
bug kernel sensors

All 5 comments

Can I fix this on my own? If yes can I have some explanation how to do it please?

You would need to build your own kernel to fix this. You can find info at https://github.com/ev3dev/ev3dev-buildscripts/#system-requirements

And hopefully it should be obvious (from the links above) which line you need to copy and paste to actually fix the problem.

Thank you. The line was obvious I just wondered where i can find the file. I will give it a try thanks.

Fix released in ev3dev-2.3.2-ev3 kernel.

Was this page helpful?
0 / 5 - 0 ratings