(k)ubuntu: howto prevent lp module from loading at boot?

Herb Richter hgr-FjoMob2a1F7QT0dZR+AlfA at public.gmane.org
Wed Jan 10 17:39:06 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I need to prevent the lp module from automatically loading at boot up on
a kubuntu *1 workstation (so that a vmware *2 guest os can access "lpt1")

I've tried editing the /etc/modules (I assume that the new modules.conf
or conf.modules) and/or /etc/modprobe.d/blacklist

dmesg shows a lot of lines like:
[ 3742.434891] parport0: no more devices allowed
[ 3742.435316] ppdev0: failed to register device!
[ 3742.666942] parport0: no more devices allowed
[ 3742.666947] ppdev0: failed to register device!
[ 3742.666980] ppdev0: claim the port first
[ 3805.511264] parport0: no more devices allowed

I suspect that some other module or daemon such as cupsys or "HP Linux
Imaging and Printing" hplip is (re)loading lp.

To manually "rmmod lp" works but this is not an option for the
particular user.

Should I be looking at adding this to one of the init scripts (if so
which one? )  ...I would rather not be adding a "sudo" to a user vmware
launcher like /usr/bin/vmware.

TIA,

Herb Richter


*1 kubuntu-6.06.1-desktop-i386
*2 VMware-workstation-5.5.1-19175
.. 2.6.15-27-386
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFpSS6U+pQaeEFGGARAmIXAJ0ST2DkmbdLUgHEsNSMGfm6C7JTJgCdE12h
2z7IfKaUMbuhbczjFcKCcV4=
=3sP8
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list