HTC Shift X9500 Touchscreen/Lupu 528 Issues

Using applications, configuring, problems
Post Reply
Message
Author
jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

HTC Shift X9500 Touchscreen/Lupu 528 Issues

#1 Post by jakfish »

Hello, All,

Lupu 528 is one of the few puppy distros that gives OOTB proper screen resolution (800x480, vesa) and an uncalibrated touchscreen for a HTC Shift X9500 umpc.

Lupu 528 comes with already-modprobed module htcpen. Upon boot, I have touch capability but no calibration. Lupu 528 also doesn't have xinput installed so xinput-calibrator doesn't work.

For Ubuntu 8.04, from this site http://pof.eslack.org/2008/04/14/linux-on-htc-shift/ the touch screen works via his "easy install" His "easy install" inserts this xorg file in Hardy 8.04 (this xorg crashes lupu):

# xorg.conf (X.Org X Window System server configuration file)
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" LAYOUT
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "SHMConfig" "on"
EndSection

Section "InputDevice"
Identifier "htcpen"
Driver "egalax"
Option "Device" "/dev/input/event_htcpen"
Option "Parameters" "/var/lib/egalax.cal"
Option "ScreenNo" "0"
Endsection

Section "InputDevice"
Identifier "gsensor"
Driver "joystick"
Option "Device" "/dev/input/js0"
# Option "MapAxis1" "mode=relative axis=+2.0x deadzone=1000"
# Option "MapAxis2" "mode=relative axis=+2.8y deadzone=1000"

EndSection

Section "InputDevice"
Identifier "dummy"
Driver "void"
Option "Device" "/dev/input/mice"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
InputDevice "htcpen" "CorePointer"
InputDevice "gsensor"
InputDevice "dummy"
EndSection


Also, gleaning from a later thread, for Xubuntu 14.04, WITHOUT using his xorg file, I have merely created directory /etc/x11/xorg.conf.d and inserted this 99-calibration.conf:

Section "InputClass"
Identifier "calibration"
MatchProduct "HTC Shift EC TouchScreen"
Option "Calibration" "41 1996 1962 89"
Option "SwapAxes" "0"
EndSection

So for Xubuntu 14.04, I also have proper calibration. I have also used this 99-calibration.conf, and no xorg, for successful calibration for the current Proteus.

As you can see in the Ubuntu 8.04 xorg, it calls for the egalax driver, which is not available in lupu.

Is that a problem, and if so, is there another replacement for egalax? I can live without a calibrator as long as I can get the 99-calibration.conf working.

Any help would be much appreciated,
Jake

Post Reply