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

README.rst: mention i2c-dev dependency for i2cdetect. #21

Closed mr-nice closed 11 months ago

mr-nice commented 1 year ago

Hi, as I had some trouble to recognize that i2cdetect needs i2c-dev I created this PR to help others. On some distributions, the package for the i2cdetect tool adds a config file to autoload the module. On others, it doesn't. I'm not sure if this should be written more generally in a way to first check if the module is already loaded or not. But I didn't want to clutter the documentation too much. But I can add that step if you prefer.