Giter Site home page Giter Site logo

bigsurface's People

Contributors

elihwyma avatar jlempen avatar xiashangning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bigsurface's Issues

Feature Request: Surface Pro 4 触摸屏支持

才看到本项目已经支持触摸屏了 特地前来膜拜 大佬太强了

个人现在正式环境下使用的是本项目的 v4 版本,想升级获得触摸屏支持 但触摸屏目前貌似还没有 Surface Pro 4 的支持?

请问大佬有计划支持 Surface Pro 4 的触摸屏吗?需要提供什么信息吗?

[Discussion] Surface Ambient Light Sensor

Right now the ALS branch implements the functionality of the Ambient Light Sensor(ACSD) on Surface series. However it is not usable yet. Its readout is only valid when hot reboot from Windows(200-400 depends on light conditions). Cold boot will result in a readout of only 0-3 lux.
This issue is opened for the discussion of exploring the right initialization sequence of it. It is an APDS9960 device and the datasheet it here. https://cdn.sparkfun.com/datasheets/Sensors/Proximity/apds9960.pdf
You can consult to my driver's source code and try to modify it, mainly the initialization part happens in initDevice()
Anyone who wants to experience the light sensor functionality can switch to ALS branch, copy Lilu and VirtualSMC's debug version under Dependencies folder and compile it.

Trackpad stops working after long time closing lid

Just noticed the trackpad stops working if the lid is closed for a longer time (10-20 mins), for shorter time, seems no such issue. Unplug and plug doesn't help, the keyboard works fine.

Running 10.14 with recompiled Big Surface

I guess it related to the power management? Any suggestions? Thank you

SD Card Reader working, but showing as USB 3.0 - Possible fix?

Hey there again.
How is it going?

So, the SD card is fully working as the title indicated.
However, it shows up as a USB 3.0 device rather than Internal SD Card Reader (once you check under System Report).

It would be a nice touch to edit the BigSurface kext to address this purely "cosmetic" issue.

Someone has already come across this:
https://www.tonymacx86.com/threads/realtek-sd-card-reader.257141/page-2#post-2040364

Any thoughts?

可以用clover加载吗?

除了oc,可以用clover加载吗?
如果可以,如何配置config.plist?
也需要像oc一样加载多个plugin目录下的voodoo kext,再加载bigsurface.kext 吗?

Support for Surface Laptops in future (keyboard/mouse)?

This repo is interesting as attempts to port the surface aggregator module to macOS have not happened before. I am unsure how the SP 2017 type cover works, or if it utilizes the surface aggregator module, as the SL does. Is there scope for testing on and enabling support for the SL 1/2/3? Lack of keyboard and trackpad functionality is the main thing stopping these devices being excellent bootleg macbooks.

Battery indication

Should battery indication work wjith this kext? I'm on the surface laptop and the battery indicator remains broken..

If not, a personal request - could you mod the batterymanager kext so that it always reports as being plugged in? This is because my setup of a surface laptop 1 being used as a desktop hackintosh is functioning almost perfectly apart from the fact that it won't operate in clamshell mode so when I close the lid it sleeps and my external display also consequently turns off.

It seems all you'd need to change is bool connected = true and remove the function which follows? I'd do this myself and compile it however I really don't want to install the entire 30GB tool chain.

Power Button does nothing on SP6

Hi,

Just reporting on the new version. Volume Up and Volume Down work as expected (kudos!) but Power does literally nothing on my SP6.

How can I help with testing/debugging what's going wrong?

TypeCover not working on Monterey

Hey all,

I'm stuck currently ( I installed Monterey on my surface pro 7 ) without a lot of problems. Everything is working beside the type cover ( wasn't working the last time I tried Big Sur a while back ).

I can see the type cover in the System Information below USB but nor the keyboard or the trackpad work in anyway :(.

I uploaded my EFI folder to https://github.com/lutzmor/surface7 maybe someone sees something I overlooked or I messed up completely.

Thanks in advance :)

macOS Monterey Support?

With the BigSurface, the touchpad seems only partially working on Monterey(Can't use gestures on Touchpad)
But on BigSur it works perfect on my Surface
(However, some people say it doesn't work)

Sleep mode

Hello
SP 7 goes into sleep mode? Can this be configured? My screen just turns off the battery keeps draining

Surface Laptop Go can't get keyboard and touchpad support

Hi,

First off, thank you so much for making this kext. I tried installing it on my surface laptop go, and I can't seem to get the keyboard and the touchpad to work. Everything else works flawlessly - I am on OS X 12.4 right now, and everything except the keyboard and touchpad seem to work.

I'm no good at coding, but I tried looking at what kexts are loaded with kextstat, and VoodooInput.kext is not loading - the other ones VoodooI2CServices, VoodooGPIO, VoodooSerial, and BigSurface all are loaded, so I think that might be the problem, but I'm not entirely sure how to fix it.

when I do sudo dmesg | grep -E "SurfaceSerial|VoodooUART" I get this output:

> [    0.900869]: SurfaceSerialHubDriver::Found valid UART bus and GPIO interrupt!
> [    0.900873]: SurfaceSerialHubDriver::Got GPIO Controller! VoodooGPIOIceLakeLP
> [    1.435616]: VoodooUARTController::UA00 device id: 34a8
> [    4.881917]: VoodooUARTController::UA00 Designware UART version 3.14
> [    4.881946]: VoodooUARTController::UA00 Too bad that we can only use timer
> [    4.903170]: SurfaceSerialHubDriver::Got UART Controller! VoodooUARTController
> [    5.004235]: SurfaceSerialHubDriver::Surface Serial Hub found!
> [    5.004351]: VoodooUARTController::UA00 Received Clear To Send signal!
> [    5.007228]: SurfaceSerialHubDriver::SAM version 6.304.139
> [    5.012708]: SurfaceSerialHubDriver::Surface Battery nub published!
> [    5.163773]: SurfaceSerialHubDriver::Timeout waiting for response
> [    5.163778]: SurfaceSerialHubDriver::Failed to attach Surface Laptop3 nub! Ignore this if you are not a Laptop3 device
> [  127.223689]: SurfaceSerialHubDriver::Warning, received data with unknown tc 3, cid 1

Thank you!

Surface Laptop 3 13.5

Good afternoon, unfortunately the touchscreen of my Surface Laptop 3 13.5 does not work. I'd appreciate it if you could fix it, thanks.

Proposal to fix power management during sleep

Hi Xiashangning,

I believe I have come across another issue that may need to be solved with this project. I believe that the SP7 is incapable of entering into an S3 state during sleep in macOS. The CPU never ceases during sleep, which draws tons of power - not ideal for the battery size in these machines. I have tried diagnosing this on my own for three weeks, and in that time several experienced people on the Hackintosh discord tried and failed to find the root cause.

Have you gotten sleep to work, as in the CPU turns off? If not, do you think it is something this project needs to patch as well?

Surface Laptop 3 sleep

My laptop 3 won't sleep, it keeps draining even when I close the lid, what could be the problem?

MacOs Ventura und BigSurface shutdown

Hello.
I installed Ventura and it works for now. What doesn't work is turning it off normally. After switching off, the computer restarts with the message "Rebooted because an error was detected" After that, the entire top bar is missing. Turning it off by holding down the power button and then turning it back on works normally. If I load the Bigsurface.kext before voodoinput.kext everything works except the battery indicator is gone

Keyboard for the surface laptop 1?

Hey, I was just wondering if you have any plans on supporting the surface laptop 1 9d27? The last time I tested this, absolutely nothing changed (keyboard didn't work and battery readout wasn't functional).

As you said in my other issue, battery readout has been resolved so I'll test this - does keyboard input work as well?

Surface Pro 6 latest kext don't works

I have surface pro 6 with macos monterey latest installed on it. before i was using your old kext which u made for someone issue before if i remembered and tried the kext and it working fine but afcourse no trackpad found in settings but trackpad and all gestures work and also hardware power volume keys, other fearures like battery afcourse not work, and I tried your ssdt and that latest bigsurface kext and when i booted with your latest kext then it not booting, If you have time to make this kext fully or mostly support sp6 then am ready for all information u want also I can install linux and send what u want for this kext to make work for sp6, hope u reply I will wait
photo_2022-07-03_06-15-19
g

Audio Noise

Sometimes an audio noise starts, even if I mute my audio it still does.

Not an issue - Offering to help regarding cameras

Greetings once more.

It's been a while since we last traded thoughts.
How have you been?

I am here because I would like to help in the development of at least the cameras.

I have a SP4 (IPU3) and have several OS installed (Kali, Ubuntu, MacOS, Windows, ChromeOS).
I realized that it might be possible to drive the cameras, but you don't own any of those devices.

Seeing as you have already done so much, I would like to offer my help.

Is there anything I can do to help?

Best regards,
Bruno

Add Realtek USB 3.0 card reader support

I have the Surface pro 7 8gb/128gb version. It have the Realtek USB 3.0 card reader. Can you please add the support for the card reader.
sdcard

If anyone have working kext for this, please share me the kext.
Thank you.

Multi-gestures work as expected but Trackpad isn't being detected in the settings on SP6

Hi,

I know this is pretty much related to #9 since I can get the Trackpad to appear when using your SSDT-Surface.aml, but that kills "docked mode" - macOS turns off the internal monitor and just redirects everything to the external monitor + kb/mouse if it detects the following requirements:

  1. Macbook in charging mode
  2. External display connected
  3. External mouse/kb connected

If I use the SSDT-Surface.aml, the battery gets detected (and the trackpad appears), but it's not showing up as charging, which means I can't use "docked mode", which is essential in saving up a small bit of resources since the SP6 throttles very badly because of the missing (hopefully not for long!...) Performance Mode support.

Since you say something about "you can change BST's first element in SSDT" in #9 , I have tried the following.

Changing Method (_BST, 0, Serialized) to Method (_BST, 1, Serialized) - didn't work.

Then I have changed

Method (_BST, 0, Serialized)
{
Name (PKG1, Package (0x04)
                    {
                        Zero, 

To

Method (_BST, 0, Serialized)
{
Name (PKG1, Package (0x04)
                    {
                        One, 

Which didn't work either. Any help, please?

Support 10.14 Mojave on Surface Pro 6

Hi, I've tried to install the kexts in OC, however somehow the kexts seems not properly loaded. May I ask if these kexts only works on Big Sur? Really would like to have the battery indicator works. Many thanks.

Hardware buttons

Hey there.
First of all, I would like to congratulate you on your project and the endeavour you are about to take.

I know that Hackintoshing a Surface can sometimes be very tricky.

That being said:

I came across your project while Googling for fixes for the cameras on the Surface Pro under a Hackintosh setup.

I just wanted to lend out my help and let you know that I fixed the Hardware button issue (Power button and the two volume buttons) by editing my dumped DSDT.aml and then patching it with the corresponding code.

First I injected this in my DSDT.aml using MaciASL's latest version (https://github.com/acidanthera/MaciASL/releases):

#Maintained by: RehabMan for: ACPIKeyboard.kext
#patch.txt

#This patch serves to provide a catalyst to load ACPIKeyboard.kext
#and it also provides a sink to send notifications to in
#order to send messages to the kext to simulate keystrokes.

into device label RMKB remove_entry;
into definitionblock code_regex . insert
begin
Device (RMKB)\n
{\n
Name(_HID, "RMKB0000")\n
}\n
end;

Then, after saving it, I re-opened it and saved this to it:

into method label _Q52 replace_content
begin
// Volume-up pressed\n
Notify(\RMKB, 0x1148)\n
end;

into method label _Q53 replace_content
begin
// Volume-up released\n
Notify(\RMKB, 0x1248)\n
end;

into method label _Q54 replace_content
begin
// Volume-down pressed\n
Notify(\RMKB, 0x1149)\n
end;

into method label _Q55 replace_content
begin
// Volume-down released\n
Notify(\RMKB, 0x1249)\n
end;

into method label _Q60 replace_content
begin
//Power button pressed\n
Notify(\RMKB, 0x117f)\n
end;

into method label _Q61 replace_content
begin
// Power button released\n
Notify(\RMKB, 0x127f)\n
end;

I then proceeded to get the ACPIKeyboard.kext from https://bitbucket.org/RehabMan/os-x-acpi-keyboard/downloads/RehabMan-ACPIKeyboard-2015-1230.zip

Then I placed it under Kexts on my OC folder (using OpenCore 0.7.0) and then edited the config.plist to include it.

My source for this was:
https://www.programmersought.com/article/9099709695/

Hope this helps with your project and saves you some trouble.

Surface Book 3 over heating

Hi,

I had everything working on Monterey except for bluetooth as the BigSurface kext won't work when bluetooth kext is also installed, no idea, but I am fine not having Bluetooth.

My issue is the screen part of my Surface Book 3 where the CPU etc all sits is over heating. It doesn't happen every time, I can be using for hours with no issues everything great including touch screen, and then it will over heat for no reason. Or I can boot up after not being turned on for hours and it will be over heat immediately. And sometimes when it's asleep I will touch the lid and I can feel it extremely hot get worried and turn it off for a few hours. I use my laptop for work and so I had to revert back to windows for now. I think the Surface Book has temperature driver which installs with windows which may not have a Mac equivalent.

Any ideas? I was thinking maybe performance mode is set too high? not sure.

BTW I also get this same over heating issue with BigSur.

Thanks

Surface Book 3 - Keyboard & Touchpad not working with new kext

Hi,

I tried the new version 6.1, however I am unable to use the keyboard and touchpad etc.
I tried to boot with Debug Enhancer kext which I believe you need to help me, however nothing works when I boot with that kext, I cannot even use USB mouse or keyboard.
I was able to save the IORegistry if that helps?

Thanks
IORegistry.txt

Battery Support not working on SP6

Hi,

I have just installed the latest Kext along with the supplied SSDT.

It seems that it's not working as it's stuck in "charging" mode.

Please let me know if you need anything from me to help you support the SP6.

Thanks,
Best Regards

Doesn't work on Surface Laptop Go, even though SSDT is installed.

Hey, I am 99% sure I installed this correctly, I added the SSDT, added all the "sub-kexts" and ordered them correctly. The trackpad still works, gestures don't. Or any of the other added features. It basically just acts like VoodoI2C and randomly causes kernel panics, in the os and on the boot screen. I was following the guide made by olm3ca, and it uses this kext. Yet it doesn't add any of the features. Is there something I am missing in the configuration? Thanks in advance.

Potential incompatibility with certain Surface Pro 7 units

Hi Ziashangning, I would like to thank you for all of the hard work you have done on this project, in particular with the addition of battery support. However, after running many tests with my config, I can't seem to get anything to work with version 4 of the kext.

As a matter of fact, on version 3, my type cover, trackpad and ALS were working (see attached files for IOReg and dmesg readings), although macOS did not seem to respond to the output of the ALS driver. I assumed I had something wrong with my config, and as finals were coming up, I let it be for then.

However, with version 4... everything seems to be broken. The ambient light driver doesn't seem to be loaded at all -- "sudo kextstat | grep -i Big" returns nothing, and there is no dmesg logs for BigSurface itself, see attached file -- plus the voodooinput kext is not loaded and therefore the trackpad is not working either. I understand that the voodooinput and voodooI2CController kexts are identical in version 4 and version 3, however VoodooGPIO has been upgraded to version 1.20 from 1.1, plus VoodooSerial has been added.

In version 4, VoodooI2CController, VoodooSerial and VoodooGPIO are confirmed to be loaded, but VoodooInput does not load or attach, neither does BigSurface itself.

In version 3, BigSurface and its three plugins are loaded and working. On my machine, the ambient light sensor driver works and puts out values as shown by attached dmesg file, however macOS doesn't respond. As this is less important than battery readouts, we can ignore it for now if you'd like.

TL;DR the following issues are present in Version 4 of BigSurface, on my machine:

  • BigSurface itself is not loading - therefore ALS driver is not working;
  • VoodooInput is not loading, therefore trackpad is no longer working.

I have attached IORegs from my system for both versions, as well as the output of "sudo dmesg | grep Light" for both versions, named accordingly. Additionally I have included my config with irrelevant parts stripped in case I am missing a kext or something like that - I do have SSDT-SURFACE.aml enabled in my config and it is present in my ACPI folder.

Any help would be greatly appreciated - more likely than not I am forgetting something, in which case I apologize. I have a SP7, i5-1035G4, and a model 1725 type cover.
Please let me know if you need anything else.

version3grepsurfaceambientlight.txt
^^this has most of the output stripped away as it is unnecessary. this is just to show that BigSurface version 3 is working, as the ALS driver puts out values (in dmesg).
Version 3 working trackpad.ioreg.zip

version 4 broken trackpad.ioreg.zip
version4grepLight.txt

config.plist.zip

Wifi + bluetooth?

Is Bluetooth + wifi support planned in this proposition for a fully working surface hackintosh?

Request to add Keyboard Support for Surface laptop

Hi, Can you please add the keyboard and trackpad support for surface laptop 3. Device configuration is nearly same as surface pro 7(compare ioreg), macOS runs very well on it. May be other surface laptop's have the same issue - everything works except keyboard and trackpad.
Both keyboard & trackpad are connected with i2c >HID_device.

Trackpad:
HID\Target_KIP&Category_HID&Col01
HID\VID_045E&PID_09AF&Col01&UP:0001_U:0002
HID\VID_045E&UP:0001_U:0002
HID_DEVICE_SYSTEM_MOUSE
HID_DEVICE_UP:0001_U:0002
HID_DEVICE

Keyboard:
HID\Target_KIP&Category_HID&Col01
HID\VID_045E&PID_09AE&Col01&UP:0001_U:0006
HID\VID_045E&UP:0001_U:0006
HID_DEVICE_SYSTEM_KEYBOARD
HID_DEVICE_UP:0001_U:0006
HID_DEVICE

I also found that someone has prepared 2 keyboard commits to add, but finally not added -VoodooI2C/VoodooI2CHID#3 .
At least if you can add this 2 commits and give a try if they works (You will find me here, if you need to test it).
Thank you
ioreg surface laptop3.zip

Surface pro 6

I tried to use this on sp6 and trackpad works fine but in macos settings it says no trackpad found, any support for this surface will be helpful, am also available if you want to test something, you can dm in telegram make support for sp6 through telegram @ioshat

Nothing works on surface pro 5

I’ve tested everything. But it seems nothing works on my laptop. Including battery and trackpad. Starred and waiting for touchscreen for surface pro 5!

SP6 Monterey - ALS Auto Brightness

Hello Friend,

Firstly, Thank you for all your work! Simply Amazing!

My Only trouble so Far is getting ALS to Auto Dim etc

What other Kext/SSDT are Required or not Required?
ALS0, PNLF, SMCLightSensor?

I can manually change Brightness with Slider as well as Keyboard controls.
Automatically Adjust Brightness is Checked.

I feel I am missing something very simple...

I am a little green on the scene, but am woking on a Ventura Voyage

Many Thanks

E

Surface Book 3 - Touchscreen

Hi, Love your work.

Previous kext works perfectly on my Surface Book 3 bringing keyboard and touchpad plus everything else to my laptop, however when I tried to use the new kext it breaks the keyboard and touchpad, and Touchscreen still does not work.

Thank you

Trackpad not working properly on 10.15.7

Running with OpenCore on 10.15.7 with BigSurface on a Surface Pro 6.

  • Trackpad is usable as a mouse and can scroll, however clicking on things doesn't work as expected (clicking a folder in Finder doesn't open it, but displays information about the folder)
  • In System Preferences, under Trackpad, it shows "No trackpad"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.