{"action":"created","issue":{"url":"https://api.github.com/repos/machinekit/machinekit/issues/1223","repository_url":"https://api.github.com/repos/machinekit/machinekit","labels_url":"https://api.github.com/repos/machinekit/machinekit/issues/1223/labels{/name}","comments_url":"https://api.github.com/repos/machinekit/machinekit/issues/1223/comments","events_url":"https://api.github.com/repos/machinekit/machinekit/issues/1223/events","html_url":"https://github.com/machinekit/machinekit/issues/1223","id":237827410,"number":1223,"title":"hal_gpio fails to load","user":{"login":"kfmut","id":29616141,"avatar_url":"https://avatars0.githubusercontent.com/u/29616141?v=3","gravatar_id":"","url":"https://api.github.com/users/kfmut","html_url":"https://github.com/kfmut","followers_url":"https://api.github.com/users/kfmut/followers","following_url":"https://api.github.com/users/kfmut/following{/other_user}","gists_url":"https://api.github.com/users/kfmut/gists{/gist_id}","starred_url":"https://api.github.com/users/kfmut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfmut/subscriptions","organizations_url":"https://api.github.com/users/kfmut/orgs","repos_url":"https://api.github.com/users/kfmut/repos","events_url":"https://api.github.com/users/kfmut/events{/privacy}","received_events_url":"https://api.github.com/users/kfmut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-06-22T12:21:34Z","updated_at":"2017-06-22T15:36:28Z","closed_at":null,"body":"Hi,\r\n\r\nI've installed Machinekit on RPI2 and using this configuration https://drive.google.com/file/d/0B4EdEdEGvEuERkR4eUhXeWRQbHc/view?usp=sharing as starting point for my own. But Machinekit fails to load it with \"katum2.hal:7: insmod failed, returned -22:rtapi_app_main(hal_gpio): -22 Invalid argument\", line 7 in config file is simple \"loadrt hal_gpio dir=16911384\". I've tried to remove \"dir=16911384\" from that line, but error still there. I've contacted with author and he confirmed that this configuration works for him fine, his setup was made in mid-May. Also tried to change hal_gpio to hal_chip_gpio to see if it loads at all and it loads ok but fails later on configuration as expexted. \r\n\r\nMy Machinekit version is 0.1.1497640487-1mk.travis.master.gitf3a69ee4~1raspbian﻿\r\nRaspbian is latest image dated 2017-04-10\r\nuname -a says \"Linux kCNC 4.4.4-rt9-v7+ #7 SMP PREEMPT RT Mon Mar 7 14:53:11 UTC 2016 armv7l GNU/Linux\"\r\nlatency-test is working, simulations are also working."},"comment":{"url":"https://api.github.com/repos/machinekit/machinekit/issues/comments/310417617","html_url":"https://github.com/machinekit/machinekit/issues/1223#issuecomment-310417617","issue_url":"https://api.github.com/repos/machinekit/machinekit/issues/1223","id":310417617,"user":{"login":"ArcEye","id":770392,"avatar_url":"https://avatars1.githubusercontent.com/u/770392?v=3","gravatar_id":"","url":"https://api.github.com/users/ArcEye","html_url":"https://github.com/ArcEye","followers_url":"https://api.github.com/users/ArcEye/followers","following_url":"https://api.github.com/users/ArcEye/following{/other_user}","gists_url":"https://api.github.com/users/ArcEye/gists{/gist_id}","starred_url":"https://api.github.com/users/ArcEye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArcEye/subscriptions","organizations_url":"https://api.github.com/users/ArcEye/orgs","repos_url":"https://api.github.com/users/ArcEye/repos","events_url":"https://api.github.com/users/ArcEye/events{/privacy}","received_events_url":"https://api.github.com/users/ArcEye/received_events","type":"User","site_admin":false},"created_at":"2017-06-22T15:36:28Z","updated_at":"2017-06-22T15:36:28Z","body":"I suspected it might be something like this, it came up before when rev 4 needed to be supported.\r\n\r\nThere is the board version and the cpu revision number, some boards seem to have different chips to that expected for their board number.\r\n\r\nIf you do `cat /proc/cpuinfo` it should tell you what it thinks you have\r\n\r\nThat is what is interrogated by get_cpuinfo_revision()\r\nhttps://github.com/machinekit/machinekit/blob/master/src/hal/drivers/cpuinfo.c#L27\r\nyou can check what you get back against the assumptions that makes.\r\n\r\nPaste it in full here and we can see if the pinouts are published for that particular rev."}}
{"actor":{"display_login":"ArcEye"}}