Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-18 Thread Diederik de Haas
Control: forwarded -1 
https://lore.kernel.org/all/20230617230957.6mx73th4blv7o...@glandium.org/
Control: tag -1 upstream

On Sunday, 18 June 2023 02:14:22 CEST Mike Hommey wrote:
> > > I was able to build the relevant module only. The regression comes from
> > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/
> > > ?id=337c3624bcb008f92bab38c8fc4cdf97ae5313a2> 
> > I sent a patch upstream, but it's not showing up on the archives yet.
> > I'll update with a link when I have one.
> 
> Here we go:
> https://patchwork.kernel.org/project/linux-input/patch/20230617230957.6mx73t
> h4blv7o...@glandium.org/

That was awesome :) Updated bug metadata accordingly

signature.asc
Description: This is a digitally signed message part.


Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-17 Thread Mike Hommey
On Sun, Jun 18, 2023 at 08:15:43AM +0900, Mike Hommey wrote:
> On Sun, Jun 18, 2023 at 06:09:57AM +0900, Mike Hommey wrote:
> > On Sat, Jun 17, 2023 at 01:20:30AM +0200, Diederik de Haas wrote:
> > > Control: tag -1 -moreinfo
> > > Control: found -1 6.1.20-1
> > > 
> > > On Saturday, 17 June 2023 01:00:58 CEST Mike Hommey wrote:
> > > > > 6.1.12-1 and 6.1.15-1 are good. 6.1.20-1 is the first broken one.
> > > 
> > > Excellent, thanks. This is already very useful.
> > > 
> > > > > > A `git bisect` would be best, but grabbing these intermediate 
> > > > > > versions
> > > > > > (from snapshot.debian.org) is the quickest way to narrow the range.
> > > > > 
> > > > > Last time I tried to build Debian linux kernels, it was spending a 
> > > > > large
> > > > > amount of time building packages I don't need, and finding the right
> > > > > incantation to reduce that load was not straightforward, and I can't
> > > > > find my notes, unfortunately. If you have instructions I can use to go
> > > > > through a bisect in a quick manner, I'm all ears.
> > > > 
> > > > Although, if you have instructions to just build the one module and 
> > > > avoid
> > > > rebooting, that would be even better.
> > > 
> > > I _think_ building just one module or without rebooting is not possible.
> > > 
> > > The 'official' instructions: 
> > > https://wiki.debian.org/DebianKernel/GitBisect
> > > 
> > > I know some things to reduce what gets build, like f.e. what's described 
> > > here:
> > > https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.7
> > > And there's also a facility to work with _build profiles_.
> > > But I don't know if or how that could be applied to the 'official' 
> > > instructions
> > > as that deals with the upstream kernel source directly.
> > > 
> > > Hopefully one of the (more) experienced people chimes in with 
> > > actual useful things ...
> > 
> > I was able to build the relevant module only. The regression comes from
> > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=337c3624bcb008f92bab38c8fc4cdf97ae5313a2
> 
> I sent a patch upstream, but it's not showing up on the archives yet.
> I'll update with a link when I have one.

Here we go:
https://patchwork.kernel.org/project/linux-input/patch/20230617230957.6mx73th4blv7o...@glandium.org/

Mike



Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-17 Thread Mike Hommey
On Sun, Jun 18, 2023 at 06:09:57AM +0900, Mike Hommey wrote:
> On Sat, Jun 17, 2023 at 01:20:30AM +0200, Diederik de Haas wrote:
> > Control: tag -1 -moreinfo
> > Control: found -1 6.1.20-1
> > 
> > On Saturday, 17 June 2023 01:00:58 CEST Mike Hommey wrote:
> > > > 6.1.12-1 and 6.1.15-1 are good. 6.1.20-1 is the first broken one.
> > 
> > Excellent, thanks. This is already very useful.
> > 
> > > > > A `git bisect` would be best, but grabbing these intermediate versions
> > > > > (from snapshot.debian.org) is the quickest way to narrow the range.
> > > > 
> > > > Last time I tried to build Debian linux kernels, it was spending a large
> > > > amount of time building packages I don't need, and finding the right
> > > > incantation to reduce that load was not straightforward, and I can't
> > > > find my notes, unfortunately. If you have instructions I can use to go
> > > > through a bisect in a quick manner, I'm all ears.
> > > 
> > > Although, if you have instructions to just build the one module and avoid
> > > rebooting, that would be even better.
> > 
> > I _think_ building just one module or without rebooting is not possible.
> > 
> > The 'official' instructions: https://wiki.debian.org/DebianKernel/GitBisect
> > 
> > I know some things to reduce what gets build, like f.e. what's described 
> > here:
> > https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.7
> > And there's also a facility to work with _build profiles_.
> > But I don't know if or how that could be applied to the 'official' 
> > instructions
> > as that deals with the upstream kernel source directly.
> > 
> > Hopefully one of the (more) experienced people chimes in with 
> > actual useful things ...
> 
> I was able to build the relevant module only. The regression comes from
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=337c3624bcb008f92bab38c8fc4cdf97ae5313a2

I sent a patch upstream, but it's not showing up on the archives yet.
I'll update with a link when I have one.

Mike



Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-17 Thread Mike Hommey
On Sat, Jun 17, 2023 at 01:20:30AM +0200, Diederik de Haas wrote:
> Control: tag -1 -moreinfo
> Control: found -1 6.1.20-1
> 
> On Saturday, 17 June 2023 01:00:58 CEST Mike Hommey wrote:
> > > 6.1.12-1 and 6.1.15-1 are good. 6.1.20-1 is the first broken one.
> 
> Excellent, thanks. This is already very useful.
> 
> > > > A `git bisect` would be best, but grabbing these intermediate versions
> > > > (from snapshot.debian.org) is the quickest way to narrow the range.
> > > 
> > > Last time I tried to build Debian linux kernels, it was spending a large
> > > amount of time building packages I don't need, and finding the right
> > > incantation to reduce that load was not straightforward, and I can't
> > > find my notes, unfortunately. If you have instructions I can use to go
> > > through a bisect in a quick manner, I'm all ears.
> > 
> > Although, if you have instructions to just build the one module and avoid
> > rebooting, that would be even better.
> 
> I _think_ building just one module or without rebooting is not possible.
> 
> The 'official' instructions: https://wiki.debian.org/DebianKernel/GitBisect
> 
> I know some things to reduce what gets build, like f.e. what's described here:
> https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.7
> And there's also a facility to work with _build profiles_.
> But I don't know if or how that could be applied to the 'official' 
> instructions
> as that deals with the upstream kernel source directly.
> 
> Hopefully one of the (more) experienced people chimes in with 
> actual useful things ...

I was able to build the relevant module only. The regression comes from
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=337c3624bcb008f92bab38c8fc4cdf97ae5313a2

Mike



Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-16 Thread Diederik de Haas
Control: tag -1 -moreinfo
Control: found -1 6.1.20-1

On Saturday, 17 June 2023 01:00:58 CEST Mike Hommey wrote:
> > 6.1.12-1 and 6.1.15-1 are good. 6.1.20-1 is the first broken one.

Excellent, thanks. This is already very useful.

> > > A `git bisect` would be best, but grabbing these intermediate versions
> > > (from snapshot.debian.org) is the quickest way to narrow the range.
> > 
> > Last time I tried to build Debian linux kernels, it was spending a large
> > amount of time building packages I don't need, and finding the right
> > incantation to reduce that load was not straightforward, and I can't
> > find my notes, unfortunately. If you have instructions I can use to go
> > through a bisect in a quick manner, I'm all ears.
> 
> Although, if you have instructions to just build the one module and avoid
> rebooting, that would be even better.

I _think_ building just one module or without rebooting is not possible.

The 'official' instructions: https://wiki.debian.org/DebianKernel/GitBisect

I know some things to reduce what gets build, like f.e. what's described here:
https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.7
And there's also a facility to work with _build profiles_.
But I don't know if or how that could be applied to the 'official' instructions
as that deals with the upstream kernel source directly.

Hopefully one of the (more) experienced people chimes in with 
actual useful things ...

signature.asc
Description: This is a digitally signed message part.


Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-16 Thread Mike Hommey
On Sat, Jun 17, 2023 at 07:59:17AM +0900, Mike Hommey wrote:
> On Sat, Jun 17, 2023 at 12:13:13AM +0200, Diederik de Haas wrote:
> > Control: tag -1 moreinfo
> > 
> > On Fri Jun 16, 2023 at 11:21 PM CEST, Mike Hommey wrote:
> > > Package: src:linux
> > > Version: 6.1.27-1
> > >
> > > After upgrading to bookworm, my bluetooth trackpad stopped working. It's
> > > properly connected, and `libinput list-devices` displays this message:
> > >
> > > event15 - Logitech Rechargeable Trackpad T651: kernel bug: device has min 
> > > == 
> > max on ABS_MT_POSITION_X
> > >
> > > It worked with earlier kernel versions. I went back to one I had at hand
> > > from before the upgrade (6.1.0-0.deb11.5-amd64), and it worked again,
> > 
> > Version 6.1.0-0.deb11.5 should be the same as version 6.1.12-1.
> > If would be useful if you could verify that with the non-backports kernel
> > it also works again.
> > If that's the case, could you try newer versions (6.1.15-1, 6.1.20-1 and
> > 6.1.25-1) to find the newest kernel version that still works?
> 
> 6.1.12-1 and 6.1.15-1 are good. 6.1.20-1 is the first broken one.
> 
> > A `git bisect` would be best, but grabbing these intermediate versions
> > (from snapshot.debian.org) is the quickest way to narrow the range.
> 
> Last time I tried to build Debian linux kernels, it was spending a large
> amount of time building packages I don't need, and finding the right
> incantation to reduce that load was not straightforward, and I can't
> find my notes, unfortunately. If you have instructions I can use to go
> through a bisect in a quick manner, I'm all ears.

Although, if you have instructions to just build the one module and avoid
rebooting, that would be even better.

Mike



Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-16 Thread Mike Hommey
On Sat, Jun 17, 2023 at 12:13:13AM +0200, Diederik de Haas wrote:
> Control: tag -1 moreinfo
> 
> On Fri Jun 16, 2023 at 11:21 PM CEST, Mike Hommey wrote:
> > Package: src:linux
> > Version: 6.1.27-1
> >
> > After upgrading to bookworm, my bluetooth trackpad stopped working. It's
> > properly connected, and `libinput list-devices` displays this message:
> >
> > event15 - Logitech Rechargeable Trackpad T651: kernel bug: device has min 
> > == 
> max on ABS_MT_POSITION_X
> >
> > It worked with earlier kernel versions. I went back to one I had at hand
> > from before the upgrade (6.1.0-0.deb11.5-amd64), and it worked again,
> 
> Version 6.1.0-0.deb11.5 should be the same as version 6.1.12-1.
> If would be useful if you could verify that with the non-backports kernel
> it also works again.
> If that's the case, could you try newer versions (6.1.15-1, 6.1.20-1 and
> 6.1.25-1) to find the newest kernel version that still works?

6.1.12-1 and 6.1.15-1 are good. 6.1.20-1 is the first broken one.

> A `git bisect` would be best, but grabbing these intermediate versions
> (from snapshot.debian.org) is the quickest way to narrow the range.

Last time I tried to build Debian linux kernels, it was spending a large
amount of time building packages I don't need, and finding the right
incantation to reduce that load was not straightforward, and I can't
find my notes, unfortunately. If you have instructions I can use to go
through a bisect in a quick manner, I'm all ears.

Mike



Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-16 Thread Diederik de Haas
Control: tag -1 moreinfo

On Fri Jun 16, 2023 at 11:21 PM CEST, Mike Hommey wrote:
> Package: src:linux
> Version: 6.1.27-1
>
> After upgrading to bookworm, my bluetooth trackpad stopped working. It's
> properly connected, and `libinput list-devices` displays this message:
>
> event15 - Logitech Rechargeable Trackpad T651: kernel bug: device has min == 
max on ABS_MT_POSITION_X
>
> It worked with earlier kernel versions. I went back to one I had at hand
> from before the upgrade (6.1.0-0.deb11.5-amd64), and it worked again,

Version 6.1.0-0.deb11.5 should be the same as version 6.1.12-1.
If would be useful if you could verify that with the non-backports kernel
it also works again.
If that's the case, could you try newer versions (6.1.15-1, 6.1.20-1 and
6.1.25-1) to find the newest kernel version that still works?

A `git bisect` would be best, but grabbing these intermediate versions
(from snapshot.debian.org) is the quickest way to narrow the range.


signature.asc
Description: This is a digitally signed message part.


Bug#1038271: linux-image-6.1.0-9-amd64: Logitech trackpad T651 doesn't work anymore

2023-06-16 Thread Mike Hommey
Package: src:linux
Version: 6.1.27-1
Severity: important

Dear Maintainer,

After upgrading to bookworm, my bluetooth trackpad stopped working. It's
properly connected, and `libinput list-devices` displays this message:

event15 - Logitech Rechargeable Trackpad T651: kernel bug: device has min == 
max on ABS_MT_POSITION_X

It worked with earlier kernel versions. I went back to one I had at hand
from before the upgrade (6.1.0-0.deb11.5-amd64), and it worked again,
with `libinput list-devices` reporting:

Device:   Logitech Rechargeable Trackpad T651
Kernel:   /dev/input/event15
Group:7
Seat: seat0, default
Size: 123x103mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock:disabled
Left-handed:  disabled
Nat.scrolling:disabled
Middle emulation: disabled
Calibration:  n/a
Scroll methods:   *two-finger edge
Click methods:*button-areas clickfinger
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive
Rotation: n/a


-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: Gigabyte Technology Co., Ltd.
product_name: TRX40 AORUS PRO WIFI
product_version: -CF
chassis_vendor: Default string
chassis_version: Default string
bios_vendor: American Megatrends International, LLC.
bios_version: F6
board_vendor: Gigabyte Technology Co., Ltd.
board_name: TRX40 AORUS PRO WIFI
board_version: Default string

** PCI devices:
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse 
Root Complex [1022:1480]
Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root 
Complex [1022:1480]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 

00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse 
PCIe Dummy Host Bridge [1022:1482]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse 
GPP Bridge [1022:1483] (prog-if 00 [Normal decode])
Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP 
Bridge [1022:1453]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse 
PCIe Dummy Host Bridge [1022:1482]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse 
PCIe Dummy Host Bridge [1022:1482]
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: 
Kernel driver in use: pcieport

00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller 
[1022:790b] (rev 61)
Subsystem: Gigabyte Technology Co., Ltd FCH SMBus Controller [1458:5001]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- 
Kernel driver in use: nvme
Kernel modules: nvme

02:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe 
SSD Controller SM981/PM981/PM983 [144d:a808] (prog-if 02 [NVM Express])
Subsystem: Samsung Electronics Co Ltd SSD 970 EVO [144d:a801]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Kernel