{"action":"closed","issue":{"url":"https://api.github.com/repos/bitrvmpd/msm-3.18/issues/13","repository_url":"https://api.github.com/repos/bitrvmpd/msm-3.18","labels_url":"https://api.github.com/repos/bitrvmpd/msm-3.18/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/bitrvmpd/msm-3.18/issues/13/comments","events_url":"https://api.github.com/repos/bitrvmpd/msm-3.18/issues/13/events","html_url":"https://github.com/bitrvmpd/msm-3.18/issues/13","id":283983138,"number":13,"title":"FPC fingerprint sensor","user":{"login":"rufoa","id":1864616,"avatar_url":"https://avatars0.githubusercontent.com/u/1864616?v=4","gravatar_id":"","url":"https://api.github.com/users/rufoa","html_url":"https://github.com/rufoa","followers_url":"https://api.github.com/users/rufoa/followers","following_url":"https://api.github.com/users/rufoa/following{/other_user}","gists_url":"https://api.github.com/users/rufoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rufoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rufoa/subscriptions","organizations_url":"https://api.github.com/users/rufoa/orgs","repos_url":"https://api.github.com/users/rufoa/repos","events_url":"https://api.github.com/users/rufoa/events{/privacy}","received_events_url":"https://api.github.com/users/rufoa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-21T19:37:01Z","updated_at":"2017-12-22T15:10:33Z","closed_at":"2017-12-22T15:10:33Z","author_association":"NONE","body":"Hi Noyer, thanks for your work on this!\r\n\r\nI'm using your 3.18.89 release with [Paranoid Android](https://forum.xda-developers.com/xiaomi-redmi-4x/development/rom-paranoid-android-7-3-0-aospa-redmi-t3696813). It works well, apart from the FPC fingerprint sensor on my 4X.\r\n\r\nIt appears my phone is trying (and failing) to use the Goodix driver instead. I do not understand why.\r\n\r\nHere is the [dmesg output](https://github.com/bitrvmpd/msm-3.18/files/1580367/santoni.dmesg.txt).\r\nHere is the logcat output I get. It repeats the same messages every few seconds:\r\n\r\n```\r\n12-21 18:51:35.084  9788  9788 D FingerGoodix: FingerPrintService is constructing\r\n12-21 18:51:35.084  9788  9788 D FingerGoodix: FingerPrintService is initializing\r\n12-21 18:51:35.086  9788  9788 D FingerGoodix: gxFingerPrint open succuss!\r\n12-21 18:51:35.086  9788  9788 E FingerGoodix: start open /dev/goodix_fp.\r\n12-21 18:51:35.086  9788  9788 D FingerGoodix: gf_enable_gpio\r\n12-21 18:51:35.451  9788  9788 D FingerGoodix: Open device[/dev/goodix_fp] success. Handle = 4\r\n12-21 18:51:35.451  9788  9788 D FingerGoodix: gf_ready_spiclk. g_spi_clk = 0\r\n12-21 18:51:35.457  9788  9788 D FingerGoodix: gx_ta_start\r\n12-21 18:51:35.546  9788  9788 D FingerGoodix: Loading goodixfp Succeed.\r\n12-21 18:51:35.546  9788  9788 D FingerGoodix: Ta start success.\r\n12-21 18:51:35.547  9788  9788 D FingerGoodix: open failed \r\n12-21 18:51:35.547  9788  9788 D FingerGoodix: fnCa_Init OTP[0-7]:0x0-0x0-0x0-0x0-0x0-0x0-0x0-0x0\r\n12-21 18:51:35.547  9788  9788 D FingerGoodix: fnCa_Init OTP[8-15]:0x0-0x0-0x0-0x0-0x0-0x0-0x0-0x0\r\n12-21 18:51:35.547  9788  9788 D FingerGoodix: fnCa_Init OTP[16-23]:0x0-0x0-0x0-0x0-0x0-0x0-0x0-0x0\r\n12-21 18:51:35.547  9788  9788 D FingerGoodix: fnCa_Init OTP[24-31]:0x0-0x0-0x0-0x0-0x0-0x0-0x0-0x0\r\n12-21 18:51:35.555  9788  9788 E FingerGoodix: ##Davy teeRet = 0 ,data[32] = aa\r\n12-21 18:51:35.555  9788  9788 D FingerGoodix: fnCa_Init OTP[0-7]:0xaa-0xaa-0xaa-0xaa-0xaa-0xaa-0xaa-0xaa\r\n12-21 18:51:35.555  9788  9788 D FingerGoodix: fnCa_Init OTP[8-15]:0xaa-0xaa-0xaa-0xaa-0xaa-0xaa-0xaa-0xaa\r\n12-21 18:51:35.555  9788  9788 D FingerGoodix: fnCa_Init OTP[16-23]:0xaa-0xaa-0xaa-0xaa-0xaa-0xaa-0xaa-0xaa\r\n12-21 18:51:35.555  9788  9788 D FingerGoodix: fnCa_Init OTP[24-31]:0xaa-0xaa-0xaa-0xaa-0xaa-0xaa-0xaa-0xaa\r\n12-21 18:51:35.555  9788  9788 E FingerGoodix: error. This IC isn't GoodixFP\r\n12-21 18:51:35.555  9788  9788 E FingerGoodix: fnCa_Init : -1!\r\n12-21 18:51:35.555  9788  9788 D FingerGoodix: gx_ta_stop\r\n12-21 18:51:35.568  9788  9788 D FingerGoodix: Unload goodixfp succeed.\r\n12-21 18:51:35.568  9788  9788 D FingerGoodix: Ta stop success.\r\n12-21 18:51:35.568  9788  9788 D FingerGoodix: Close netlink thread.\r\n12-21 18:51:35.568  9788  9788 D FingerGoodix: Close device. Handle = 4\r\n12-21 18:51:35.568  9788  9788 D FingerGoodix: gf_release_gpio,gf_release_gpio\r\n12-21 18:51:35.568  9788  9788 D FingerGoodix: gf_release_gpio,gf_release_gpio by ioctl\r\n12-21 18:51:35.568  9788  9788 D FingerGoodix: gf_close,Close device,gf_release_gpio\r\n12-21 18:51:35.569  9788  9788 D FingerGoodix: Close device. Handle = 4\r\n12-21 18:51:35.569  9788  9788 D FingerGoodix: , ret = 0\r\n12-21 18:51:35.569  9788  9788 E FingerGoodix: Can't open fingerprint methods, error: -1\r\n12-21 18:51:35.569  9788  9788 D FingerGoodix: getprop[persist.sys.fp.vendor] return: 6, prop: goodix\r\n12-21 18:51:35.569  9788  9788 D FingerGoodix: getprop[persist.sys.fp.goodix] return: 1, prop: 0\r\n12-21 18:51:35.578  9788  9788 D FingerGoodix: setprop[persist.sys.fp.goodix] to '0', return: 0\r\n12-21 18:51:35.578  9788  9788 E FingerGoodix: fpservice init err: -1\r\n12-21 18:51:35.578  9788  9788 E FingerGoodix: FingerPrintService is ~FpService()\r\n12-21 18:51:35.578  9788  9788 D FingerGoodix: but finger print is busy\r\n```\r\n\r\nMany thanks"}}
{"actor":{"display_login":"bitrvmpd"}}