{"action":"opened","issue":{"url":"https://api.github.com/repos/g4klx/MMDVMHost/issues/207","repository_url":"https://api.github.com/repos/g4klx/MMDVMHost","labels_url":"https://api.github.com/repos/g4klx/MMDVMHost/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/g4klx/MMDVMHost/issues/207/comments","events_url":"https://api.github.com/repos/g4klx/MMDVMHost/issues/207/events","html_url":"https://github.com/g4klx/MMDVMHost/issues/207","id":188245909,"number":207,"title":"OLED over I2C requires root...","user":{"login":"AndyTaylorTweet","id":18753260,"avatar_url":"https://avatars.githubusercontent.com/u/18753260?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyTaylorTweet","html_url":"https://github.com/AndyTaylorTweet","followers_url":"https://api.github.com/users/AndyTaylorTweet/followers","following_url":"https://api.github.com/users/AndyTaylorTweet/following{/other_user}","gists_url":"https://api.github.com/users/AndyTaylorTweet/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyTaylorTweet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyTaylorTweet/subscriptions","organizations_url":"https://api.github.com/users/AndyTaylorTweet/orgs","repos_url":"https://api.github.com/users/AndyTaylorTweet/repos","events_url":"https://api.github.com/users/AndyTaylorTweet/events{/privacy}","received_events_url":"https://api.github.com/users/AndyTaylorTweet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-09T13:20:51Z","updated_at":"2016-11-09T13:20:51Z","closed_at":null,"body":"Using an OLED Screen (Generic SSD 1306 / 128x64) seems to require a lot of permissions.\r\nI tried adding the mmdvm user to both the \"spi\" and \"i2c\" groups, but when running the example code for the OLED as the mmdvm user I still fail (requiring access to \"kmem\").\r\n\r\nSince that means (so far as I can see) no way to use the screen without being root; I solved my own issue by modifying MMDVMHost.cpp line 194 from:\r\n`#if !defined(HD44780)`\r\nto\r\n`#if !defined(HD44780) && !defined(OLED)`\r\n\r\n1. Anyone else having this issue?\r\n2. Any better thoughts about how to over-come it, rather than retaining root privs ?\r\n"}}
{"actor":{"display_login":"AndyTaylorTweet"}}