[Bug 638180] New: xorg-server: eGalax touchscreen ServerLayout
https://bugzilla.novell.com/show_bug.cgi?id=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c0 Summary: xorg-server: eGalax touchscreen ServerLayout Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: Beta-Customer Blocker: --- I have an eGalax Touchscreen device which works as desired when having a /etc/X11/xorg.conf, but does not so when just using /etc/X11/xorg.conf.d. It seems that the ServerLayout section in xorg.conf is strictly required - but there seems no way to put the ServerLayout into an xorg.conf.d file without causing "No screens found". -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c1 --- Comment #1 from Jan Engelhardt <jengelh@medozas.de> 2010-09-09 11:08:48 UTC --- Created an attachment (id=388535) --> (http://bugzilla.novell.com/attachment.cgi?id=388535) lsusb output -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c2 --- Comment #2 from Jan Engelhardt <jengelh@medozas.de> 2010-09-09 11:09:41 UTC --- Created an attachment (id=388537) --> (http://bugzilla.novell.com/attachment.cgi?id=388537) /etc/X11/xorg.conf as generated by `X -configure` -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c3 --- Comment #3 from Jan Engelhardt <jengelh@medozas.de> 2010-09-09 11:12:00 UTC --- Created an attachment (id=388538) --> (http://bugzilla.novell.com/attachment.cgi?id=388538) /var/log/Xorg.0.log when using no extra ServerLayout, just 91-egalaxy.conf -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c4 --- Comment #4 from Jan Engelhardt <jengelh@medozas.de> 2010-09-09 11:13:10 UTC --- Created an attachment (id=388539) --> (http://bugzilla.novell.com/attachment.cgi?id=388539) /var/log/Xorg.0.log when using the generated xorg.conf -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c5 --- Comment #5 from Jan Engelhardt <jengelh@medozas.de> 2010-09-09 11:13:54 UTC --- Created an attachment (id=388540) --> (http://bugzilla.novell.com/attachment.cgi?id=388540) /etc/X11/xorg.conf.d/91-egalaxy.conf -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c6 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |sndirsch@novell.com |ovo.novell.com | --- Comment #6 from Stefan Dirsch <sndirsch@novell.com> 2010-09-09 12:07:37 UTC --- (In reply to comment #5)
Created an attachment (id=388540) --> (http://bugzilla.novell.com/attachment.cgi?id=388540) [details] /etc/X11/xorg.conf.d/91-egalaxy.conf
Section "InputDevice" Identifier "EETI" Driver "egalax" Option "Device" "usbauto" Option "Parameters" "/var/lib/eeti.param" Option "ScreenNo" "0" EndSection
I believe that cannot work. Instead I would try to let it match via "MatchProduct" keyword. Just as a hint: cat /proc/bus/input/devices |grep "N: Name" string --> "MatchProduct" Example for a xorg.conf.d snippet, which is already using "MatchProduct". also done for evdev -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c7 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |jengelh@medozas.de --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2010-09-09 12:11:11 UTC --- (In reply to comment #6)
also done for evdev
Please forget about that comment. Also let me know when you need any help. -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c8 --- Comment #8 from Stefan Dirsch <sndirsch@novell.com> 2010-09-09 12:16:36 UTC --- Something like this. Section "InputDevice" Identifier "EETI" # figure out <whatever> with # 'cat /proc/bus/input/devices |grep "N: Name"' MatchProduct "<whatever>" MatchDevicePath "/dev/input/event*" Driver "egalax" Option "Device" "usbauto" Option "Parameters" "/var/lib/eeti.param" Option "ScreenNo" "0" EndSection I guess this needs to be in a file read before evdev driver matches, e.g. 05-egalax.conf. Hope this helps. -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c9 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|jengelh@medozas.de | --- Comment #9 from Jan Engelhardt <jengelh@medozas.de> 2010-09-09 12:46:22 UTC --- Parse error: "MatchProduct" is not a valid keyword in this section. -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c10 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |jengelh@medozas.de --- Comment #10 from Stefan Dirsch <sndirsch@novell.com> 2010-09-09 12:58:50 UTC --- (In reply to comment #9)
Parse error: "MatchProduct" is not a valid keyword in this section.
Sorry, needs to be: Section "InputClass" Identifier "EETI" # figure out <whatever> with # 'cat /proc/bus/input/devices |grep "N: Name"' MatchProduct "<whatever>" MatchDevicePath "/dev/input/event*" Driver "egalax" Option "Device" "usbauto" Option "Parameters" "/var/lib/eeti.param" Option "ScreenNo" "0" EndSection -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c11 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|jengelh@medozas.de | --- Comment #11 from Jan Engelhardt <jengelh@medozas.de> 2010-09-09 13:05:43 UTC --- With InputDevice -> InputClass, the mouse pointer is not moving by touching the screen. The ProductName is correct, because if I change it to something that certainly does not match the device, touching the screen will put the mouse pointer into the top left corner (always) - seems this is evdev's doing. -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c12 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #388538|0 |1 is obsolete| | --- Comment #12 from Jan Engelhardt <jengelh@medozas.de> 2010-09-09 13:06:22 UTC --- Created an attachment (id=388598) --> (http://bugzilla.novell.com/attachment.cgi?id=388598) Xorg.0.log from just now -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c13 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |jengelh@medozas.de --- Comment #13 from Stefan Dirsch <sndirsch@novell.com> 2010-09-09 13:45:13 UTC --- Honestly no idea what's still missing here. Maybe the geometry options? Option "MinX" "0" Option "MaxX" "1280" Option "MinY" "0" Option "MaxY" "1024" -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c14 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|jengelh@medozas.de | --- Comment #14 from Jan Engelhardt <jengelh@medozas.de> 2010-09-10 10:07:37 UTC --- Nope, adding them does not change it. Perhaps the InputClass is not turned into an appropriate InputDevice section internally? -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c15 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX --- Comment #15 from Stefan Dirsch <sndirsch@novell.com> 2010-09-10 10:25:02 UTC --- (In reply to comment #14)
Nope, adding them does not change it. Perhaps the InputClass is not turned into an appropriate InputDevice section internally?
Then it wouldn't work for synaptics, evdev, wacom either. They all use this mechanism. I'm afraid I'm no longer of help at that point. I can give you some references I've collected, but that's all I can do for you at the moment. - https://wiki.ubuntu.com/X/Config - http://fedoraproject.org/wiki/Input_device_configuration - http://who-t.blogspot.com/2010/01/new-configuration-world-order.html - http://wiki.debian.org/XStrikeForce/InputHotplugGuide - xorg-server 1.8/udev * /sbin/udevd -V * udevadm test /class/input/eventX * udevadm info -e | grep ID_INPUT (KEYBOARD, MOUSE, KEY, TOUCHPAD, ...) * Does re-plugging the input devices makes them appear? If they can't be removed/connected, try: udevadm trigger -v --subsystem-match=input * cat /proc/bus/input/devices |grep "N: Name" string --> "MatchProduct" Also we neither ship the egalax driver nor do we have any hardware for testing available. In case you manage to get such a xorg.conf.d based configuration running, please let me know. For now closing as WONTFIX. -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c16 --- Comment #16 from Jan Engelhardt <jengelh@medozas.de> 2010-09-10 10:56:16 UTC --- I notice that 11-mouse.conf from openSUSE also contains an InputClass section for egalax already. Should that not be before evdev? I tried to run Xorg -configure, but that threw a SIGSEGV. Which is strange because just Xorg starts X. (It did write /root/xorg.conf.new however.) With or without 05-egalaxy.conf being present, this xorg.conf.new is missing the section Section "InputDevice" .. EndSection Could that hint towards Xorg not actually finding the device in the first place?
udevd -V udevd 157.
udevadm test (attachment)
udevadm info -e | grep ID_INPUT (KEYBOARD, MOUSE, KEY, TOUCHPAD, ...)
Outputs ID_INPUT_TABLET. Perhaps that's the issue, that it was assumed to be pointer/touchscreen in Xorg rather than a tablet in Xorg?
Does re-plugging the input devices makes them appear?
Hm? The device already appears in /dev/input/by-id/ (it's an usbhid device), so that seems ok. -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c17 --- Comment #17 from Jan Engelhardt <jengelh@medozas.de> 2010-09-10 11:00:55 UTC --- Created an attachment (id=388820) --> (http://bugzilla.novell.com/attachment.cgi?id=388820) udevadm test -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c18 --- Comment #18 from Jan Engelhardt <jengelh@medozas.de> 2010-09-10 11:03:18 UTC --- Hm, removing this line MatchDevicePath "/dev/input/event*" made the xorg.conf.d variant work... -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c19 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #19 from Jan Engelhardt <jengelh@medozas.de> 2010-09-10 11:12:17 UTC --- Steps to take to make it work with plain openSUSE 11.3: * Move EETI InputClass from 11-mouse.conf to before evdev * 'MatchVendor "0eef"' seems to not work, commented out * 'MatchProduct "0001"' seems to not work, replaced by 'MatchProduct "eGalax Inc. USB TouchController"'. Note that the matchproduct seems to require the Vendor name in it. (This was derived from the N: <Name> anyway) * 'MatchIsPointer "on"' is false as the device seems to decare itself as a touchpad * Option Paramaters /var/lib/eti.param needs to read *eeti.param* not *eti.param*. Section "InputClass" Identifier "EETI" MatchProduct "eGalax Inc. USB TouchController" Driver "egalax" Option "Device" "usbauto" Option "Parameters" "/var/lib/eeti.param" Option "ScreenNo" "0" Option MinX/MaxX/etc. EndSection Is the functional xorg.conf.d variant. I think xorg-x11-driver-input should be adjusted. -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c20 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |jengelh@medozas.de --- Comment #20 from Stefan Dirsch <sndirsch@novell.com> 2010-09-10 11:49:03 UTC --- (In reply to comment #16)
I notice that 11-mouse.conf from openSUSE also contains an InputClass section for egalax already. Should that not be before evdev?
We don't have any egaly inputclass section entry in our 11-mouse.conf file. Could it be that your egalax driver package/installation added this entry to this file? (In reply to comment #18)
Hm, removing this line
MatchDevicePath "/dev/input/event*"
made the xorg.conf.d variant work...
Weird. I thought I would have seen in your attached Xorg.0.log file that the egalax device has been appeared as /dev/input/event5. Maybe no longer. At least for synaptics this line doesn't hurt. Before we add such an entry for egalax driver, I would like to know, where you've found this driver (reference to the tarball or whatever). I'm not sure whether it makes sense to add this entry without also adding the 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c21 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|jengelh@medozas.de | --- Comment #21 from Jan Engelhardt <jengelh@medozas.de> 2010-09-10 11:59:14 UTC ---
We don't have any egaly inputclass section entry in our 11-mouse.conf file. Could it be that your egalax driver package/installation added this entry to this file?
Dang, I thought "zypper in -f xorg-x11-driver-input" would reset the file, but it seems it did not. You are correct, the egalax setup.sh must have added it.
Weird. I thought I would have seen in your attached Xorg.0.log file that the egalax device has been appeared as /dev/input/event5.
Yes, indeed it appears as /dev/input/event<number> (depends on when it's plugged in of course). I don't immediately see why having a MatchDevicePath would make it stop working.
where you've found this driver (reference to the tarball or whatever).
If the entry did not come with suse, there is no point in adding it either. http://home.eeti.com.tw/web20/eg/drivers.htm It's got a stupid EULA. As always. -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c22 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #22 from Stefan Dirsch <sndirsch@novell.com> 2010-09-10 12:25:04 UTC --- (In reply to comment #21)
We don't have any egaly inputclass section entry in our 11-mouse.conf file. Could it be that your egalax driver package/installation added this entry to this file?
Dang, I thought "zypper in -f xorg-x11-driver-input" would reset the file, but it seems it did not. You are correct, the egalax setup.sh must have added it.
11-mouse.conf is tagged as %config (in the specfile), so it depends if it is overwritten or not. --> http://www-uxsup.csx.cam.ac.uk/~jw35/docs/rpm_config.html
Yes, indeed it appears as /dev/input/event<number> (depends on when it's plugged in of course). I don't immediately see why having a MatchDevicePath would make it stop working.
Me not either. :-(
where you've found this driver (reference to the tarball or whatever).
If the entry did not come with suse, there is no point in adding it either.
Right.
http://home.eeti.com.tw/web20/eg/drivers.htm It's got a stupid EULA. As always.
Yes, with such an EULA we simply cannot ship that driver. Can't you contact them about that issue, so they can fix that issue for a future release. It seems driver development isn't dead yet (latest driver release: 2010/09/07). All in all this bugreport has become INVALID. Still I guess both parties have learned a lot, which I always appreciate. :-) -- 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=638180 https://bugzilla.novell.com/show_bug.cgi?id=638180#c Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED -- 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.
participants (1)
-
bugzilla_noreply@novell.com