{"action":"created","issue":{"url":"https://api.github.com/repos/OpenLightingProject/ola/issues/1396","repository_url":"https://api.github.com/repos/OpenLightingProject/ola","labels_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/1396/labels{/name}","comments_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/1396/comments","events_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/1396/events","html_url":"https://github.com/OpenLightingProject/ola/issues/1396","id":309344619,"node_id":"MDU6SXNzdWUzMDkzNDQ2MTk=","number":1396,"title":"RDM full discovery sometimes misses connected fixtures or will sometimes hang.","user":{"login":"ltd9938","id":34715584,"node_id":"MDQ6VXNlcjM0NzE1NTg0","avatar_url":"https://avatars2.githubusercontent.com/u/34715584?v=4","gravatar_id":"","url":"https://api.github.com/users/ltd9938","html_url":"https://github.com/ltd9938","followers_url":"https://api.github.com/users/ltd9938/followers","following_url":"https://api.github.com/users/ltd9938/following{/other_user}","gists_url":"https://api.github.com/users/ltd9938/gists{/gist_id}","starred_url":"https://api.github.com/users/ltd9938/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltd9938/subscriptions","organizations_url":"https://api.github.com/users/ltd9938/orgs","repos_url":"https://api.github.com/users/ltd9938/repos","events_url":"https://api.github.com/users/ltd9938/events{/privacy}","received_events_url":"https://api.github.com/users/ltd9938/received_events","type":"User","site_admin":false},"labels":[{"id":72046531,"node_id":"MDU6TGFiZWw3MjA0NjUzMQ==","url":"https://api.github.com/repos/OpenLightingProject/ola/labels/Component-RDM","name":"Component-RDM","color":"c7def8","default":false},{"id":339013274,"node_id":"MDU6TGFiZWwzMzkwMTMyNzQ=","url":"https://api.github.com/repos/OpenLightingProject/ola/labels/Difficulty-Medium","name":"Difficulty-Medium","color":"fbca04","default":false},{"id":339013720,"node_id":"MDU6TGFiZWwzMzkwMTM3MjA=","url":"https://api.github.com/repos/OpenLightingProject/ola/labels/Language-C++","name":"Language-C++","color":"d4c5f9","default":false},{"id":70908408,"node_id":"MDU6TGFiZWw3MDkwODQwOA==","url":"https://api.github.com/repos/OpenLightingProject/ola/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OpenLightingProject/ola/milestones/9","html_url":"https://github.com/OpenLightingProject/ola/milestone/9","labels_url":"https://api.github.com/repos/OpenLightingProject/ola/milestones/9/labels","id":1457508,"node_id":"MDk6TWlsZXN0b25lMTQ1NzUwOA==","number":9,"title":"0.11.0","description":"New features","creator":{"login":"peternewman","id":6216436,"node_id":"MDQ6VXNlcjYyMTY0MzY=","avatar_url":"https://avatars0.githubusercontent.com/u/6216436?v=4","gravatar_id":"","url":"https://api.github.com/users/peternewman","html_url":"https://github.com/peternewman","followers_url":"https://api.github.com/users/peternewman/followers","following_url":"https://api.github.com/users/peternewman/following{/other_user}","gists_url":"https://api.github.com/users/peternewman/gists{/gist_id}","starred_url":"https://api.github.com/users/peternewman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peternewman/subscriptions","organizations_url":"https://api.github.com/users/peternewman/orgs","repos_url":"https://api.github.com/users/peternewman/repos","events_url":"https://api.github.com/users/peternewman/events{/privacy}","received_events_url":"https://api.github.com/users/peternewman/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":176,"state":"open","created_at":"2015-12-12T22:03:07Z","updated_at":"2018-12-10T11:50:48Z","due_on":null,"closed_at":null},"comments":34,"created_at":"2018-03-28T12:25:44Z","updated_at":"2018-12-10T23:06:43Z","closed_at":null,"author_association":"NONE","body":"I was talking in the IRC channel last night with @peternewman and I was finally able to grab some logs before I left the office for the day.\r\n\r\nThe RDM full discovery OFTEN misses a handful of connected fixtures, and we will have to run the discovery multiple times until all fixtures appear. Once in a while a discovery will hang and will render our quality assurance software frozen.\r\n\r\nHere is a `olad -l 4` log where it misses 2 out of the 4 connected fixtures.\r\nhttps://gist.github.com/ltd9938/b502c5395b9fab2231a97a2087b02400\r\n\r\nHere is a `olad -l 4` log where it picks up all of the connected devices.\r\nhttps://gist.github.com/ltd9938/6e7391310fba51db07161b4c7919459c\r\n\r\nI was unable to grab a log of the discovery hanging, but as soon as I do I will update this post.\r\n\r\nWe are running an ENTTEC RDM USB PRO with firmware 2.4 (RDM Enabled) on the latest version of OLA on ubuntu 12.04."},"comment":{"url":"https://api.github.com/repos/OpenLightingProject/ola/issues/comments/446008712","html_url":"https://github.com/OpenLightingProject/ola/issues/1396#issuecomment-446008712","issue_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/1396","id":446008712,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjAwODcxMg==","user":{"login":"peternewman","id":6216436,"node_id":"MDQ6VXNlcjYyMTY0MzY=","avatar_url":"https://avatars0.githubusercontent.com/u/6216436?v=4","gravatar_id":"","url":"https://api.github.com/users/peternewman","html_url":"https://github.com/peternewman","followers_url":"https://api.github.com/users/peternewman/followers","following_url":"https://api.github.com/users/peternewman/following{/other_user}","gists_url":"https://api.github.com/users/peternewman/gists{/gist_id}","starred_url":"https://api.github.com/users/peternewman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peternewman/subscriptions","organizations_url":"https://api.github.com/users/peternewman/orgs","repos_url":"https://api.github.com/users/peternewman/repos","events_url":"https://api.github.com/users/peternewman/events{/privacy}","received_events_url":"https://api.github.com/users/peternewman/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T23:06:43Z","updated_at":"2018-12-10T23:06:43Z","author_association":"MEMBER","body":"> > If you've got a bit of time, I'd be curious to try with the setup reversed, so Mk2 as controller, Pro as sniffer and perhaps more likely to do things, stop olad and use the Enttec software on another machine to run the discovery, so the Pi is just doing sniffing (again if you could try both models taking it in turns to sniff).\r\n> \r\n> sure, after stopping `olad` seems it is working :\r\n> \r\n> I have got 2 Raspberry Pi, so I stopped `olad` and run `rdmpro_sniffer` on Pi # 1 with Mk2\r\n> then I run full discovery on Pi # 2 with PRO\r\n> 4 fixtures are connected to Mk2:DMX1(female)\r\n> Mk2:DMX1(male) is connected to PRO:DMX OUT(female)\r\n> \r\n> after running full discovery on Pi # 2 a few times, discovery successfully found 4 fixtures + PRO Mk2\r\n> and following is the log file content :\r\n> \r\n> ```\r\n> root@raspberrypi:~# rdmpro_sniffer -w /tmp/log /dev/ttyUSB0\r\n> tools/rdmpro/rdm-sniffer.cpp:208: Not a SNIFFER_PACKET, was 5\r\n> tools/rdmpro/rdm-sniffer.cpp:208: Not a SNIFFER_PACKET, was 5\r\n> ^Z\r\n> [1]+  Durdu                   rdmpro_sniffer -w /tmp/log /dev/ttyUSB0\r\n> root@raspberrypi:~# rdmpro_sniffer -p /tmp/log\r\n> tools/rdmpro/rdm-sniffer.cpp:208: Not a SNIFFER_PACKET, was 5\r\n> tools/rdmpro/rdm-sniffer.cpp:208: Not a SNIFFER_PACKET, was 5\r\n> root@raspberrypi:~#\r\n> ```\r\n\r\nI can't find anything in the Enttec API docs either, so we probably need some USB packet sniffing (e.g. Wireshark) to find out what's going on using a machine with the Enttec software, but I'm guessing there is a way to switch the Enttec into RDM mode. I'm not clear if the USB licence dongle is actually required to unlock the Enttec, or only to unlock the software.\r\n\r\nI've also just rediscovered this, so it won't work on the Mk2 without some more work (I suspect you need an actual Enttec RDM Pro for our code to work:\r\nhttps://github.com/OpenLightingProject/ola/blob/master/tools/rdmpro/README.md\r\n\r\nI think even if you add --display-dmx to your command, you won't see DMX traffic as it's not in sniffer mode, which our code expects."}}
{"actor":{"display_login":"peternewman"}}