i2c driver only returns 1 or 2 bytes

#2 · closed · 1 comments

View on GitHub ↗

driusan

The i2c driver will only return a couple bytes at a time when reading through `/dev/i2c*/xx` and then starts returning 0xff. I believe it's taking too long to switch between user space and the kernel when interrupts happen and we're missing bytes, but I haven't been able to get it to work by disabling the interrupts either, so it's possible there's another problem.

Comments

driusan

Fixed by 0716494a18b0860f313efe2d4ca5be45e0f17580