Bug 80600
| Summary: | starts with wrong default serial DEVICE and kills my mouse | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Michael Schwendt <bugs.michael> |
| Component: | redhat-config-mouse | Assignee: | Brent Fox <bfox> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-09-10 18:22:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 79579, 100644 | ||
|
Description
Michael Schwendt
2002-12-28 16:51:26 UTC
Right. This happens in both GUI and TUI modes, but it should be fixed in redhat-config-mouse-1.0.3-1, which should appear in Rawhide in the next day or so. QA, please verify. With redhat-config-mouse-1.0.3-1, if I click "OK" without going into the "Serial
Devices" selection, I get the following traceback:
Traceback (most recent call last):
File "/usr/lib/python2.2/site-packages/rhpl/firstboot_gui_window.py", line 83,
in okClicked
if self.apply():
File "/usr/share/redhat-config-mouse/mouse_gui.py", line 338, in apply
port = self.deviceStore.get_value(iter, 1)
TypeError: iter must be a GtkTreeIter
Oops, I didn't test that case. Try again with redhat-config-mouse-1.0.3-2. I'm still seeing the same traceback with 1.0.4-1 (latest in Beehive at the moment.) I must be losing my mind. I think I've fixed it for real this time with redhat-config-mouse-1.0.4-2. Sorry for the problems. There is a stack of 64 bugs that have been in Modified state for a long period of time. I am closing these as Rawhide now. If you find that the issue is not fixed, please reopen this report. Let me add my bit of QA then. ;o) It no longer kills the current mouse h/w configuration, *but* now it creates a bad configuration file silently. My working config: $ cat /etc/sysconfig/mouse FULLNAME="Generic - 3 Button Mouse (serial)" MOUSETYPE="Microsoft" XEMU3="no" XMOUSETYPE="Microsoft" DEVICE=/dev/ttyS1 Update the tool to most recent version from Raw Hide: $ rpm -q redhat-config-mouse redhat-config-mouse-1.0.6-2 I start it, enter root password. It preselects "3 Button Mouse (serial)" which looks fine. I click "OK" without touching anything else. As explained earlier, it chooses the wrong serial device internally: $ cat /etc/sysconfig/mouse FULLNAME="Generic - 3 Button Mouse (serial)" MOUSETYPE="Microsoft" XEMU3="no" XMOUSETYPE="Microsoft" DEVICE=/dev/ttyS0 Therefore, next time I would reboot or restart X, my mouse wouldn't work any longer. I run redhat-config-mouse again, open the "Serial devices" dialog, change from ttyS0 to ttyS1 and leave with OK. That creates a good config file. Conclusion: Upon starting the tool, it should preselect the DEVICE= found in /etc/sysconfig/mouse and NOT change it unless it performs working h/w device detection or if the users tells it to use a different device. Ok, should be fixed in redhat-config-mouse-1.0.11. Thanks for your report. |