{"action":"created","issue":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1235","repository_url":"https://api.github.com/repos/PCSX2/pcsx2","labels_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1235/labels{/name}","comments_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1235/comments","events_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1235/events","html_url":"https://github.com/PCSX2/pcsx2/issues/1235","id":141127314,"number":1235,"title":"[OnePad] PlayStation 2 pad via USB dongle - joypad no longer recognised","user":{"login":"OmegaPhil","id":395928,"avatar_url":"https://avatars.githubusercontent.com/u/395928?v=3","gravatar_id":"","url":"https://api.github.com/users/OmegaPhil","html_url":"https://github.com/OmegaPhil","followers_url":"https://api.github.com/users/OmegaPhil/followers","following_url":"https://api.github.com/users/OmegaPhil/following{/other_user}","gists_url":"https://api.github.com/users/OmegaPhil/gists{/gist_id}","starred_url":"https://api.github.com/users/OmegaPhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmegaPhil/subscriptions","organizations_url":"https://api.github.com/users/OmegaPhil/orgs","repos_url":"https://api.github.com/users/OmegaPhil/repos","events_url":"https://api.github.com/users/OmegaPhil/events{/privacy}","received_events_url":"https://api.github.com/users/OmegaPhil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-15T23:27:53Z","updated_at":"2016-03-18T22:07:19Z","closed_at":null,"body":"Debian Testing machine, Linux 4.3.0-1-amd64 #1 SMP Debian 4.3.5-1 (2016-02-06) x86_64 GNU/Linux\r\n\r\nIts been about half a year since I played with the latest git, I have updated (0ef8ddb2a2f68dd9815834a250a89d71d7b22bd4) and suddenly OnePad says that no joypads are recognised (I'm using a 'Personal Communication Systems, Inc. Dual PSX Adaptor' USB dongle). This pad is detected and works fine with ppsspp, and normally I use it to send X key events through antimicro without issue.\r\n\r\nChecking out the v1.4.0 tag has similar problems, even though its using an earlier version of the OnePad library. Broken with an upgrade in dependencies perhaps?\r\n\r\nI've noted what you said in the hotplug feature request issue - in this case the pad is connected and working before pcsx2 is started.\r\n\r\npcsx2 seems pretty happy starting up (ran from its 32bit chroot):\r\n\r\n```\r\nPCSX2 1.5.0-20160315202344 - compiled on Mar 15 2016\r\nSavestate version: 0x9a0b0000\r\n\r\nHost Machine Init:\r\n\tOperating System =  Linux 4.3.0-1-amd64 x86_64\r\n\tPhysical RAM     =  32161 MB\r\n\tCPU name         =  AMD FX(tm)-8350 Eight-Core Processor\r\n\tVendor/Model     =  AuthenticAMD (stepping 00)\r\n\tCPU speed        =  4.023 ghz (8 logical threads)\r\n\tx86PType         =  Standard OEM\r\n\tx86Flags         =  178bfbff 3e98320b\r\n\tx86EFlags        =  2fd3fbff\r\n\r\nx86 Features Detected:\r\n\tSSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2.. AVX.. FMA\r\n\tSSE4a \r\n\r\nInstalling POSIX SIGSEGV handler...\r\nMapping host memory for virtual systems...\r\n\tEE Main Memory                   @ 0x20000000 -> 0x22884000 [40mb]\r\n\tIOP Main Memory (2mb)            @ 0x24000000 -> 0x24211000 [2mb]\r\n\tVU0/1 on-chip memory             @ 0x28000000 -> 0x2800A000 [40kb]\r\nReserving memory for recompilers...\r\n\tSuperVU0 Recompiler Cache        @ 0x0E800000 -> 0x0F000000 [8mb]\r\n\tSuperVU1 Recompiler Cache        @ 0x0F000000 -> 0x0F800000 [8mb]\r\n\tMicro VU0 Recompiler Cache       @ 0x3C000000 -> 0x40000000 [64mb]\r\n\tMicro VU1 Recompiler Cache       @ 0x40000000 -> 0x44000000 [64mb]\r\n\tR5900-32 Recompiler Cache        @ 0x30000000 -> 0x34000000 [64mb]\r\n\tR3000A Recompiler Cache          @ 0x34000000 -> 0x36000000 [32mb]\r\n\tVIF0 Unpack Recompiler Cache     @ 0x36000000 -> 0x36800000 [8mb]\r\n\tVIF1 Unpack Recompiler Cache     @ 0x38000000 -> 0x38800000 [8mb]\r\n\r\nLoading plugins...\r\n\tBinding   GS: /mnt/storage-1/General/Emulators And ROMs/pcsx2/pcsx2-git/pcsx2/bin/plugins/libGSdx-0.1.16.so \r\n\tBinding  PAD: /mnt/storage-1/General/Emulators And ROMs/pcsx2/pcsx2-git/pcsx2/bin/plugins/libonepad-1.2.0.so \r\n\tBinding SPU2: /mnt/storage-1/General/Emulators And ROMs/pcsx2/pcsx2-git/pcsx2/bin/plugins/libspu2x-2.0.0.so \r\n\tBinding CDVD: /mnt/storage-1/General/Emulators And ROMs/pcsx2/pcsx2-git/pcsx2/bin/plugins/libCDVDnull.so \r\n\tBinding  USB: /mnt/storage-1/General/Emulators And ROMs/pcsx2/pcsx2-git/pcsx2/bin/plugins/libUSBnull-0.7.0.so \r\n\tBinding   FW: /mnt/storage-1/General/Emulators And ROMs/pcsx2/pcsx2-git/pcsx2/bin/plugins/libFWnull-0.7.0.so \r\n\tBinding DEV9: /mnt/storage-1/General/Emulators And ROMs/pcsx2/pcsx2-git/pcsx2/bin/plugins/libdev9null-0.5.0.so \r\nPlugins loaded successfully.\r\n\r\n(GameDB) 9693 games on record (loaded in 208ms)\r\n```"},"comment":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/comments/198562175","html_url":"https://github.com/PCSX2/pcsx2/issues/1235#issuecomment-198562175","issue_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1235","id":198562175,"user":{"login":"OmegaPhil","id":395928,"avatar_url":"https://avatars.githubusercontent.com/u/395928?v=3","gravatar_id":"","url":"https://api.github.com/users/OmegaPhil","html_url":"https://github.com/OmegaPhil","followers_url":"https://api.github.com/users/OmegaPhil/followers","following_url":"https://api.github.com/users/OmegaPhil/following{/other_user}","gists_url":"https://api.github.com/users/OmegaPhil/gists{/gist_id}","starred_url":"https://api.github.com/users/OmegaPhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmegaPhil/subscriptions","organizations_url":"https://api.github.com/users/OmegaPhil/orgs","repos_url":"https://api.github.com/users/OmegaPhil/repos","events_url":"https://api.github.com/users/OmegaPhil/events{/privacy}","received_events_url":"https://api.github.com/users/OmegaPhil/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T22:07:19Z","updated_at":"2016-03-18T22:07:19Z","body":"Thanks - [sdl-jstest](https://github.com/Grumbel/sdl-jstest) should be that program - its capable of listing the controller, but the sdl2 test program is failing with SDL error 'Couldn't find mapping for device' (it doesn't say this but I've added the get error string in) - looking at 'libsdl2-2.0-0/libsdl2-2.0.4+dfsg1/src/joystick/SDL_gamecontrollerdb.h', there seems to be a small hardcoded list of devices (???), have stopped there so far.\r\n\r\nFor reference I confirmed ppsspp links to the SDL2 library and has no problems with the controller."}}