{"action":"created","issue":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/2061","labels_url":"https://api.github.com/repos/dnschneid/crouton/issues/2061/labels{/name}","comments_url":"https://api.github.com/repos/dnschneid/crouton/issues/2061/comments","events_url":"https://api.github.com/repos/dnschneid/crouton/issues/2061/events","html_url":"https://github.com/dnschneid/crouton/pull/2061","id":104417756,"number":2061,"title":"Change the condition of applying vgem hack","user":{"login":"arbuztw","id":2265020,"avatar_url":"https://avatars.githubusercontent.com/u/2265020?v=3","gravatar_id":"","url":"https://api.github.com/users/arbuztw","html_url":"https://github.com/arbuztw","followers_url":"https://api.github.com/users/arbuztw/followers","following_url":"https://api.github.com/users/arbuztw/following{/other_user}","gists_url":"https://api.github.com/users/arbuztw/gists{/gist_id}","starred_url":"https://api.github.com/users/arbuztw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbuztw/subscriptions","organizations_url":"https://api.github.com/users/arbuztw/orgs","repos_url":"https://api.github.com/users/arbuztw/repos","events_url":"https://api.github.com/users/arbuztw/events{/privacy}","received_events_url":"https://api.github.com/users/arbuztw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dnschneid/crouton/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-02T07:27:18Z","updated_at":"2015-09-07T10:01:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dnschneid/crouton/pulls/2061","html_url":"https://github.com/dnschneid/crouton/pull/2061","diff_url":"https://github.com/dnschneid/crouton/pull/2061.diff","patch_url":"https://github.com/dnschneid/crouton/pull/2061.patch"},"body":"It seems that xserver will also check /sys/class/drm/card1/ for vgem existence,\r\nso also apply the hack when the directory exists."},"comment":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/comments/138257269","html_url":"https://github.com/dnschneid/crouton/pull/2061#issuecomment-138257269","issue_url":"https://api.github.com/repos/dnschneid/crouton/issues/2061","id":138257269,"user":{"login":"arbuztw","id":2265020,"avatar_url":"https://avatars.githubusercontent.com/u/2265020?v=3","gravatar_id":"","url":"https://api.github.com/users/arbuztw","html_url":"https://github.com/arbuztw","followers_url":"https://api.github.com/users/arbuztw/followers","following_url":"https://api.github.com/users/arbuztw/following{/other_user}","gists_url":"https://api.github.com/users/arbuztw/gists{/gist_id}","starred_url":"https://api.github.com/users/arbuztw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbuztw/subscriptions","organizations_url":"https://api.github.com/users/arbuztw/orgs","repos_url":"https://api.github.com/users/arbuztw/repos","events_url":"https://api.github.com/users/arbuztw/events{/privacy}","received_events_url":"https://api.github.com/users/arbuztw/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T10:01:09Z","updated_at":"2015-09-07T10:01:09Z","body":"No, I think we don't need to check /dev.\r\nFrom `strace`,  I get\r\n\r\n    [pid 13153] readlink(\"/sys/class/drm/card1\", \"../../devices/platform/vgem/drm/\"..., 1024) = 37\r\n    [pid 13153] stat(\"/sys/devices/platform/vgem/drm/card1/uevent\", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0\r\n\r\nSo I think it will always check vgem from /sys."}}