hi guys, i'm having some kind of problem,and i have been trying to find solution everywhere almost :\ i cant seem to be able to patch that driver, tried weird things and it just doesn't work. i'm quite familiar with terminal, but when it comes to drivers and complying them i have two left hands.
the weird thing if i want to patch it with rtl8187_2.6.27.patch it works. but anything with 2.6.26 seems lacking rtl8187_dev.c .
i'm open to suggestions.
Thanks in advance.
Code:
Desktop/rtl8187_linux_26.1010.0622.2006$ ls
beta-8187 ReadMe.txt~
drv.tar.gz rtl8187_hw_signal_backport_2.6.28.patch
ieee80211 rtl8187-mac80211-injection-speed-2.6.28-wl.patch
ifcfg-wlan0 stack.tar.gz
mac80211_2.6.28-rc8-wl_frag+ack_radiotap_2.6.28_mod.patch wlan0dhcp
makedrv wlan0down
makedrv~ wlan0rmv
makedrvbk wlan0up
ReadMe.txt wpa_supplicant-0.4.9
xxxxxxxxxx:~/Desktop/rtl8187_linux_26.1010.0622.2006$ patch -Np1 -i rtl8187_hw_signal_backport_2.6.28.patch
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From: Larry Finger <Larry.Finger@lwfinger.net>
|Date: Thu, 4 Dec 2008 04:21:20 +0000 (-0600)
|Subject: rtl8187: Improve wireless statistics for RTL8187
|X-Git-Tag: master-2009-01-05~191
|
|rtl8187: Improve wireless statistics for RTL8187
|
|The current wireless statistics for the RTL8187 poorly indicate the signal
|strength and quality. With testing, I found that the AGC value is inversely
|correlated with the strength as in the RTL8187B. By implementing a similar
|calculation, much more code becomes common to the two devices.
|
|Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
|Tested by: MartÃ*n Ernesto Barreyro <barreyromartin@gmail.com>
|Acked-by: Hin-Tak Leung <htl10@users.sourceforge.net>
|Signed-off-by: John W. Linville <linville@tuxdriver.com>
|Crudely-backported-by: Zero_Chaos <zero_chaos@pentoo.ch>
|---
|
|diff -Naur linux-2.6.28-orig/drivers/net/wireless/rtl8187_dev.c linux-2.6.28/drivers/net/wireless/rtl8187_dev.c
|--- linux-2.6.28-orig/drivers/net/wireless/rtl8187_dev.c 2009-02-09 16:52:51.000000000 -0500
|+++ linux-2.6.28/drivers/net/wireless/rtl8187_dev.c 2009-02-09 17:22:50.000000000 -0500
--------------------------
File to patch: