disable parallel port

in my search for ways to speed up linux booting, i found out that the modules for the parallel port are loaded, even though my laptop has no parallel port… the modules in question are lp, parport, parport_pc and ppdev.

I have tried blacklisting them in /etc/modprobe.d/blacklist and removing them from /etc/modules, and also the kernel parameter parport=0, but nothing seems to make a difference…

This has been reported in debian.

I installed linux-doc, and read /usr/share/doc/linux-doc-2.6.27/parport.txt.gz, which says:

Adding `parport=0′ to the kernel command-line will disable parport support entirely.

The reason for all this is that the LOAD_LP_MODULE variable is set to “yes” in /etc/default/cups, which causes /etc/init.d/cups to load the modules…

~ by azimout on November 27, 2008.

One Response to “disable parallel port”

  1. [...] findet sich auch ein Hinweis, wie man es aller Sturheit von Linux zum Trotz auch den Parallelport abschalten kann. Module blacklisten geht nämlich nicht, weil CUPS sie wieder lädt. einen parallelport hat [...]

Leave a Reply