Bug 136674 - Sax2 steals serial ports
Summary: Sax2 steals serial ports
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: SaX2 (show other bugs)
Version: Final
Hardware: x86 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Marcus Schaefer
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-02 13:41 UTC by Roger Oberholtzer
Modified: 2005-12-09 11:43 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
sax files (3.15 KB, application/octet-stream)
2005-12-09 10:55 UTC, Roger Oberholtzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Oberholtzer 2005-12-02 13:41:17 UTC
Sax2 adds serial ports to the X config file, even if they were not there originally. On a system that uses serial ports with something other than the standard serial driver, each time Sax2 saves the X config, root has to edit and remove non-GUI serial ports. Unless this is done, it seems that X likes to take over things like GPS receivers.
Possible solutions are to either not add serial ports that are not already there (probably a different problem), or give the user the chance to exclude serial ports. In that case, serial ports not in the file are not added until the user selects to do so.
Comment 1 Marcus Schaefer 2005-12-02 13:48:22 UTC
sorry I'm pretty sure sax will not add InputDevices which doesn't
exist. If you don't mind call:

 cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
 sax2 -r -a

and send me the automatically generated config and log file:

 /etc/X11/xorg.conf
 /var/log/SaX.log

Additionally you could provide the data from

 hwinfo --mouse
 
Comment 2 Marcus Schaefer 2005-12-09 10:26:41 UTC
no information since 7 days, closed
Comment 3 Roger Oberholtzer 2005-12-09 10:55:04 UTC
Created attachment 60182 [details]
sax files
Comment 4 Roger Oberholtzer 2005-12-09 10:58:26 UTC
I did not know abikut the 7 days. Sorry.

I have run the requested command. Note that the new config file has 8 ttySx references not in the original. The problem is not so much that they do not exist as that, when they do exist, they may be things that the X server has no business messing with. I know for a fact that activity from a GPS receiver confuses the X server, and the only way to stop that is to edit the X config file and remove the lines. Normal users, however, should not be encouraged to edit this file.
Comment 5 Marcus Schaefer 2005-12-09 11:42:41 UTC
Ah now I understand the problem. I tested without the InputDevices
being part of the xorg.conf and it works as expected. I think the
handling has changed here and I will remove the devices now.
Comment 6 Marcus Schaefer 2005-12-09 11:43:45 UTC
fixed