Where should a patch be applied from?

Matthew tragek at gmail.com
Mon Jun 13 23:34:39 GMT 2005


I have a Thinkpad A22 with a fairly well known power drain problem:
http://www.thinkwiki.org/wiki/Problem_with_high_power_drain_in_ACPI_sleep

I have seen a suggestion that perhaps the following patches may help
to allieveate this issue
(http://people.freebsd.org/~iedowse/vesa_restore.diff   
http://people.freebsd.org/~jhb/patches/acpi_video_dpms.patch).
However, I'm new to this, and am not sure where I should be placing
these patches, and how this should work. From the patch man page, I
believe I should be able to just go 'cat acpi_video_dpms.patch | patch
-d /usr/src/sys/dev/acpica '

Am I thinking this out right? 


-- 
Matthew


More information about the freebsd-questions mailing list