Input/output error reading dust sensor

grovepi
pending

#1

Hello I have a Raspberry with Raspbian GNU/Linux 8 (jessie) with GrovePi+ (firmware 1.2.7) and Dust Sensor When the pyton script try to read the Dust Sensor i got tihis error:
File “/home/pi/GrovePi/Software/Python/grovepi.py”, line 532, in dustSensorRead
data_back= bus.read_i2c_block_data(address, 1)[0:4]
OSError: [Errno 5] Input/output error

any idea?
Regards Simone


#2

Hi @ferraris.simone,

Yes, that’s an issue with the GrovePi’s firmware that need to address. It’s on our backlog, so it’s scheduled to be fixed soon.

What may fix your issue on the moment is reverting the kernel version to an older version. You can do this by typing in the following command:

sudo rpi-update 52241088c1da59a359110d39c1875cda56496764  # kernel: downgrade to 4.4.50 - v7+

Thank you!