frank-zago / ch341-i2c-spi-gpio

WinChipHead CH341 linux driver for I2C, SPI and GPIO mode
GNU General Public License v2.0
70 stars 29 forks source link

adapter quirk: msg too long #18

Open maraya opened 1 year ago

maraya commented 1 year ago

i2c i2c-7: adapter quirk: msg too long (addr 0x0033, size 1664, read)

Tested on Debian, kernel 5.10.0-22-amd64, i2c device: Melexis MLX90640 sensor

frank-zago commented 1 year ago

That's a long message for i2c. That driver has a much shorter limit. Older versions could do more, but then the chip can't report errors. You could try to roll back to commit bbdbc859c7 "Convert the whole driver to an MFD driver" and see if that works better.

maraya commented 1 year ago

Hi Frank, thanks for your response.

I just tried it... now it doesn't report errors, but it can't read from I2C.