
If you use the Python library under Linux, deactivate the "i2c-tiny-usb" module, e.g.
#I2c tools for mac drivers
See: Drivers / libusb-1.0.dll Linux: "Permission denied" when accessing I2C devices Setting I2C permissions for non-root users Linux: "LIBUSB_ERROR_BUSY" when using the Python library Please copy it into the python script folder. Troubleshooting WindowsError: The specified module could not be found Here you find a list of all parts needed to build your own I2C-MP-USB board. $ echo "0x50" > /sys/class/i2c-adapter/i2c-7/delete_device $ hexdump -C /sys/bus/i2c/drivers/at24/7-0050/eepromĠ0000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |.|Ġ0000010 5a ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |Z.|Ġ0000020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |.| Load AT24 kernel module and register the EEPROM.ġ0: 5a ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Z.Įxample using kernel module AT24 to access an EEPROM 24C02 connected to the I2C-MP-USB. Dump EEPROM content at address range 0x00-0x1F:Ġ 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdefĠ0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff.Write value 0x5A to EEPROM address 0x10:.

#I2c tools for mac driver
Usbcore: registered new interface driver i2c-tiny-usb Example using i2c-tools with an EEPROM 24C02 connected to the I2C-MP-USB.Ġ0: -ġ0: -Ģ0: -ģ0: -Ĥ0: -ĥ0: 50 -Ħ0:. Usb 1-1.5.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Usb 1-1.5.2.3: new full-speed USB device number 10 using ehci-pci When the adapter is plugged in, it is automatically detected and registered:

For Linux there is an alternative to the library: The driver "i2c-tiny-usb" is part of the official Linux kernel and is included in most distributions.
