touchpad-indicator crash on Thinkpad T480s

Bug #1755936 reported by luckyrings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Touchpad-indicator
New
Undecided
Lorenzo Carbonell

Bug Description

After clean install Ubuntu 16.04.4 the package touchpad-indicator was installed.

After starting the application from starter or from the terminal it crashes.

Output from terminal:
-----

u3833@vttre56002:~$ /opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator
/opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator:29: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
<gettext.GNUTranslations object at 0x7f55c5f1b128>
/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py:30: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3 as appindicator
#####################################################
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
Version: x86_64
#####################################################

Touchpad-Indicator version: 1.1.0-0extras15.04.3-src
#####################################################
Couldn't find synaptics properties. No synaptics driver loaded?
pidof syndaemon
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Couldn't find synaptics properties. No synaptics driver loaded?
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator", line 42, in <module>
    main()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 495, in main
    tpi=TouchpadIndicator()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 97, in __init__
    self.read_preferences()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 274, in read_preferences
    self.synclient.set('VertScrollDelta',abs(int(self.synclient.get('VertScrollDelta'))))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Revision history for this message
luckyrings (d8f2) wrote :

u3833@vttre56002:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Elantech Touchpad id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Sleep Button id=8 [slave keyboard (3)]
    ↳ Integrated IR Camera: Integrate id=9 [slave keyboard (3)]
    ↳ Integrated Camera: Integrated C id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
    ↳ ThinkPad Extra Buttons id=13 [slave keyboard (3)]

Changed in touchpad-indicator:
assignee: nobody → Lorenzo Carbonell (lorenzo-carbonell)
status: New → Fix Released
Revision history for this message
luckyrings (d8f2) wrote :

I tested the new version. Now it it starts, unfortunately it disables not only the TrackPad, but also the TrackPoint same time. As I researched a bit, it seems that that Elantech Trackpoint and TrackPad is only one device not like Synaptics before :-(

In meantime, I found a BIOS option to disable the Trackpad, but a stupid to disable it in the BIOS, specially if you want to that only temporary.

Revision history for this message
luckyrings (d8f2) wrote :

I did some testing in meanwhile.

Upgrading from kernel 4.13.0-37 to new kernel 4.15.15 from ubuntu kernel build.

The result is that now it shows the correct separated devices:

u3833@vttre56002:~$ uname -a
Linux combine 4.15.15-041515-generic #201803311331 SMP Sat Mar 31 17:34:21 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

u3833@vttre56002:~$ xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantiech Touchpad id=12 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech TrackPoint id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Sleep Button id=8 [slave keyboard (3)]
    ↳ Integrated IR Camera: Integrate id=9 [slave keyboard (3)]
    ↳ Integrated Camera: Integrated C id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
    ↳ ThinkPad Extra Buttons id=14 [slave keyboard (3)]

Using now the actual version of the touchpad-indicator disabling the trackpoint instead of the touchpad. Please check this. Thank you.

Changed in touchpad-indicator:
status: Fix Released → New
Revision history for this message
Lorenzo Carbonell (lorenzo-carbonell) wrote :

Please run touchpad-indicator from terminal.

Thanks.

Revision history for this message
luckyrings (d8f2) wrote :

Hi Lorenzo,
thanks for looking at it. Here is the output of the terminal, when disabling and enabling the "touchpad" from the menu.

u3833@vttre56002:~/Downloads$ touchpad-indicator
<gettext.GNUTranslations object at 0x7f79f42e4128>
No LSB modules are available.
#####################################################
Distributor: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
Architecture: x86_64
#####################################################

Touchpad-Indicator version: 2.0.4-0extras18.04.3
=== 2 ===
=== 21 ===
=== 212 ===
==== start set_touch_enabled =====
set_touch_enabled: True
are_all_touchpad_enabled: True
==== start set_touch_enabled =====
set_touch_enabled: False
are_all_touchpad_enabled: True
==?==
==?== 1
==?== 2
==== start set_touch_enabled =====
set_touch_enabled: True
are_all_touchpad_enabled: False
==|==
==|== 1
==|== 2
1

Revision history for this message
luckyrings (d8f2) wrote :

See bug #1770632 for follow up.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.