{"action":"closed","issue":{"url":"https://api.github.com/repos/hadess/rtl8723bs/issues/43","labels_url":"https://api.github.com/repos/hadess/rtl8723bs/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/hadess/rtl8723bs/issues/43/comments","events_url":"https://api.github.com/repos/hadess/rtl8723bs/issues/43/events","html_url":"https://github.com/hadess/rtl8723bs/issues/43","id":122843065,"number":43,"title":"Patching driver/kernel for debian stretch","user":{"login":"ljones0","id":13373179,"avatar_url":"https://avatars.githubusercontent.com/u/13373179?v=3","gravatar_id":"","url":"https://api.github.com/users/ljones0","html_url":"https://github.com/ljones0","followers_url":"https://api.github.com/users/ljones0/followers","following_url":"https://api.github.com/users/ljones0/following{/other_user}","gists_url":"https://api.github.com/users/ljones0/gists{/gist_id}","starred_url":"https://api.github.com/users/ljones0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljones0/subscriptions","organizations_url":"https://api.github.com/users/ljones0/orgs","repos_url":"https://api.github.com/users/ljones0/repos","events_url":"https://api.github.com/users/ljones0/events{/privacy}","received_events_url":"https://api.github.com/users/ljones0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-17T23:09:28Z","updated_at":"2015-12-18T00:01:40Z","closed_at":"2015-12-18T00:01:40Z","body":"Hello!\r\n\r\nHaving a little bit of a problem trying to work out how to patch and compile the driver.\r\n\r\nCurrently I'm trying to do this on a debian machine running debian stretch kernel 4.2.0.1-amd64.\r\n\r\nWhat I'm not sure about is the kernel source. I can understand that I need to obtain the source and then patch it but then whereabouts should the kernel source go? Every time I try to patch the source I get an error as follows;\r\n\r\n aaaaa@debian:~/1/rtl8723bs-master$ patch -p1 < patches/0001-PM-QoS-Add-pm_qos_cancel_request_lazy-that-doesn-t-s.patch\r\ncan't find file to patch at input line 20\r\nPerhaps you used the wrong -p or --strip option?\r\n\r\n--------------------------\r\n|From 9a5a15f25013d71c0753bf0f57a2baa9ce689d58 Mon Sep 17 00:00:00 2001\r\n|From: Adrian Hunter <adrian.hunter@intel.com>\r\n|Date: Tue, 24 Mar 2015 15:40:37 +0200\r\n\r\n....\r\n....\r\n\r\n|diff --git a/include/linux/pm_qos.h b/include/linux/pm_qos.h\r\n|index 0f65d36..ff59753 100644\r\n--- a/include/linux/pm_qos.h\r\n\r\n--------------------------\r\nFile to patch: \r\n\r\nI see in that patch references to places such as \"a/include/linux/pm_qos.h\" and \"b/include/linux/pm_qos.h\". I don't have any directories called \"a\" and \"b\" - does the kernel source go in those; I need two copies of the linux kernel?\r\n\r\nI can compile the kernel normally without the patches, but it dosen't correctly - I think it is having IRQ issues and that the network connection eventually slows down and stops.\r\n\r\nThanks\r\n\r\nljones"}}