1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[PC BSD] How to apply an atheros patch?

Discussion in 'General' started by Romanrp, Feb 3, 2010.

  1. Romanrp

    Romanrp New Member

    Messages:
    21
    Thanks Received:
    0
  2. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,519
    Thanks Received:
    2,351
    It's already been committed I think, but only in -current.

    http://www.freebsd.org/cgi/cvsweb.cgi/src/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 :)

    You don't. They're still looking for people to help port network manager :e
     
    Romanrp thanks for this.
  3. Romanrp

    Romanrp New Member

    Messages:
    21
    Thanks Received:
    0
    done that, how do I know it's in effect?
     
  4. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,519
    Thanks Received:
    2,351
    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.
     
  5. Romanrp

    Romanrp New Member

    Messages:
    21
    Thanks Received:
    0
  6. Romanrp

    Romanrp New Member

    Messages:
    21
    Thanks Received:
    0
    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
     
  7. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,723
    Thanks Received:
    2,137