[PC BSD] How to apply an atheros patch?

General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

[PC BSD] How to apply an atheros patch?

Postby Romanrp » 03 Feb 2010, 19:39

I want to apply this patch but I am not sure how.
http://people.freebsd.org/~rpaulo/ar9285_stable_8.diff
How would I apply this?
And How do I install network manager or wicd since doing
pkg_add wicd doesn't seem to work.
Romanrp
Junior Member
 
Posts: 21
Joined: 31 Jan 2010, 21:37

Postby SirDice » 03 Feb 2010, 19:54

Romanrp wrote:I want to apply this patch but I am not sure how.
http://people.freebsd.org/~rpaulo/ar9285_stable_8.diff
How would I apply this?

It's already been committed I think, but only in -current.

SVN rev 203159 on 2010-01-29 10:10:14Z by rpaulo

Add support for the AR9285 chipset, which is found on many netbooks
available today.

This card is a low power 802.11bgn that only does 11n rates up to MCS 7
(that's 65 Mbps in 20Mhz mode and 135 in 40Mhz mode).
802.11n is not yet supported, but will be in the future.

The driver still has a problem regarding to the setting of txpower on
the card, so don't expect good performance yet. After fixing this
problem, an MFC is possible.

Special thanks to iXsystems and S Smirnov <tonve at yandex.ru> for help
with the purchase of a netbook with this card.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/files revision 1.1496

But something like this usually does the trick:
Code: Select all
fetch http://people.freebsd.org/~rpaulo/ar9285_stable_8.diff
cd /usr/src
patch < /place/where/diff/file/is/stored

And hope you don't get any rejected chunks :)

And How do I install network manager or wicd since doing
pkg_add wicd doesn't seem to work.

You don't. They're still looking for people to help port network manager :e
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16161
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby Romanrp » 03 Feb 2010, 20:02

done that, how do I know it's in effect?
Romanrp
Junior Member
 
Posts: 21
Joined: 31 Jan 2010, 21:37

Postby SirDice » 03 Feb 2010, 20:15

You do need to rebuild and install your kernel. After that the ath driver should be able to recognize your card.

Also have a look in this thread.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16161
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby Romanrp » 03 Feb 2010, 20:24

I had a look at that thread and the links and I am confused on what to do once i click on them
http://kerneltrap.org/mailarchive/fr...0/1/29/6737373
http://kerneltrap.org/mailarchive/fr...0/1/29/6737993
Romanrp
Junior Member
 
Posts: 21
Joined: 31 Jan 2010, 21:37

Postby Romanrp » 03 Feb 2010, 20:27

edit: to install the kernel all I have to do is this?
On (64bit)
# cp /PCBSD/conf/PCBSD.amd64 sys/amd64/conf/PCBSD

# make buildkernel installkernel KERNCONF=PCBSD

note that I use pcbsd but since It is freebsd with gui i figured that i would be better off posting on freebsd forums since i can get a lot more help here
Romanrp
Junior Member
 
Posts: 21
Joined: 31 Jan 2010, 21:37

Postby DutchDaemon » 03 Feb 2010, 22:53

Here we go ... again ...
Sticky: Topics about PC-BSD / FreeNAS / DesktopBSD / m0N0WALL / pfSense

"Do not blindly follow any advice given here!"
User avatar
DutchDaemon
Old Fart
 
Posts: 10463
Joined: 16 Nov 2008, 20:17
Location: The Netherlands


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest