2.0

Table Of Contents
VMware, Inc. 181
Chapter 8 Configuring Virtual Machine Hardware
4Ifthelpmoduleisloaded,runthefollowingcommandastherootusertoremove
it:
rmmod lp
5Verifythatthelinereferringtothelpmoduleinthe/etc/modules.confor
/etc/conf.modulesfileisremovedorcommentedoutbyinsertingahash
character(#)atthebeginningoftheline.Thenameoftheconfigurationfile
dependsontheLinuxdistributionyouareusing.
Whenyourebootthe
hostafterremovingthisline,theconfigurationfilenolonger
startsthelpmodule.
6Toensurethatthepropermodulesfortheparallelportareloadedatboottime,add
thefollowinglinetothe/etc/modules.confor/etc/conf.modulesfile:
alias parport_lowlevel parport_pc
Parallel Ports and Linux 2.4.x Kernels
MakesurethatPCStyleHardware(CONFIG_PARPORT_PC)isloadedasamodule
(settom).Ifyouareusinga2.4.xkernel,themodulesthatprovideparallelport
functionalityareparport,parport_pc,andppdev.
Alsomakesurethatyouenablesupportforuserspaceparalleldevicedrivers
(CONFIG_PPDEV).
To check the module configuration
1 Determine
whethertheparport,parport_pc,andppdevmodulesareinstalled
andloadedonyoursystembyrunningthelsmodcommandastherootuser.
Allthreemodulesmustbeincludedinthelistingofloadedmodules.Youcanalso
lookatthe/proc/modulesfileforthesamelist.
2Toloadthe
propermodules,runthiscommand:
insmod <modulename>
3Ifnoneofthelistedparallelportmodulesisloaded,usethiscommand:
insmod parport_pc
Thiscommandinsertstheparport and parport_pcmodulesneededfora
parallelport.
4Usethiscommandtoloadtheppdevmodule:
insmod ppdev
Ifyoucontinuetohaveproblems,itispossiblethatthelpmoduleisloaded.Ifit
is,thevirtualmachinecannotusetheparallelportcorrectly.