User Tools

Site Tools


en:usbi2c

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:usbi2c [2014/12/12 23:44] – created kakliken:usbi2c [2024/11/07 12:35] (current) – [HIDAPI connection method] kaklik
Line 66: Line 66:
 == Correct setting of access right to USB == == Correct setting of access right to USB ==
  
-If we need an access to USBI2C01B module without root privileges we need to create a file SiliconLabs.rules in **/etc/udev/rules.d** directory. The file should contains:+If we need access to the USBI2C01 module without root privileges we need to create a file 99-SiliconLabs.rules in **/etc/udev/rules.d** directory. The file should contain:
  
-  SUBSYSTEM=="usb", ATTRS{idVendor}=="10c4", MODE="0666" +  SUBSYSTEM=="usb", ATTR{idVendor}=="10c4", ATTR{idProduct}=="ea90", GROUP="plugdev", MODE="0666"  
-  SUBSYSTEM=="usb_device", ATTRS{idVendor}=="10c4", MODE="0666"+  SUBSYSTEM=="hidraw", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea90", GROUP="plugdev", MODE="0666"
      
 ==== Linux Kernel ==== ==== Linux Kernel ====
Line 122: Line 122:
  
 {{:cs:modules:usbi2c01a_mag01a_top_big.jpg?direct&300 | USBI2C01A module connected to MAG01A magnetometer.}} {{:cs:modules:usbi2c01a_mag01a_top_big.jpg?direct&300 | USBI2C01A module connected to MAG01A magnetometer.}}
 +
 +
 +=== GPIO ===
 +
 +[[cs:i2cio]]
 +
 +{{youtube>5ZDLRfBRRL4?medium}}
  
 ===== Related pages ===== ===== Related pages =====
en/usbi2c.1418427898.txt.gz · Last modified: 2014/12/12 23:44 (external edit)