f120 [PC BSD] How to apply an atheros patch? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

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

Reply
 
Thread Tools Display Modes
  #1  
Old February 3rd, 2010, 20:39
Romanrp Romanrp is offline
Junior Member
 
Join Date: Jan 2010
Posts: 21
Thanks: 7
Thanked 0 Times in 0 Posts
Default [PC BSD] How to apply an atheros patch?

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.
Reply With Quote
  #2  
Old February 3rd, 2010, 20:54
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

Quote:
Originally Posted by Romanrp View Post
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.

Quote:
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.cg...sys/conf/files revision 1.1496

But something like this usually does the trick:
Code:
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

Quote:
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
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
Romanrp (February 3rd, 2010)
  #3  
Old February 3rd, 2010, 21:02
Romanrp Romanrp is offline
Junior Member
 
Join Date: Jan 2010
Posts: 21
Thanks: 7
Thanked 0 Times in 0 Posts
Default

done that, how do I know it's in effect?
Reply With Quote
  #4  
Old February 3rd, 2010, 21:15
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,020 Times in 1,859 Posts
Default

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.
Reply With Quote
  #5  
Old February 3rd, 2010, 21:24
Romanrp Romanrp is offline
Junior Member
 
Join Date: Jan 2010
Posts: 21
Thanks: 7
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old February 3rd, 2010, 21:27
Romanrp Romanrp is offline
Junior Member
 
Join Date: Jan 2010
Posts: 21
Thanks: 7
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #7  
Old February 3rd, 2010, 23:53
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,817
Thanks: 30
Thanked 1,883 Times in 1,329 Posts
Default

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

"Do not blindly follow any advice given here!"
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Problem installing CUPS (failed to apply cleanly.) tomiso Installation and Maintenance of FreeBSD Ports or Packages 2 January 28th, 2010 08:11
Difference between Freebsd-update and csup to apply patches AxelBSD Installing & Upgrading 19 November 25th, 2009 00:21
Atheros WIFI summer System Hardware 3 October 13th, 2009 06:56
Atheros Support mortsmel System Hardware 1 September 20th, 2009 18:21
How to apply patche for NMAP sniper007 Installation and Maintenance of FreeBSD Ports or Packages 1 January 27th, 2009 14:29


All times are GMT +1. The time now is 08:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0