{"action":"created","issue":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1769","labels_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1769/labels{/name}","comments_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1769/comments","events_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1769/events","html_url":"https://github.com/mavlink/qgroundcontrol/issues/1769","id":100050511,"number":1769,"title":"QGroundControl doesn't detect Pixhawk on Arch Linux & Qt 5.5.0","user":{"login":"Sapd","id":671752,"avatar_url":"https://avatars.githubusercontent.com/u/671752?v=3","gravatar_id":"","url":"https://api.github.com/users/Sapd","html_url":"https://github.com/Sapd","followers_url":"https://api.github.com/users/Sapd/followers","following_url":"https://api.github.com/users/Sapd/following{/other_user}","gists_url":"https://api.github.com/users/Sapd/gists{/gist_id}","starred_url":"https://api.github.com/users/Sapd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sapd/subscriptions","organizations_url":"https://api.github.com/users/Sapd/orgs","repos_url":"https://api.github.com/users/Sapd/repos","events_url":"https://api.github.com/users/Sapd/events{/privacy}","received_events_url":"https://api.github.com/users/Sapd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-10T12:20:21Z","updated_at":"2015-08-11T01:37:25Z","closed_at":null,"body":"I am trying to upgrade the firmware of the pixhawk, but it just states: \"Plug in your device via USB to start firmware upgrade\".\r\n\r\nI tried:\r\n- daily build\r\n- stable v2.7\r\n- compiling current git myself\r\n\r\nSystem:\r\nArch linux 64 Bit (fully updated)\r\nQT Version:\r\n$ qmake\r\nProject MESSAGE: Qt version 5.5.0\r\nQT was installed via Pacman. All required packages were installed like the README states.\r\n\r\nLooking into the console, QGC spams this:\r\n```\r\nFirmwareUpgradeLog: Serial Port --------------\r\nFirmwareUpgradeLog: \tport name: \"ttyACM1\"\r\nFirmwareUpgradeLog: \tdescription: \"PX4 FMU v2.x\"\r\nFirmwareUpgradeLog: \tsystem location: \"/dev/ttyACM1\"\r\nFirmwareUpgradeLog: \tvendor ID: 32902\r\nFirmwareUpgradeLog: \tproduct ID: 39985\r\n```\r\n\r\nThe vendor ID and the product ID seems to be wrong.\r\nBut if I type lsusb, it gives me this line related to the pixhawk:\r\n```Bus 001 Device 020: ID 26ac:0011 ```\r\nSo 26ac (hex) -> 9900 (dec) (also correct ID)\r\n0011 (hex) -> 17 (dec) (correct ID)\r\n\r\nSo QGC seems to read out wrong Vendor/Product IDs.\r\n\r\nHOWEVER I also tried using stable v2.5.1, this version recognizes my pixhawk and I can flash it successfully.\r\n\r\n\r\n--- UPDATE:\r\nIt seems to be an issue with the QT library, the old version shipped the serial port library with, so it wasn't a problem. (LorenzMeier said this on GItter).\r\n\r\nI also modified the source code now to make it recognize my pixhawk:\r\n```\r\n        if (!info.portName().isEmpty()) {\r\n            switch (info.vendorIdentifier()) {\r\n                // The switch statements\r\n            }\r\n            if (!found) {\r\n                if (info.description() == \"PX4 FMU v2.x\") {\r\n                    qCDebug(FirmwareUpgradeLog) << \"Found PX4 FMU V2\";\r\n                    type = FoundBoardPX4FMUV2;\r\n                    found = true;\r\n                }\r\n            }\r\n        }\r\n```\r\nIt recognizes it now, but when I insert the pixhawk it asks me what firmware I want. But then the asking window closes again and makes this error:\r\n```\r\nFound device: Pixhawk\r\nError: Sync: Send Command: Invalid sync response: 0x0d 0x0a\r\nUpgrade cancelled\r\n```\r\n\r\nLike I said, on 1.5.2 the full upgrade process works for me. So I will now use temporarily 1.5.2 for upgrading and the new versions for flying.\r\n"},"comment":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/comments/129665738","html_url":"https://github.com/mavlink/qgroundcontrol/issues/1769#issuecomment-129665738","issue_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/1769","id":129665738,"user":{"login":"v01d","id":161706,"avatar_url":"https://avatars.githubusercontent.com/u/161706?v=3","gravatar_id":"","url":"https://api.github.com/users/v01d","html_url":"https://github.com/v01d","followers_url":"https://api.github.com/users/v01d/followers","following_url":"https://api.github.com/users/v01d/following{/other_user}","gists_url":"https://api.github.com/users/v01d/gists{/gist_id}","starred_url":"https://api.github.com/users/v01d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v01d/subscriptions","organizations_url":"https://api.github.com/users/v01d/orgs","repos_url":"https://api.github.com/users/v01d/repos","events_url":"https://api.github.com/users/v01d/events{/privacy}","received_events_url":"https://api.github.com/users/v01d/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T01:37:25Z","updated_at":"2015-08-11T01:37:25Z","body":"Just today I had the same problem. Where did you get version 2.5.1? I see 2.5.2 and 2.5.0 on the site. "}}