From d6ba5c39245281b2a57109e9230396ab63d05475 Mon Sep 17 00:00:00 2001 From: Xiashangning <1750546761@qq.com> Date: Fri, 26 Mar 2021 10:33:14 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7814aa5..744e059 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # BigSurface The name comes from macOS Big Sur. Big Sur + Surface -> Big Surface (LOL) + PS:If you have a better name, please let me know. **A proposition for a fully intergrated kext for all Surface Pro related hardwares** From e86d2008d5b8bdfd7472c0d84fcfb991fa66a456 Mon Sep 17 00:00:00 2001 From: Xiashangning <1750546761@qq.com> Date: Fri, 26 Mar 2021 10:33:31 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 744e059..2529351 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ The name comes from macOS Big Sur. Big Sur + Surface -> Big Surface (LOL) PS:If you have a better name, please let me know. + **A proposition for a fully intergrated kext for all Surface Pro related hardwares** ## TODO From fd320632716b352a80d099dc783e9d18b8821b0a Mon Sep 17 00:00:00 2001 From: Xiashangning <1750546761@qq.com> Date: Fri, 26 Mar 2021 13:30:27 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2529351..d5530b4 100644 --- a/README.md +++ b/README.md @@ -12,19 +12,20 @@ PS:If you have a better name, please let me know. > The code is based on VoodooI2CHID.kext, but added keyboard support. - Battery status--Surface Serial Hub **Most Important** > See https://github.com/linux-surface/surface-aggregator-module. - > To obtain the battery readout, one needs to register the operation handler for _SAN device(_SAN.RQST) and send the request to SSH device. - > SSH is a UART controller, **the low level uart operation** is needed to be completed. Thus an expert in UART development is needed. + > To obtain the battery readout, one needs to register the operation handler for _SAN device(called via _SAN.RQST) and send the request to SSH device. + > SSH is a UART controller, **the low level uart operation(tx, rx)** is needed to be completed. Thus an expert in UART development is needed. > Other than that, the rest of the code is not hard to port, mainly how to encode and decode the request packages. > > The Surface Laptop and Surface Book things can be deleted. - Performance mode - > Depends on Surface Serial Hub driver - Buttons > Surface onboard GPIO buttons. ACPI device name: MSBT HID:MSHW0040 > Not finished yet. + > > To drive it is quite simple, just register the corresponding GPIO interrupts and handle them. - Ambient Light Sensor + > ACPI device name: ACSD, attached under I2C4 > The Linux source code is attached in the folder, just one source file, should be 'easy' to port.(Maybe we don't need gesture and proximity) > Driver should attach to VoodooI2CDeviceNub and use it to perform I2C IO. > See VoodooI2CSynaptics for code reference. @@ -34,4 +35,4 @@ PS:If you have a better name, please let me know. > Not so important, they use I2C to transfert data. Linux code available. - Touch Screen > Device id: 0x34E4 - > Linux uses `mei` to communicate with the touch screen(ipts), don't know the equivalant thing on macOS. + > Linux uses `mei` to communicate with the touch screen(ipts), don't know the equivalant thing on macOS nor how to communicate with it.