X and Fluxbox :: touchscreen device and driver
All,
First of all i am running DSL 1.0 on a small pc with kybd mouse and touch screen.. It works through the serial port BUT requires a specific driver to utilize it
Getting this driver to work nomal knoppix and mandrake is simple. but i am having some issue in DSL ..
The directions confuse me on DSL for a few reasons.
1) there is no /etc/X11/XF86Config-4 file
2) There is no /usr/X11R6/lib/modules/input dir
I have created them and installed the driver according to the instructions but cant get them to work in dsl. I know the device works cause it's ine in mandrake and knoppix.
Does anyone have some advice to get this running.
I included the instructions so you can see what i'm trying to do
thanks in advance..
Here is what the manual says for install:
". Edit the XF86Configuration file:
Typically found under /etc/XF86Config or /etc/X11/XF86Config or optionally
named XF86Config-4.
Add or modify the following:
a. Add in the ServerLayout section:
Under Section "ServerLayout" add the following:
InputDevice "touchscreen[1]" "AlwaysCore"
b. Setup the InputDevice
1. A good place to create this sections is after Mouse section
2. Add the following:
Section "InputDevice"
Identifier "touchscreen[1]"
Driver "tsharc"
Option "Device" "/dev/ttyS0"
Option "TSHARCBaud" "9600"
Option "TSHARCType" "12"
Option "TSHARCPS2" "0"
Option "TSHARCBUS" "0"
Option "ScreenNumber" "0"
Option "ButtonNumber" "1"
Option "AlwaysCore"
EndSection
Where:
Device: - the port the TSHARC controller is
connected to
/dev/psaux - ps/2 port
/dev/ttyS0 - COM1
/dev/ttyS1 - COM2
/dev/ttyS2 - COM3
etc.
TSHARCBaud - the TSHARC controller baudrate:
2400
4800
9600
19200
Note TSHARC-8 uses only 2400. TSHARC-12
can use all 4 baud rates, but they are
jumper selectable
TSHARCType - TSHARC controller type:
8 - for TSHARC-8
12 - for TSHARC-12
TSHARCPS2 - Set to 0 if not PS/2, set to 1 if
PS/2
TSHARCBUS - Set to 0 if not BUS, set to 1 if
BUS
AlwaysCore - Use this option if you wish the touch
screen to Function when X starts. This will
also allow simultaneous use of the touch
screen and a mouse assuming a mouse is
installed.
4. Save the modified XF86Config file
5. Start the X-Windows manager, type startx or reboot
6. If AlwaysCore is not defined you can start the touch screen in an
Xterminal by typing "xsetpointer TSHARC". You can revert back to the
normal pointer by typing in an Xterminal "xsetpointer pointer".
Or you can see what pointers are available by typing in an Xterminal
"xsetpointer -l".
7. The touch screen should now be functioning.
8. Refer to the calibration section for details on how to calibrate the
touch screen to your display.
**********************************************************************************
3. Installation of the TSHARC USB xfree86 driver for xfree86 version 4.x
1. Verify that your Xfree86 X-Windows manager is operating correctly.
2. Copy the TSHARC driver (tsharc_drv.o) to the modules directory:
Typically under /usr/X11R6/lib/modules/input
3. Edit /etc/hotplug/usb.handmap
Add the following line to the end of the file:
evdev 0x0003 0x07dd 0x0001 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
4. Reboot
5. Find out which Event Device the Touch Screen Controller is using:
(NOTE: root access required)
a. enter "cat /dev/input/event0"
original here.