Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Pavilion dm1, with a known issue with the rt2x00 driver. There is a one line patch that fixes the issue. How do I apply it?

share|improve this question
    
@TimMcNamara Have a bounty! :) –  jrg Mar 22 '12 at 19:09
    
That's great of you, thanks! –  Tim McNamara Mar 27 '12 at 23:06

1 Answer 1

up vote 1 down vote accepted

The one line patch simply shows you that you would need to edit the rt2800pci.c file from the linux header source files and add,

#ifdef CONFIG_RT2800PCI_RT53XX

{ PCI_DEVICE(0x1814, 0x5390) },

{ PCI_DEVICE(0x1814, 0x539f) },

#endif

lines to the file and recompile the header again to get the drivers to work correctly.

share|improve this answer
1  
How do I recompile the driver without affecting apt? –  Tim McNamara Mar 27 '12 at 23:06
    
Run the following command: $ sudo ./configure Then run: $ sudo ./make And finally: $ sudo ./make install –  Petronilla Escarabajo Mar 28 '12 at 16:19
    
Those are fine instructions for compiling, but how do I avoid conflicting with apt-get upgrade? –  Tim McNamara Mar 29 '12 at 4:07
    
This will only affect it if the linux header files have a major update. You can always recompile the headers with the drivers. I know that does not sound productive, but that is the way how linux is. Not linux's fault, just the manufacturer of the NIC. They need to be proactive and be able to support the NIC. –  Petronilla Escarabajo Apr 2 '12 at 17:49
    
Thanks for your great help :) –  Tim McNamara Apr 2 '12 at 22:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.