I2C Permissions

Ever tried running a python script as a cron job or as an snmp script that involves I2C access only to get 

Error (13) Permission denied

There are two fixes one temporary and one permanent.

sudo chmod a+rw /dev/i2c-0 for older RPIs
sudo chmod a+rw /dev/i2c-1 for newer RPIs (>= B+)

This is however lost after reboot so you might consider the following method

edit /lib/udev/rules.d/60-i2c-tools.rules
and change the i2c line to

KERNEL==”i2c-0″ , GROUP=”i2c”, MODE=”0660″
KERNEL==”i2c-[1-9]*”, GROUP=”i2c”, MODE=”0666″

Reboot and you are ok

1 Comment

  1. สล็อตเว็บตรง มาแรง การเล่นสล็อตออนไลน์กำลังเป็นที่นิยมอย่างต่อเนื่องในวงการเกมโอนไลน์ pg โดยเฉพาะเมื่อมีเว็บไซต์ที่เปิดให้บริการโดยตรงที่มีชื่อเสียงและมีความน่าเชื่อถือ

65 Trackbacks / Pingbacks

  1. tamoxifen prices
  2. can buy ventolin online
  3. clonidine patch cheap
  4. allegra tablet use
  5. justspin casino online casino real money
  6. real money slot casino
  7. casino websites win real money
  8. icd 10 cialis
  9. 40mg cialis coupon
  10. 75 mg of viagra
  11. when does cialis 5 mg go off patent
  12. walgreens cialis 5mg cost
  13. best buy for cialis 5 mg
  14. prednisone online
  15. buy tizanidine online no prescription
  16. benadryl pills for mosquito bites
  17. buy promethazine 2023
  18. generic bupropion
  19. hydrochlorothiazide 2023
  20. lisinopril prices
  21. diclofenac natrium cf tablet msr 50mg
  22. fluoxetine online
  23. glyburide metformin sale
  24. online casino real money indiana
  25. online casino slot machines real money
  26. real money casino site
  27. online casino real money america
  28. claritin gel tablets
  29. buy generic flonase online
  30. methotrexate
  31. buy nitrofurantoin
  32. mail order zyrtec
  33. clonidine buy online
  34. will able buy generic lipitor
  35. cialis cutting 20mg quarter
  36. tadalafil 20 mg tablet price
  37. generic for cialis 20mg daily
  38. where to buy norvasc
  39. born allegra boots sale
  40. where to buy omeprazole online
  41. generic nexium sale
  42. crestor mail order
  43. buy topamax online no prescription
  44. generic cialis online
  45. buy generic singulair online
  46. lab tests ordered lasix
  47. buy depakote er
  48. avodart and flomax combination pill name
  49. colchicine tablets buy
  50. cialisdaily+20mg cialis
  51. synthroid mail order
  52. sitagliptin 2023
  53. cialis 20mg price cost less tacoma
  54. prednisolone
  55. can i buy diclofenac sodium over the counter
  56. buy diltiazem
  57. neurontin buy
  58. cialis tablet
  59. cipa canada tadalafil 20mg generic
  60. tadalafil eg 20 mg 12 compresse prezzo
  61. tadalafil 20mg dosage
  62. buy viagra bangkok
  63. casino francais en ligne
  64. seriöse online casinos
  65. can i buy cipro in mexico

Leave a Reply

Your email address will not be published.