Jump to content

westsdad

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Try the CameraControl program here and automater scripts: http://www.osx86.net/view/1693-acer_crystaleye_kext_and_application.html I've attached my automated launcher app for FaceTime per the write up on the above link. You can modify it to automate the other programs. They open CameraControl, then the app that it's launching, and then shuts down CameraControl after two seconds. You may have to extend the pause between opening and closing CameraControl if it doesn't work for you. Then you have web cam access in FaceTime, PhotoBooth, and Skype. westsdad FaceTime Launcher.zip
  2. Got rid of the four warnings with the following edits and compiled the DSDT. Still does not sleep or shutdown properly. Screen goes blank and the power on button LED is constantly on (not blinking indicating sleep mode). Have to power down in order to go any further. Line 7714 Warning Not all control paths return a value (_CRS) Line 7714 Warning Reserved method must return a value (Buffer required for _CRS) Line 7714 is as follows: Method (_CRS, 0, NotSerialized) http://www.tonycrapx86.com/viewtopic.php?t=9229&p=255840 ORIGINAL UNMODIFIED CODE; Method (_CRS, 0, NotSerialized) { If (IGDS) { Return (CRS) } } } } } FIXED CODE; Method (_CRS, 0, NotSerialized) { If (IGDS) { Return (CRS) } Return (Buffer (One) { 0x00 }) } } } } Line 12641 Warning Statement is unreachable Line 12649 Warning Statement is unreachable Lines 12461 and 12469 are both as follows: Return (Ones) http://ubuntuforums.org/archive/index.php/t-857654.html ORIGINAL UNMODIFIED CODE; Method (RBAT, 2, Serialized) { If (LNot (ECAV ())) { Return (Ones) } Acquire (MUEC, 0xFFFF) Store (0x03, Local0) While (Local0) { Store (Arg0, CDT2) Store (Arg1, Local1) ShiftLeft (Local1, 0x01, Local1) Add (Local1, 0xDA, Local1) Store (Local1, CMD1) Store (0x7F, Local1) While (LAnd (CMD1, Local1)) { Decrement (Local1) Sleep (0x01) } If (LEqual (CMD1, 0x00)) { Store (CDT1, Local1) Store (Zero, Local0) } Else { Store (Ones, Local1) Decrement (Local0) } } Release (MUEC) Return (Local1) Return (Ones) } Method (WBAT, 3, Serialized) { Or (Arg0, 0x80, Local3) If (LNot (ECAV ())) { Return (Ones) } Acquire (MUEC, 0xFFFF) Store (0x03, Local0) While (Local0) { Store (Arg2, CDT1) Store (Local3, CDT2) Store (Arg1, Local1) ShiftLeft (Local1, 0x01, Local1) Add (Local1, 0xDA, Local1) Store (Local1, CMD1) Store (0x7F, Local1) While (LAnd (CMD1, Local1)) { Decrement (Local1) Sleep (0x01) } } Release (MUEC) Return (Local1) Return (Ones) } FIXED CODE; } Method (RBAT, 2, Serialized) { If (LNot (ECAV ())) { Return (Ones) } If (LEqual (Acquire (MUEC, 0xFFFF), 0x00)) { Store (0x03, Local0) While (Local0) { Store (Arg0, CDT2) Store (Arg1, Local1) ShiftLeft (Local1, 0x01, Local1) Add (Local1, 0xDA, Local1) Store (Local1, CMD1) Store (0x7F, Local1) While (LAnd (CMD1, Local1)) { Decrement (Local1) Sleep (0x01) } If (LEqual (CMD1, 0x00)) { Store (CDT1, Local1) Store (Zero, Local0) } Else { Store (Ones, Local1) Decrement (Local0) } } Release (MUEC) Return (Local1) } Return (Ones) } Method (WBAT, 3, Serialized) { Or (Arg0, 0x80, Local3) If (LNot (ECAV ())) { Return (Ones) } If (LEqual (Acquire (MUEC, 0xFFFF), 0x00)) { Store (0x03, Local0) While (Local0) { Store (Arg2, CDT1) Store (Local3, CDT2) Store (Arg1, Local1) ShiftLeft (Local1, 0x01, Local1) Add (Local1, 0xDA, Local1) Store (Local1, CMD1) Store (0x7F, Local1) While (LAnd (CMD1, Local1)) { Decrement (Local1) Sleep (0x01) } } Release (MUEC) Return (Local1) } Return (Ones) }
  3. There are some warnings that I'm getting while trying to compile a DSDT for an Asus K53E-BBR17 Notebook PC. Line 7714 Warning Not all control paths return a value (_CRS) Line 7714 Warning Reserved method must return a value (Buffer required for _CRS) Line 12641 Warning Statement is unreachable Line 12649 Warning Statement is unreachable Line 7714 is as follows: Method (_CRS, 0, NotSerialized) Lines 12461 and 12469 are both as follows: Return (Ones) I'm using an extracted DSDT from my machine and the K53E.txt patch. I'm assuming that I need a buffer created for _CRS and a "subroutine" created for Ones, but would appreciate some guidance. I'd like to do this myself if possible, but am not sure what to do. Note that this is a new install to be able to get a DSDT created for my Asus K53E-BBR17. I have everything working on another partition except for sleep / wake, lid close / wake, and shutdown. This fresh install only has the following kexts installed (no DSDT or Extra folder) so that I hopefully get a clean DSDT to start with: AppleACPIPS2Nub.kext ApplePS2Controller.kext AppleRTC.kext (patched to prevent CMOS resets) FakeSMC.kext IONetworkingFamily.kext (modified for AtherosL1cEthernet) NullCPUPowerManagement.kext (will remove when running DSDT and use patched AppleIntelCPUPowerManagement.kext for applicable OS X version) Full up kexts will be as follows with the compiled DSDT: AppleACPIPlatform.kext (modified for VoodooBattery) AppleACPIPS2Nub.kext AppleIntelCPUPowerManagement.kext (patched for applicable OS X version) ApplePS2Controller.kext AppleRTC.kext (patched to prevent CMOS resets) DeviceMergeNub.kext (for Atheros AR8151) FakeSMC.kext IO8211Family.kext (modified for Atheros AR8151) IOath3kfrmwr.kext (for AR3011) IOAudioFamily.kext (modified for ALC269) IONetworkingFamily.kext (modified for AtherosL1cEthernet) PXHCD.kext (for USB3.0) VoodooBattery.kext VoodooHDA.kext (modified for HDMI) Note that I have swapped out the OE mini-card for an Atheros AR5B195 and have 8GB of SDRAM instead of 4GB. I've attached the untouched DSDT.dsl file as extracted. Here's what I know about the Notebook hardware: http://usa.asus.com/Notebooks/Versatile_Performance/K53E/#specifications CPU: Intel® Core™ i5-2450M, 2 Cores, 2.5GHz, 3MB Cache, 25 Bus/Core Ratio Chipset: Intel® HM65 Express Chipset GPU: Intel® HD Graphics 3000 Mobile, 384MB VRAM (VID: 0x8086, PID: 0x0126) RAM: PNY 8GB, 2 x 4GB, DDR3 PC3-1333MHz Dual Channel SDRAM Memory [see Note 1] LAN: Atheros AR8151 PCIe Gigabit Ethernet Controller (VID: 0x1969, PID: 0x1083) WLAN: Atheros AR9285 802.11b/g/n WiFi Adapter (part of Atheros AR5B195) [see Note 2] (VID: 0x168C, PID: 0x002A) Bluetooth: Atheros AR3011 Bluetooth 3.0 Adapter (part of Atheros AR5B195) [see Note 2] (VID: 0x0CF3, PID: 0x3005 after firmware load) Audio: Realtek ALC269 High Definition Audio (VID: 0x, PID: 0x) HDD: Seagate ST95005620AS Momentus XT 500GB 7200RPM Hybrid SATA Optical: Liteon DVDRW DS-8A8SH Slim 8x SATA Super All Write Touchpad: Elantech Touchpad (VID: 0x, PID: 0x) Web Cam: Alcor Micro USB2.0 0.3 Mega Pixel Fixed Web Cam (VID: 0x058F, PID: 0xA014) USB3.0: Asmedia USB3.0 Adapter (VID: 0x059F, PID: 0x8007) Card Reader: Alcor Micro USB2.0 4 -in-1 card reader (SD/ MS/ MS Pro/ MMC) (VID: 0x058F, PID: 0x6366) Monitor: 15.6″ LED-backlit high-definition widescreen display with 1366 x 768 screen resolution [Note 1] Replaced OE Ramaxel Technology 4GB DDR3 PC3-1333MHz SDRAM with PNY 8GB, 2 x 4GB, DDR3 PC3-1333MHz Dual Channel Memory SDRAM. [Note 2] Replaced OE Asureware AW-NE186H mini card with Dell DW1702 (Atheros AR5B195) mini card. Appreciate any help / guidance. Thanks, Scott DSDT.dsl.zip
×
×
  • Create New...