# Software patents and free software

Opposition to software patents is widespread in the free software community. In response, various mechanisms have been tried to defuse the perceived problem.

## Positions from the community

Community leaders such as Richard Stallman, Alan Cox, Bruce Perens, and Linus Torvalds; companies such as Red Hat and MySQL; and community groups such as FSFE and IFSO all believe that patents cause problems for free software.

## Patent licensing

Leading open-source figures and companies have complained that software patents are overly broad and the USPTO should reject most of them. Bill Gates has said "If people had understood how patents would be granted when most of today’s ideas were invented, and had taken out patents, the industry would be at a complete standstill today".

## Problems for free software

Free software projects cannot agree to patent licences that include any kind of per-copy fee. No matter how low the fee is, there is no way for a free software distributor to know how many copies are being made. Also, adding any requirements to pay or to notify someone each time a copy is made would make the software no longer free software.
A patent licence that is royalty-free, or provides a one-time worldwide payment is acceptable. Version 2 of the GNU General Public License does not allow software to be distributed if that software requires a patent licence that does not "permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you".
The Version 2 of the GNU General Public License of 1991 also says that patents convert free software to proprietary software:
"Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all."

## The 2004 OSRM study

In 2004, Open Source Risk Management commissioned a patent study, carried out by Dan Ravicher. For this study, Ravicher performed patent searches to estimate the patent-risk of the Linux kernel:
   In conclusion, he found that no court-validated software patent is infringed by the Linux kernel. However, Ravicher also found 283 issued but not yet court-validated software patents that, if upheld as valid by the courts, could potentially be used to support patent claims against Linux.
However, Mark Webbink, who was Red Hat's Deputy General Counsel, said that Ravicher did not deduce the kernel to infringe any of said patents.

## Techniques for opposing patents
### Patent retaliation

"Patent retaliation" clauses are included in several free software licenses. The goal of these clauses is to create a penalty so as to discourage the licensee (the user/recipient of the software) from suing the licensor (the provider/author of the software) for patent infringement by terminating the license upon the initiation of such a lawsuit.
Early drafts of version 3 of the GNU General Public License (GPLv3) contained several patent retaliation clauses that varied in scope, some of which were later removed due to concerns about their efficacy. The final published version of GPLv3 contains a patent retaliation clause similar to those in the Apache License and Mozilla Public License, which terminates rights granted by the license in response to litigation alleging patent infringement in the software.

### Patent pools

In 2005, IBM, Novell, Philips, Red Hat, and Sony founded the Open Invention Network (OIN). OIN is a company that acquires patents and offers them royalty free "to any company, institution or individual that agrees not to assert its patents against the Linux operating system or certain Linux-related applications".
Novell donated the valuable Commerce One web services patents to OIN. These potentially threaten anyone who uses web services. OIN's founders intend for these patents to encourage others to join, and to discourage legal threats against Linux and Linux-related applications. Along with several other projects, Mono is listed as a covered project.

### Lobbying for legislative change

Movements have formed to lobby against the existence and enforceability of software patents. The earliest was the League for Programming Freedom in the USA. Probably the most successful was the anti-software-patent campaign in Europe that resulted in the rejection by the European Parliament of the Proposed directive on the patentability of computer-implemented inventions which, the free software community argues, would have made software patents enforceable in the European Union. A fledgling movement also exists in South Africa.

## Promises from patent holders

Some software companies who hold significant patent portfolios have made non-aggression pledges to the free software community. These have varied in scope and have received a variety of responses. IBM, Sun, and Nokia are three examples. These have been described by Richard Stallman as "significant", "not really anything", and "next to nothing", respectively.
Microsoft has irrevocably pledged not to assert any claims against open source developers which CEO Steve Ballmer called "an important step and significant change in how we share information about our products and technologies." This pledge has been accepted with some skepticism.

## Infringement claims

Microsoft has claimed that free software such as OpenOffice.org and the Linux kernel violate 235 Microsoft patents and said that it will seek licence fees, but has so far failed to disclose which patents they may violate. However, the 2009 lawsuit against TomTom involved the use of Microsoft's patents for long filenames on FAT filesystems, the code for which was in the Linux kernel, not in any TomTom-developed software. The Linux kernel developers subsequently worked around it.
In 2011 a company called Bedrock Technologies LLC won a judgment of $5 million against Google for use of the Linux kernel, which the court found to violate US patent 5,893,120 (which was filed in 1997 and issued in 1999, and covers techniques for software caches likely used in every modern operating system). Bedrock went on to sue Yahoo and lost; Yahoo's defense amounted to the use of a different version of Linux which did not execute the particular code that Bedrock had pointed out as infringing, but the Yahoo case did not invalidate Bedrock's patent. Details of exactly which code Bedrock said infringed the patent and how Yahoo managed to avoid executing that code are not publicly available.
In January 2008, Trend Micro accused Barracuda Networks of patent infringement for distribution of the ClamAV anti-virus software.

## Microsoft's patent deals

In November 2006, a highly controversial agreement was made between Novell and Microsoft that included patent licensing. This led to much criticism of Novell by the free software community.
In June 2007, Xandros announced a similar deal.
On June 13, 2007, a deal was reached between Microsoft and Linspire. In return, Linspire would change its default search engine from Google to Live search.
Ubuntu founder and director Mark Shuttleworth has said that Ubuntu will not be making any such deal, as have Red Hat. These have been joined by a weaker statement from Mandriva that "we don’t believe it is necessary for us to get protection from Microsoft".
In October 2007, IP Innovation LLC, a company specialized in patent-protection, filed a suit for patent infringement against Red Hat and Novell. However, IP Innovation LLC is a subsidiary of a company classified by some as a patent troll, and commentators suspect a strong connection between this company and Microsoft. In 2010, IP Innovation lost the suit.
In December 2007, Microsoft granted the Samba project access to certain proprietary documents and must maintain a list of related patents for a one-time fee of 10,000 Euros. Microsoft was required to make this information available to competitors as part of the European Commission March 24, 2004 Decision pertaining to antitrust violations.