Bug#880471: Touchpad doesn't work anymore

2017-11-11 Thread Chris Boot
On 11/11/17 19:44, Daniel Leidert wrote:
>> [  164.712261] psmouse serio1: synaptics: queried max coordinates: x 
>> [..5676], y [..4732]
>> [  164.759543] psmouse serio1: synaptics: queried min coordinates: x 
>> [1356..], y [1214..]
>> [  164.759556] psmouse serio1: synaptics: Trying to set up SMBus access
>> [  164.784566] rmi4_smbus 1-002c: registering SMbus-connected sensor
>> [  164.841110] rmi4_f01 rmi4-01.fn01: found RMI device, manufacturer: 
>> Synaptics, product: s3203_ver5, fw id: 1569351
>> [  164.903005] input: Synaptics s3203_ver5 as /devices/rmi4-01/input/input25

Hi Daniel,

This must definitely be because of the config options enabled recently
at my request: the rmi4_smbus module wasn't enabled until then. Perhaps
booting with 'psmouse.synaptics_intertouch=0' on the kernel command-line
can allow this to work normally for now?

Unfortunately I don't know enough about how this works to help much;
perhaps linux-in...@vger.kernel.org can help you further.

Ben / Debian kernel maintainers: perhaps this module would be better off
disabled, or this functionality disabled by default. Given that this
hasn't had the expected result on my X270 anyway that doesn't seem like
a bad option to me.

HTH,
Chris

-- 
Chris Boot
bo...@debian.org



Bug#880471: Touchpad doesn't work anymore

2017-11-11 Thread Daniel Leidert
Am Samstag, den 11.11.2017, 20:44 +0100 schrieb Daniel Leidert:
[..]

> rmmod psmouse
> modprobe psmouse synaptics_intertouch=1
> 
> > [  164.712261] psmouse serio1: synaptics: queried max coordinates: x 
> > [..5676], y [..4732]
> > [  164.759543] psmouse serio1: synaptics: queried min coordinates: x 
> > [1356..], y [1214..]
> > [  164.759556] psmouse serio1: synaptics: Trying to set up SMBus access
> > [  164.784566] rmi4_smbus 1-002c: registering SMbus-connected sensor
> > [  164.841110] rmi4_f01 rmi4-01.fn01: found RMI device, manufacturer: 
> > Synaptics, product: s3203_ver5, fw id: 1569351
> > [  164.903005] input: Synaptics s3203_ver5 as /devices/rmi4-01/input/input25
>
> I every case the touchpad works.

I've found (of course after sending the mail) that this only works
after loading the module. The touchpad stops working as soon as my use
my Logitech mouse connected via USB is used. Then the touchpad doesn't
react anymore.

Regards, Daniel



Bug#880471: Touchpad doesn't work anymore

2017-11-11 Thread Daniel Leidert
Am Samstag, den 11.11.2017, 20:15 +0100 schrieb Daniel Leidert:
> Am Samstag, den 11.11.2017, 10:32 + schrieb Chris Boot:
> 
> [..]
> > I wonder if this is somehow related to #875621 where I asked for
> > some
> > additional options to be enabled. Daniel, could you please include
> > a
> > full dmesg output from the 4.13 kernel? In particular I’m looking
> > for
> > lines containing “psmouse” or “rmi4”.
> 
> Attached. In second 34.7 I attached an external mouse. You can ignore
> it. The system is a Lenovo Thinkpad Yoga 11e.
> 
> If you need anything else, please let me know.

I found a "fix". Doing an

rmmod psmouse
modprobe psmouse

fixes the issue. I also tried setting synaptics_intertouch and got
this:

rmmod psmouse
modprobe psmouse

> [   94.525393] psmouse serio1: synaptics: queried max coordinates: x 
> [..5676], y [..4732]
> [   94.571321] psmouse serio1: synaptics: queried min coordinates: x 
> [1356..], y [1214..]
> [   94.669301] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 
> 0x1e2b1, caps: 0xd00123/0x840300/0x12e800/0x0, board id: 2980, fw id: 1569351
> [   94.731729] input: SynPS/2 Synaptics TouchPad as 
> /devices/platform/i8042/serio1/input/input20

rmmod psmouse
modprobe psmouse synaptics_intertouch=0

> [  159.262411] psmouse serio1: synaptics: queried max coordinates: x 
> [..5676], y [..4732]
> [  159.311809] psmouse serio1: synaptics: queried min coordinates: x 
> [1356..], y [1214..]
> [  159.405369] psmouse serio1: synaptics: Touchpad model: 1, fw: 8.1, id: 
> 0x1e2b1, caps: 0xd00123/0x840300/0x12e800/0x0, board id: 2980, fw id: 1569351
> [  159.466244] input: SynPS/2 Synaptics TouchPad as 
> /devices/platform/i8042/serio1/input/input22

rmmod psmouse
modprobe psmouse synaptics_intertouch=1

> [  164.712261] psmouse serio1: synaptics: queried max coordinates: x 
> [..5676], y [..4732]
> [  164.759543] psmouse serio1: synaptics: queried min coordinates: x 
> [1356..], y [1214..]
> [  164.759556] psmouse serio1: synaptics: Trying to set up SMBus access
> [  164.784566] rmi4_smbus 1-002c: registering SMbus-connected sensor
> [  164.841110] rmi4_f01 rmi4-01.fn01: found RMI device, manufacturer: 
> Synaptics, product: s3203_ver5, fw id: 1569351
> [  164.903005] input: Synaptics s3203_ver5 as /devices/rmi4-01/input/input25

I every case the touchpad works. So there is something going wrong in
booting phase. There is says:

> [3.292713] psmouse serio1: synaptics: queried max coordinates: x 
> [..5676], y [..4732]
> [3.340327] psmouse serio1: synaptics: queried min coordinates: x 
> [1356..], y [1214..]
> [3.340352] psmouse serio1: synaptics: Trying to set up SMBus access

Is there anything I have to load first, before psmouse?

HTH and regards, Daniel



Bug#880471: Touchpad doesn't work anymore

2017-11-11 Thread Daniel Leidert
Am Samstag, den 11.11.2017, 10:32 + schrieb Chris Boot:

[..]
> I wonder if this is somehow related to #875621 where I asked for some
> additional options to be enabled. Daniel, could you please include a
> full dmesg output from the 4.13 kernel? In particular I’m looking for
> lines containing “psmouse” or “rmi4”.

Attached. In second 34.7 I attached an external mouse. You can ignore
it. The system is a Lenovo Thinkpad Yoga 11e.

If you need anything else, please let me know.

HTH and regards, Daniel[0.00] random: get_random_bytes called from start_kernel+0x3d/0x456 with crng_init=0
[0.00] Linux version 4.13.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 6.4.0 20171026 (Debian 6.4.0-9)) #1 SMP Debian 4.13.10-1 (2017-10-30)
[0.00] Command line: BOOT_IMAGE=/vmlinuz-4.13.0-1-amd64 root=UUID=60132919-d963-4d39-aaa5-42110dd8c247 ro quiet
[0.00] x86/fpu: x87 FPU will use FXSAVE
[0.00] e820: BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x00057fff] usable
[0.00] BIOS-e820: [mem 0x00058000-0x00058fff] ACPI NVS
[0.00] BIOS-e820: [mem 0x00059000-0x0008bfff] usable
[0.00] BIOS-e820: [mem 0x0008c000-0x0009] reserved
[0.00] BIOS-e820: [mem 0x0010-0x1fff] usable
[0.00] BIOS-e820: [mem 0x2000-0x200f] reserved
[0.00] BIOS-e820: [mem 0x2010-0x77f47fff] usable
[0.00] BIOS-e820: [mem 0x77f48000-0x78047fff] type 20
[0.00] BIOS-e820: [mem 0x78048000-0x79087fff] reserved
[0.00] BIOS-e820: [mem 0x79088000-0x79287fff] ACPI NVS
[0.00] BIOS-e820: [mem 0x79288000-0x792c7fff] ACPI data
[0.00] BIOS-e820: [mem 0x792c8000-0x79ff] usable
[0.00] BIOS-e820: [mem 0xe00f8000-0xe00f8fff] reserved
[0.00] BIOS-e820: [mem 0xfed01000-0xfed01fff] reserved
[0.00] BIOS-e820: [mem 0x0001-0x00027fff] usable
[0.00] NX (Execute Disable) protection: active
[0.00] efi: EFI v2.31 by Phoenix Technologies Ltd.
[0.00] efi:  ACPI=0x792c7000  ACPI 2.0=0x792c7014  SMBIOS=0x79087000  ESRT=0x78884000 
[0.00] random: fast init done
[0.00] SMBIOS 2.7 present.
[0.00] DMI: LENOVO 20DA001CUK/Intel powered classmate PC, BIOS N15ET71W (1.31) 09/14/2017
[0.00] e820: update [mem 0x-0x0fff] usable ==> reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] e820: last_pfn = 0x28 max_arch_pfn = 0x4
[0.00] MTRR default type: uncachable
[0.00] MTRR fixed ranges enabled:
[0.00]   0-9 write-back
[0.00]   A-B uncachable
[0.00]   C-F write-protect
[0.00] MTRR variable ranges enabled:
[0.00]   0 base 0FFC0 mask FFFC0 write-protect
[0.00]   1 base 0 mask F8000 write-back
[0.00]   2 base 07C00 mask FFC00 uncachable
[0.00]   3 base 07A00 mask FFE00 uncachable
[0.00]   4 base 1 mask F write-back
[0.00]   5 base 2 mask F8000 write-back
[0.00]   6 disabled
[0.00]   7 disabled
[0.00] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT  
[0.00] e820: last_pfn = 0x7a000 max_arch_pfn = 0x4
[0.00] esrt: Reserving ESRT space from 0x78884000 to 0x78884038.
[0.00] Base memory trampoline at [a0cdc006] 6 size 24576
[0.00] BRK [0x20c557000, 0x20c557fff] PGTABLE
[0.00] BRK [0x20c558000, 0x20c558fff] PGTABLE
[0.00] BRK [0x20c559000, 0x20c559fff] PGTABLE
[0.00] BRK [0x20c55a000, 0x20c55afff] PGTABLE
[0.00] BRK [0x20c55b000, 0x20c55bfff] PGTABLE
[0.00] BRK [0x20c55c000, 0x20c55cfff] PGTABLE
[0.00] BRK [0x20c55d000, 0x20c55dfff] PGTABLE
[0.00] BRK [0x20c55e000, 0x20c55efff] PGTABLE
[0.00] BRK [0x20c55f000, 0x20c55] PGTABLE
[0.00] Secure boot could not be determined
[0.00] RAMDISK: [mem 0x3583d000-0x36c15fff]
[0.00] ACPI: Early table checksum verification disabled
[0.00] ACPI: RSDP 0x792C7014 24 (v02 LENOVO)
[0.00] ACPI: XSDT 0x792C7170 B4 (v01 LENOVO TP-N15   1310 PTEC 0002)
[0.00] ACPI: FACP 0x792C4000 00010C (v05 PTEC   OEMTABLE 0003 VLV2 010D)
[0.00] ACPI: DSDT 0x792B1000 00E623 (v02 PTEC   OEMTABLE 0003 VLV2 010D)
[0.00] ACPI: FACS 0x791FC000 40
[0.00] ACPI: FACS 0x791FC000 40
[0.00] ACPI: SLIC 0x792C6000 000176 (v01 LENOVO TP-N15   1310 PTEC 0002)
[0.00] ACPI: UEFI 0x792C5000 42 (v01 

Bug#880471: Touchpad doesn't work anymore

2017-11-11 Thread Chris Boot
On 31 Oct 2017, at 22:29, Daniel Leidert  wrote:
> With linux kernel linux-image-4.12.0-2-amd64 4.12.13-1 I have this output.
> 
> hwinfo --short:
> 
>  /dev/input/mice  SynPS/2 Synaptics TouchPad
>  /dev/input/mice  ATML1000:00 03EB:8C1F
> 
> syslog:
> 
>  kernel: [3.520469] input: SynPS/2 Synaptics TouchPad as 
> /devices/platform/i8042/serio1/input/input2
> 
> There seems to be a major difference between kernels 4.12 and 4.13.

I wonder if this is somehow related to #875621 where I asked for some 
additional options to be enabled. Daniel, could you please include a full dmesg 
output from the 4.13 kernel? In particular I’m looking for lines containing 
“psmouse” or “rmi4”.

Cheers,
Chris

-- 
Chris Boot
bo...@debian.org


Bug#880471: Touchpad doesn't work anymore

2017-10-31 Thread Daniel Leidert
Package: src:linux
Followup-For: Bug #880471

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

With linux kernel linux-image-4.12.0-2-amd64 4.12.13-1 I have this output.

hwinfo --short:

  /dev/input/mice  SynPS/2 Synaptics TouchPad
  /dev/input/mice  ATML1000:00 03EB:8C1F

syslog:

  kernel: [3.520469] input: SynPS/2 Synaptics TouchPad as 
/devices/platform/i8042/serio1/input/input2

There seems to be a major difference between kernels 4.12 and 4.13.


- -- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAln4+UEACgkQS80FZ8KW
0F0smBAA1g8yyJ0C9/PHxPRupG0tKIEhBXYWfNwutYM6hcLSO8alrNw1WJsZG3wm
Mtiwa9VZ9+dWg4AOqOkXV/kP94k2nuRW75woIOMexXsjNdao37m8Auv8lFEPVQRO
lZEJhOvxWBB1g4TNbQ5N8EjSrux7JYH307G/7PdAySShMalfBKGWzIgl6WvGBF4C
uqGyP/rSJ4Bt/M6phzCs876uhuu0fpacGYG4gD52Xlz77ge+i+P+i+M4xNQrIWyi
TdkuZxoDLmcEiM5sKlBaLDzF73Y1SkJqC0Dcs0dVzXcNXbxJWsVu+SFbtiZRk410
hpYpHcKsRbNJZ6AzckgMpe6aIsnq0F689Z0+z5aR6aoh14tC88pNXtaQXpn6pxK8
z/5A/M1sBxEgYotOrSIwuT2wPQw0cfhLED7CubQt6mRxvi9A9BLTbYxlj/qfW3s2
bibQHn/9v9qhd5muNyrS0Ka7MSdM5PqiRuDeKm+974cnpnoD0AKboflleUTS9rKU
2brJAR1LDiAPK5TBYjIszUIgWwcgYCNIzklSVXs2tmsyaKCICuCFIzUfR+b6jIYu
RnyMXBoPWZbsqZIsisSspLAbbQiaQsRr0WluCEOuczKGvmayhBRTGnG6PVfR+C90
/mVj4iNYP3N+sBOlfkPDxVQVttpLzld+dJO4C9NBjVjUgUt75+E=
=TXcQ
-END PGP SIGNATURE-



Bug#880471: Touchpad doesn't work anymore

2017-10-31 Thread Daniel Leidert
Package: src:linux
Version: 4.13.10-1
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

The touchpad in my Lenovo Thinkpad 11e isn't working anymore. It does with
kernel 4.12. The X.org log looks fine to me. So I guess, it's an issue with
the kernel. There is a difference in the output of hwinfo.

With 4.13 it is

  /dev/input/mice  ATML1000:00 03EB:8C1F
  /dev/input/mice  Synaptics s3203_ver5

I'll send the output and the boot log with kernel 4.12 after rebooting the
system.

Regards, Daniel


- -- Package-specific info:
** Version:
Linux version 4.13.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 
6.4.0 20171026 (Debian 6.4.0-9)) #1 SMP Debian 4.13.10-1 (2017-10-30)

** Command line:
BOOT_IMAGE=/vmlinuz-4.13.0-1-amd64 
root=UUID=60132919-d963-4d39-aaa5-42110dd8c247 ro quiet

** Not tainted

** Kernel log:
[   28.996972] USB Video Class driver (1.1.1)
[   28.997348] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   29.005503] pstore: using zlib compression
[   29.005548] pstore: Registered efi as persistent store backend
[   29.006673] iwlwifi :04:00.0: Detected Intel(R) Dual Band Wireless N 
7260, REV=0x144
[   29.014205] rmi4_f01 rmi4-00.fn01: found RMI device, manufacturer: 
Synaptics, product: s3203_ver5, fw id: 1569351
[   29.018011] input: Video Bus as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input13
[   29.022558] snd_hda_intel :00:1b.0: bound :00:02.0 (ops 
i915_audio_component_bind_ops [i915])
[   29.023381] Bluetooth: Core ver 2.22
[   29.023451] NET: Registered protocol family 31
[   29.023453] Bluetooth: HCI device and connection manager initialized
[   29.023458] Bluetooth: HCI socket layer initialized
[   29.023462] Bluetooth: L2CAP socket layer initialized
[   29.023481] Bluetooth: SCO socket layer initialized
[   29.031370] iwlwifi :04:00.0: base HW address: 5c:c5:d4:83:39:e8
[   29.031552] usbcore: registered new interface driver btusb
[   29.036091] fbcon: inteldrmfb (fb0) is primary device
[   29.049197] Bluetooth: hci0: read Intel version: 370710018002030d56
[   29.049199] Bluetooth: hci0: Intel device is already patched. patch num: 56
[   29.053281] Bluetooth: HCI UART driver ver 2.3
[   29.053283] Bluetooth: HCI UART protocol H4 registered
[   29.053284] Bluetooth: HCI UART protocol BCSP registered
[   29.053285] Bluetooth: HCI UART protocol ATH3K registered
[   29.053291] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   29.053355] Bluetooth: HCI UART protocol Intel registered
[   29.053383] Bluetooth: HCI UART protocol Broadcom registered
[   29.053384] Bluetooth: HCI UART protocol QCA registered
[   29.053385] Bluetooth: HCI UART protocol AG6XX registered
[   29.053386] Bluetooth: HCI UART protocol Marvell registered
[   29.073617] input: Synaptics s3203_ver5 as /devices/rmi4-00/input/input9
[   29.085455] kvm: disabled by bios
[   29.090393] (NULL device *): hwmon_device_register() is deprecated. Please 
convert the driver to use hwmon_device_register_with_info().
[   29.090487] (NULL device *): hwmon_device_register() is deprecated. Please 
convert the driver to use hwmon_device_register_with_info().
[   29.093518] intel_rapl: Found RAPL domain package
[   29.093520] intel_rapl: Found RAPL domain core
[   29.093987] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3239: 
line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   29.093990] snd_hda_codec_realtek hdaudioC0D0:speaker_outs=0 
(0x0/0x0/0x0/0x0/0x0)
[   29.093993] snd_hda_codec_realtek hdaudioC0D0:hp_outs=1 
(0x21/0x0/0x0/0x0/0x0)
[   29.093994] snd_hda_codec_realtek hdaudioC0D0:mono: mono_out=0x0
[   29.093996] snd_hda_codec_realtek hdaudioC0D0:inputs:
[   29.093998] snd_hda_codec_realtek hdaudioC0D0:  Mic=0x19
[   29.094001] snd_hda_codec_realtek hdaudioC0D0:  Internal Mic=0x12
[   29.167881] iTCO_vendor_support: vendor-support=0
[   29.170143] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[   29.170255] iTCO_wdt: Found a Bay Trail SoC TCO device (Version=3, 
TCOBASE=0x0460)
[   29.171276] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   29.211459] input: HDA Digital PCBeep as 
/devices/pci:00/:00:1b.0/sound/card0/input14
[   29.216923] input: HDA Intel PCH Mic as 
/devices/pci:00/:00:1b.0/sound/card0/input15
[   29.217043] input: HDA Intel PCH Headphone as 
/devices/pci:00/:00:1b.0/sound/card0/input16
[   29.217775] input: HDA Intel PCH HDMI/DP,pcm=3 as 
/devices/pci:00/:00:1b.0/sound/card0/input17
[   29.234029] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[   29.362590] Adding 15625212k swap on /dev/sda8.  Priority:-1 extents:1 
across:15625212k SSDscFS
[   29.438662] EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: 
discard
[   29.439184] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: 
discard
[   29.894757] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   29.894758] Bluetooth: BNEP filters: protocol