macbook12-spi-driver icon indicating copy to clipboard operation
macbook12-spi-driver copied to clipboard

Macbook 2017 12" ssd512 i5u 8gb usb-c all work fine trackpad and keyboard, but if suspend/resumen bug

Open reproteq opened this issue 8 years ago • 6 comments

Macbook 2017 12" ssd512 i5u 8gb usb-c KALI LINUX 2017.2 INSIDE kernel 4.13 refind
kali linux 2017.2

cb22/macbook12-spi-driver (keyboard and trackpad work, but if suspend/resume not work more, need reboot) have solution?

https://youtu.be/gHMjfi38ji0

https://youtu.be/Wau2sD1lmYw

reproteq avatar Oct 27 '17 22:10 reproteq

Does suspend/resume work properly with the 2017 12"? That is, does the keyboard still work after resume?

rquast avatar Oct 28 '17 08:10 rquast

uff.... not man not work after suspend/resume. i think problem is User Manager UID

reproteq avatar Oct 28 '17 10:10 reproteq

it might be this... https://github.com/cb22/macbook12-spi-driver/issues/49

rquast avatar Oct 28 '17 13:10 rquast

@reproteq Sorry, I'm a little unclear as to the state of resume on this laptop: you're saying that resume is not working, right? Can you be a bit more specific: what isn't working? Is the keyboard working or not? What else is not working?

roadrunner2 avatar Oct 28 '17 22:10 roadrunner2

all work fine keybord, mouse but when resume/suspend not working more i need reboot is posible solution for this bug?

reproteq avatar Oct 29 '17 16:10 reproteq

@reproteq Just before suspending (assuming a working keyboard at this point), can you set the debug param to enable logging of some of the SPI packets:

echo 0x0507 | sudo tee /sys/module/applespi/parameters/debug

After resume you can turn off that logging by setting the debug param to 0 again. This should generate a moderate amount of output (a hexdump of each 256 byte packet, one packet for each key event plus a few others). Then provide the dmesg output for that, please.

roadrunner2 avatar Nov 09 '17 00:11 roadrunner2