[Bug 310305] New: Patch to fix evdev breaks sax2
https://bugzilla.novell.com/show_bug.cgi?id=310305 Summary: Patch to fix evdev breaks sax2 Product: openSUSE 10.3 Version: Beta 3 Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Blocker Priority: P5 - None Component: SaX2 AssignedTo: ms@novell.com ReportedBy: deanjo@sasktel.net QAContact: qa@suse.de CC: sndirsch@novell.com Found By: Beta-Customer After applying the patch to correct the evdev issue sax2 and sax2 -r is used, sax2 refuses to generate new updated xorg.conf. Even if xorg.conf is removed a new one is never generated. It seems like that no probing is done of the hardware after the patch was applied. The patch fix in question can be found in Bug 262317 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c2
--- Comment #2 from Stefan Dirsch
The patch fix in question can be found in Bug 262317
Comment #43. This hunk. --- /usr/share/sax/profile/logitech-Gaming.orig +++ /usr/share/sax/profile/logitech-Gaming @@ -1,10 +1,11 @@ +!remove InputDevice -> [X] -> Option -> Name !remove InputDevice -> [X] -> Option -> Device +!remove InputDevice -> [X] -> Option -> Protocol InputDevice -> [X] -> Identifier = Mouse[[X]] InputDevice -> [X] -> Driver = evdev -InputDevice -> [X] -> Option -> Protocol = event -InputDevice -> [X] -> Option -> InputFashion = Mouse -InputDevice -> [X] -> Option -> Name = Logitech USB Receiver InputDevice -> [X] -> Option -> SendCoreEvents = on InputDevice -> [X] -> Option -> ZAxisMapping = 4 5 InputDevice -> [X] -> Option -> Buttons = 20 +InputDevice -> [X] -> Option -> Vendor = 0x046d +InputDevice -> [X] -> Option -> Product = 0xc041 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c3
--- Comment #3 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c4
--- Comment #4 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c5
--- Comment #5 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c6
--- Comment #6 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c7
--- Comment #7 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c8
--- Comment #8 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c9
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=310305#c10
--- Comment #10 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c11
--- Comment #11 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305
Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c12
Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c13
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=310305#c14
--- Comment #14 from Stefan Dirsch
No, I don't want to handle this as a blocker. I prefer to work on this one. s/blocker/duplicate
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c15
--- Comment #15 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c16
--- Comment #16 from Stefan Dirsch
The patch removes Name option since it has a completely different meaning for evdev driver than for other input drivers (see man evdev). If this option is required for SaX2 we need to rename this option in the evdev driver. Sorry, I mixed this up with "vendor" option. But there was also something wrong when option "Name" is set (see Bug #262317, comment #108). I need to (re)figure out what ...
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c17
--- Comment #17 from Stefan Dirsch
(X only complained about wrong use of Name option) This was "vendor" option.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c18
--- Comment #18 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c19
--- Comment #19 from Thomas Meindl
https://bugzilla.novell.com/show_bug.cgi?id=310305#c20
--- Comment #20 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c21
--- Comment #21 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c22
--- Comment #22 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c23
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c24
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=310305#c25
--- Comment #25 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c26
--- Comment #26 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c27
--- Comment #27 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c28
--- Comment #28 from Thomas Meindl
https://bugzilla.novell.com/show_bug.cgi?id=310305#c29
--- Comment #29 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c30
--- Comment #30 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c31
--- Comment #31 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c32
--- Comment #32 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c33
--- Comment #33 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c34
--- Comment #34 from Stefan Dirsch
N: Name="Logitech USB Gaming Mouse" Looks fine.
Well it remains broke. Just did a fresh clean install with the Beta 3 DVD and installed the rpm the exact same results. No new xorg.conf written. Could you at least attach /var/log/SaX.log?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c35
--- Comment #35 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c36
--- Comment #36 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c37
Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c38
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c39
--- Comment #39 from Thomas Meindl
https://bugzilla.novell.com/show_bug.cgi?id=310305#c40
--- Comment #40 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c41
--- Comment #41 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c42
--- Comment #42 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c43
--- Comment #43 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c44
--- Comment #44 from Dean Hilkewich
Dean, could you *please* remove the xorg.conf files written by nvidia-xconfig before you do any tests? Thanks.
I always do. I was just posting the xorg.conf written by nvidia-xconfig showing what does work. Non of my issues have been reported using anything but the base install. Upon further investigation, the MX510 does indeed set the correct metamodes upon initial installation if it is used BUT subsequent sax2 sessions write no xorg.conf nor do they pickup the correct metamodes for the monitor. The G5 does not as sax fails upon writing the initial config. So in summary, Fresh install with a MX510 results in the initial successful xorg.conf but any changes through sax2 fail to write a xorg.conf Fresh install with a G5 results in a immediate failure to write a working xorg.conf because of the evdev bug, and sax2 cannot launch. After patching for the G5, sax2 will launch but still does not detect the correct metamodes nor save a xorg.conf. Sooooo after discovering that I then did a fresh web installs of openSUSE 10.3 (X86-64) Beta3plus with the G5 attached. This time upon first attempt to boot to the desktop the monitor starts in a endless loop of attempts to sync with the monitor, you could see the x of the cursor pop up for a second and then it would try again to resync. So I reboot start at runlevel 3 and apply your patches. Good news is that sax2 will again launch after applying the patches but still will not write a xorg.conf. Now what I used to do before is keep a known good xorg.conf laying around and just copy it over to /etc/X11/xorg.conf which was the only way of me getting a functional desktop before. Figuring this would work as well with Beta3plus I did the same thing and copied it over. The result though this time was quite different. Even with the known good xorg.conf in place X still refused to launch. I could never get to the desktop even as I made one final stab at the cat with installing the nvidia blobs and tried using their nvidia-xconfig with the same results. This is really getting me puzzled. The next step I did was once again do another install but this time swapping out the video card for another nvidia series (5200) and replaced the monitor with another multisync crt of different brand and make (Hyundai Deluxscan 5870). The results with the different card and monitor were the EXACTLY the same. I've now done a total of 8 reinstalls since I last posted with different combinations of crt monitors, videocards (even switched heads on the cards as a stab in the dark), motherboards, installation media, patched and unpatched all failing except at least with the Beta3 ISO and previous I could at least copy over a known good xorg.conf and get to the desktop even though sax2 was completely useless. I do believe your latest G5 patches are working at least because after applying them sax2 will at least launch but again it just refuses to write a new xorg.conf. Can someone please do me the favor of trying with the fully patched sax2-ident to save a new xorg.conf while using a multisyc crt monitor? For what it is worth I will attached the xorg that was generated by the installer with Beta3plus. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c45
--- Comment #45 from Stefan Dirsch
Another important test. Remove the line "0x046d : 0xc041 : logitech-Gaming" in /usr/share/sax/sysp/maps/Input.map and post the results. This will give me some important information. Do not forget to attach /var/log/SaX.log. So did you already try this? Can sax2 afterwards write an initial config?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c46
--- Comment #46 from Stefan Dirsch
For what it is worth I will attached the xorg that was generated by the installer with Beta3plus. On Beta3+ sax2 used the "mouse" instead of the "evdev" driver for the G5 mouse.
I still don't understand why SaX2 can't write an initial xorg.conf with G5 in place, but since it also can't rewrite it with a MX510 in place (which does not use evdev at all), this is likely a completely unrelated issue you are observing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c47
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=310305#c48
--- Comment #48 from Thomas Meindl
https://bugzilla.novell.com/show_bug.cgi?id=310305#c49
--- Comment #49 from Thomas Meindl
https://bugzilla.novell.com/show_bug.cgi?id=310305#c50
--- Comment #50 from Thomas Meindl
Sooooo after discovering that I then did a fresh web installs of openSUSE 10.3 (X86-64) Beta3plus with the G5 attached. This time upon first attempt to boot to the desktop the monitor starts in a endless loop of attempts to sync with the monitor, [...]
If your attached xorg.conf Beta3plus was the used configuration for this behaviour, then evdev & G5 haven't anything to do with it, because it uses the old classical mouse setup. Also please don't forget comment #43 From Stefan Dirsch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c51
--- Comment #51 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c52
--- Comment #52 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c53
--- Comment #53 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c54
--- Comment #54 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c55
--- Comment #55 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c56
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=310305#c57
--- Comment #57 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c58
--- Comment #58 from Thomas Meindl
https://bugzilla.novell.com/show_bug.cgi?id=310305#c59
--- Comment #59 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c60
--- Comment #60 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c61
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c62
--- Comment #62 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c63
Stefan Dirsch
... I was able to successfully complete the second stage of install, but alas Sax still does not work right. After the initial xorg.conf is written in stage 2, xorg does boot up but timing issues with multisyc CRT's still are there (scrambled video out upon first boot to desktop) and Sax still refuses to give a complete resolution settings. I no longer think this is a result of evdev but is a bug that just appeared after the evdev bug was cured with patching (although the left and right are reversed on tilt wheel with evdev).
The sax2 generated xorg (attachment xorg.conf.initialstage2) results in a scrambled screen because of timings.
This is a configuration for a 1600x1200 resolution.
Then when a reboot to init 3 is done and a sax2 -r is done it gives a xorg.conf file that is completely wrong in metamodes and subsequent runnings of sax2 changes no enteries nor writes a new xorg.conf file. (attachment xorg.conf.sax)
No Metamodes in there. Just Modelines for 1280x1024 and below. Default resolution is 1280x1024.
A handmade xorg.conf will work fine (attachment xorg.conf.works) but even that does not allow sax to recreate a new xorg.conf when ran and still does not allow proper resolution selection in sax2.
No resolution given at all in this config. [...] HorizSync 30.0 - 110.0 VertRefresh 50.0 - 150.0 You can be lucky you got the right resolution with acceptable timings. BTW, I don't know your preferred resolution. And there are no logfiles attached either. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c64
--- Comment #64 from Dean Hilkewich
(In reply to comment #57 from Dean Hilkewich)
This is a configuration for a 1600x1200 resolution.
Yes but the modelines are completely out of whack.
No Metamodes in there. Just Modelines for 1280x1024 and below. Default resolution is 1280x1024.
Sorry I did mean modeslines, default is set to 1280x1024 but cannot be changed at all with sax. Previous releases of opensuse allowed me to select 1600x1200 which is the preferred setting
No resolution given at all in this config.
[...] HorizSync 30.0 - 110.0 VertRefresh 50.0 - 150.0
You can be lucky you got the right resolution with acceptable timings. BTW, I don't know your preferred resolution. And there are no logfiles attached either.
Then I've been lucky on many machines as timings are dead on every system I have tried with this xorg.conf with a full range of working resolutions from 320x240 to 1600x1200. Auto-select has worked perfectly on every machine tested. If attaching of logs is what you wish then a updated delta iso for the dvd's is required as I'm not willing to do multiple reinstalls anymore as the PITA factor of not being able to easy continue to stage 2 of the install with the current RC1 iso release. Here are my xorg99 and sax log. Yes, I am now using the nvidia blob but it is not a nvidia blob issue as it's the same results with the nv driver. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=310305#c65
--- Comment #65 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c66
--- Comment #66 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c67
--- Comment #67 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c68
--- Comment #68 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c69
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305#c70
--- Comment #70 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c71
--- Comment #71 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305#c72
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=310305#c73
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=310305
User deanjo@sasktel.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=310305#c74
--- Comment #74 from Dean Hilkewich
https://bugzilla.novell.com/show_bug.cgi?id=310305
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=310305#c75
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com