summaryrefslogtreecommitdiffstats
path: root/mouse.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-17 19:48:56 +0000
committerMatt Wilson <msw@redhat.com>2000-08-17 19:48:56 +0000
commiteb0c38961043294fcf617c7675e6a23e170d49eb (patch)
tree477b9fb44d763ccd7df917ea9848d50e4243eb48 /mouse.py
parent3f242ad3ead1b6709a63bec4e7ad3c0978f42e27 (diff)
downloadanaconda-eb0c38961043294fcf617c7675e6a23e170d49eb.tar.gz
anaconda-eb0c38961043294fcf617c7675e6a23e170d49eb.tar.xz
anaconda-eb0c38961043294fcf617c7675e6a23e170d49eb.zip
don't frob the mouse if we're not going to use it
Diffstat (limited to 'mouse.py')
-rw-r--r--mouse.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mouse.py b/mouse.py
index 2fe4ef65e..e399af20e 100644
--- a/mouse.py
+++ b/mouse.py
@@ -86,14 +86,14 @@ class Mouse (SimpleConfigFile):
def probed(self):
return self.wasProbed
- def probe (self):
+ def probe (self, frob = 0):
list = kudzu.probe(kudzu.CLASS_MOUSE, kudzu.BUS_UNSPEC,
kudzu.PROBE_ONE)
if (list):
(device, module, desc) = list[0]
- if device == 'psaux':
+ if frob and device == 'psaux':
# kickstart some ps/2 mice. Blame the kernel
try:
f = open ('/dev/psaux')