You are not logged in.

#1 2011-11-17 17:18:49

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 233
Website

Extract driver from kernel tree and apply patches to it

Hi

I am trying to "enhance" a driver, fix it more or less, by applying a patches to it I found at aircrack-ng.org.

So what I would like to do is:

1) Extract the source code from the kernel tree for this particular driver
2) Update the old patch to match the modern code.
3) Make a PKGBUILD for it and share it with other through the AUR.

So far:

1) I dont know how to do it
2) I found the patch and I think I know which lines need to be updated
3) Let us make #1 and #2 first and I ll see what I will do about the package and how it should be named, because it should not be in conflict with the stock module

I reached this point because I am so frustrated with my rtl8187b based usb wireless card and the only way to avoid those frequent disconnects is by either using ndiswrapper (last resort) or by trying the patches found at aircrack-ng.org. I don't know anything about coding, so I cannot write something new, perhaps by updating the patches, I could actually achieve something. Maybe until it gets fixed upstream.

Last edited by twilight0 (2011-11-17 17:20:12)


Proud Arch Linux user since 2007.

Offline

#2 2011-11-17 18:02:01

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Extract driver from kernel tree and apply patches to it

Why not use the patched compat-wireless drivers in the AUR? 

http://aur.archlinux.org/packages.php?ID=41472

They use the aircrack-ng patchset.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#3 2011-11-17 19:16:43

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 233
Website

Re: Extract driver from kernel tree and apply patches to it

I looked at it, however I am not sure if they have included patches for rtl8187. I 'll examine it one more time, extract the tarball and look at the patches.


Proud Arch Linux user since 2007.

Offline

#4 2011-11-17 21:06:05

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 233
Website

Re: Extract driver from kernel tree and apply patches to it

These drivers are awesome! Thank you very much, I was being ignorant of these. I 'll update the wiki asap.


Proud Arch Linux user since 2007.

Offline

Board footer

Powered by FluxBB