[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-23 Thread crysman
It seems we got stuck here, I've done everything I was asked for, now we
need somebody kernel-competent to review what I've posted and... let's
hope it will not take too long. If anybody else is affected, please mark
so at the top ("this affects me too") - to give this bug more heat
points. Thanks a lot to everyone involved!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-22 Thread Arglebargle
I'm also affected by this. Ping me if I can help move this along in any
way, I'm happy to test.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-18 Thread crysman
Hi there, anything I can do more here to move this forward? I am aware
this might be a complicated issue to solve :/ Thanks a lot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-12 Thread crysman
And since without `pci=nocrs` touchpad and touchscreen are not working at all, 
attaching also second dmesg:
"""
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.8.0-050800-generic 
root=UUID=415eed75-e8aa-4b5a-a49d-51f5b103641e ro quiet splash i8042.nopnp=1 
pci=nocrs "dyndbg=file drivers/pci/* +p" vt.handoff=7
"""


** Attachment added: "dmesg_i8042.nopnp=1+pci=nocrs+dyndbg.log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5392088/+files/dmesg_i8042.nopnp%3D1+pci%3Dnocrs+dyndbg.log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-12 Thread crysman
OK, done, here is current dmesg on latest kernel with `"dyndbg=file
drivers/pci/* +p"`

precise boot parameters are:
"""
$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.8.0-050800-generic 
root=UUID=415eed75-e8aa-4b5a-a49d-51f5b103641e ro quiet splash i8042.nopnp=1 
"dyndbg=file drivers/pci/* +p"
"""

uname here:
"""
$ uname -a
Linux SPIN5 5.8.0-050800-generic #202007052030 SMP Mon Jul 6 00:37:33 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux
"""

Awaiting further info from you guys now... Thanks a lot so far!

** Attachment added: "dmesg_i8042.nopnp=1+dyndbg.log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5392087/+files/dmesg_i8042.nopnp%3D1+dyndbg.log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-12 Thread crysman
Ad #27-1) Well, according to here
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel#Building_the_kernel it
seems I will need that _all.deb package, too, so, I'm on it...
installing all four:

"""
crysman@SPIN5:~/Downloads/kernels-Ubuntu$ sudo dpkg -i linux-*.deb
[sudo] password for crysman: 
Selecting previously unselected package linux-headers-5.8.0-050800.
(Reading database ... 224125 files and directories currently installed.)
Preparing to unpack 
linux-headers-5.8.0-050800_5.8.0-050800.202007052030_all.deb ...
Unpacking linux-headers-5.8.0-050800 (5.8.0-050800.202007052030) ...
Selecting previously unselected package linux-headers-5.8.0-050800-generic.
Preparing to unpack 
linux-headers-5.8.0-050800-generic_5.8.0-050800.202007052030_amd64.deb ...
Unpacking linux-headers-5.8.0-050800-generic (5.8.0-050800.202007052030) ...
Selecting previously unselected package 
linux-image-unsigned-5.8.0-050800-generic.
Preparing to unpack 
linux-image-unsigned-5.8.0-050800-generic_5.8.0-050800.202007052030_amd64.deb 
...
Unpacking linux-image-unsigned-5.8.0-050800-generic (5.8.0-050800.202007052030) 
...
Selecting previously unselected package linux-modules-5.8.0-050800-generic.
Preparing to unpack 
linux-modules-5.8.0-050800-generic_5.8.0-050800.202007052030_amd64.deb ...
Unpacking linux-modules-5.8.0-050800-generic (5.8.0-050800.202007052030) ...
Setting up linux-headers-5.8.0-050800 (5.8.0-050800.202007052030) ...
Setting up linux-headers-5.8.0-050800-generic (5.8.0-050800.202007052030) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-050800-generic
   ...done.
Setting up linux-modules-5.8.0-050800-generic (5.8.0-050800.202007052030) ...
Setting up linux-image-unsigned-5.8.0-050800-generic 
(5.8.0-050800.202007052030) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-40-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-40-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.8.0-050800-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.8.0-050800-generic
Processing triggers for linux-image-unsigned-5.8.0-050800-generic 
(5.8.0-050800.202007052030) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-050800-generic
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.8.0-050800-generic
modinfo: ERROR: could not get modinfo from 'da903x': No such file or directory
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.8.0-050800-generic
Found initrd image: /boot/initrd.img-5.8.0-050800-generic
Found linux image: /boot/vmlinuz-5.4.0-40-generic
Found initrd image: /boot/initrd.img-5.4.0-40-generic
Found linux image: /boot/vmlinuz-5.4.0-39-generic
Found initrd image: /boot/initrd.img-5.4.0-39-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
done
"""

going to reboot with 'quiet splash i8042.nopnp=1 dyndbg="file
drivers/pci/* +p"' ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-12 Thread crysman
I've just found out there is no need to compile kernel myself in Ubuntu,
because this distro provides upstream kernel packages according to this:
https://wiki.ubuntu.com/Kernel/MainlineBuilds

So... I'm just downloading from here:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc4/

Namely these three:
- 
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc4/amd64/linux-headers-5.8.0-050800-generic_5.8.0-050800.202007052030_amd64.deb
- 
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc4/amd64/linux-image-unsigned-5.8.0-050800-generic_5.8.0-050800.202007052030_amd64.deb
- 
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc4/amd64/linux-modules-5.8.0-050800-generic_5.8.0-050800.202007052030_amd64.deb

Two questions:
1) Is that three .deb s enough or do I need also _all?
( 
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8-rc4/amd64/linux-headers-5.8.0-050800_5.8.0-050800.202007052030_all.deb
 )

2) Is this procedure OK and valid for your purposes?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-11 Thread Kai-Heng Feng
Yes please disable CONFIG_DEBUG_INFO_BTF.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-11 Thread crysman
I've just returned from vacation... willing to work/help on this issue -
I need an answer to whether if I may disable CONFIG_DEBUG_INFO_BTF as
proposed - see #24 thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-02 Thread crysman
@Bjorn, bad news, I got stuck in compiling on this:
"""
...
BTF: .tmp_vmlinux.btf: pahole version v1.15 is too old, need at least v1.16
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF
...
"""

I cannot compile newer Pahole 
(https://git.kernel.org/pub/scm/devel/pahole/pahole.git) since it gets 
interrupted with this error:
"""
...
CMake Error at CMakeLists.txt:55 (message):
  The submodules were not downloaded! GIT_SUBMODULE was turned off or failed.
  Please update submodules and try again.
...
"""

May I disable CONFIG_DEBUG_INFO_BTF as proposed? If so, where do I
disable it? Thanks a lot #McZ

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-02 Thread crysman
OK, compiling...

once a while I see a warning like this:
"""
function 'walk_remove_by_peer.isra.0':
/home/crysman/Downloads/kernels/unstable/drivers/net/wireguard/allowedips.c:121:1:
 warning: the frame size of 1032 bytes is larger than 1024 bytes 
[-Wframe-larger-than=]
"""

that is normal?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-02 Thread Bjorn Helgaas
Yes, I think that kernel is fine.

You can leave the i8042.nopnp=1 in your kernel command line parameters.
Otherwise it looks right.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-02 Thread crysman
Hi @Bjorn,

is this the right kernel to test on?
https://code.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/unstable/+ref/master-5.8

I'm just git-cloning it..

Once compiled and set, you need me to boot with 'quiet splash
dyndbg="file drivers/pci/* +p"' instead of current 'quiet splash
i8042.nopnp=1 pci=nocrs' in GRUB and send dmesg output again? Is that
correct?

Thank you

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-07-02 Thread crysman
I've just updated to 5.4.0-40, going to reboot and test it now, if it
does not work, will try some 5.8 kernel with that parameter (if
successful with https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel)
thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-30 Thread crysman
Sorry for delay, I'll look into it on Thursday I hope - just letting you
know I'm still on it, just overwhelmed by work these days...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-24 Thread You-Sheng Yang
** Tags added: hwe-touchpad

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-24 Thread Bjorn Helgaas
1) Sorry, I don't have a PPA or similar kernel image for you to try.

2) I expected that Windows would move 00:1f.5 BAR 0 to be inside the
windows reported by the PCI0 _CRS, but the AIDA64 report shows
otherwise:

B00 D1F F05:  Intel Ice Point-LP PCH - SPI (Flash) Controller
  
  Offset 000:  86 80 A4 34  06 04 00 00  30 00 80 0C  00 00 00 00 
  Offset 010:  00 00 01 FE  00 00 00 00  00 00 00 00  00 00 00 00 

BAR 0 is at offset 0x10, and it still contains the value BIOS put there
(0xfe01).

I don't know why Linux couldn't find space for 00:1f.5 BAR 0.  Tracing
the resource assignment code with 'dyndbg="file drivers/pci/* +p"' and
possibly some new trace messages might give a clue.

When Linux fails to assign space, it tries to revert to the BIOS
assignment ("BAR 0: trying firmware assignment [mem
0xfe01-0xfe010fff]").  Apparently we declined to use that BIOS
assignment because it "conflicts with Reserved [mem
0xfc80-0xfe7f]".  Perhaps Linux should ignore that conflict.

That "Reserved [mem 0xfc80-0xfe7f]" comes from the E820 map, and
the Linux handling of that map is somewhat haphazard.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-24 Thread crysman
and here Device Resources Report

** Attachment added: "aida64_DeviceResources_report.log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5386799/+files/aida64_DeviceResources_report.log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-24 Thread crysman
ad 2) here you have AIDA64 ACPI report

** Attachment added: "aida64_ACPIreport.log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5386798/+files/aida64_ACPIreport.log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-24 Thread crysman
@Bjorn 3) would be helpful to try the kernel boot parameter dyndbg=...
provided in my current kernel (5.4.0-37-generic)?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-24 Thread crysman
attaching hwinfo log...

** Attachment added: "win_hwinfo64.log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5386772/+files/win_hwinfo64.log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-24 Thread crysman
Thank you Bjorn,

1) do you suggest building my own kernel locally according to here
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel or do you have any
specific kernel to use (like from PPA ?

2) I will get AIDA info for you, meanwhile, I'm already having this
output from hwinfo64 windows app (attached) - maybe it helps already (?)

many thanks, really appreciate your help!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-23 Thread Bjorn Helgaas
It looks like a BIOS bug to me.

But Windows does work, and Linux should, too.  It looks like there's
plenty of available space for 00:1f.5 BAR 0.  Can you try a current
version of Linux, e.g., v5.8-rc1 with the command line argument
'dyndbg="file drivers/pci/* +p"'?  There were some significant resource
assignment changes in v5.5.

AIDA64 (https://www.aida64.com/) has a free trial version that should
show the PCI address map under Windows.  I assume it probably moved
00:1f.5 BAR 0 to somewhere inside the PCI host bridge window.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-23 Thread crysman
But once there is a consensus it's a BIOS bug, I will communicate it
with ACER to have it fixed (I hope).

Anyone has seen a similar error already?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-23 Thread crysman
and no, unfortunately, officially there is no BIOS update available [
https://www.acer.com/ac/en/US/content/support-
product/8338?b=1=NX.HQUEC.003 ]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-23 Thread crysman
Here it is - which lines you need to see? I am cautious here to post all
the lines due to security reasons, these data are quite confidential and
good-to-have if you want to crack/penetrate a system...

Thank you very much for your effort!

** Attachment added: "iomem.log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5386374/+files/iomem.log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-19 Thread Bjorn Helgaas
This looks like a BIOS defect.  BIOS programmed BAR 0 to [mem
0xfe01-0xfe010fff], but according to the PCI0 _CRS method, that area
is not routed to the PCI bus:

  ACPI: PCI Root Bridge [PCI0] (domain  [bus 00-fe])
  pci_bus :00: root bus resource [mem 0x000a-0x000b window]
  pci_bus :00: root bus resource [mem 0x3f80-0xbfff window]
  pci :00:1f.5: [8086:34a4] type 00 class 0x0c8000
  pci :00:1f.5: reg 0x10: [mem 0xfe01-0xfe010fff]
  pci :00:1f.5: can't claim BAR 0 [mem 0xfe01-0xfe010fff]: no 
compatible bridge window
  pci :00:1f.5: BAR 0: no space for [mem size 0x1000]
  pci :00:1f.5: BAR 0: trying firmware assignment [mem 
0xfe01-0xfe010fff]
  pci :00:1f.5: BAR 0: [mem 0xfe01-0xfe010fff] conflicts with Reserved 
[mem 0xfc80-0xfe7f]
  pci :00:1f.5: BAR 0: failed to assign [mem size 0x1000]

Can you check to see whether a BIOS update is available?

Can you please attach the contents of /proc/iomem (I think you have to
save the contents as root in order to see the values).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-19 Thread crysman
OK, I've successfully installed Ubuntu.
Made successfully apt update && upgrade.
Modified kernel boot parameters:

$ cat /etc/default/grub | grep -i linux_default
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.nopnp=1 pci=nocrs"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

And here I am attaching current dmesg and xinput outputs.?field.comment=OK, 
I've successfully installed Ubuntu.
Made successfully apt update && upgrade.
Modified kernel boot parameters:

$ cat /etc/default/grub | grep -i linux_default
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.nopnp=1 pci=nocrs"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

And here I am attaching current dmesg and xinput outputs.

There are several errors out there in dmesg:

1)
[0.083626] DMAR: DRHD: handling fault status reg 3
[0.083629] DMAR: [DMA Read] Request device [00:02.0] PASID  fault 
addr 3b90e000 [fault reason 06] PTE Read access is not set

2)
[5.108760] sof-audio-pci :00:1f.3: unexpected ipc interrupt raised!
[5.108761] sof-audio-pci :00:1f.3: error: no reply expected, received 
0x0

3)
[5.754153] iwlwifi :00:14.3: BIOS contains WGDS but no WRDS

4)
[   18.758249] sof-audio-pci :00:1f.3: error: no reply expected, received 
0x0


** Attachment added: "xinput_i8042.nopnp=1+pci=nocrs.log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5385429/+files/xinput_i8042.nopnp%3D1+pci%3Dnocrs.log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-19 Thread crysman
** Attachment added: "dmesg_i8042.nopnp=1+pci=nocrs.log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5385430/+files/dmesg_i8042.nopnp%3D1+pci%3Dnocrs.log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-19 Thread Kai-Heng Feng
[0.742017] pci :00:15.0: BAR 0: no space for [mem size 0x1000 64bit]
[0.742017] pci :00:15.0: BAR 0: failed to assign [mem size 0x1000 
64bit]
[0.742019] pci :00:15.1: BAR 0: no space for [mem size 0x1000 64bit]
[0.742019] pci :00:15.1: BAR 0: failed to assign [mem size 0x1000 
64bit]
[0.742020] pci :00:15.2: BAR 0: no space for [mem size 0x1000 64bit]
[0.742021] pci :00:15.2: BAR 0: failed to assign [mem size 0x1000 
64bit]
...
[2.277616] platform i2c_designware.0: failed to claim resource 0: [mem 
0x-0x01ff]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-19 Thread crysman
I've tried adding these kernel parameters in GRUB before boot placing
them just between the "splash" and "---":

i8042.nopnp=1 pci=nocrs

(according to here
https://www.reddit.com/r/linuxquestions/comments/f9h0q4/touchpad_issue_lenovo_s14515iil/fmg277m/
)

And voila!
- Touchpad is working
- Touchscreen is working
- pen/Stylus is NOT working properly - it behaves only just like if using a 
finger - no additional functionality except for basic "clicking"

BUT! according to kernel documentation (
https://www.kernel.org/doc/html/v4.10/admin-guide/kernel-parameters.html
) - this is a BUG and shall be reported:

nocrs   [X86] Ignore PCI host bridge windows from ACPI.
If you need to use this, please report a bug.

So... what are next steps, please?

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1884232] Re: touchpad doesn't work at all on ACER Spin 5

2020-06-19 Thread crysman
** Attachment added: "xinput.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+attachment/5385319/+files/xinput.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884232

Title:
  touchpad doesn't work at all on ACER Spin 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1884232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs