Bug#838047: Confirmed: breaks *all* tablets

2016-09-19 Thread Thomas Renard
Very grave: it breaks Lenovo Yoga Laptops because they have a buildin
wacom display!

Fortunately Wayland can be used as fallback...



Bug#838047: Confirmed: breaks *all* tablets

2016-09-18 Thread Andrew Chadwick
Okay, found time for some more testing. It seems that libwacom2 0.19
is probably off the hook here: the problem can be made to go away by
merely switching versions of mutter (+ libmutter) for all tablets on
my test bench.

Thank you for the update to 0.22, nevertheless. Doubtless it will be
needed before too long. BTW, the debian/watch file appears to be
broken according to qa.debian - perhaps that's why some releases
weren't noticed?

On 18 September 2016 at 02:23, Andrew Chadwick  wrote:
> GNOME sessions with gnome-shell 3.21.91-2 and libwacom2 0.22-1 still
> segfault when any any of my USB tablet devices are attached. This
> includes the Wacom USB Wireless Accessory Kit: it's fine after being
> plugged in initially without the tablet being turned on, but when the
> tablet is turned on and begins communicating wirelessly, the session
> dies just as above.
>
> I've tried a plain old USB optical mouse, a USB keyboard, and a couple
> of USB joypads too - those are unaffected.
>
> From the console, libwacom-list-local-devices 0.22 detects the plugged
> device and lists its features like it should. No segfaults there.



-- 
Andrew Chadwick



Bug#838047: Confirmed: breaks *all* tablets

2016-09-17 Thread Andrew Chadwick
GNOME sessions with gnome-shell 3.21.91-2 and libwacom2 0.22-1 still
segfault when any any of my USB tablet devices are attached. This
includes the Wacom USB Wireless Accessory Kit: it's fine after being
plugged in initially without the tablet being turned on, but when the
tablet is turned on and begins communicating wirelessly, the session
dies just as above.

I've tried a plain old USB optical mouse, a USB keyboard, and a couple
of USB joypads too - those are unaffected.

>From the console, libwacom-list-local-devices 0.22 detects the plugged
device and lists its features like it should. No segfaults there.



Bug#838047: Confirmed: breaks *all* tablets

2016-09-17 Thread Rann Bar-On
Upgraded to 0.22-1. No change, unfortunately.

[   12.990227] gnome-shell[1168]: segfault at 10 ip 7f35122ab844 sp
7ffd8efd9be0 error 4 in libwacom.so.2.5.0[7f35122a8000+9000]
[   14.569733] gnome-shell[1239]: segfault at 10 ip 7f724d4e6844 sp
7fffda2ec150 error 4 in libwacom.so.2.5.0[7f724d4e3000+9000]
[   14.884694] gnome-shell[1245]: segfault at 10 ip 7fe7d7128844 sp
7ffc5c90e4b0 error 4 in libwacom.so.2.5.0[7fe7d7125000+9000]

Note: see bug 838050



Bug#838047: Confirmed: breaks *all* tablets

2016-09-17 Thread Rann Bar-On
On Sat, 2016-09-17 at 09:34 +0300, Timo Aaltonen wrote:
> On 17.09.2016 02:47, a.t.chadw...@gmail.com wrote:
> Confirmed. This bug breaks all graphics tablets in GNOME (at least).
> It
> is not specific to the driver. See the attached logs.
> 
> Symptoms: when a graphics tablet is plugged in, within a few seconds
> the
> running X session terminates. Examining the logs reveals repeated
> segfaults from gnome-shell caused by libwacom2; the repetition is
> classed as the session respawning too fast by gnome-session, which
> gives
> up in disgust.
> 
> (As originally reported, sessions break with a blank screen if the
> tablet is plugged in at session start too.)
> 
> Affected hardware: all the tablets I own, namely:
> 
> * Genius i405x (evdev driver, horribly broken)
> * Huion H610PRO (libinput, normally works well)
> * Wacom Intuos5 M (wacom, normally works perfectly)
> 
> Expected behaviour: I would expect no segfaults which kill X when
> plugging in my graphics tablets.
> 
> I am using libwacom2 0.19-1, gnome-shell 3.21.91-2, and
> gnome-settings-daemon 3.21.92.1-1.
> 
> Libwacom 0.22 has been released upstream, and may be necessary for
> this
> version of GNOME. Please can that be tried? Libwacom mismatches have
> killed tablet support in the past
> 
> 
> sounds like gnome dependencies are wrong then.. anyway, 0.22-1
> uploaded,
> please test
> 
> 
> -- 
> t
> 
> 

I'll test when I see it appear in my apt update! In the meantime, this
is related to bug 838050.



Bug#838047: Confirmed: breaks *all* tablets

2016-09-17 Thread Timo Aaltonen
On 17.09.2016 02:47, a.t.chadw...@gmail.com wrote:
> Confirmed. This bug breaks all graphics tablets in GNOME (at least). It
> is not specific to the driver. See the attached logs.
> 
> Symptoms: when a graphics tablet is plugged in, within a few seconds the
> running X session terminates. Examining the logs reveals repeated
> segfaults from gnome-shell caused by libwacom2; the repetition is
> classed as the session respawning too fast by gnome-session, which gives
> up in disgust.
> 
> (As originally reported, sessions break with a blank screen if the
> tablet is plugged in at session start too.)
> 
> Affected hardware: all the tablets I own, namely:
> 
> * Genius i405x (evdev driver, horribly broken)
> * Huion H610PRO (libinput, normally works well)
> * Wacom Intuos5 M (wacom, normally works perfectly)
> 
> Expected behaviour: I would expect no segfaults which kill X when
> plugging in my graphics tablets.
> 
> I am using libwacom2 0.19-1, gnome-shell 3.21.91-2, and
> gnome-settings-daemon 3.21.92.1-1.
> 
> Libwacom 0.22 has been released upstream, and may be necessary for this
> version of GNOME. Please can that be tried? Libwacom mismatches have
> killed tablet support in the past

sounds like gnome dependencies are wrong then.. anyway, 0.22-1 uploaded,
please test


-- 
t



Bug#838047: Confirmed: breaks *all* tablets

2016-09-16 Thread a . t . chadwick
Confirmed. This bug breaks all graphics tablets in GNOME (at least). It 
is not specific to the driver. See the attached logs.


Symptoms: when a graphics tablet is plugged in, within a few seconds 
the running X session terminates. Examining the logs reveals repeated 
segfaults from gnome-shell caused by libwacom2; the repetition is 
classed as the session respawning too fast by gnome-session, which 
gives up in disgust.


(As originally reported, sessions break with a blank screen if the 
tablet is plugged in at session start too.)


Affected hardware: all the tablets I own, namely:

* Genius i405x (evdev driver, horribly broken)
* Huion H610PRO (libinput, normally works well)
* Wacom Intuos5 M (wacom, normally works perfectly)

Expected behaviour: I would expect no segfaults which kill X when 
plugging in my graphics tablets.


I am using libwacom2 0.19-1, gnome-shell 3.21.91-2, and 
gnome-settings-daemon 3.21.92.1-1.


Libwacom 0.22 has been released upstream, and may be necessary for this 
version of GNOME. Please can that be tried? Libwacom mismatches have 
killed tablet support in the past
Sep 17 00:19:28 spatula kernel: [18298.570328] usb 2-2: new full-speed USB device number 13 using xhci_hcd
Sep 17 00:19:28 spatula kernel: [18298.699757] usb 2-2: New USB device found, idVendor=256c, idProduct=006e
Sep 17 00:19:28 spatula kernel: [18298.699763] usb 2-2: New USB device strings: Mfr=5, Product=6, SerialNumber=0
Sep 17 00:19:28 spatula kernel: [18298.699765] usb 2-2: Product: PenTablet
Sep 17 00:19:28 spatula kernel: [18298.699767] usb 2-2: Manufacturer: HUION
Sep 17 00:19:28 spatula kernel: [18298.701272] input: HUION PenTablet Pen as /devices/pci:00/:00:14.0/usb2/2-2/2-2:1.0/0003:256C:006E.0015/input/input63
Sep 17 00:19:28 spatula kernel: [18298.701487] uclogic 0003:256C:006E.0015: input,hidraw2: USB HID v1.11 Device [HUION PenTablet] on usb-:00:14.0-2/input0
Sep 17 00:19:28 spatula kernel: [18298.702658] input: HUION PenTablet Mouse as /devices/pci:00/:00:14.0/usb2/2-2/2-2:1.1/0003:256C:006E.0016/input/input64
Sep 17 00:19:28 spatula kernel: [18298.702887] uclogic 0003:256C:006E.0016: input,hiddev0,hidraw3: USB HID v1.11 Mouse [HUION PenTablet] on usb-:00:14.0-2/input1
Sep 17 00:19:28 spatula kernel: [18298.703914] input: HUION PenTablet Keyboard as /devices/pci:00/:00:14.0/usb2/2-2/2-2:1.2/0003:256C:006E.0017/input/input66
Sep 17 00:19:28 spatula kernel: [18298.810849] input: HUION PenTablet Consumer Control as /devices/pci:00/:00:14.0/usb2/2-2/2-2:1.2/0003:256C:006E.0017/input/input67
Sep 17 00:19:28 spatula kernel: [18298.811208] input: HUION PenTablet System Control as /devices/pci:00/:00:14.0/usb2/2-2/2-2:1.2/0003:256C:006E.0017/input/input68
Sep 17 00:19:28 spatula kernel: [18298.811589] uclogic 0003:256C:006E.0017: input,hidraw4: USB HID v1.11 Keyboard [HUION PenTablet] on usb-:00:14.0-2/input2
Sep 17 00:19:28 spatula mtp-probe: checking bus 2, device 13: "/sys/devices/pci:00/:00:14.0/usb2/2-2"
Sep 17 00:19:28 spatula mtp-probe: bus: 2, device: 13 was not an MTP device
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (II) config/udev: Adding input device HUION PenTablet Mouse (/dev/input/mouse4)
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (**) HUION PenTablet Mouse: Applying InputClass "input-huion-mouse"
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (II) Using input driver 'libinput' for 'HUION PenTablet Mouse'
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (**) HUION PenTablet Mouse: always reports core events
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (**) Option "Device" "/dev/input/mouse4"
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (**) Option "_source" "server/udev"
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (EE) xf86OpenSerial: Cannot open device /dev/input/mouse4
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: #011Permission denied.
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (II) opening input device '/dev/input/mouse4' failed (Permission denied).
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (II) failed to create input device '/dev/input/mouse4'.
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (EE) libinput: HUION PenTablet Mouse: Failed to create a device for /dev/input/mouse4
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (EE) PreInit returned 2 for "HUION PenTablet Mouse"
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (II) UnloadModule: "libinput"
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (II) config/udev: Adding input device HUION PenTablet Pen (/dev/input/mouse3)
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (**) HUION PenTablet Pen: Applying InputClass "input-huion-pen"
Sep 17 00:19:29 spatula /usr/lib/gdm3/gdm-x-session[24056]: (II) Using input driver 'libinput' for 'HUION PenTablet Pen'
Sep 17