ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

5 Pages V   1 2 3 > »   
Start a new topic Add Reply
> Iopcifamily Needed But Crashes On Acer Laptop, Is DSDT the Key?
teamcobra
post Nov 5 2009, 07:23 PM
Post #1
EDIT: Now With $75 AAPL Gift Card Bounty!

Hello everyone, I have an Acer Aspire 6930g notebook, and everything is great except for one (major) problem, the PCI/MiniPCIe cards don't get assigned interrupts (or in LAN's case, interrupts and io registers). I've tried to use modified IOPCIFamily kexts (AnV, Slice, chunnan) with little success, they all cause crashes before hitting the desktop in both SL and 10.5.7 (except Slice's SL IOPCIFamily, which doesn't cause a panic, but has no affect on my system). However, chunnan's kext did bring up wl0 for a glorious moment before locking the system up (verbose boot). I'm wondering if it's possible to hard-code the addresses/interrupts in the DSDT, but I'm not much of a programmer. I'm willing to help debug this in any way possible, and have tried:

IOPCIFamily/AMW0/HPETDevice kexts in many different combinations, both with and without DSDT, and with/without Nullcpupowermanagement
Changing DSDT to use Linux's Values (_OSI)
Changing DSDT to use XP/Vista's Values
IOPCMCIAFamily + IOPCIFamily Kexts


I've also tried with and without netkas' fix for acer laptops (involves modifying the USB kext), but it doesn't seem to help.

Attached are a clean copy of my DSDT from linux, and lspci -vv dumps from linux and osx.

I've been trying to figure this out for 3 months now, and lots of people seem to have the same issue with this model, even in freebsd...

12/12/09: To date, I have successfully booted SL with Chunnan's kext once out of around 300 boots (trying desperately to get back to desktop with it so I can dump the proper ioreg).... It is just as stable/reliable in Leo 10.5.6/10.5.7 sad.gif

Attached File  dsdtlin.zip ( 42.58K ) Number of downloads: 65

Attached File  lspci_osx.txt ( 23.1K ) Number of downloads: 55
Attached File  tcioreg.zip ( 323.61K ) Number of downloads: 36


Relevant System Specs:
Intel PM45 Chipset (ICH9) with Core2Duo CPU
Nvidia GeForce 9600gs with 512mb ram (on PCI bus of some sort, but has seperate entry in dsdt, where all other pci cards are listed as RP01-0x under PCI0@0 in the DSDT)


This post has been edited by teamcobra: Nov 12 2009, 05:44 PM
Slice
post Nov 12 2009, 09:50 PM
Post #2
Your problem is very complex. Don't know, if it helps you but try to remove IRQ from those
CODE
                Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x01,               // Alignment
                            0x08,               // Length     --  set to 2
                            )
     /*                   IRQNoFlags ()    
                            {8}   */   -- comment out
                    })
                }

                Device (TIMR)
                {
                    Name (_HID, EisaId ("PNP0100"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0040,             // Range Minimum
                            0x0040,             // Range Maximum
                            0x01,               // Alignment
                            0x04,               // Length
                            )
                        IO (Decode16,
                            0x0050,             // Range Minimum
                            0x0050,             // Range Maximum
                            0x10,               // Alignment
                            0x04,               // Length
                            )
    /*                    IRQNoFlags ()
                            {0} */  -- comment out
                    })
                }

And write USB patch for each USB device
http://www.projectosx.com/forum/index.php?showtopic=461
Add Darwin here
CODE
Method (_INI, 0, NotSerialized)
{
Store (One, PWRS)
Store (0x07D0, OSYS)
If (CondRefOf (_OSI, Local0))
{
If (_OSI ("Linux"))
{
Store (0x03E8, OSYS)
}

If (_OSI ("Windows 2001"))
{
Store (0x07D1, OSYS)
}

If (_OSI ("Windows 2001 SP1"))
{
Store (0x07D1, OSYS)
}

If (_OSI ("Windows 2001 SP2"))
{
Store (0x07D2, OSYS)
}

If (_OSI ("Darwin"))
{
Store (0x07D4, OSYS)
}

If (_OSI ("Windows 2006"))
{
Store (0x07D6, OSYS)
}

If (LAnd (MPEN, LEqual (OSYS, 0x07D1))) {}
}
}
Пожалуйста, прочитайте ЧаВо!
i3-2120 GA-H61M-S1, Radeon HD6670, ALC887(VoodooHDA 2.8.4), OS⌘10.9.2, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
teamcobra
post Dec 3 2009, 09:42 PM
Post #3
Sorry for the delay everyone! I spent a solid week or so hacking at the DSDT, and freed up a couple IRQs as you suggested, but couldn't seem to fix my USB properly (to display as built-in). I do think you're on to something, as both USB and the broadcom card both get assigned IRQ 19 under OSX. I ended up buying a few Ralink rt3070 usb adapters (thank goodness Ralink fixed their drivers, no KP's yet) and have been using them in the meantime. The bounty is still up however, and I have gotten a PM from someone else with the same notebook, I will keep them posted as well. Also.... I have contacted Acer, and they have released a bios update, but they still haven't actually fixed anything (other than breaking LAN again under linux, shameful). Also, the modded version of the newest acer bios has the same result.
prasys
post Dec 5 2009, 02:57 PM
Post #4
teamcobra , care to post the diffs you were telling among 3 different BIOSes that you were trying
Dell Dimension 9100 | Intel Pentium D 830 3.00Ghz | 4GB 533Mhz RAM | 750GB combined HDD storage | GeForce 8600GT (EFI strings) | ST9200 HD Audio (AppleHDA.kext from OSX 10.4.4) | D-link GWL-520G+ Rev B1 | OSX 10.5.7 (Voodoo Kernel - 9.7.0) , Win Vista ,Debian etch , Win XP
MSI Wind U100-835MY | Intel Atom N280 1.66Ghz | 2GB 667Mhz RAM | 160GB HDD | GMA 950 (patched kext) | ALC88x Audio (VoodooHDA) | AR242x (AR5006EXS) | CSR Bluetooth | OSX 10.5.7 (Retail Disc install) + WinXP
iBook G4 | PPC G4 7447A 1.06Ghz | 512MB DDR1 | 30GB HDD | AC97 audio | ATI Mobility Radeon 9200 | BCM4311 Apple Airport | OSX 10.5.7
Mac Mini G4 | PPC G4 7447A 1.42Ghz | 1GB DDR1 | 100GB HDD | AC97 audio | ATI Radeon 9200 | BCM Bluetooth (BTO) | OSX 10.5.7 + ubuntu 8.04
oldnapalm
post Dec 26 2009, 06:25 PM
Post #5
Hello,

I have similar problem with Snow Leopard on Acer Aspire 5920.

Mini PCI-e card works using Chun-Nan's 10.5.6 IOPCIFamily. Unfortunately source code is not available. I tried to apply his rev8 patches to IOPCIFamily-113 but it didn't work, 10.5.6 must have a different fix.

lspci diff ("<" = using Chun-Nan's 10.5.6, ">" = using original 10.6.2 IOPCIFamily)
CODE
20,21c20,21
< 01:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)
< 02:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
---
> 06:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)
> 08:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)


ioreg diff
CODE

1997c1995
< | | +-o RP04@1C,3 <class IOPCIDevice, id 0x0, registered, matched, active, busy 0 (573 ms), retain 9>
---
> | | +-o RP04@1C,3 <class IOPCIDevice, id 0x0, registered, matched, active, busy 0 (659 ms), retain 27>
1999c1997
< | | | | "AAPL,slot-name" = <"PCI Slot">
---
> | | | | "IOInterruptSpecifiers" = (<1300000007000000>)
2001d1998
< | | | | "IOInterruptSpecifiers" = (<1300000007000000>,<0300000000000100>)
2013c2010
< | | | | "IOInterruptControllers" = ("io-apic-0","IOPCIMessagedInterruptController")
---
> | | | | "IOInterruptControllers" = ("io-apic-0")
2019c2016
< | | | | "IODTPersist" = <2c966f2e90966f2e>
---
> | | | | "IODTPersist" = <a2f1542ea200552e>
2023c2020
< | | | | "ranges" = <0000008200000000000020800000008200000000000020800000000000001000>
---
> | | | | "ranges" = <000000c20000000000000000000000c2000000000000000000000000000010000000008100000
000000000000000008100000000000000000000000000100000>
2026c2023
< | | | +-o IOPCI2PCIBridge <class IOPCI2PCIBridge, id 0x0, registered, matched, active, busy 0 (525 ms), retain 7>
---
> | | | +-o IOPCI2PCIBridge <class IOPCI2PCIBridge, id 0x0, registered, matched, active, busy 0 (445 ms), retain 7>
2032c2029
< | | | | "Bridge Memory Ranges" = (18446744071564181504,18446744071565213695,18446744073708503040,1048575)
---
> | | | | "Bridge Memory Ranges" = (0,1048575)
2036c2033
< | | | | "Bridge IO Ranges" = (61440,4095)
---
> | | | | "Bridge IO Ranges" = (0,4095)
2039,2153c2036,2059
< | | | +-o network@0 <class IOPCIDevice, id 0x0, registered, matched, active, busy 0 (525 ms), retain 9>
< | | | | {
< | | | | "built-in" = <00>
< | | | | "IODeviceMemory" = (({"address"=18446744071564165120,"length"=16384}))
< | | | | "device-id" = <11430000>
< | | | | "IOChildIndex" = 1
< | | | | "name" = "network"
< | | | | "IOName" = "network"
< | | | | "vendor-id" = <e4140000>
< | | | | "revision-id" = <01000000>
< | | | | "acpi-wake-type" = 2
< | | | | "IOPCIResourced" = Yes
< | | | | "subsystem-vendor-id" = <3c100000>
< | | | | "IOInterruptControllers" = ("io-apic-0","IOPCIMessagedInterruptController")
< | | | | "IOPCIExpressLinkCapabilities" = 222225
< | | | | "IOPCIExpressLinkStatus" = 4113
< | | | | "IOPowerManagement" = {"ChildrenPowerState"=2,"CurrentPowerState"=2}
< | | | | "class-code" = <00800200>
< | | | | "IOPCIMSIMode" = Yes
< | | | | "compatible" = <"pci103c,1363","pci14e4,4311","pciclass,028000">
< | | | | "subsystem-id" = <63130000>
< | | | | "assigned-addresses" = <1000028200000000000020800000000000400000>
< | | | | "IOPCIExpressASPMDefault" = 1
< | | | | "reg" = <00000200000000000000000000000000000000001000020200000000000000000000000000400
000>
< | | | | "IOInterruptSpecifiers" = (<1300000007000000>,<0600000000000100>)
< | | | | }
< | | | |
< | | | +-o AirPort_Brcm43xx <class AirPort_Brcm43xx, id 0x0, registered, matched, active, busy 0 (9 ms), retain 9>
< | | | | {
< | | | | "IONameMatch" = ("pci106b,4e","pci14e4,4311","pci14e4,4312","pci14e4,4313","pci14e4,4318",
"pci14e4,4319","pci14e4,431a","pci14e4,4320","pci14e4,4324","pci14e4,4325","pci14e4,4328","pci14e4,432b","pci14e4,432c","pci14e4,432d")
< | | | | "IOFeatures" = 8
< | | | | "IOMediumDictionary" = {"00000080"={"Flags"=0,"Index"=0,"Speed"=11000000,"Type"=128}}
< | | | | "IOMatchCategory" = "IODefaultMatchCategory"
< | | | | "CFBundleIdentifier" = "com.apple.driver.AirPortBrcm43xx"
< | | | | "IOMinPacketSize" = 64
< | | | | "IOPacketFilters" = {"IONetworkFilterGroup"=275,"IOEthernetWakeOnLANFilterGroup"=0}
< | | | | "IOModel" = "Wireless Network Adapter (802.11 b/g)"
< | | | | "IOFirmwareVersion" = "Broadcom BCM43xx 1.0 (5.10.91.26)"
< | | | | "IONameMatched" = "pci14e4,4311"
< | | | | "IOVendor" = "Unknown"
< | | | | "IOLinkStatus" = 3
< | | | | "APChipRev" = 1
< | | | | "TruePowerOff" = Yes
< | | | | "IOProbeScore" = 0
< | | | | "IOGeneralInterest" = "IOCommand is not serializable"
< | | | | "IOMaxPacketSize" = 1518
< | | | | "IOClass" = "AirPort_Brcm43xx"
< | | | | "IOProviderClass" = "IOPCIDevice"
< | | | | "IOSelectedMedium" = "00000080"
< | | | | "IOMACAddress" = <001a73530970>
< | | | | "IOPowerManagement" = {"CurrentPowerState"=2}
< | | | | "IOLinkSpeed" = 54000000
< | | | | "APFeatures" = 1
< | | | | "IOActiveMedium" = "00000080"
< | | | | }
< | | | |
< | | | +-o AirPort_Brcm43xxInterface <class AirPort_Brcm43xxInterface, id 0x0, registered, matched, active, busy 0 (8 ms), retain 10>
< | | | | {
< | | | | "IONetworkData" = {"IOEthernetStatsKey"={"Data"=<0000000000000000000000000000000000000
0000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0
0000000000000000000000000000000>,"Access Types"=9,"Size"=216},"IONetworkStatsKey"={"Data"=
<3100000000000000790000000000000000000000>,"Access Types"=9,"Size"=20},"IOOutputQueueStatsKey"={"Data"=
<00010000000000000000000000000000000000000000000000000000000000000000000000000
00000000000>,"Access Types"=9,"Size"=44}}
< | | | | "IOInterfaceState" = 3
< | | | | "IO80211DriverVersion" = "Broadcom BCM43xx 1.0 (5.10.91.26)"
< | | | | "IOInterfaceUnit" = 1
< | | | | "IOActivePacketFilters" = {"IONetworkFilterGroup"=19,"IOEthernetWakeOnLANFilterGroup"=0}
< | | | | "IOInterfaceType" = 6
< | | | | "IO80211Locale" = "FCC"
< | | | | "IOMulticastAddressList" = <01005e0000fb3333000000fb01005e0000013333f8cdf8033333000000013333ff53097001039
3df0b92>
< | | | | "IOLocation" = ""
< | | | | "IOInterfaceNamePrefix" = "en"
< | | | | "IOInterfaceFlags" = 34915
< | | | | "IOInterfaceExtraFlags" = 1073744192
< | | | | "IO80211CountryCode" = "US"
< | | | | "IOControllerEnabled" = Yes
< | | | | "IO80211SSID" = "outlawcowboy"
< | | | | "IO80211BSSID" = <001cf039ebe7>
< | | | | "IO80211RSNDone" = Yes
< | | | | "BSD Name" = "en1"
< | | | | "IOMediaHeaderLength" = 14
< | | | | "IOBuiltin" = Yes
< | | | | "IO80211Channel" = 6
< | | | | "IOMaxTransferUnit" = 1500
< | | | | "IORequiredPacketFilters" = {"IONetworkFilterGroup"=19,"IOEthernetWakeOnLANFilterGroup"=0}
< | | | | "IOMediaAddressLength" = 6
< | | | | "IO80211Band" = "2.4 GHz"
< | | | | "IO80211HardwareVersion" = "vendorid: 0x14e4
< deviceid: 0x4311
< radiorev: 0x22050000
< chipnum: 0x4311
< chiprev: 0x1
< corerev: 0xa
< boardid: 0x1363
< boardvendor: 0x103c
< boardrev: 0x42
< driverrev: 0x50a5b1a
< ucoderev: 0x1fc0506
< bus: 0x1
< "
< | | | | "IOPrimaryInterface" = No
< | | | | }
< | | | |
< | | | +-o IONetworkStack <class IONetworkStack, id 0x0, registered, matched, active, busy 0 (3 ms), retain 9>
< | | | | {
< | | | | "IOResourceMatch" = "IOBSD"
< | | | | "IOMatchCategory" = "IONetworkStack"
< | | | | "CFBundleIdentifier" = "com.apple.iokit.IONetworkingFamily"
< | | | | "IOProbeScore" = 0
< | | | | "IOClass" = "IONetworkStack"
< | | | | "IOProviderClass" = "IOResources"
< | | | | }
< | | | |
< | | | +-o IONetworkStackUserClient <class IONetworkStackUserClient, id 0x0, !registered, !matched, active, busy 0, retain 5>
< | | | {
< | | | "IOUserClientCreator" = "pid 15, configd"
< | | | }
< | | |
< | | +-o RP06@1C,5 <class IOPCIDevice, id 0x0, registered, matched, active, busy 0 (184 ms), retain 9>
---
> | | | +-o pci14e4,4311@0 <class IOPCIDevice, id 0x0, registered, matched, active, busy 0 (445 ms), retain 26>
> | | | {
> | | | "device-id" = <11430000>
> | | | "vendor-id" = <e4140000>
> | | | "IOName" = "pci14e4,4311"
> | | | "subsystem-vendor-id" = <3c100000>
> | | | "IOPCIExpressLinkStatus" = 4113
> | | | "revision-id" = <01000000>
> | | | "reg" = <00000600000000000000000000000000000000001000060200000000000000000000000000400
000>
> | | | "acpi-wake-type" = 2
> | | | "IOPCIResourced" = Yes
> | | | "IOInterruptControllers" = ("io-apic-0","IOPCIMessagedInterruptController")
> | | | "class-code" = <00800200>
> | | | "subsystem-id" = <63130000>
> | | | "IOChildIndex" = 1
> | | | "compatible" = <"pci103c,1363","pci14e4,4311","pciclass,028000">
> | | | "IOInterruptSpecifiers" = (<1300000007000000>,<0300000000000100>)
> | | | "IOPCIExpressASPMDefault" = 1
> | | | "name" = "pci14e4,4311"
> | | | "IOPCIExpressLinkCapabilities" = 222225
> | | | "IOPowerManagement" = {"CurrentPowerState"=2}
> | | | }
> | | |
> | | +-o RP06@1C,5 <class IOPCIDevice, id 0x0, registered, matched, active, busy 0 (221 ms), retain 27>


DSDT
CODE

Device (RP04)
{
Name (_ADR, 0x001C0003)
OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
{
Offset (0x10),
, 4,
LKDS, 1,
Offset (0x12),
, 13,
LASX, 1,
Offset (0x1A),
ABPX, 1,
, 2,
PDCX, 1,
, 2,
PDSX, 1,
Offset (0x1B),
LSCX, 1,
Offset (0x20),
Offset (0x22),
PSPX, 1,
Offset (0x98),
, 30,
HPEX, 1,
PMEX, 1,
, 30,
HPSX, 1,
PMSX, 1
}

Method (_PRT, 0, NotSerialized)
{
If (\GPIC)
{
Return (Package (0x04)
{
Package (0x04)
{
0xFFFF,
0x00,
0x00,
0x13
},

Package (0x04)
{
0xFFFF,
0x01,
0x00,
0x10
},

Package (0x04)
{
0xFFFF,
0x02,
0x00,
0x11
},

Package (0x04)
{
0xFFFF,
0x03,
0x00,
0x12
}
})
}
Else
{
Return (Package (0x04)
{
Package (0x04)
{
0xFFFF,
0x00,
\_SB.PCI0.LPCB.LNKD,
0x00
},

Package (0x04)
{
0xFFFF,
0x01,
\_SB.PCI0.LPCB.LNKA,
0x00
},

Package (0x04)
{
0xFFFF,
0x02,
\_SB.PCI0.LPCB.LNKB,
0x00
},

Package (0x04)
{
0xFFFF,
0x03,
\_SB.PCI0.LPCB.LNKC,
0x00
}
})
}
}
}

Pere
post Dec 27 2009, 05:54 PM
Post #6
team cobra, i have a friend with same Acer laptop and same problem.

I have check the DSDT and found it can be improved (the problem persists, but i think we should have a DSDT to start with).

Here i post your DSDT with the following changes:

Changed CPU code, now it has Speedstep, and just two cores code, so no more freezing on boot.
Added Snowleopard Cmos fix, changed/erased the number of RP0X devices to match just Network and wifi devices.
Created a device for wireless on DSDT (before was not there).
Changed P0P1 device to PCIB, (if this is wrong, please tell me).
Registered SBUS and LPCB to load correctly.
Changed HDEF to AZAL, now VoodooHDA loads correctly.


Todo: Register the DRAM controller (now is orphan code on DSDT).

The WMID device on DSDT is the one in charge of the special buttons, for example to turn on the WIFI, your machine doesn´t use AMW0 code as this new model has the WMID 2.0 specifications. (Something like the Sony SNC notebook controller, this maybe the root of the problem, but i´m not sure, just thinking).


Can you attach the iopcifamily that has worked for you?. I did try a lot of them and none worked.

Here is the edited DSDT (You can compare to yours to find the differences).

Attached File  Acer6930G__Edited_DSDT.zip ( 42.8K ) Number of downloads: 88


This post has been edited by Pere: Dec 27 2009, 05:55 PM
oldnapalm
post Dec 27 2009, 07:52 PM
Post #7
Here is the IOPCIFamily which works for me (Chun-Nan's).

Boot with "arch=i386 -legacy".
Attached File  IOPCIFamily.kext.zip ( 52.9K ) Number of downloads: 105
Pere
post Dec 27 2009, 08:07 PM
Post #8
Thanks, will try it. smile.gif

Edit: The laptop freeze on boot right after Fakesmc load when using chunan IOPCIFamily.kext.

This post has been edited by Pere: Dec 28 2009, 12:13 AM
smaky
post Dec 30 2009, 03:51 PM
Post #9
I edited my dsdt.aml in my 6930g and what now i have in System Profiler


Click for full size - Uploaded with plasq's Skitch

Maybe anybody make injector for broadcom because drivers are not loaded on system startup?
teamcobra
post Jan 17 2010, 04:34 AM
Post #10
Okay, time for an update: I got an extra bios never released on acer's site preloaded on one of the laptops, and have dumped it, but linux/osx issues didn't seem to be any different. Here's a zip full of my dsdt dumps, and also the IOPCIFamily that worked once in 10.5.8 (but like I stated earlier, is not even close to stable). Good luck guys, and as usual, I will be following wink.gif

Attached File  teamcobra6930dsdts.zip ( 133.98K ) Number of downloads: 48

Attached File  IOPCIFamily106compatchun.zip ( 53.66K ) Number of downloads: 55
smaky
post Mar 9 2010, 06:20 PM
Post #11
I have small update, I found somewhere hack for freebsd, where PCI-bridge didn`t work too like under Leopard.
I post that code here:
CODE

ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);

+ if (device_get_unit(dev)==2){
+ pci_write_config(dev, PCIR_COMMAND, PCIM_CMD_MEMEN | PCIM_CMD_PORTEN, 1);
+ pci_enable_busmaster(dev);
+ pci_write_config(dev, PCIR_IOBASEL_1, 0xf0, 1);
+ pci_write_config(dev, PCIR_MEMBASE_1, 0xf020, 2);
+ pci_write_config(dev, PCIR_MEMLIMIT_1, 0xf020, 2);
+ pci_write_config(dev, PCIR_PMBASEL_1, 0xfff1, 2);
+ }
+ if (device_get_unit(dev)==3){
+ pci_write_config(dev, PCIR_COMMAND, PCIM_CMD_MEMEN | PCIM_CMD_PORTEN, 1);
+ pci_enable_busmaster(dev);
+ pci_write_config(dev, PCIR_IOBASEL_1, 0xf0, 1);
+ pci_write_config(dev, PCIR_MEMBASE_1, 0xf030, 2);
+ pci_write_config(dev, PCIR_MEMLIMIT_1, 0xf030, 2);
+ pci_write_config(dev, PCIR_PMBASEL_1, 0xfff1, 2);
+ }
pcib_attach_common(dev);
sc = device_get_softc(dev);
sc->ap_handle = acpi_get_handle(dev);


This code is for file: acpi_pcib_pci.c

And amaizing but broadcom wirelles card work under Freebsd.
So maybe samobody have time and readressing bad acpi for snowe for acer 6930.
I personaly don`t have time for coding, because study, study and again study.

Ps. sory for my bad english i don`t have time for check grammar :-)
teamcobra
post May 4 2010, 06:36 AM
Post #12
Time for another update, I suppose......

Pere: Tried the DSDT when you first posted it, no luck. I can confirm that AMW0/WMI2.0 should not be affecting power to the card, as pin20 is taped, and wireless does work in linux (even with all amw/wmi modules blacklisted, also wifi on/off button does nothing). I think smaky is the closest with the freebsd patch, and it would seem like this needs to be implemented into chameleon in order to properly work. I have not been able to find anyone proficient in adding ACPI code to chameleon unfortunately, and have contacted several people who maintain their own branches/versions of chameleon. I am currently using AsereBLN 1.1.9 , and although it has added support for the PM45 northbridge controller, the results are still the same. At this point, I'm at a loss. Bounty still stands, and I will be notified by email/checking all responses! I just got my Magic Mouse, and I want to share some of that love asap! biggrin.gif

P.S.: Parts Affected: PCI-to-PCI Bridge, ExpressCard Slot, Wifi (on PCI-PCI Bridge), Lan (Attansic L1e, Same). Also, my Wifi card is a genuine Apple Airport Extreme card, no plist editing required.
teamcobra
post May 4 2010, 06:36 AM
Post #13
Time for another update, I suppose......

Pere: Tried the DSDT when you first posted it, no luck. I can confirm that AMW0/WMI2.0 should not be affecting power to the card, as pin20 is taped, and wireless does work in linux (even with all amw/wmi modules blacklisted, also wifi on/off button does nothing). I think smaky is the closest with the freebsd patch, and it would seem like this needs to be implemented into chameleon in order to properly work. I have not been able to find anyone proficient in adding ACPI code to chameleon unfortunately, and have contacted several people who maintain their own branches/versions of chameleon. I am currently using AsereBLN 1.1.9 , and although it has added support for the PM45 northbridge controller, the results are still the same. At this point, I'm at a loss. Bounty still stands, and I will be notified by email/checking all responses! I just got my Magic Mouse, and I want to share some of that love asap! biggrin.gif

P.S.: Parts Affected: PCI-to-PCI Bridge, ExpressCard Slot, Wifi (on PCI-PCI Bridge), Lan (Attansic L1e, Same). Also, my Wifi card is a genuine Apple Airport Extreme card, no plist editing required.
oldnapalm
post May 4 2010, 02:13 PM
Post #14
Hello,

dborca compiled a Snow Leopard version of IOPCIFamily.kext (v113) with Chun-nan's patches, it's working fine on my Aspire 5920. Source available.

http://www.insanelymac.com/forum/index.php...t&p=1460172
teamcobra
post May 5 2010, 04:48 PM
Post #15
Hrm, just fragged my install using that kext.... My system now hangs randomly at boot, but the most common place is right after "PCI configuration changed (bridge=3 device=16 yenta=0)." I did notice that my broadcom wireless card gets detected properly, but I can't boot into the desktop in normal or safe mode, and single-user mode won't boot either to get an ioreg dump..... Back to square one, thank god I have backups sad.gif

Edit: Save, thanks to terminal and an old distro dvd, will see if I can help him debug the kext smile.gif

This post has been edited by teamcobra: May 5 2010, 07:15 PM
teamcobra
post Jun 1 2010, 09:04 AM
Post #16
Time for another update, this time with a goodie (but not the holy grail). I've got a modded bios on one of my 6930g's that has options for enabling/disabling ASPM on each pcie device, as well as a few other options. Instead of posting the BIOS however (as it seems to have issues with winphlash, 1 unrecoverable machine and _very_ close to a 2nd), I'll post a dsdt with no ASPM set on the pcie devices, also modified with rtc/usb/ehci fixes, and sleeps properly. This DSDT _should_ also expose the other pcie slots, but it does not actually fix wifi/lan/expresscard yet. I have also tested this new bios with the recent IOPCIFamily, but it still panics on boot. In the next day or so, I will take screencaps of each of the unlocked menus of the BIOS, and if someone would like to hack away at the DSDT and have me flip settings in the BIOS until we have a working combination, I'm all for it. I've also found 2 other modded bioses that I haven't flashed yet, and they're based on an older revision, not sure when I'll get to test them honestly, brave 6930g users PM me if you'd like to try one of them and help narrow it down wink.gif

Attached File  6930g_sleep_dsdt.aml.zip ( 14.62K ) Number of downloads: 82


This post has been edited by teamcobra: Jun 1 2010, 06:19 PM
Darkening
post Jun 2 2010, 10:53 PM
Post #17
QUOTE (teamcobra @ Jun 1 2010, 10:04 AM) *
Instead of posting the BIOS however (as it seems to have issues with winphlash, 1 unrecoverable machine and _very_ close to a 2nd)


Here's the Winphlash64 settings I used to flash that bios and all of its evolving previous versions. Theres lots of posts about not using any winphlash especially 64 but I've flashed this machine 20+ times and not bricked yet <touches wood>. I did have a working recovery solution before I tried any of my mods. Use the dos version that comes with the original Acer bios download and avoid winphlash altogether although that phlash16 wont work in recovery mode.

CODE
[Main]
Shutdown=1
RetryCount=3
UpdateMode=3
FormatVersion=2
UpdateFlags=9109a2
UserFlags=0
;UpdateFlags=408228a6
;UserFlags=800000
UserMask=d121a4
PSIFlags=880
UserMode=ffffffff
BackupFile=FLASHABL.bak
ImageFile=BIOSMOD_SLIC.WPH


[UI]
NoDelayTime=1
DisCancel=1
Advanced=0
Confirmation=1
;SaveEscdMode=1
;SaveUefiVarVolMode=1
;SaveSetupVarVolMode=1


We may still be able to resurrect the bricked machine. It took me two days in total, spread over the space of a week to find a working combination. Use a good, fast (important) 2 gig or less usb flash drive so that it can be reliably formatted to FAT and won't stutter during the flash. Use wincris to format the flash drive. Copy the files in the rar over to the flash drive, these are the files that work for me. Use the Fn+Esc power on. If your bad flash didn't trash the boot block hopefully you'll be sorted. http://www.megaupload.com/?d=BD0IQA42

Regards and good luck.
teamcobra
post Jun 3 2010, 04:22 AM
Post #18
Will test later tonight, as I'm away from the machine in question, but I'm 99.999% sure the boot block got wiped too, to be honest. Since you did the original mod, and have some interest in osx, do you have the pci-bridge working (wifi, lan... I have an apple airport card, replaced the intel) on your 6930g? I've been fighting with this for over one year, and honestly, your work has been the first real breakthrough in months.

This post has been edited by teamcobra: Jun 3 2010, 04:24 AM
teamcobra
post Jun 3 2010, 07:42 AM
Post #19
Worst fears confirmed, boot block is trashed, still under warranty though :/ Oh well, took one for the team, I suppose... now to actually get the pci bridge fixed.....
smaky
post Jun 3 2010, 06:20 PM
Post #20
QUOTE (teamcobra @ Jun 1 2010, 09:04 AM) *
Attached File  6930g_sleep_dsdt.aml.zip ( 14.62K ) Number of downloads: 82


Anybody try last teamcobra dsdt for 6930?I make many combination with any kind of sleepenabler, but sleep still dosn`t work. Any solution?

5 Pages V   1 2 3 > » 
Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: