Bug#1000290: linux-image-5.10.0-9-amd64: Trackpoint not working on Debian 11 - Thinkpad T530

2021-12-02 Thread Daniel Bareiro
Hi!

Any update on this issue is highly appreciated.

Thanks in advance.

Kind regards,
Daniel



Bug#1000290: linux-image-5.10.0-9-amd64: Trackpoint not working on Debian 11 - Thinkpad T530

2021-11-20 Thread Daniel Bareiro
Package: src:linux
Version: 5.10.70-1
Severity: normal
X-Debbugs-Cc: dbare...@gmail.com

Dear Maintainer,

I'm trying to use Debian 11 on a Lenovo Thinkpad T530 notebook but I'm
having problems with the trackpoint operation.

Apparently the module that the kernel loads for the trackpoint is
"psmouse" implicitly using "proto=any". But when this happens, the
trackpoint does not work and you see these messages in /var/log/messages:

==
Nov 19 01:02:22 orion kernel: [ 1881.005857] psmouse serio1:
trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
Nov 19 01:02:22 orion kernel: [ 1881.056663] input: TPPS/2 IBM
TrackPoint as /devices/platform/i8042/serio1/input/input20
Nov 19 01:02:22 orion kernel: [ 1881.074433] psmouse serio1: Failed to
enable mouse on isa0060/serio1
Nov 19 01:02:22 orion kernel: [ 1881.091310] psmouse serio1: Failed to
deactivate mouse on isa0060/serio1: -5
Nov 19 01:02:22 orion kernel: [ 1881.125130] psmouse serio1: Failed to
enable mouse on isa0060/serio1
Nov 19 01:02:22 orion kernel: [ 1881.740546] psmouse serio1: Failed to
enable mouse on isa0060/serio1
Nov 19 01:02:23 orion kernel: [ 1882.408606] psmouse serio1: Failed to
enable mouse on isa0060/serio1
Nov 19 01:02:24 orion kernel: [ 1883.077852] psmouse serio1: Failed to
enable mouse on isa0060/serio1
Nov 19 01:02:24 orion kernel: [ 1883.746033] psmouse serio1: Failed to
enable mouse on isa0060/serio1
Nov 19 01:02:25 orion kernel: [ 1884.415145] psmouse serio1: Failed to
enable mouse on isa0060/serio1
Nov 19 01:02:26 orion kernel: [ 1885.083252] psmouse serio1: Failed to
enable mouse on isa0060/serio1
==

That is, the mouse is detected as a trackpoint (TPPS/2 IBM Trackpoint)
but it is not operational. I guess the "Failed to enable mouse" message
can give a clue as to what the problem is.

If I change to "proto=imps", the trackpoint becomes operational but it is
extremely slow perhaps because it is detected as "PS/2 Generic Mouse".

This problem is replicable on Debian 11 using both linux-image-5.10.0-8-amd64
and linux-image-5.14.0-0.bpo.2-amd64.

I think the problem is purely related to the Linux drivers, since in
tests carried out with FreeBSD 13, the trackpoint is detected as
"TPPS/2 IBM Trackpoint" and it works without any problem.

Please let me know if I can provide any additional information to help
resolve this.


Thanks in advance.

Kind regards,
Daniel

-- Package-specific info:
** Version:
Linux version 5.10.0-9-amd64 (debian-ker...@lists.debian.org) (gcc-10
(Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian)
2.35.2) #1 SMP Debian 5.10.70-1 (2021-09-30)

** Command line:
BOOT_IMAGE=/vmlinuz-5.10.0-9-amd64 root=/dev/mapper/main-root ro

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: LENOVO
product_name: 2429B51
product_version: ThinkPad T530
chassis_vendor: LENOVO
chassis_version: Not Available
bios_vendor: LENOVO
bios_version: G4ETB7WW (2.77 )
board_vendor: LENOVO
board_name: 2429B51
board_version: Not Defined

** Loaded modules:
ctr
ccm
bnep
binfmt_misc
intel_rapl_msr
intel_rapl_common
x86_pkg_temp_thermal
intel_powerclamp
kvm_intel
kvm
btusb
snd_hda_codec_hdmi
irqbypass
snd_hda_codec_realtek
tpm_tis
tpm_tis_core
btrtl
iwldvm
snd_hda_codec_generic
rapl
intel_cstate
intel_uncore
btbcm
btintel
tpm
mac80211
bluetooth
libarc4
snd_hda_intel
i915
jitterentropy_rng
snd_intel_dspcfg
thinkpad_acpi
soundwire_intel
drbg
ansi_cprng
uvcvideo
soundwire_generic_allocation
ecdh_generic
ecc
snd_soc_core
drm_kms_helper
mei_hdcp
snd_compress
mei_wdt
rng_core
nvram
button
videobuf2_vmalloc
iwlwifi
videobuf2_memops
soundwire_cadence
serio_raw
videobuf2_v4l2
cec
pcspkr
videobuf2_common
i2c_algo_bit
evdev
wmi_bmof
sg
snd_hda_codec
iTCO_wdt
ledtrig_audio
intel_pmc_bxt
snd_hda_core
iTCO_vendor_support
snd_hwdep
cfg80211
watchdog
soundwire_bus
mei_me
mei
rfkill
ac
coretemp
snd_aloop
snd_pcm
snd_timer
snd
soundcore
videodev
mc
parport_pc
ppdev
lp
parport
drm
sunrpc
configfs
fuse
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
dm_crypt
dm_mod
sd_mod
sr_mod
cdrom
t10_pi
crc_t10dif
crct10dif_generic
hid_generic
usbhid
hid
mmc_block
crct10dif_pclmul
crct10dif_common
crc32_pclmul
crc32c_intel
ghash_clmulni_intel
ahci
libahci
aesni_intel
libata
libaes
crypto_simd
cryptd
xhci_pci
glue_helper
xhci_hcd
scsi_mod
ehci_pci
psmouse
ehci_hcd
usbcore
sdhci_pci
cqhci
lpc_ich
e1000e
sdhci
mmc_core
ptp
pps_core
usb_common
wmi
battery
video

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor
DRAM Controller [8086:0154] (rev 09)
Subsystem: Lenovo 3rd Gen Core processor DRAM Controller [17aa:21f6]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-