Touchpad not working at all

Bug #1932069 reported by amaurytc
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Notebook Lenovo BS-145 15 HL

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: linux-image-5.11.0-18-generic 5.11.0-18.19
ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17
Uname: Linux 5.11.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: cesar 1314 F.... pulseaudio
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 15 16:36:11 2021
InstallationDate: Installed on 2021-06-15 (0 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 174f:1176 Syntek Integrated Camera
 Bus 001 Device 005: ID 10c4:8105 Silicon Labs USB OPTICAL MOUSE
 Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 82HB
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.11.0-18-generic root=UUID=2ff10f98-8e1f-42ac-98b7-284459b8d285 ro quiet splash vt.handoff=7
RebootRequiredPkgs: gnome-shell
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-18-generic N/A
 linux-backports-modules-5.11.0-18-generic N/A
 linux-firmware 1.197.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/23/2020
dmi.bios.release: 1.51
dmi.bios.vendor: LENOVO
dmi.bios.version: DKCN51WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo BS145-15IIL
dmi.ec.firmware.release: 1.51
dmi.modalias: dmi:bvnLENOVO:bvrDKCN51WW:bd12/23/2020:br1.51:efr1.51:svnLENOVO:pn82HB:pvrLenovoBS145-15IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrLenovoBS145-15IIL:
dmi.product.family: BS145-15IIL
dmi.product.name: 82HB
dmi.product.sku: LENOVO_MT_82HB_BU_idea_FM_BS145-15IIL
dmi.product.version: Lenovo BS145-15IIL
dmi.sys.vendor: LENOVO

Revision history for this message
amaurytc (amaurytc) wrote :
Revision history for this message
Hui Wang (hui.wang) wrote :

Please try pci=realloc in the bootargs.

[ 0.743502] pci 0000:00:15.0: BAR 0: no space for [mem size 0x00001000 64bit]
[ 0.743507] pci 0000:00:15.0: BAR 0: failed to assign [mem size 0x00001000 64bit]
[ 0.743512] pci 0000:00:15.1: BAR 0: no space for [mem size 0x00001000 64bit]
[ 0.743514] pci 0000:00:15.1: BAR 0: failed to assign [mem size 0x00001000 64bit]
[ 0.743517] pci 0000:00:1f.5: BAR 0: no space for [mem size 0x00001000]
[ 0.743519] pci 0000:00:1f.5: BAR 0: trying firmware assignment [mem 0xfe010000-0xfe010fff]
[ 0.743522] pci 0000:00:1f.5: BAR 0: [mem 0xfe010000-0xfe010fff] conflicts with Reserved [mem 0xfc800000-0xfe7fffff]
[ 0.743525] pci 0000:00:1f.5: BAR 0: failed to assign [mem size 0x00001000]

Revision history for this message
amaurytc (amaurytc) wrote :

I try but the touchpad still not working

I follow the instructions to add the parameter as in https://wiki.ubuntu.com/Kernel/KernelBootParameters

This is a dual boot machine. The touchpad works in Windows :(

Thanks a lot for the help

Revision history for this message
Hui Wang (hui.wang) wrote :

Please upload the dmesg after you add the boot parameter.

Revision history for this message
amaurytc (amaurytc) wrote :
Download full text (73.5 KiB)

dmesg
[ 0.000000] microcode: microcode updated early to revision 0xa6, date = 2020-11-01
[ 0.000000] Linux version 5.11.0-18-generic (buildd@lgw01-amd64-049) (gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.36.1) #19-Ubuntu SMP Fri May 7 14:22:03 UTC 2021 (Ubuntu 5.11.0-18.19-generic 5.11.17)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.11.0-18-generic root=UUID=2ff10f98-8e1f-42ac-98b7-284459b8d285 ro quiet splash pci=realloc vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] x86/split lock detection: warning about user-space split_locks
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[5]: 832, xstate_sizes[5]: 64
[ 0.000000] x86/fpu: xstate_offset[6]: 896, xstate_sizes[6]: 512
[ 0.000000] x86/fpu: xstate_offset[7]: 1408, xstate_sizes[7]: 1024
[ 0.000000] x86/fpu: xstate_offset[9]: 2432, xstate_sizes[9]: 8
[ 0.000000] x86/fpu: Enabled xstate features 0x2e7, context size is 2440 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000047987fff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000047988000-0x0000000048287fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000048288000-0x000000004a09efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000004a09f000-0x000000004b4defff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000004b4df000-0x000000004bbcefff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000004bbcf000-0x000000004bc4efff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000004bc4f000-0x000000004bc4ffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000004bc50000-0x00000000cfffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fc800000-0x00000000fe7fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed17fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fed20000-0x00000000fed7ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feda0000-0x00000000feda1fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ff600000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000...

Revision history for this message
Hui Wang (hui.wang) wrote :

Please try "pci=nocrs,realloc", if still doesn't work, please also upload the dmesg with the new parameter.

thx.

Revision history for this message
Hui Wang (hui.wang) wrote :

Please test this kernel: https://people.canonical.com/~hwang4/lp1932069/ and no need to add the parameter "pci=nocrs,realloc". Please upload the dmesg ($dmesg > dmesg.txt) with the testing kernel.

thx.

Revision history for this message
amaurytc (amaurytc) wrote : Re: [Bug 1932069] Re: Touchpad not working at all

I want to thank you for all the attention you give me in this case. I'll
try soon as possible, once this notebooke belong to a friend of mine.

Em qua., 23 de jun. de 2021 às 07:45, Hui Wang <email address hidden>
escreveu:

> Please test this kernel: https://people.canonical.com/~hwang4/lp1932069/
> and no need to add the parameter "pci=nocrs,realloc". Please upload the
> dmesg ($dmesg > dmesg.txt) with the testing kernel.
>
> thx.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1932069
>
> Title:
> Touchpad not working at all
>
> Status in linux package in Ubuntu:
> New
>
> Bug description:
> Notebook Lenovo BS-145 15 HL
>
> ProblemType: Bug
> DistroRelease: Ubuntu 21.04
> Package: linux-image-5.11.0-18-generic 5.11.0-18.19
> ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17
> Uname: Linux 5.11.0-18-generic x86_64
> ApportVersion: 2.20.11-0ubuntu65.1
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: cesar 1314 F.... pulseaudio
> CasperMD5CheckResult: pass
> CurrentDesktop: ubuntu:GNOME
> Date: Tue Jun 15 16:36:11 2021
> InstallationDate: Installed on 2021-06-15 (0 days ago)
> InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64
> (20210420)
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 174f:1176 Syntek Integrated Camera
> Bus 001 Device 005: ID 10c4:8105 Silicon Labs USB OPTICAL MOUSE
> Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560
> Jefferson Peak (JfP)
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: LENOVO 82HB
> ProcFB: 0 i915drmfb
> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.11.0-18-generic
> root=UUID=2ff10f98-8e1f-42ac-98b7-284459b8d285 ro quiet splash vt.handoff=7
> RebootRequiredPkgs: gnome-shell
> RelatedPackageVersions:
> linux-restricted-modules-5.11.0-18-generic N/A
> linux-backports-modules-5.11.0-18-generic N/A
> linux-firmware 1.197.1
> SourcePackage: linux
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 12/23/2020
> dmi.bios.release: 1.51
> dmi.bios.vendor: LENOVO
> dmi.bios.version: DKCN51WW
> dmi.board.asset.tag: NO Asset Tag
> dmi.board.name: LNVNB161216
> dmi.board.vendor: LENOVO
> dmi.board.version: SDK0J40697 WIN
> dmi.chassis.asset.tag: NO Asset Tag
> dmi.chassis.type: 10
> dmi.chassis.vendor: LENOVO
> dmi.chassis.version: Lenovo BS145-15IIL
> dmi.ec.firmware.release: 1.51
> dmi.modalias:
> dmi:bvnLENOVO:bvrDKCN51WW:bd12/23/2020:br1.51:efr1.51:svnLENOVO:pn82HB:pvrLenovoBS145-15IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrLenovoBS145-15IIL:
> dmi.product.family: BS145-15IIL
> dmi.product.name: 82HB
> dmi.product.sku: LENOVO_MT_82HB_BU_idea_FM_BS145-15IIL
> dmi.product.version: Lenovo BS145-15IIL
> dmi.sys.vendor: LENOVO
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1932069/+subscriptions
>

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans de Goede (j-w-r-degoede) wrote :

Sorry that it is taking so long to fix this. There have been several attempts at fixing this upstream already, but all of them had to be reverted/dropped because they were causing issues on other laptop models.

The latest attempt at fixing this is here:
https://<email address hidden>/

And this patch, or something close to it will hopefully go upstream soon.

Perhaps one of the Ubuntu kernel devs can provide a test kernel with this patch for Ubuntu users with this problem to test?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
amaurytc (amaurytc) wrote : Re: [Bug 1932069] Re: Touchpad not working at all

Thanks!

Em ter., 17 de mai. de 2022 às 01:10, Kai-Heng Feng <
<email address hidden>> escreveu:

> Test kernel can be found here:
> https://people.canonical.com/~khfeng/lp1932069/
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1932069
>
> Title:
> Touchpad not working at all
>
> Status in linux package in Ubuntu:
> Confirmed
>
> Bug description:
> Notebook Lenovo BS-145 15 HL
>
> ProblemType: Bug
> DistroRelease: Ubuntu 21.04
> Package: linux-image-5.11.0-18-generic 5.11.0-18.19
> ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17
> Uname: Linux 5.11.0-18-generic x86_64
> ApportVersion: 2.20.11-0ubuntu65.1
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: cesar 1314 F.... pulseaudio
> CasperMD5CheckResult: pass
> CurrentDesktop: ubuntu:GNOME
> Date: Tue Jun 15 16:36:11 2021
> InstallationDate: Installed on 2021-06-15 (0 days ago)
> InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64
> (20210420)
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 174f:1176 Syntek Integrated Camera
> Bus 001 Device 005: ID 10c4:8105 Silicon Labs USB OPTICAL MOUSE
> Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560
> Jefferson Peak (JfP)
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: LENOVO 82HB
> ProcFB: 0 i915drmfb
> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.11.0-18-generic
> root=UUID=2ff10f98-8e1f-42ac-98b7-284459b8d285 ro quiet splash vt.handoff=7
> RebootRequiredPkgs: gnome-shell
> RelatedPackageVersions:
> linux-restricted-modules-5.11.0-18-generic N/A
> linux-backports-modules-5.11.0-18-generic N/A
> linux-firmware 1.197.1
> SourcePackage: linux
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 12/23/2020
> dmi.bios.release: 1.51
> dmi.bios.vendor: LENOVO
> dmi.bios.version: DKCN51WW
> dmi.board.asset.tag: NO Asset Tag
> dmi.board.name: LNVNB161216
> dmi.board.vendor: LENOVO
> dmi.board.version: SDK0J40697 WIN
> dmi.chassis.asset.tag: NO Asset Tag
> dmi.chassis.type: 10
> dmi.chassis.vendor: LENOVO
> dmi.chassis.version: Lenovo BS145-15IIL
> dmi.ec.firmware.release: 1.51
> dmi.modalias:
> dmi:bvnLENOVO:bvrDKCN51WW:bd12/23/2020:br1.51:efr1.51:svnLENOVO:pn82HB:pvrLenovoBS145-15IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrLenovoBS145-15IIL:
> dmi.product.family: BS145-15IIL
> dmi.product.name: 82HB
> dmi.product.sku: LENOVO_MT_82HB_BU_idea_FM_BS145-15IIL
> dmi.product.version: Lenovo BS145-15IIL
> dmi.sys.vendor: LENOVO
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1932069/+subscriptions
>
>

Revision history for this message
Bjorn Helgaas (bjorn-helgaas) wrote :

This is likely a duplicate of https://bugs.launchpad.net/bugs/1878279

The current upstream resolution to this problem is https://git.kernel.org/linus/d341838d776a ("x86/PCI: Disable E820 reserved region clipping via quirks"), which relies on quirks that match DMI Vendor, Product Version, Product Name, and Board Name. This isn't an ideal solution because there are likely other systems we don't know about that need a similar fix.

The patch I'm attaching here is an experimental idea to work around this issue without the maintenance burden of the quirks.

If anybody would be willing to test this patch, I would be very grateful. To test it, apply this patch to your kernel, boot with "pci=use_e820 efi=debug", and collect the dmesg log.

tags: added: patch
Revision history for this message
amaurytc (amaurytc) wrote :

Thank you!

Em ter., 22 de nov. de 2022 às 13:30, Ubuntu Foundations Team Bug Bot <
<email address hidden>> escreveu:

> ** Tags added: patch
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1932069
>
> Title:
> Touchpad not working at all
>
> Status in linux package in Ubuntu:
> Confirmed
>
> Bug description:
> Notebook Lenovo BS-145 15 HL
>
> ProblemType: Bug
> DistroRelease: Ubuntu 21.04
> Package: linux-image-5.11.0-18-generic 5.11.0-18.19
> ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17
> Uname: Linux 5.11.0-18-generic x86_64
> ApportVersion: 2.20.11-0ubuntu65.1
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: cesar 1314 F.... pulseaudio
> CasperMD5CheckResult: pass
> CurrentDesktop: ubuntu:GNOME
> Date: Tue Jun 15 16:36:11 2021
> InstallationDate: Installed on 2021-06-15 (0 days ago)
> InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64
> (20210420)
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 174f:1176 Syntek Integrated Camera
> Bus 001 Device 005: ID 10c4:8105 Silicon Labs USB OPTICAL MOUSE
> Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560
> Jefferson Peak (JfP)
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: LENOVO 82HB
> ProcFB: 0 i915drmfb
> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.11.0-18-generic
> root=UUID=2ff10f98-8e1f-42ac-98b7-284459b8d285 ro quiet splash vt.handoff=7
> RebootRequiredPkgs: gnome-shell
> RelatedPackageVersions:
> linux-restricted-modules-5.11.0-18-generic N/A
> linux-backports-modules-5.11.0-18-generic N/A
> linux-firmware 1.197.1
> SourcePackage: linux
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 12/23/2020
> dmi.bios.release: 1.51
> dmi.bios.vendor: LENOVO
> dmi.bios.version: DKCN51WW
> dmi.board.asset.tag: NO Asset Tag
> dmi.board.name: LNVNB161216
> dmi.board.vendor: LENOVO
> dmi.board.version: SDK0J40697 WIN
> dmi.chassis.asset.tag: NO Asset Tag
> dmi.chassis.type: 10
> dmi.chassis.vendor: LENOVO
> dmi.chassis.version: Lenovo BS145-15IIL
> dmi.ec.firmware.release: 1.51
> dmi.modalias:
> dmi:bvnLENOVO:bvrDKCN51WW:bd12/23/2020:br1.51:efr1.51:svnLENOVO:pn82HB:pvrLenovoBS145-15IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrLenovoBS145-15IIL:
> dmi.product.family: BS145-15IIL
> dmi.product.name: 82HB
> dmi.product.sku: LENOVO_MT_82HB_BU_idea_FM_BS145-15IIL
> dmi.product.version: Lenovo BS145-15IIL
> dmi.sys.vendor: LENOVO
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1932069/+subscriptions
>
>

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

This was included since kernel 5.19, please give it a try.

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.