Commit fc1e8a6
Input: bcm5974 - recover from failed mode switch
Mode switches sent before control response are ignored. This results in
an unresponsive trackpad and "bcm5974: bad trackpad package, length: 8"
repeated in logs.
On receiving unknown 8-byte packets, assume that mode switch was ignored
and schedule an asynchronous mode reset. The reset will switch the
device to normal mode, wait, then switch back to wellspring mode.
Signed-off-by: Liam Mitchell <[email protected]>
Link: https://lore.kernel.org/linux-input/CAOQ1CL4+DP1TuLAGNsz5GdFBTHvnTg=5q=Dr2Z1OQc6RXydSYA@mail.gmail.com/
Acked-by: Henrik Rydberg <[email protected]>
Link: https://patch.msgid.link/[email protected]
Cc: [email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>1 parent 273a171 commit fc1e8a6
1 file changed
Lines changed: 41 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
| |||
696 | 698 | | |
697 | 699 | | |
698 | 700 | | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
699 | 727 | | |
700 | 728 | | |
701 | 729 | | |
| |||
752 | 780 | | |
753 | 781 | | |
754 | 782 | | |
755 | | - | |
| 783 | + | |
756 | 784 | | |
757 | 785 | | |
758 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
759 | 797 | | |
760 | 798 | | |
761 | 799 | | |
| |||
906 | 944 | | |
907 | 945 | | |
908 | 946 | | |
| 947 | + | |
909 | 948 | | |
910 | 949 | | |
911 | 950 | | |
| |||
998 | 1037 | | |
999 | 1038 | | |
1000 | 1039 | | |
| 1040 | + | |
1001 | 1041 | | |
1002 | 1042 | | |
1003 | 1043 | | |
| |||
0 commit comments