Contribute
Register

[WIP-Guide] HP ENVY x360 13-y013cl - i7-7500U Kaby Lake

Status
Not open for further replies.
great post regarding to DW1830 of my interest!

But DW1830 said to have 1.3Gbps capacity. (I can get it at Wx with 3 antenna) , but have problem with 10.13.2.
real iMac using BCM943602 with 4 antenna has been reported 1.3Gbps and transfer via WiFi (to NAS) can reach >100MB/s

Any thought about that?


Hi Guys,

An update on WiFi & BT experiments ...

As i already posted i swapped out the intel WiFi/bT card in my 2017 15" HP Spectre X360 for BCM94352Z ... WiFi in OSX and linux worked perfect but in windows 10 the laptop would lock up as soon as i attempted to connect to a network .. it seems to be a very common issue with this card and windows 10 ...

Searching the internet results in lots of suggestions (mainly trying different driver versions) but after several attempts and god knows how many different driver versions .. i've given up trying to get the BCM94352Z card working in windows ... and yes i did try another BCM94352Z card but it resulted in the same issues.

So I dug deeper into the issue, after examining the ini install files it became clear that the driver is actually a repackaged BCM95342 mini PCIe Windows 7 driver and is not specific to the M.2 BCM95342Z version of the card or Windows 10. Examining the Windows event logs showed that the driver file bcmwl63a.sys was crashing when ever a badly timed interrupt occurred, I confirmed this using an oscilloscope on the interrupt line ... needless to say this is not good.

Additionally as i reported in the same post (and by others elsewhere) the BT USB device on the BCM94352Z would not always initialise correctly during POST resulting in it not being seen in windows or osx ... it was possible to get it to work but required a random number of reboots/sleep/wakes ... once it was seen by osx it worked fine ... even after sleep/wake ... but for me the BCM94352Z has not been an ideal solution especially with the windows wifi issues.

So time to look for a different solution ...

Despite warnings about it not being suitable for Lenovo and HP laptops I bought a Dell DW1830 on ebay for $25 ... this card has a BCM43602 PCI WiFi chipset and a BCM20450 USB bluetooth controller ... both of these chipsets (a variant of) are used on genuine Apple WiFi/BT cards so it should be much compatible if i can get it t work. Since this card is a 3x3 MIMO and supports three antenna's and the Spectre only has two i also purchased a suitable MHF-4 antenna ...

Its very important that if you install a wifi card that has more antenna connections than your system has physically that you install additional antenna's even if you can not locate the new antenna's in the same location as the original ones. Running a wifi card without all antennas connected could result in you burning out the radio transmitter on the card due to not enough load being placed and the transmitters radio amplifier thus causing it to run hot.

In my case i was unable to install an additional antenna in the laptops lid as the screen is bonded and i did not want to go through the potentially dangerous procedure of un-bonding and re-bonding the screen. The 15" X360 has some air inlet grills either side of the keyboard so i mounted mine in that area. Its not a perfect location as only a small amount of the antenna is able to access free air and thus effects its ability to pull in a signal but its better than nothing and ensures that the radio on the wifi card will not burn out.

Once the card and antenna was delivered i installed them in the X360, powered up and was disappointed to see that the WiFi (pci) part of the card was not detected in any OS (Windows/OSX/Linux) .... :|:|:|:|:|:|

Then i remembered an old trick some users have to do with the BCM94352Z so i masked pins 56 & 54 (BT & WiFi disable lines) .. and tried again ... booting into windows and checking device manager showed that the card was now detected :):):) so I went ahead and installed the latest Dell DW1830 WiFi and BT drivers, both installed fine and the card came on-line with no crashes or lock ups ... I gave it a good test for an hour or so and all was good.

Note: the DW1830 is missing pin 50 unlike the BCM94352Z so its a group of three pins not four as shown in the linked guide.

Reading up on the DW1830 on this site seems to state that it should work OOB .... so i booted into OSX (10.12.6) in safe mode and removed all the fixes for the BCM94352Z (fakepciXXX, BCMpatchram, clover patches .. etc) and rebooted ..

Sure enough WiFI was detected (both 2.4Ghz & 5Ghz) and i was able to connect to my 5Ghz wireless network ... all be it at a slower speed of 450mbs compared to the 878Mbs i got with the BCM94352Z ... also no BT.

So I reinstalled BCMPatchRam2 & the repo kexts ... rebooted and BT was detected and working. Having now tested BT extensively i can say that this is the best BT support i've seen in a hackingtosh ... the BCM20450 BT controller supports LMP4.1 which is natively supported by OSX 10.12.XX .. i've seen no problems so far with handoff or airdrop.

Checking sys info showed that the WiFi card was being identified as 3rd party ... i checked the info.plist in RehabMans FakePCIID_Broadcom_WiFi.kext which indeed showed that it supports my cards id's (14E4/43BA) so i reinstalled it along with FakePCIID.kext .. once the kext cache sorted itself out the card was identified as Apple AirPort Extreme (0x14E4, 0x24)

The speed cap of 450Mbs indicated to me that that the card was probably only running in the 20/40 frequency band and not using the full 20/40/80 range of the card .. I've seen this issue before with my old Sony Vaio Hackingtosh which was resolved by changing the county code to '#a' (see the airport guide) so i applied the patch via Clover and rebooted.

As suspected it worked and my WiFi speed was back to 878Mbs, so now everything was working great in Windows and OSX and it was time to attack Linux.

Booting into Linux (I use Mint 18) the BT was detected straight away .. however it took some digging to get the WiFI working, it turned out the bcm firmware for the DW1830 in my kernel version (4.8) did not support the 14E4/43BA device. The solution was to to update the file brcmfmac43602-pcie.bin in /lib/firmware/brcm with this version and reboot, the new card was detected immediately by the brcmfmac framework and the correct kernel driver automatically loaded without any further intervention.

Summary,

All in all swapping out the BCM94352Z for the DW1830 has been a big step forward for me ... I now have working WiFi (2.4Ghz & 5Ghz 802.11 AC) and BT4.1 in all OS's and i can now put WiFi and BT to bed.

In my opinion the DW1830 ( BCM43602 / BCM20450 combo) is a far superior card to the BCM94352Z ... this might not be true for all cases and will depend largely on if you can get your desktop/laptop to see the card on the PCI bus, but if it does you will see much better WiFi performance and far more stable BT support in any OS.

If your already running a BCM94352Z that is installed correctly you should only need to disable the 'fvco' and BT handoff Clover patches, if your not getting full 5Ghz AC WiFi speeds use the #a country code patch.

Just thought i'd share what i've leant so far with this card.

Cheers
Jay

Update-1: Since posting the above i've now noticed WiFi issues after sleep, please see this thread for more info and workaround.

Update-2: After updating to High Sierra 10.13.6 i had a few issues with Hand Off & Continuity ... turns out this is a known issue as the Clover Continuity binary patch method no longer works in 10.13.6. The Solution that worked for me was as follows:-

1. Remove FakePCIID_Broadcom_WiFi.kext ( also FakePCIID.kext if not using any other of Rehabman's FakeXXXX.kexts)
2. Install AirportBrcmFixup.kext (also requires latest Lilu.kext if not already installed)
3. Remove All Clover WiFi & BT Patches from config.plist
4. Ensure you have BrcmPatchRAM2.kext and BrcmFirmwareRepo.kext kext Installed

As an added bonus using this method I no longer have the issue with poor WiFi bit-rates after Sleep/Wake so no need for the workaround detailed in Update-1. I believe that the AirportBrcmFixup kext does a much better and more complete card initialisation with the DW1830 than other methods as well as patching MacOS.

Note: All Kext's should be installed in /L/E for MacOS 10.12.X & 10.13.X

Update-3: As reported by @sparc1234 in this post, it seems that disabling "Wake On Magic Packet" and "Wake on Pattern Match" can resolve the badly timed interrupt that I reported above and stop Windows 10 from crashing when using a DW1560 combo card.
 
But DW1830 said to have 1.3Gbps capacity. (I can get it at Wx with 3 antenna) , but have problem with 10.13.2. real iMac using BCM943602 with 4 antenna has been reported 1.3Gbps and transfer via WiFi (to NAS) can reach >100MB/s


@Cabriolet,

I can some times get my HP Spectre with DW1830 to connect to the 5Ghz WiFi on my router at > 1000 mbps but i have to be close to the router, most of the time it connects at 878 mbps. I think if i could re-locate the 3rd antenna to where the built in antenna's are in the Spectre it would work better, but it would require de-bonding the screen which is some thing i really don't want to do.

Sorry can't comment on real iMac using BCM943602 with 4 antenna, as have no experience of such a set up.

Cheers
Jay
 
Last edited:
@jaymonkey thanks for all your guides and help first of all. I am currently experiencing problems with the wifi card or some other kext or patch related to wifi. after swapping out the intel wifi card for bcm94350ZAE, I'm experiencing random shutdowns. when I boot into my system, the dell 7573 sometimes restarts at sign in window, and sometimes restarts when inside the Mojave desktop. I know this maybe "off the topic" but my card is dw1820a. similar to the card of this thread. I've attached the file. I would really appreciate if you could point me in the right direction. thanks bro
 

Attachments

  • debug_17569.zip
    3.2 MB · Views: 164
I am currently experiencing problems with the wifi card or some other kext or patch related to wifi. after swapping out the intel wifi card for bcm94350ZAE, I'm experiencing random shutdowns. when I boot into my system, the dell 7573 sometimes restarts at sign in window, and sometimes restarts when inside the Mojave desktop. I know this maybe "off the topic" but my card is dw1820a. similar to the card of this thread. I've attached the file. I would really appreciate if you could point me in the right direction.


@Mrgeque,

I've not used that card myself .... however I have seen a lot of people having troubles with it ...
I think the best thread to get help with it would be Toleda's Broadcom thread :-


Maybe someone with the same card and Laptop might be able to help you ?

Sorry I cant be of more help ...

Cheers
Jay
 
@Mrgeque,

I've not used that card myself .... however I have seen a lot of people having troubles with it ...
I think the best thread to get help with it would be Toleda's Broadcom thread :-


Maybe someone with the same card and Laptop might be able to help you ?

Sorry I cant be of more help ...

Cheers
Jay
thanks for reply bro
 
For me the BCM94352Z worked perfect without taping the pins in OSX & Linux, the Windows lockup/bsod issue is down to a old thread framework used by the driver which is based on the original mPCIe radio card spec which used interrupt lines that the ngff cards do not require.

The whole taping pins issue is down to the fact that the original spec for wireless ngff cards only had one disable line , then a few years later the spec was changed to two disable lines so that BT and Bluetooth could be disabled by hardware individually regardless of the operating system., the spec also specified that these lines should use pull-up resistors which the original spec did not.

Note that this is a hardware level disable function, the BT and WiFI can still be toggled on and off by software, it is also separate to the entire card power down and sleep/wake features which are controlled by other pins.

Unfortunately by the time the revision of the ngff spec was released manufacturers where already in production of mother boards and radio cards based on the original spec by which time toggling BT and WiFi on and off was already being done by software which has become the norm for 95% of systems out there ..

So now we are in a situation where we have both laptops and ngff radio cards based on a mix of specifications, with and without pull-up resistors, many laptops (almost all) do not support individual hardware toggling of BT & WiFi, the revised spec states that if there is no hardware toggling of BT/WiFI then the lines should be pulled low but not all manufactures follow the revised spec (at this time) so the disable lines can be left 'floating'

Since the ngff interface is controlled by the intel chipset, intel ensure that their radio cards match the spec being used by the chipset its paired with, which is why the majority of systems ship with intel radio cards .... unfortunately other manufactures of ngff radio cards (like Broadcom) have based their design on the mixed spec which is where the issue stems from.

So basically it boils down to this .... if you install a 3rd party ngff radio card and its not seen on the pci bus and its not being black listed by the BIOS then its most likely down to a logic line level issue with the disable lines on pins 54 & 56. Taping the pins isolates the lines from the chipset and thus the negates the logic line level issue (lack of or incorrect pull up resistors)

Hope this helps you and others understand the requirement for sometimes needing to tape the disable pins.

Cheers
Jay
so I'm getting mixed reply about bcm94352z. is this card recommended or will present issue in Mac OS Mojave on dell 7573 laptop? does it support Auto Unlock? thanks
 
so I'm getting mixed reply about bcm94352z. is this card recommended or will present issue in Mac OS Mojave on dell 7573 laptop? does it support Auto Unlock? thanks


@Mrgeque,

Personally from the issues I encountered with the BCM94352Z it is difficult for me to recommend it. It is a M.2 version of a old WiFI & BT chipset and things have moved on a lot since then, BCM94352Z does not support BT4.1 LE which Apple uses a lot for many of its unique BT features.

From my experience with testing just about every M.2 combo card that was available at the time I would have to recommend a BCM43602 based card for laptops such as DW1830 ... its a far superior card to the BCM94352Z and works well with MacOS and its continuity and handoff features when used with the Lilu plug-in's AirportBrcmFixUp and BT4LEContinuityFixup.

I don't have an Appel watch so can not test the Auto Unlock feature but as it works so well with all the other MacOS BT features i suspect that it should work fine.

The only thing you might have to do is add a third antenna if your laptop only has two, but these are easily and cheaply available on ebay ... do not use the card with just two antennas as it will damage it

Cheers
Jay
 
@Mrgeque,

Personally from the issues I encountered with the BCM94352Z it is difficult for me to recommend it. It is a M.2 version of a old WiFI & BT chipset and things have moved on a lot since then, BCM94352Z does not support BT4.1 LE which Apple uses a lot for many of its unique BT features.

From my experience with testing just about every M.2 combo card that was available at the time I would have to recommend a BCM43602 based card for laptops such as DW1830 ... its a far superior card to the BCM94352Z and works well with MacOS and its continuity and handoff features when used with the Lilu plug-in's AirportBrcmFixUp and BT4LEContinuityFixup.

I don't have an Appel watch so can not test the Auto Unlock feature but as it works so well with all the other MacOS BT features i suspect that it should work fine.

The only thing you might have to do is add a third antenna if your laptop only has two, but these are easily and cheaply available on ebay ... do not use the card with just two antennas as it will damage it

Cheers
Jay
thanks for your response bro. last question, do I need to add the 3rd antenna to the motherboard or just add the antenna to the card and not attach the other end to motherboard?
 
thanks for your response bro. last question, do I need to add the 3rd antenna to the motherboard or just add the antenna to the card and not attach the other end to motherboard?

If its for a desktop then the 3rd antenna will connect to the card and exit out of the back of the PC, some thing this listing on ebay will do the job :-


If laptop then you need an internal antenna like this :-


Cheers
Jay
 
If its for a desktop then the 3rd antenna will connect to the card and exit out of the back of the PC, some thing this listing on ebay will do the job :-


If laptop then you need an internal antenna like this :-


Cheers
Jay
so this is the only other choice for ngff? I cannot find 1. also I cannot find ngff to mini pcie adapter. do they make 1?
 
Status
Not open for further replies.
Back
Top