Contribute
Register

Sleep, Display Brightness, and Webcam Not Working on HP Pavilion g6

Status
Not open for further replies.
Joined
Apr 6, 2014
Messages
22
Motherboard
HP Pavilion g6-1d38dx
CPU
i3-2350m/HM65
Graphics
Intel HD 3000 Mobile/1366x768
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
Hello,

I have succeeded in installing Mavericks on my HP Laptop, and it is almost perfect except for a few components.


Sleep:
When I try to make the computer go to sleep, the screen goes black, however, the fan continues to spin and it doesn't really seem to be in sleep mode. The login screen will come up if I move the mouse or press a key on the keyboard, and it will continue to work normally afterwards.


Display Brightness:
There doesn't seem to be an option to change the screen brightness in System Preferences, and the keyboard shortcuts to turn it up and down are not working either. When the computer first boots into Mavericks, it is on a low brightness setting; if I leave the computer long enough that the screen turns off, it turns back on at the maximum brightness setting.


Webcam:
When I look in System Information, my built-in webcam is recognized and shows up as the following:

HP Webcam-101:



Model ID: UVC Camera VendorID_1423 ProductID_40961
Unique ID: 0x1d160000058fa001

However, when I open any application that uses the camera, the indicator light beside the camera turns on, but the video feed shows up as a black screen.





Any help would be much appreciated.
Thanks in advance!
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hello,

I have succeeded in installing Mavericks on my HP Laptop, and it is almost perfect except for a few components.


Sleep:
When I try to make the computer go to sleep, the screen goes black, however, the fan continues to spin and it doesn't really seem to be in sleep mode. The login screen will come up if I move the mouse or press a key on the keyboard, and it will continue to work normally afterwards.

Did you implement power management correctly?

http://www.tonymacx86.com/mavericks...nagement-sandy-bridge-ivy-bridge-laptops.html

Display Brightness:
There doesn't seem to be an option to change the screen brightness in System Preferences, and the keyboard shortcuts to turn it up and down are not working either. When the computer first boots into Mavericks, it is on a low brightness setting; if I leave the computer long enough that the screen turns off, it turns back on at the maximum brightness setting.

HD3000/HD4000 Brightness Fix:
DSDT Patches from here: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply:
"Rename GFX0 to IGPU"
"Brightness Fix (HD3000/HD4000)"
- rename patch must be done first and to all DSDT/SSDT that contain references to GFX0 that you're including in your final SSDT set
- Brightness patch must be done to the DSDT or SSDT that contains the definition for Device GFX0 (search for 'Device (GFX0)'
- Place DSDT and SSDT (if necessary) into a place where the bootloader will load them. For Clover, EFI/CLOVER/ACPI/patched (DSDT.aml, SSDT-x.aml where 'x' is a number). For Chameleon, /Extra/ssdt.aml, /Exra/ssdt-1.aml, /Extra/ssdt-2.aml, etc.

Install: https://github.com/RehabMan/OS-X-ACPI-Backlight


Webcam:
When I look in System Information, my built-in webcam is recognized and shows up as the following:

HP Webcam-101:




Model ID: UVC Camera VendorID_1423 ProductID_40961
Unique ID: 0x1d160000058fa001

However, when I open any application that uses the camera, the indicator light beside the camera turns on, but the video feed shows up as a black screen.


By any app, I assume you mean the apps provided by Apple. Run CameraControl after running the app.
 
Joined
Apr 6, 2014
Messages
22
Motherboard
HP Pavilion g6-1d38dx
CPU
i3-2350m/HM65
Graphics
Intel HD 3000 Mobile/1366x768
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
Did you implement power management correctly?

http://www.tonymacx86.com/mavericks...nagement-sandy-bridge-ivy-bridge-laptops.html



HD3000/HD4000 Brightness Fix:
DSDT Patches from here: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply:
"Rename GFX0 to IGPU"
"Brightness Fix (HD3000/HD4000)"
- rename patch must be done first and to all DSDT/SSDT that contain references to GFX0 that you're including in your final SSDT set
- Brightness patch must be done to the DSDT or SSDT that contains the definition for Device GFX0 (search for 'Device (GFX0)'
- Place DSDT and SSDT (if necessary) into a place where the bootloader will load them. For Clover, EFI/CLOVER/ACPI/patched (DSDT.aml, SSDT-x.aml where 'x' is a number). For Chameleon, /Extra/ssdt.aml, /Exra/ssdt-1.aml, /Extra/ssdt-2.aml, etc.

Install: https://github.com/RehabMan/OS-X-ACPI-Backlight




By any app, I assume you mean the apps provided by Apple. Run CameraControl after running the app.


Thanks again for your reply, RehabMan.

I checked the link for power management; however, when I run MultiBeast, there doesn't seem to be anything in Drivers/System/Patched AppleIntelCPUPowerManagement other than "Apple RTC Patch for CMOS Reset". Is this the proper patch to install?

***EDIT***
Sorry, I didn't notice the triangle next to "Patched AppleIntelCPUPowerManagement", I just found it and selected 10.9.0. After I rebooted, it gave me a kernel panic.

IMG_1192.jpg

As for the HD3000/HD4000 Brightness Fix, I don't currently have a DSDT for my system, and I'm not entirely sure how to make one. When I tried last time using MaciASL, it came up with a compile error even before I added any changes to it.

Also, for the camera, Skype doesn't work either. I tried running CameraControl.app, and the camera did start to work, but the video feed froze when I switched back to FaceTime, Skype, Photo Booth etc. or when I closed CameraControl.app.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thanks again for your reply, RehabMan.

I checked the link for power management; however, when I run MultiBeast, there doesn't seem to be anything in Drivers/System/Patched AppleIntelCPUPowerManagement other than "Apple RTC Patch for CMOS Reset". Is this the proper patch to install?

***EDIT***
Sorry, I didn't notice the triangle next to "Patched AppleIntelCPUPowerManagement", I just found it and selected 10.9.0. After I rebooted, it gave me a kernel panic.

View attachment 91311

What smbios are you using? Are you certain your profile is correct? The "Attempt to re-register power management" is usually an error seen with incorrect configuration on Haswell systems (using XCPM in kernel).

Maybe caused by your use of SleepEnabler. SleepEnabler is a bad idea.

As for the HD3000/HD4000 Brightness Fix, I don't currently have a DSDT for my system, and I'm not entirely sure how to make one. When I tried last time using MaciASL, it came up with a compile error even before I added any changes to it.

That is normal. Post the DSDT if you need help with the errors.

Also, for the camera, Skype doesn't work either. I tried running CameraControl.app, and the camera did start to work, but the video feed froze when I switched back to FaceTime, Skype, Photo Booth etc. or when I closed CameraControl.app.

I would work on cleaning up your power management situation, getting rid of SleepEnabler and any other non-recommended kexts you may have installed. Do a fresh install if necessary.
 
Joined
Apr 6, 2014
Messages
22
Motherboard
HP Pavilion g6-1d38dx
CPU
i3-2350m/HM65
Graphics
Intel HD 3000 Mobile/1366x768
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
What smbios are you using? Are you certain your profile is correct? The "Attempt to re-register power management" is usually an error seen with incorrect configuration on Haswell systems (using XCPM in kernel).

Maybe caused by your use of SleepEnabler. SleepEnabler is a bad idea.



That is normal. Post the DSDT if you need help with the errors.



I would work on cleaning up your power management situation, getting rid of SleepEnabler and any other non-recommended kexts you may have installed. Do a fresh install if necessary.


Removing SleepEnabler seemed to work! Thanks.

I'm posting my DSDT, as I don't really know what to do... Should I use DSDT Editor or MaciASL for editing it?

View attachment DSDT.aml.zip

***EDIT***

Sorry I keep doing this, but I found out that all I needed to do to fix the compile error was to install the TNOT Fix patch from your source. I then applied the "Rename GFX0 to IGPU" patch, and the
"Brightness Fix (HD3000/HD4000)", but now I get a syntax error and I'm no good with code...

Screen Shot 2014-05-01 at 4.56.17 PM.png
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Removing SleepEnabler seemed to work! Thanks.

I'm posting my DSDT, as I don't really know what to do... Should I use DSDT Editor or MaciASL for editing it?

View attachment 91395

***EDIT***

Sorry I keep doing this, but I found out that all I needed to do to fix the compile error was to install the TNOT Fix patch from your source. I then applied the "Rename GFX0 to IGPU" patch, and the
"Brightness Fix (HD3000/HD4000)", but now I get a syntax error and I'm no good with code...

View attachment 91397

Make sure you apply only the GFX0 part of the "Rename GFX0 to IGPU". Do not apply the VID/AGP1 sections. Always read comments in patches...
 
Joined
Apr 6, 2014
Messages
22
Motherboard
HP Pavilion g6-1d38dx
CPU
i3-2350m/HM65
Graphics
Intel HD 3000 Mobile/1366x768
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
Make sure you apply only the GFX0 part of the "Rename GFX0 to IGPU". Do not apply the VID/AGP1 sections. Always read comments in patches...

I'm experiencing random freezes now, and they seem to be related to AppleIntelCPUPowerManagement. Something about No HPETs available, and CPUs configured incorrectly.

I can't open MaciASL without it freezing, it usually happens within a few seconds after booting to the desktop.

IMG_1215.jpg
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Apr 6, 2014
Messages
22
Motherboard
HP Pavilion g6-1d38dx
CPU
i3-2350m/HM65
Graphics
Intel HD 3000 Mobile/1366x768
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS


Alright, Screen Brightness is fixed, thank you so much!

But now I seem to have a new problem... Only one of my 3 USB ports is working. I'm not sure why this happened, because they were all working fine before.

Also, Sleep is still not working. I followed the "Power Management for Sandy Bridge and Ivy Bridge Laptops" guide, and the patched AppleIntelCPUPowerManagement is installed, no NullCPUPowerManagement, SSDT from ProBook Installer is placed in /Extra, and DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No are all set accordingly. smbios.plist is MacBookPro8,1 installed from MultiBeast.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,805
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Alright, Screen Brightness is fixed, thank you so much!

But now I seem to have a new problem... Only one of my 3 USB ports is working. I'm not sure why this happened, because they were all working fine before.

Also, Sleep is still not working. I followed the "Power Management for Sandy Bridge and Ivy Bridge Laptops" guide, and the patched AppleIntelCPUPowerManagement is installed, no NullCPUPowerManagement, SSDT from ProBook Installer is placed in /Extra, and DropSSDT=Yes, GeneratePStates=No, GenerateCStates=No are all set accordingly. smbios.plist is MacBookPro8,1 installed from MultiBeast.

What specifically is wrong with sleep?

Post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html
 
Status
Not open for further replies.
Top