You are not logged in.

#1 2011-09-09 17:42:47

arii
Member
Registered: 2011-09-09
Posts: 3

[SOLVED] eGalax TouchScreen Drivers with Kernel 3.0.0

http://home.eeti.com.tw/web20/eGalaxTou … Driver.htm, using 2.6.x drivers, and my x-server which is 1.10.0 seems to install fine, but the touch does not work. 


I've also changed up the install script a bit to install into /etc/X11/xorg.conf.d and the output was:
I don't have an xorg.conf as I use xorg.conf.d for everything.

Section "InputClass"
	Identifier "eGalax pointer class"
	MatchProduct "eGalax Inc.|Touchkit|eGalax_eMPIA Technology Inc."
	MatchIsPointer "on"
	MatchDevicePath "/dev/input/event*"
	Driver "egalax"
	Option "Device" "usbauto"
	Option "Parameters" "/var/lib/eeti.param"
	Option "ScreenNo" "0"
EndSection

Section "InputClass"
	Identifier "eGalax keyboard class"
	MatchProduct "eGalax Inc.|Touchkit|eGalax_eMPIA Technology Inc."
	MatchIsKeyboard "on"
	MatchDevicePath "/dev/input/event*"
	Driver "void"
EndSection

Section "InputClass"
	Identifier "eGalax touchpad class"
	MatchProduct "eGalax Inc.|Touchkit|eGalax_eMPIA Technology Inc."
	MatchIsTouchpad "on"
	MatchDevicePath "/dev/input/event*"
	Driver "void"
EndSection

Section "InputClass"
	Identifier "eGalax tablet class"
	MatchProduct "eGalax Inc.|Touchkit|eGalax_eMPIA Technology Inc."
	MatchIsTablet "on"
	MatchDevicePath "/dev/input/event*"
	Driver "void"
EndSection

Section "InputClass"
	Identifier "eGalax touchscreen class"
	MatchProduct "eGalax Inc.|Touchkit|eGalax_eMPIA Technology Inc."
	MatchIsTouchscreen "on"
	MatchDevicePath "/dev/input/event*"
	Driver "void"
EndSection

Section "InputClass"
	Identifier "eGalax mouse class"
	MatchProduct "eGalax Inc.|Touchkit|eGalax_eMPIA Technology Inc.|eGalaxTouch Virtual Device"
	MatchDevicePath "/dev/input/mouse*"
	Driver "void"
EndSection

Section "InputClass"
	Identifier "eGalax joystick class"
	MatchProduct "eGalax Inc.|Touchkit|eGalaxTouch Virtual Device"
	MatchDevicePath "/dev/input/js*"
	Driver "void"
EndSection

The calibration tool that comes with the driver runs, and apparently detects the touch screen at /dev/hidraw0

The output for lusb is:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen

The output for X log is:

[   192.820] (II) Initializing built-in extension Generic Event Extension
[   192.820] (II) Initializing built-in extension SHAPE
[   192.820] (II) Initializing built-in extension MIT-SHM
[   192.820] (II) Initializing built-in extension XInputExtension
[   192.820] (II) Initializing built-in extension XTEST
[   192.820] (II) Initializing built-in extension BIG-REQUESTS
[   192.820] (II) Initializing built-in extension SYNC
[   192.820] (II) Initializing built-in extension XKEYBOARD
[   192.820] (II) Initializing built-in extension XC-MISC
[   192.820] (II) Initializing built-in extension SECURITY
[   192.820] (II) Initializing built-in extension XINERAMA
[   192.820] (II) Initializing built-in extension XFIXES
[   192.820] (II) Initializing built-in extension RENDER
[   192.820] (II) Initializing built-in extension RANDR
[   192.821] (II) Initializing built-in extension COMPOSITE
[   192.821] (II) Initializing built-in extension DAMAGE
[   192.846] (II) AIGLX: Screen 0 is not DRI2 capable
[   192.846] (II) AIGLX: Screen 0 is not DRI capable
[   193.228] (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/swrast_dri.so
[   193.228] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   193.961] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[   193.961] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   193.961] (II) LoadModule: "evdev"
[   193.962] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   193.975] (II) Module evdev: vendor="X.Org Foundation"
[   193.975] 	compiled for 1.10.0, module version = 2.6.0
[   193.975] 	Module class: X.Org XInput Driver
[   193.975] 	ABI class: X.Org XInput driver, version 12.2
[   193.975] (II) Using input driver 'evdev' for 'Power Button'
[   193.975] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   193.975] (**) Power Button: always reports core events
[   193.975] (**) Power Button: Device: "/dev/input/event4"
[   193.975] (--) Power Button: Found keys
[   193.975] (II) Power Button: Configuring as keyboard
[   193.975] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[   193.975] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[   193.975] (**) Option "xkb_rules" "evdev"
[   193.975] (**) Option "xkb_model" "evdev"
[   193.975] (**) Option "xkb_layout" "us"
[   194.067] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   194.067] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   194.067] (II) Using input driver 'evdev' for 'Power Button'
[   194.067] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   194.067] (**) Power Button: always reports core events
[   194.067] (**) Power Button: Device: "/dev/input/event3"
[   194.067] (--) Power Button: Found keys
[   194.067] (II) Power Button: Configuring as keyboard
[   194.067] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3/event3"
[   194.067] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[   194.067] (**) Option "xkb_rules" "evdev"
[   194.067] (**) Option "xkb_model" "evdev"
[   194.067] (**) Option "xkb_layout" "us"
[   194.073] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event7)
[   194.073] (II) No input driver/identifier specified (ignoring)
[   194.074] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event8)
[   194.074] (II) No input driver/identifier specified (ignoring)
[   194.080] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/event0)
[   194.080] (**) eGalax Inc. USB TouchController: Applying InputClass "evdev pointer catchall"
[   194.080] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax pointer class"
[   194.080] (II) LoadModule: "egalax"
[   194.081] (II) Loading /usr/lib/xorg/modules/input/egalax_drv.so
[   194.143] (II) Module egalax: vendor="X.Org Foundation"
[   194.143] 	compiled for 1.10.0, module version = 3.6.0
[   194.143] 	Module class: X.Org XInput Driver
[   194.143] 	ABI class: X.Org XInput driver, version 12.2
[   194.143] (II) Using input driver 'egalax' for 'eGalax Inc. USB TouchController'
[   194.143] (II) Loading /usr/lib/xorg/modules/input/egalax_drv.so
[   194.143] (**) eGalax Inc. USB TouchController: always reports core events
[   194.143] (**) egalax X device name: eGalaxTouch Controller
[   194.145] (II) HID Touch Controller @ /dev/hidraw0 
[   194.145] (**) Option "ScreenNo" "0"
[   194.146] (**) egalax associated screen: 0
[   194.146] (**) egalaxParameter=/var/lib/eeti.param
[   194.153] (**) egalax:Use Defualt Sound Device:/dev/audio
[   194.153] (**) egalax Rotation option is enabled.
[   194.153] (**) egalax USBPnP option is enabled.
[   194.153] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input0/event0"
[   194.153] (II) XINPUT: Adding extended input device "eGalaxTouch Controller" (type: TOUCHSCREEN)
[   194.154] (**) eGalaxTouch Controller: (accel) keeping acceleration scheme 1
[   194.154] (**) eGalaxTouch Controller: (accel) acceleration profile 0
[   194.154] (**) eGalaxTouch Controller: (accel) acceleration factor: 2.000
[   194.154] (**) eGalaxTouch Controller: (accel) acceleration threshold: 4
[   194.155] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/js0)
[   194.155] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax joystick class"
[   194.155] (II) LoadModule: "void"
[   194.156] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[   194.156] (II) Module void: vendor="X.Org Foundation"
[   194.156] 	compiled for 1.10.1, module version = 1.4.0
[   194.156] 	Module class: X.Org XInput Driver
[   194.157] 	ABI class: X.Org XInput driver, version 12.2
[   194.157] (II) Using input driver 'void' for 'eGalax Inc. USB TouchController'
[   194.157] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[   194.157] (**) eGalax Inc. USB TouchController: always reports core events
[   194.157] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input0/js0"
[   194.157] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type: Void)
[   194.157] (**) eGalax Inc. USB TouchController: (accel) keeping acceleration scheme 1
[   194.157] (**) eGalax Inc. USB TouchController: (accel) acceleration profile 0
[   194.157] (**) eGalax Inc. USB TouchController: (accel) acceleration factor: 2.000
[   194.157] (**) eGalax Inc. USB TouchController: (accel) acceleration threshold: 4
[   194.158] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/mouse0)
[   194.158] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax mouse class"
[   194.158] (II) Using input driver 'void' for 'eGalax Inc. USB TouchController'
[   194.158] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[   194.159] (**) eGalax Inc. USB TouchController: always reports core events
[   194.159] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input0/mouse0"
[   194.159] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type: Void)
[   194.159] (**) eGalax Inc. USB TouchController: (accel) keeping acceleration scheme 1
[   194.159] (**) eGalax Inc. USB TouchController: (accel) acceleration profile 0
[   194.159] (**) eGalax Inc. USB TouchController: (accel) acceleration factor: 2.000
[   194.159] (**) eGalax Inc. USB TouchController: (accel) acceleration threshold: 4
[   194.160] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/event1)
[   194.160] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax tablet class"
[   194.161] (II) Using input driver 'void' for 'eGalax Inc. USB TouchController'
[   194.161] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[   194.161] (**) eGalax Inc. USB TouchController: always reports core events
[   194.161] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input1/event1"
[   194.161] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type: Void)
[   194.161] (**) eGalax Inc. USB TouchController: (accel) keeping acceleration scheme 1
[   194.161] (**) eGalax Inc. USB TouchController: (accel) acceleration profile 0
[   194.161] (**) eGalax Inc. USB TouchController: (accel) acceleration factor: 2.000
[   194.161] (**) eGalax Inc. USB TouchController: (accel) acceleration threshold: 4
[   194.162] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/mouse1)
[   194.162] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax mouse class"
[   194.162] (II) Using input driver 'void' for 'eGalax Inc. USB TouchController'
[   194.162] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[   194.163] (**) eGalax Inc. USB TouchController: always reports core events
[   194.163] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input1/mouse1"
[   194.163] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type: Void)
[   194.163] (**) eGalax Inc. USB TouchController: (accel) keeping acceleration scheme 1
[   194.163] (**) eGalax Inc. USB TouchController: (accel) acceleration profile 0
[   194.163] (**) eGalax Inc. USB TouchController: (accel) acceleration factor: 2.000
[   194.163] (**) eGalax Inc. USB TouchController: (accel) acceleration threshold: 4
[   194.166] (II) config/udev: Adding input device USB USB Keykoard (/dev/input/event2)
[   194.166] (**) USB USB Keykoard: Applying InputClass "evdev keyboard catchall"
[   194.166] (II) Using input driver 'evdev' for 'USB USB Keykoard'
[   194.166] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   194.166] (**) USB USB Keykoard: always reports core events
[   194.166] (**) USB USB Keykoard: Device: "/dev/input/event2"
[   194.166] (--) USB USB Keykoard: Found keys
[   194.166] (II) USB USB Keykoard: Configuring as keyboard
[   194.166] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb4/4-1/4-1:1.0/input/input2/event2"
[   194.166] (II) XINPUT: Adding extended input device "USB USB Keykoard" (type: KEYBOARD)
[   194.167] (**) Option "xkb_rules" "evdev"
[   194.167] (**) Option "xkb_model" "evdev"
[   194.167] (**) Option "xkb_layout" "us"
[   194.169] (II) config/udev: Adding input device USB USB Keykoard (/dev/input/event9)
[   194.169] (**) USB USB Keykoard: Applying InputClass "evdev keyboard catchall"
[   194.169] (II) Using input driver 'evdev' for 'USB USB Keykoard'
[   194.169] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   194.169] (**) USB USB Keykoard: always reports core events
[   194.169] (**) USB USB Keykoard: Device: "/dev/input/event9"
[   194.169] (--) USB USB Keykoard: Found 1 mouse buttons
[   194.169] (--) USB USB Keykoard: Found scroll wheel(s)
[   194.169] (--) USB USB Keykoard: Found relative axes
[   194.169] (--) USB USB Keykoard: Found absolute axes
[   194.169] (--) USB USB Keykoard: Found keys
[   194.169] (II) USB USB Keykoard: Configuring as mouse
[   194.170] (II) USB USB Keykoard: Configuring as keyboard
[   194.170] (II) USB USB Keykoard: Adding scrollwheel support
[   194.170] (**) USB USB Keykoard: YAxisMapping: buttons 4 and 5
[   194.170] (**) USB USB Keykoard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   194.170] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb4/4-1/4-1:1.1/input/input9/event9"
[   194.170] (II) XINPUT: Adding extended input device "USB USB Keykoard" (type: KEYBOARD)
[   194.170] (**) Option "xkb_rules" "evdev"
[   194.170] (**) Option "xkb_model" "evdev"
[   194.170] (**) Option "xkb_layout" "us"
[   194.170] (EE) USB USB Keykoard: failed to initialize for relative axes.
[   194.171] (II) USB USB Keykoard: initialized for absolute axes.
[   194.171] (**) USB USB Keykoard: (accel) keeping acceleration scheme 1
[   194.171] (**) USB USB Keykoard: (accel) acceleration profile 0
[   194.171] (**) USB USB Keykoard: (accel) acceleration factor: 2.000
[   194.171] (**) USB USB Keykoard: (accel) acceleration threshold: 4
[   194.185] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event6)
[   194.185] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[   194.185] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'
[   194.185] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   194.185] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[   194.185] (**) ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event6"
[   194.185] (--) ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
[   194.185] (--) ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
[   194.186] (--) ImPS/2 Generic Wheel Mouse: Found relative axes
[   194.186] (--) ImPS/2 Generic Wheel Mouse: Found x and y relative axes
[   194.186] (II) ImPS/2 Generic Wheel Mouse: Configuring as mouse
[   194.186] (II) ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
[   194.186] (**) ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
[   194.186] (**) ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   194.186] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
[   194.186] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE)
[   194.186] (II) ImPS/2 Generic Wheel Mouse: initialized for relative axes.
[   194.186] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
[   194.186] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[   194.186] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[   194.186] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[   194.187] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse2)
[   194.187] (II) No input driver/identifier specified (ignoring)
[   194.188] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[   194.188] (II) No input driver/identifier specified (ignoring)
[   197.467] (II) VESA(0): Setting up VESA Mode 0x114 (800x600)
[   957.753] (II) config/udev: removing device eGalax Inc. USB TouchController
[   957.758] (II) config/udev: removing device eGalaxTouch Controller
[   957.765] (II) config/udev: removing device eGalax Inc. USB TouchController
[   957.771] (II) config/udev: removing device eGalax Inc. USB TouchController
[   957.777] (II) config/udev: removing device eGalax Inc. USB TouchController
[  2219.451] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/mouse0)
[  2219.451] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax mouse class"
[  2219.451] (II) Using input driver 'void' for 'eGalax Inc. USB TouchController'
[  2219.451] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[  2219.451] (**) eGalax Inc. USB TouchController: always reports core events
[  2219.451] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input10/mouse0"
[  2219.451] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type: Void)
[  2219.452] (**) eGalax Inc. USB TouchController: (accel) keeping acceleration scheme 1
[  2219.452] (**) eGalax Inc. USB TouchController: (accel) acceleration profile 0
[  2219.452] (**) eGalax Inc. USB TouchController: (accel) acceleration factor: 2.000
[  2219.452] (**) eGalax Inc. USB TouchController: (accel) acceleration threshold: 4
[  2219.456] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/event0)
[  2219.456] (**) eGalax Inc. USB TouchController: Applying InputClass "evdev pointer catchall"
[  2219.456] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax pointer class"
[  2219.456] (II) Using input driver 'egalax' for 'eGalax Inc. USB TouchController'
[  2219.456] (II) Loading /usr/lib/xorg/modules/input/egalax_drv.so
[  2219.456] (**) eGalax Inc. USB TouchController: always reports core events
[  2219.456] (**) egalax X device name: eGalaxTouch Controller
[  2219.459] (II) HID Touch Controller @ /dev/hidraw0 
[  2219.460] (**) Option "ScreenNo" "0"
[  2219.460] (**) egalax associated screen: 0
[  2219.460] (**) egalaxParameter=/var/lib/eeti.param
[  2219.460] (**) egalax:Use Defualt Sound Device:/dev/audio
[  2219.460] (**) egalax Rotation option is enabled.
[  2219.460] (**) egalax USBPnP option is enabled.
[  2219.460] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input10/event0"
[  2219.460] (II) XINPUT: Adding extended input device "eGalaxTouch Controller" (type: TOUCHSCREEN)
[  2219.460] (**) eGalaxTouch Controller: (accel) keeping acceleration scheme 1
[  2219.460] (**) eGalaxTouch Controller: (accel) acceleration profile 0
[  2219.460] (**) eGalaxTouch Controller: (accel) acceleration factor: 2.000
[  2219.460] (**) eGalaxTouch Controller: (accel) acceleration threshold: 4
[  2219.478] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/js0)
[  2219.478] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax joystick class"
[  2219.478] (II) Using input driver 'void' for 'eGalax Inc. USB TouchController'
[  2219.478] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[  2219.478] (**) eGalax Inc. USB TouchController: always reports core events
[  2219.478] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input10/js0"
[  2219.478] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type: Void)
[  2219.479] (**) eGalax Inc. USB TouchController: (accel) keeping acceleration scheme 1
[  2219.479] (**) eGalax Inc. USB TouchController: (accel) acceleration profile 0
[  2219.479] (**) eGalax Inc. USB TouchController: (accel) acceleration factor: 2.000
[  2219.479] (**) eGalax Inc. USB TouchController: (accel) acceleration threshold: 4
[  2219.487] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/mouse1)
[  2219.487] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax mouse class"
[  2219.487] (II) Using input driver 'void' for 'eGalax Inc. USB TouchController'
[  2219.487] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[  2219.487] (**) eGalax Inc. USB TouchController: always reports core events
[  2219.487] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input11/mouse1"
[  2219.487] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type: Void)
[  2219.488] (**) eGalax Inc. USB TouchController: (accel) keeping acceleration scheme 1
[  2219.488] (**) eGalax Inc. USB TouchController: (accel) acceleration profile 0
[  2219.488] (**) eGalax Inc. USB TouchController: (accel) acceleration factor: 2.000
[  2219.488] (**) eGalax Inc. USB TouchController: (accel) acceleration threshold: 4
[  2219.494] (II) config/udev: Adding input device eGalax Inc. USB TouchController (/dev/input/event1)
[  2219.494] (**) eGalax Inc. USB TouchController: Applying InputClass "eGalax tablet class"
[  2219.494] (II) Using input driver 'void' for 'eGalax Inc. USB TouchController'
[  2219.494] (II) Loading /usr/lib/xorg/modules/input/void_drv.so
[  2219.494] (**) eGalax Inc. USB TouchController: always reports core events
[  2219.494] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input11/event1"
[  2219.494] (II) XINPUT: Adding extended input device "eGalax Inc. USB TouchController" (type: Void)
[  2219.495] (**) eGalax Inc. USB TouchController: (accel) keeping acceleration scheme 1
[  2219.495] (**) eGalax Inc. USB TouchController: (accel) acceleration profile 0
[  2219.495] (**) eGalax Inc. USB TouchController: (accel) acceleration factor: 2.000
[  2219.495] (**) eGalax Inc. USB TouchController: (accel) acceleration threshold: 4

The modprobe.d/blacklist.conf contains:

blackklist usbtouchscreen

and also, here is my edev.conf

#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.


Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

#Section "InputClass"
#        Identifier "evdev touchpad catchall"
#        MatchIsTouchpad "on"
#        MatchDevicePath "/dev/input/event*"
#        Driver "egalax"
#EndSection

#Section "InputClass"
#        Identifier "evdev tablet catchall"
#        MatchIsTablet "on"
#        MatchDevicePath "/dev/input/event*"
#        Driver "egalax"
#EndSection

#Section "InputClass"
#        Identifier "evdev touchscreen catchall"
#        MatchIsTouchscreen "on"
#        MatchDevicePath "/dev/input/event*"
#        Driver "egalax"
#EndSection

Edit: Here is the output from "cat /proc/bus/input/devices"

I: Bus=0003 Vendor=1c4f Product=0002 Version=0110
N: Name="USB USB Keykoard"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb4/4-1/4-1:1.0/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
U: Uniq=
H: Handlers=kbd event4 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: PROP=0
B: EV=40001
B: SND=6

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input6
U: Uniq=
H: Handlers=mouse2 event6 
B: PROP=0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0001 Vendor=10ec Product=0888 Version=0001
N: Name="HDA Digital PCBeep"
P: Phys=card0/codec#0/beep0
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/input/input7
U: Uniq=
H: Handlers=kbd event7 
B: PROP=0
B: EV=40001
B: SND=6

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input8
U: Uniq=
H: Handlers=event8 
B: PROP=0
B: EV=21
B: SW=4

I: Bus=0003 Vendor=1c4f Product=0002 Version=0110
N: Name="USB USB Keykoard"
P: Phys=usb-0000:00:1d.1-1/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb4/4-1/4-1:1.1/input/input9
U: Uniq=
H: Handlers=kbd event9 
B: PROP=0
B: EV=1f
B: KEY=4837fff 72ff32d bf544446 0 0 1 20c10 b17c000 267bfa d941dfed 9e1680 4400 0 10000002
B: REL=40
B: ABS=1 0
B: MSC=10

I: Bus=0003 Vendor=0eef Product=0001 Version=0210
N: Name="eGalax Inc. USB TouchController"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input14
U: Uniq=
H: Handlers=mouse0 event0 js0 
B: PROP=0
B: EV=1b
B: KEY=30000 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10

I: Bus=0003 Vendor=0eef Product=0001 Version=0210
N: Name="eGalax Inc. USB TouchController"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0/input/input15
U: Uniq=
H: Handlers=mouse1 event1 
B: PROP=0
B: EV=1b
B: KEY=401 0 0 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10



The driver is intended for 2.6.x and I am going to try it on an older kernel, I am just wondering if that's the reason it's not working, or I am setting it up incorrectly? Should it work with 3.0.0?

(AUR should really be updated, at least the touchscreen section as none of the drivers work, or are extremely out dated..)

Thanks a lot!

Last edited by arii (2011-09-13 20:33:56)

Offline

#2 2011-09-09 17:54:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] eGalax TouchScreen Drivers with Kernel 3.0.0

arii wrote:

AUR should really be updated, at least the touchscreen section as none of the drivers work, or are extremely out dated..

If they're marked out of date (they are) and there are more recent packages available and working and the current maintainer isn't responding, you can send an e-mail to the AUR mailing list and ask for orphaning them if you want to adopt these packages and update them.

Offline

#3 2011-09-09 17:57:35

arii
Member
Registered: 2011-09-09
Posts: 3

Re: [SOLVED] eGalax TouchScreen Drivers with Kernel 3.0.0

Yeah, I was thinking of doing so when I had some free time.

Offline

#4 2011-09-13 20:33:15

arii
Member
Registered: 2011-09-09
Posts: 3

Re: [SOLVED] eGalax TouchScreen Drivers with Kernel 3.0.0

Although using the actual eGalax drivers didn't work.. the Evdev ones seemed to work with a bit of configuration.

I used:
xinput -list and used the second eGalax TouchController which was labeled as uid 11

After a bit of moving around, I realized that the Y axis needed to be inverted
xinput set-prop 11 "Evdev Axis Inversion" 0, 1

Also the X and Y axis needed to be swapped.
xinput set-prop 11 "Evdev Axis Swap" 1

     Reference: http://www.x.org/archive/X11R7.5/doc/ma … dev.4.html

After that, I grabbed xinput_calibrator to do the calibration:
http://aur.archlinux.org/packages.php?ID=35031

and used that to generate the xorg.conf.d files!

I'm going to attempt to update the wiki sometime this month, and also I can confirm the drivers work with 2.6.x if you edit the setup.sh.

[SOLVED] for now.

Last edited by arii (2011-09-13 20:35:40)

Offline

#5 2011-11-04 11:33:34

thestiffmeister
Member
Registered: 2010-11-15
Posts: 3

Re: [SOLVED] eGalax TouchScreen Drivers with Kernel 3.0.0

Could you please send me the adapted version of this setup.sh?
When I extract the sources from eGalax, there is a compilation error regarding mutexes and implicit-function-declarations....

Furthermore I've seen that you would like to adapt the Archlinux Wiki Touchscreen article.
I am able to assist you with this and test your steps.

make -C /lib/modules/3.0-ARCH/build SUBDIRS=/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc modules
make[1]: Entering directory `/usr/src/linux-3.0-ARCH'
  CC [M]  /home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.o
/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.c: In function ‘DoSendData’:
/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.c:47:22: warning: passing argument 7 of ‘usb_fill_control_urb’ from incompatible pointer type [enabled by default]
include/linux/usb.h:1237:20: note: expected ‘usb_complete_t’ but argument is of type ‘void (*)(struct urb *, struct pt_regs *)’
/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.c: In function ‘irq_tscreen’:
/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.c:146:13: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type [enabled by default]
include/linux/usb.h:1309:20: note: expected ‘usb_complete_t’ but argument is of type ‘void (*)(struct urb *, struct pt_regs *)’
/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.c: In function ‘lauch_int_read’:
/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.c:180:23: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type [enabled by default]
include/linux/usb.h:1309:20: note: expected ‘usb_complete_t’ but argument is of type ‘void (*)(struct urb *, struct pt_regs *)’
/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.c: In function ‘probe_tscreen’:
/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.c:681:5: error: implicit declaration of function ‘init_MUTEX’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

make[2]: *** [/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc/tkusb.o] Error 1
make[1]: *** [_module_/home/test/eGalaxTouch32/eGalaxTouch32/USBSrc] Error 2
make[1]: Leaving directory `/usr/src/linux-3.0-ARCH'

Default evdev drivers are working, but right-handed clicks etc. are not implemented in this driver.

I would like to install the "normal" eGalaxTouch driver but I'm having issues with it....
Thx a lot!

Last edited by thestiffmeister (2011-11-04 11:36:02)

Offline

#6 2011-12-17 08:45:05

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: [SOLVED] eGalax TouchScreen Drivers with Kernel 3.0.0

Sorry for opening an old post, but the eGalax drivers have been updated for kernel 3.0 and greater.

Packaged here https://aur.archlinux.org/packages.php?ID=55050

Cheers.

Offline

Board footer

Powered by FluxBB