Modifing and installing ath10k driver for kernel 4.0
Costa Molero Edgar
cedgar at student.ethz.ch
Wed Apr 29 05:53:36 PDT 2015
> You can still use backports though. All you need is to build backports
> package yourself from whatever kernel tree you desire, e.g.
> github.com/kvalo/ath instead of using the pre-built one.
> : https://backports.wiki.kernel.org/index.php/Documentation/backports/hacking
> I also wrote something about ath10k and backports:
Thanks, for the answers.
I already tried before writing my message to compile my custom ath10k backports. However when I was following your guide I was not able to create the backports output tree. The gentree.py script was giving me a dependency problem :
You need to have installed: spatch >= 1.0.0-rc24
Try installing the package: coccinelle
So, I did installed the latest coccinelle version but the dependency was still there. After one day struggling I found that its a bug and can be solved with this patch :
lib/bpreqs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bpreqs.py b/lib/bpreqs.py
index 6c46670..4399c6d 100644
<at> <at> -98,7 +98,7 <at> <at> class Req:
if (rc == ""):
rc = 0
- rc = int(rc) - 20
+ rc = int(rc) - 40
extra = int(rc)
extra = int(rel_specs['EXTRAVERSION']) + 10
I still have a question regarding backports, and kernel releases. I am quite new in all this world so that's why I was a little bit confused. Correct me if I am wrong. Backports are used to install the newest (or whatever version ) of drivers in the current kernel you have, right ? So you get the same result than compiling the entire kernel with your modified driver ?
More information about the ath10k