diff options
author | Matt Wilson <msw@redhat.com> | 2000-08-17 19:48:56 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-08-17 19:48:56 +0000 |
commit | eb0c38961043294fcf617c7675e6a23e170d49eb (patch) | |
tree | 477b9fb44d763ccd7df917ea9848d50e4243eb48 /mouse.py | |
parent | 3f242ad3ead1b6709a63bec4e7ad3c0978f42e27 (diff) | |
download | anaconda-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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') |