Where's my X cursor?
I'm having troubles with the latest Xorg server. I have a system which has a small display (320x240) with a touch screen. When I bring up X, there is no mouse pointer, even if my touch screen is disabled [in the kernel] and I have a "normal" (USB) mouse attached.
I have a second system which is very similar, but it has a larger display (800x600) and everything works as expected.
Any ideas?
Note: I know in times past, X could have a larger virtual display than the physical one and you could pan around. Is this still possible? How?
Thanks
n.b. this is all preliminary to finding another problem; my touch screen works fine using SDL and QT, but not X. If I could just see the mouse pointer, maybe I could get a clue why.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 4 lines · Gary Thomas
I'm having troubles with the latest Xorg server. I have a system which has a small display (320x240) with a touch screen. When I bring up X, there is no mouse pointer, even if my touch screen is disabled [in the kernel] and I have a "normal" (USB) mouse attached.
Your machine configuration (/etc/formfactor/machconfig) probably says HAVE_TOUCHSCREEN=1, which results in the X init scripts disabling the cursor. Remove that line, comment it out with a #, or set it to 0, and the cursor should be visible on the next boot.
Ross
Quoted 10 lines · Ross
Quoted 4 lines · Gary Thomas
I'm having troubles with the latest Xorg server. I have a system which has a small display (320x240) with a touch screen. When I bring up X, there is no mouse pointer, even if my touch screen is disabled [in the kernel] and I have a "normal" (USB) mouse attached.
Your machine configuration (
/etc/formfactor/machconfig) probably says HAVE_TOUCHSCREEN=1, which results in the X init scripts disabling the cursor. Remove that line, comment it out with a #, or set it to 0, and the cursor should be visible on the next boot.
Duh, I should have thought of that. What program/script uses that file? I ask because the code in /etc/X11/Xserver explicitly does not if the server is Xorg (if I'm reading things correctly).
Also, any pointers on how to debug the touch screen? As I said, it works fine with SDL and Qt, but with X, it seems to go 100% backwards from what I want, i.e. touch left moves the cursor right, etc.
Thanks
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------