{"action":"opened","issue":{"url":"https://api.github.com/repos/rockchip-linux/mpp/issues/8","repository_url":"https://api.github.com/repos/rockchip-linux/mpp","labels_url":"https://api.github.com/repos/rockchip-linux/mpp/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/rockchip-linux/mpp/issues/8/comments","events_url":"https://api.github.com/repos/rockchip-linux/mpp/issues/8/events","html_url":"https://github.com/rockchip-linux/mpp/issues/8","id":217872412,"number":8,"title":"paths: /dev/hevc[_-]service /dev/vpu[_-]service","user":{"login":"mcerveny","id":1438115,"avatar_url":"https://avatars3.githubusercontent.com/u/1438115?v=3","gravatar_id":"","url":"https://api.github.com/users/mcerveny","html_url":"https://github.com/mcerveny","followers_url":"https://api.github.com/users/mcerveny/followers","following_url":"https://api.github.com/users/mcerveny/following{/other_user}","gists_url":"https://api.github.com/users/mcerveny/gists{/gist_id}","starred_url":"https://api.github.com/users/mcerveny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcerveny/subscriptions","organizations_url":"https://api.github.com/users/mcerveny/orgs","repos_url":"https://api.github.com/users/mcerveny/repos","events_url":"https://api.github.com/users/mcerveny/events{/privacy}","received_events_url":"https://api.github.com/users/mcerveny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-29T13:17:11Z","updated_at":"2017-03-29T13:17:11Z","closed_at":null,"body":"Hello.\r\n\r\nThe code seems to be prepared to deal with paths with \"_\" and \"-\" in device path see https://github.com/rockchip-linux/mpp/blob/develop/osal/mpp_platform.cpp#L66\r\nBut there are many places with hardcoded variant (# find . -type f -exec grep -n 'vpu_service\"' {} /dev/null \\;):\r\n./mpp/hal/worker/libvpu/vpu.c:49:static const char *name_vpu_service = \"/dev/vpu_service\";\r\n./mpp/hal/worker/libvpu/vpu.c:217:    fd = open(\"/dev/vpu_service\", O_RDWR);\r\n./osal/allocator/allocator_ion.c:197:        \"vpu_service\",\r\n\r\nTinkerOS (4.4.16) uses \"-\" variant and it is incompatible.\r\n\r\nM.C>\r\n"}}
{"actor":{"display_login":"mcerveny"}}