with kernel 5.10.4 , this patch work on fedora 33.
diff -Narup a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c
--- a/drivers/gpio/gpiolib-acpi.c 2020-12-14 06:41:30.0 +0800
+++ b/drivers/gpio/gpiolib-acpi.c 2020-12-22 14:31:53.078877000 +0800
@@ -205,6 +205,68 @@
because this submit
(https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/gpio/gpiolib.c?h=v5.10.4&id=2d9284c18862480bcabb331088692b51c70dad2c),
#311 do not work with kernel 5.10.4.
--
You received this bug notification because you are a member of Kernel
Packages, whic
and #311 also work with kernel 5.10.3
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop!_OS:
New
Status
@koen (kmaris) , with kernel 5.10.2 ,you can try #311
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop
all the changes are extract from the master branch of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git .
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
M
on fedora 33,with kernel 5.10.2 , i use this patch ,then touchpad work!
diff -Narup a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c
--- a/drivers/gpio/gpiolib-acpi.c 2020-12-14 06:41:30.0 +0800
+++ b/drivers/gpio/gpiolib-acpi.c 2020-12-22 14:31:53.078877803 +0800
@Coiby Xu (coiby)
test to your #190;
test env:
1.no use the disable glitch filter patch.
2.enabled gpio sysfs
the result:
1.before run : echo out > direction
```
[ra@localhost ~]$ cat /proc/interrupts |grep pinctrl
7: 0 0 0 0 0
@Azizkhan (injkgz)
read patch file ,find the right line,then manual patch ,do not use tool.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Le
@Coiby Xu (coiby)
you are the best!
many thanks to you!!!
#171 work for 04f3:3140 elan touchpad!
env:
fedora 33 kernel 5.8.13
lenovo legion R7000 (another name :Lenovo Legion-5 15ARH05)
pointer move ok,
two finger scroll ok!
--
You received this bug notification because you are a member o
window 1 run :
```
[ra@localhost ~]$ sudo hid-recorder
[sudo] password for ra:
Available devices:
/dev/hidraw0: Microsoft Microsoft® Nano Transceiver v1.0
/dev/hidraw1: Microsoft Microsoft® Nano Transceiver v1.0
/dev/hidraw2: Microsoft Microsoft® Nano Transceiver v1.0
/dev/hidraw3: MSFT00
Coiby Xu (coiby)
>1. When the touchpad works by setting pin's direction=out, you could see lots
>of "no data" message ("IRQ triggered but there's no data") keeping popping up
>after moving your finger away from the touchpad, am I correct?
no, wrong. when run : echo out > direction,
dmesg say :
one mistake in #165,
```but there's no data``` is some copy/past err.
it's not the output.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on L
sorry for #159,
the first c program ,i missed the parameter when i run it.
now test it again.
reboot
then
```
[ra@localhost ~]$ su
Password:
[root@localhost ra]# cd /sys/class/gpio
[root@localhost gpio]# ls
export gpiochip256 unexport
[root@localhost gpio]# echo 386 > export
[root@localhos
test the second c program with derection changed to :out
window 1:
```
[ra@localhost ~]$ su
Password:
[root@localhost ra]# cd /sys/class/gpio/
[root@localhost gpio]# ls
export gpiochip256 unexport
[root@localhost gpio]# echo 386 > export
[root@localhost gpio]# ls
export gpio386 gpiochip256 u
test the second c program:
i reboot,
it's means the derection is :in
windows 1:
```
[ra@localhost 2]$ su
Password:
[root@localhost 2]# ls
fire_touchpad_pin_irq fire_touchpad_pin_irq.c
[root@localhost 2]# ./fire_touchpad_pin_irq 100
Status:: Operation not permitted
Status:: Operation not permit
sorry , two mistakes in # 162
and window 1: ==> and window 2:
window 1 no output. ==> window 2 no output.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad n
test for script 2 ,with changed direction to out before test:
```
a. Don't put your finger on the touchpad
b. Open a terminal window and run `sudo dmesg -W`
c. In another terminal, "cd /sys/class/gpio/gpio386"
e. "echo 1 > value" and see if the following dmesg output will keeping
test for script 2:
```
a. Don't put your finger on the touchpad
b. Open a terminal window and run `sudo dmesg -W`
c. In another terminal, "cd /sys/class/gpio/gpio386"
e. "echo 1 > value" and see if the following dmesg output will keeping
popping up in the previous terminal window
test the script:
```
a. Don't put your finger on the touchpad
b. Open a terminal window and run `sudo dmesg -W`
c. In another terminal, "cd /sys/class/gpio/gpio386"
e. "echo out > direction" and see if the following dmesg output will
keeping popping out in the previous terminal win
first c program, has error,
window 1
```
[ra@localhost 1]$ sudo ./test
[sudo] password for ra:
Segmentation fault
[ra@localhost 1]$
```
windows 2
```
[ra@localhost ~]$ sudo dmesg -W
[sudo] password for ra:
[ 545.297119] test[3424]: segfault at 0 ip 7f679289151c sp
7ffc4ea14900 error 4
sorry for #157, `in` should be `out`
and after the test,i rerun : echo out > direction
my touchpad can work.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpa
and after the test,i rerun : echo in > direction
my touchpad can work.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
@Coiby Xu (coiby)
wait a moment ,i rebuild a clean kernel ,then i test it .
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15
struct acpi_gpio_info {
struct acpi_device *adev;
enum gpiod_flags flags;
bool gpioint;
int pin_config;
int polarity;
int triggering;
unsigned int quirks;
};
enum gpiod_flags {
GPIOD_ASIS = 0,
GPIOD_IN= GPIOD_FLA
according to the above analysis, error is happen with the direction is :
in
i found the function to set the direction of gpio pin to in:
amd_gpio_direction_input,
and add some pr_err and dump_stack() to the function ,
then dmesg out put like :
[1.545190] amd_gpio_set_config
gpio_chip->la
i have already added some pr_err to the kernel source ,
then the dmesg say : the touchpad work 1 time,during the system boot.
the dmesg output like :
```
[1.766437] in handle_fasteoi_irq for irq:7,starting...
[1.766440] in handle_irq_event start for :7
[1.766440] in __handle_irq_ev
so may be there is some bug with the :direction,
because ,i run echo out > direction,then it start to work.
and may be just like #130 or #133 ,but in drivers related to this
touchpad .
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linu
and the dmesg has some output related:
```
[ 138.233653] i2c_hid i2c-MSFT0001:00: i2c_hid_get_input: IRQ triggered but
there's no data
```
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs
touch test:
follow the no touch test,
i touch the touchpad:
then the output are:
```
# ReportID: 4 / Confidence: 1 | Tip Switch: 1 | # | Contact Id: 0 | X: 2249
| Y: 1233 | Scan Time: 59692 | Contact Count:1 | Button: 0 | # | #
E: 000215.550028 12 04 03 c9 08 d1 04 2c e9 01 80 19 43
no touch test:
i run :sudo hid-recorder
```
[ra@localhost ~]$ sudo hid-recorder
[sudo] password for ra:
Available devices:
/dev/hidraw0: Microsoft Microsoft® Nano Transceiver v1.0
/dev/hidraw1: Microsoft Microsoft® Nano Transceiver v1.0
/dev/hidraw2: Microsoft Microsoft® Nano Transceiver v
@Coiby Xu (coiby)
#144
i now test it.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop!_OS:
New
Stat
@coiby xu ,many thanks to you
you find another way to solve the problem.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH
i reboot ,and test it again.
only run this script:
```
[ra@localhost ~]$ su
Password:
[root@localhost ra]# cd /sys/class/gpio/
[root@localhost gpio]# echo 386 > export
[root@localhost gpio]# cd gpio386
[root@localhost gpio386]# echo out > direction
[root@localhost gpio386]#
```
then cursor sta
after i run the line in the terminal windows 2:
echo out > direction
terminal window 1 has output
and the cursor start move.
no need to run the line
echo 0 > value
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https
@coiby xu,
terminal window 1:
-
[ra@localhost ~]$ uname -r
5.8.13-301.fc33.x86_64
[ra@localhost ~]$ sudo hid-recorder
[sudo] password for ra:
Available devices:
/dev/hidraw0: MSFT0001:00 04F3:3140
/dev/hidraw1: Microsoft Microsoft® Nano Transceiver v1.0
/dev/hidraw2: Microso
sorry, default fedora kernel with the option CONFIG_GPIO_SYSFS is not
set.
i will set it and build new kernel to test the above script.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887
@coiby xu,
with my elan touchpad ,
[ra@localhost ~]$ sudo pip install hid-tools
[sudo] password for ra:
WARNING: Running pip install with root privileges is generally not a good idea.
Try `pip install --user` instead.
Collecting hid-tools
Using cached hid-tools-0.2.tar.gz (51 kB)
Collecting p
found a patch related to amd and gpio:
gpio: amd-fch: correct logic of GPIO_LINE_DIRECTION
The original commit appears to have the logic reversed in
amd_fch_gpio_get_direction. Also confirmed by observing the value of
"direction" in the sys tree.
https://git.kernel.org/pub/scm/linux/kernel/git/ne
@Coiby Xu (coiby)
my machine is MSFT0001:00 04F3:3140;
i tested the patch on fedora 32 kernel 5.8.11 .
the touchpad worked.
but the original patch not compile :
thread_hid undeclared
then i add one line:
static struct task_struct *thread_hid = NULL;
many thanks to your hard work!
i am in
sorry for my poor english!
非常感谢!
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop!_OS:
New
Status in l
lenovo release new bios
EUCN26WW
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop!_OS:
New
Status in l
new kernel on fedora test result:
5.8.9 not work
5.9-rc5 not work
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
no solution to MSFT0001:00 04F3:3140
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop!_OS:
New
Status i
new kernel on fedora test result:
5.8.8 not work
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop!_OS:
diff is amd and intel.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop!_OS:
New
Status in linux packag
new kernel on fedora test result:
5.8.7 not work
5.9-rc4not work
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Leno
@Coiby Xu (coiby) ,
on my windows 10 ,
it report error!
Microsoft Windows [Version 10.0.19042.450]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>logman create trace -n HID_WPP -o
%SystemRoot%\Tracing\HID_WPP.et
@Coiby Xu (coiby)
there is not any text like "invalid report id data" in dmesg output.
and on fedora 32 kernel 5.8.5
=
[ra@bogon ~]$ dmesg | grep MSFT
[0.004946] ACPI: SSDT 0xCDFF4000 007216 (v02 LENOVO CB-01
0001 MSFT 0400)
[1.534909] i2c_hid i2c-
and after line
I: 18 04f3 3140
no more output , event i touch the touchpad.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 1
on kernel 5.8.5 fedora 32,touchpad does not work too.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
Status in Pop!_O
@Coiby Xu (coiby) ,i had tested by patch the kernel source in the file
:include/linux/input/elan-i2c-ids.h with MSFT0001 , ELAN3140
,04f33140,
but it doesn't work。
and sudo acpidump | grep -C3 ELAN result as follows:
ra@bogon Downloads]$ sudo acpidump | grep -C3 ELAN
[sudo] password for ra:
Lenovo release new version BIOS for Legion R7000 or Legion 5-15ARH05.
2020/8/20
BIOS Version: EUCN22WW,
EC Version: EUEC22WW
EUCN22WW:
BIOS Notification:
1. Fixed
1) Fix panel brightness almost not changed when change from the level 0 to
level 1.
2. Add
1) None.
3. Modified
1) Foll
my computer is Lenovo Legion R7000 ,with the MSFT0001:00 04F3:3140
touchpad.
and i had tested the kernel 5.9.0 rc2 on fedora 32 with no lucky,
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bug
53 matches
Mail list logo