aarch64-laptops / debian-cdimage

79 stars 11 forks source link

Doesn't work on Surface Pro X #6

Open tommyvct opened 3 years ago

tommyvct commented 3 years ago

Will inventing a new device tree .dts file enough to get it working? image

shawnguo2 commented 3 years ago

No. I believe Surface Pro X uses a different SoC from Yoga C630 one. I'm about to receive Lenovo Flex 5G, which should use a same (almost?) SoC as Surface Pro X. After I get the CD image work on Flex 5G, you then stand a better chance to have the installer work on the Surface.

tommyvct commented 3 years ago

Hi, I tried the latest 0.4 image. It now boots up! Thanks for your work!

But the keyboard cover only works in grub, once we get in Linux the touchpad and the keyboard doesn't work at all. I tried a pair of USB keyboard and mouse and it worked.

There is a kernel panic happening on reboot, too: image

qzed commented 3 years ago

But the keyboard cover only works in grub, once we get in Linux the touchpad and the keyboard doesn't work at all.

The device uses a somewhat special method of handling input: Similar to the Surface Laptops and Surface Book 3, the Surface Pro X routs its HID input devices over the Surface Aggregator Module (SAM). SAM is connected to the SoC via a UART and the main issue right now is getting the UART driver to work.

See https://github.com/Sonicadvance1/linux/issues/27 for an all-over-the-place discussion on the Surface Pro X and what's needed to get it working with Linux.