Qonfused / ASUS-ZenBook-Duo-14-UX481-Hackintosh

OpenCore configuration for the ASUS ZenBook Duo 14" (UX481FA/FL)
https://github.com/Qonfused/ASUS-ZenBook-Duo-14-UX481-Hackintosh
BSD 3-Clause "New" or "Revised" License
30 stars 1 forks source link

Fix built-in camera #23

Closed Qonfused closed 1 year ago

Qonfused commented 1 year ago

AnyiSightCam UVC driver requires info.plist changes for all instances of idProduct and idVendor with decimal form of the product and vendor ids. You can find these values for the webcam in system information under USB. May require documentation for potential fixes.

In my case I had 0x56cb and 0x13d3 for my product and vendor ids.

danperks commented 1 year ago

FYI Webcam info on my UX581, in case its the same webcam

Screenshot 2023-01-03 at 18 48 45
Qonfused commented 1 year ago

Yeah, it appears to be the same webcam. It looks like yours is missing its serial number, which can be problematic. Does your webcam work on your machine?

danperks commented 1 year ago

Webcam is detected in apps but no signal seems to get through, either a black or blank screen depending on the app.

Qonfused commented 1 year ago

Forgot to update issue status. This is the same behavior I'm noticing on the UX481.

Qonfused commented 1 year ago

Interesting note: when the camera (USB) is passed through to QEMU or VMware Fusion, the camera does properly function when loaded with the proper drivers.

I've added the AnyiSightCam kext in https://github.com/Qonfused/ASUS-ZenBook-Duo-14-UX481-Hackintosh/commit/e0672e87eb7d4d2a78975f29b1ebd285a1323b21, though this assumes PID 0x56cb; instances of 22219 will need to be replaced with 22251 for product ids under IOKitPersonalities (in the kext Info.plist). You can also use the same kext from shiecldk and just replace product/vendor ids the same way.

Qonfused commented 1 year ago

Reopening as current issue is a regression.

shiecldk commented 1 year ago

@Qonfused @danperks Do you reset your BIOS settings and stop using modGRUBShell? I found out modGRUBShell can mess up USB ports on my UX582. Once I stop using modGRUBShell and only set the BIOS settings, I can get the camera and the USB ports to work normally.

I only set these options in BIOS:

Qonfused commented 1 year ago

@Qonfused @danperks Do you reset your BIOS settings and stop using modGRUBShell? I found out modGRUBShell can mess up USB ports on my UX582. Once I stop using modGRUBShell and only set the BIOS settings, I can get the camera and the USB ports to work normally.

Yes, I have re-flashed my bios since then; my current settings for reference are listed in https://github.com/Qonfused/ASUS-ZenBook-Duo-14-UX481-Hackintosh/wiki/Install-Guide-(WIP)

Qonfused commented 1 year ago

I don't believe there is a fix for this. Will revisit if more information about the underlying issue is found.