[Ubuntu-x-swat] [Bug 379313] Re: Handling NextWindow Touchscreen (multitouch)

2010-05-10 Thread Jamie Lennox
hey all,

just did a fresh install of lucid (32bit) and touch screen is working
out of the box.

According to above message i should probably close it but not sure if i
should as others are still having problems.

relevant dmesg:

[2.498018] input: NextWindow Touchscreen as 
/devices/pci:00/:00:1d.0/usb5/5-1/5-1:1.0/input/input3
[2.498118] input: NextWindow Touchscreen as 
/devices/pci:00/:00:1d.0/usb5/5-1/5-1:1.0/input/input4
[2.498170] generic-usb 0003:1926:0003.0001: input,hidraw0: USB HID v1.00 
Keyboard [NextWindow Touchscreen] on usb-:00:1d.0-1/input0
[2.501024] generic-usb 0003:1926:0003.0002: hiddev96,hidraw1: USB HID v1.00 
Device [NextWindow Touchscreen] on usb-:00:1d.0-1/input1
[2.509986] input: NextWindow Touchscreen as 
/devices/pci:00/:00:1d.0/usb5/5-1/5-1:1.2/input/input5
[2.510107] input: NextWindow Touchscreen as 
/devices/pci:00/:00:1d.0/usb5/5-1/5-1:1.2/input/input6
[2.510751] generic-usb 0003:1926:0003.0003: input,hiddev97,hidraw2: USB HID 
v1.00 Mouse [NextWindow Touchscreen] on usb-:00:1d.0-1/input2

relevant Xorg.log:
(II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/event3)
(**) NextWindow Touchscreen: Applying InputClass evdev keyboard catchall
(**) NextWindow Touchscreen: always reports core events
(**) NextWindow Touchscreen: Device: /dev/input/event3
(II) NextWindow Touchscreen: Found keys
(II) NextWindow Touchscreen: Configuring as keyboard
(II) XINPUT: Adding extended input device NextWindow Touchscreen (type: 
KEYBOARD)
(**) Option xkb_rules evdev
(**) Option xkb_model pc105
(**) Option xkb_layout us
(II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/event4)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/event5)
(**) NextWindow Touchscreen: Applying InputClass evdev pointer catchall
(**) NextWindow Touchscreen: always reports core events
(**) NextWindow Touchscreen: Device: /dev/input/event5
(II) NextWindow Touchscreen: Found 3 mouse buttons
(II) NextWindow Touchscreen: Found scroll wheel(s)
(II) NextWindow Touchscreen: Found relative axes
(II) NextWindow Touchscreen: Found absolute axes
(II) NextWindow Touchscreen: Found x and y absolute axes
(II) NextWindow Touchscreen: Configuring as mouse
(**) NextWindow Touchscreen: YAxisMapping: buttons 4 and 5
(**) NextWindow Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, 
EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device NextWindow Touchscreen (type: MOUSE)
(EE) NextWindow Touchscreen: failed to initialize for relative axes.
(II) NextWindow Touchscreen: initialized for absolute axes.
(II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/js0)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/mouse1)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/event6)
(**) NextWindow Touchscreen: Applying InputClass evdev tablet catchall
(**) NextWindow Touchscreen: always reports core events
(**) NextWindow Touchscreen: Device: /dev/input/event6
(II) NextWindow Touchscreen: Found absolute axes
(II) NextWindow Touchscreen: Found x and y absolute axes
(II) NextWindow Touchscreen: Found absolute tablet.
(II) NextWindow Touchscreen: Configuring as tablet
(**) NextWindow Touchscreen: YAxisMapping: buttons 4 and 5
(**) NextWindow Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10, 
EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device NextWindow Touchscreen (type: 
TABLET)
(II) NextWindow Touchscreen: initialized for absolute axes.
(II) config/udev: Adding input device NextWindow Touchscreen (/dev/input/mouse2)
(II) No input driver/identifier specified (ignoring)

-- 
Handling NextWindow Touchscreen (multitouch)
https://bugs.launchpad.net/bugs/379313
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 379313] Re: Handling NextWindow Touchscreen (multitouch)

2010-05-10 Thread Jamie Lennox

** Attachment added: lshal.txt
   http://launchpadlibrarian.net/48240333/lshal.txt

-- 
Handling NextWindow Touchscreen (multitouch)
https://bugs.launchpad.net/bugs/379313
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 379313] Re: Handling NextWindow Touchscreen (multitouch)

2009-08-26 Thread Jamie Lennox
1926:003 is a device

** Attachment added: lsusb.txt
   http://launchpadlibrarian.net/30878913/lsusb.txt

-- 
Handling NextWindow Touchscreen (multitouch)
https://bugs.launchpad.net/bugs/379313
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 379313] Re: Handling NextWindow Touchscreen (multitouch)

2009-08-26 Thread Jamie Lennox
/proc/bus/input/devices confirms that the device registers as NextWindow
Touchscreen

** Attachment added: devices.txt
   http://launchpadlibrarian.net/30878956/devices.txt

-- 
Handling NextWindow Touchscreen (multitouch)
https://bugs.launchpad.net/bugs/379313
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 379313] Re: Handling NextWindow Touchscreen (multitouch)

2009-08-26 Thread Jamie Lennox
dmesg (though older attached above)

** Attachment added: dmesg.txt
   http://launchpadlibrarian.net/30879137/dmesg.txt

-- 
Handling NextWindow Touchscreen (multitouch)
https://bugs.launchpad.net/bugs/379313
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 379313] Re: Handling NextWindow Touchscreen (multitouch)

2009-08-26 Thread Jamie Lennox
I can confirm on hardy (haven't tried on jaunty) that evdev and evtouch
can cooperate however the 11-x11-synaptics.fdi is assumed to be the
driver.

I've also been using a different touchscreen on a different machine and
used the same technique to fix it (see patch), so i was thinking that
perhaps this was a kernel reporting issue as again the axis were
incorrectly reported and synaptics then touchpad was assumed.

The current patch i'm using is attached which fixes at least the
NextWindow, the eGalax is the other device though the egalax uses
different axis again and requires xinput config to use.

Anything else i can do let me know.

** Attachment added: 103_nextwindow.patch
   http://launchpadlibrarian.net/30879245/103_nextwindow.patch

-- 
Handling NextWindow Touchscreen (multitouch)
https://bugs.launchpad.net/bugs/379313
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 379313] [NEW] Handling NextWindow Touchscreen (multitouch)

2009-05-22 Thread Jamie Lennox
Public bug reported:

Binary package hint: xserver-xorg-input-evdev

Ubuntu 9.04/8.10 and probably other.

The NextWindow touch screen is used on the HP TouchSmart systems however
doesn't work out of the box on 8.10 or 9.04.

Firstly it is allocated to a synaptic touchpad driver initially which is
wrong, but can be overcome with the appropriate HAL fdi to change to
evdev.

Secondly (and this is a most likely a problem of either the hardware or
X), it reports X, Y values using ABS_RX, ABS_Z rather than the expected
ABS_X, ABS_Y. The evtouch driver will work because it accepts these as
alternatives.

Lastly, because the system is multi-touch aware it reports to the
xserver that it has buttons. This causes it to be misclassified by evdev
as a touchpad rather than a touchscreen.

The following patch fixes the problem for me but is obviously not a
general solution. This is against packaged version 1:2.1.1-1ubuntu4:

--- src/evdev.c.orig2010-05-22 16:08:14.0 +1000
+++ src/evdev.c 2009-05-22 16:09:30.0 +1000
@@ -382,10 +382,12 @@
 
case EV_ABS:
switch (ev.code) {
+case ABS_Z:
case ABS_X:
pEvdev-abs_x = value;
abs = 1;
break;
+case ABS_RX:
case ABS_Y:
pEvdev-abs_y = value;
abs = 1;
@@ -1368,11 +1370,11 @@
 xf86Msg(X_INFO, %s: Found x and y absolute axes\n, pInfo-name);
pEvdev-flags |= EVDEV_ABSOLUTE_EVENTS;
if (TestBit(BTN_TOUCH, key_bitmask)) {
-if (num_buttons) {
+/*  if (num_buttons) {
 xf86Msg(X_INFO, %s: Found absolute touchpad\n, pInfo-name);
 pEvdev-flags |= EVDEV_TOUCHPAD;
 pEvdev-old_x = pEvdev-old_y = -1;
-} else {
+} else */ {
 xf86Msg(X_INFO, %s: Found absolute touchscreen\n, 
pInfo-name);
 pEvdev-flags |= EVDEV_TOUCHSCREEN;
 pEvdev-flags |= EVDEV_BUTTON_EVENTS;

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: xserver-xorg-input-evdev 1:2.1.1-1ubuntu4 [modified: 
usr/lib/xorg/modules/input/evdev_drv.so]
ProcEnviron:
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (bui...@crested) (gcc version 
4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009
SourcePackage: xserver-xorg-input-evdev
Uname: Linux 2.6.28-11-generic x86_64

** Affects: xserver-xorg-input-evdev (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug

-- 
Handling NextWindow Touchscreen (multitouch)
https://bugs.launchpad.net/bugs/379313
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 379313] Re: Handling NextWindow Touchscreen (multitouch)

2009-05-22 Thread Jamie Lennox

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/27042157/Dependencies.txt

** Attachment added: LsHal.txt
   http://launchpadlibrarian.net/27042158/LsHal.txt

** Attachment added: LsMod.txt
   http://launchpadlibrarian.net/27042160/LsMod.txt

** Attachment added: LsPci.txt
   http://launchpadlibrarian.net/27042161/LsPci.txt

** Attachment added: XorgConf.txt
   http://launchpadlibrarian.net/27042162/XorgConf.txt

** Attachment added: XorgLog.txt
   http://launchpadlibrarian.net/27042163/XorgLog.txt

** Attachment added: XorgLogOld.txt
   http://launchpadlibrarian.net/27042164/XorgLogOld.txt

** Attachment added: Xrandr.txt
   http://launchpadlibrarian.net/27042165/Xrandr.txt

** Attachment added: glxinfo.txt
   http://launchpadlibrarian.net/27042166/glxinfo.txt

** Attachment added: setxkbmap.txt
   http://launchpadlibrarian.net/27042167/setxkbmap.txt

** Attachment added: system.txt
   http://launchpadlibrarian.net/27042168/system.txt

** Attachment added: xdpyinfo.txt
   http://launchpadlibrarian.net/27042169/xdpyinfo.txt

** Attachment added: xkbcomp.txt
   http://launchpadlibrarian.net/27042170/xkbcomp.txt

-- 
Handling NextWindow Touchscreen (multitouch)
https://bugs.launchpad.net/bugs/379313
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-evdev in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp