Driver de Rede (NIC) Broadcom BCM5754/M, BCM5755/M, BCM5787/M, BCM5906/M para 10.6 (32/64 bits)
Driver open-source nativo 32/64 bits (BCM5722D.kext) para placas de rede Ethernet Broadcom NetXtreme / NetLink BCM5722, BCM5754/M, BCM5755/M, BCM5787/M e BCM5906/M no Mac OS X 10.6 Snow Leopard, desenvolvido a partir do manual técnico da Broadcom e dos drivers tg3 (Linux) e if_bge (FreeBSD).
- Autor Principal
- @adlan Publicado em 2011-02-12
- Coleção
- Arquitetura Base OSx86 10.X e Bootloaders
- Histórico no Arquivo
- 273,637 leituras históricas · 112 notas técnicas selecionadas (de 125 postagens) · 2011-02-12 – 2012-08-23
- Colaboradores Creditados (61)
- @adlan (36)@fyooo (7)@Astarael (6)@rals2007 (4)@ludacrisvp (3)@VIVXIX (3)@cephalopod (3)@quinielascom (2)@Dabluest (2)@abiogenesis (2)@tmacyunn (2)@ronin510 (2)@FredWst (2)@majamudo (2)@waldrondigital (2)@righteye (2)+45 more
- Referência de Hardware
- macOS Wi-Fi & BT Adapters ↗ SATA III & NVMe SSDs ↗ USB 3.2 Boot Flash Drives ↗
Driver NIC Broadcom 10.6.X para BCM5754/M, BCM5755/M, BCM5787/M, BCM5906/M (32/64 bits)
Decidi colocar a mão na massa e desenvolver um driver nativo do zero para a minha placa de rede onboard (BCM5787M). Embora já existisse uma kext funcional para essa placa, tratava-se de um binário editado via hex editor, o que nunca achei uma solução definitiva — além de não ter código-fonte disponível. Bom, se tivesse, este projeto nem existiria.
Este driver foi implementado com base no manual técnico BCM5722 Programmer's Guide disponibilizado pela própria Broadcom em seu portal open-source para desenvolvedores, complementado por referências dos drivers tg3 (Linux) e if_bge (FreeBSD). Como o manual técnico abrange vários chips da mesma arquitetura, incluí suporte para diversos modelos documentados.
Modelos suportados:
- BCM5722
- BCM5754
- BCM5754M
- BCM5755
- BCM5755M
- BCM5787
- BCM5787M #
- BCM5906 #
- BCM5906M #
# - modelos já testados e confirmados
Recursos ainda não implementados nesta versão:
- Wake-on-LAN
Instalação
Instale em /System/Library/Extensions.
Você pode copiar manualmente para /S/L/E e reparar as permissões ou simplesmente usar o KextWizard (k exts.com/view/1068-latest_kext_wizard_from_janek202.html) (mirror no kexts.com).
Relato de Problemas
Por favor, reporte qualquer bug encontrado em https://github.com/adlan/BCM5722D/issues ↗
Contribuições
O código-fonte completo está disponível no GitHub em https://github.com/adlan/BCM5722D ↗
Créditos
- Broadcom, por disponibilizar o guia de programação aberto
- Autores dos drivers tg3 (Linux) e if_bge (FreeBSD)
- Primeiros beta testers do fórum InsanelyMac (acero, Hacktrix2006, quadomatic, queshaolangman, Zprood)
Aviso Legal (Disclaimer)
Este driver não é suportado nem endossado oficialmente pela Broadcom. Zumbis podem invadir a sua casa e não assumo nenhuma responsabilidade pelo que acontecer. Use por sua conta e risco.
Atualização
Corrigido o problema de detecção de dispositivo que afetava placas cujo Device ID continha letras hexadecimais (nos modelos 5722, 5754, 5755 e 5787). Muito obrigado ao FredWst (osx 86.co/member.php?u=90020393) por identificar a causa do bug!
Aproveitem!
Notas de Campo e Relatos da Comunidade
112 respostas técnicas selecionadas a partir de 125 postagens originais
Notebook Lenovo N500, com uma BCM5906M. Funcionando perfeitamente, sem KP até o momento.
@chinaskyNotebook Lenovo N500, com uma BCM5906M. Funcionando perfeitamente, sem KP até o momento.
fico feliz em saber disso!
Você pode fazê-lo funcionar também para a Broadcom BCM57780, pci14e4,1692?
Obrigado, parece funcionar bem, testado com a BCM5787M.
É possível configurar seu driver para não exibir nada no log do sistema?
No meu system.log tenho:
BCM5722D (Build date/time: Feb 11 2011 16:21:32)
BCM5722D (setupDriver:920): MSI index on 1
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2687 iterations
my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
my_name_adlan_BCM5722D: Loaded successfully
BCM5722D (setPowerState:84): Changing power state from 1 to 0
my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55
BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2638 iterations
BCM5722D (setMedium:471): Change medium: kIOMediumEthernetAuto
BCM5722D (setMedium:496): Change medium: kLinkDuplexNegotiate
BCM5722D (configureLinkAdvertisement:364): advertiseFe: 5E1
BCM5722D (configureLinkAdvertisement:365): advertiseGe: 300
BCM5722D (startAutoNegotiation:522): Adv reg: 5E1
@pat98usbVocê pode fazê-lo funcionar também para a Broadcom BCM57780, pci14e4,1692?
desculpe, receio que não seja possível para mim no momento. Vou liberar o código-fonte, então qualquer pessoa interessada poderá tentar trabalhar nisso se for viável.
@quinielascomObrigado, parece funcionar bem, testado com a BCM5787M. É possível configurar seu driver para não exibir nada no log do sistema? No meu system.log tenho: BCM5722D (Build date/time: Feb 11 2011 16:21:32) BCM5722D (setupDriver:920): MSI index on 1 BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 2687 iterations my_name_adlan_BCM5722D: Model: BCM5787M…
sem problemas , farei upload de uma versão silenciosa (non-chatty) mais tarde.
obrigado por testar!
Você fez minha placa 5906M funcionar (até no Lion)! Estou quase sem palavras. Nunca achei que isso fosse acontecer! Você manda muito! Obrigado.
Dell XPS m1330
Tenho um Dell XPS M1330; as informações de hardware reportam uma placa de rede 5906M, mas tentei instalar seu driver sem sucesso: não vejo nenhuma nova interface em Preferências do Sistema / Rede.
Em /var/log a única menção que encontrei está no system.log:
com.apple.kextd[10]: BCM5722D.kext has no Info.plist file.
com.apple.kextcache[591]: BCM5722D.kext has no Info.plist file.
Alguma ideia?
Marco
@webwolfTenho um Dell XPS M1330; as informações de hardware reportam uma placa de rede 5906M, mas tentei instalar seu driver sem sucesso: não vejo nenhuma nova interface em Preferências do Sistema / Rede. Em /var/log a única menção que encontrei está no system.log: com.apple.kextd[10]: BCM5722D.kext has no Info.plist file. com.apple.kextcache[591]:…
pelo log, vejo que a kext falhou ao carregar porque não há o arquivo Info.plist; você pode verificar se a kext instalada realmente está sem o Info.plist? Se estiver, tente remover e reinstalar a kext, e verifique a kext baixada também.
No Terminal:
ls /System/Library/Extensions/BCM5722D.kext/Contents
@adlanfico feliz em saber disso oooh, no Lion também? ótimo! ei, onde você conseguiu ele? :-$
Com um certo diabinho verde (demonoid)
Meu Deus, encontrei este tópico e estou arruinado.
Porque eu estava escrevendo meu próprio driver para a bcm5906m também
Comecei a ler o 5722-PG101-R.pdf e o if_bge.c em janeiro e justo hoje consegui colocar RX e TX para funcionar sem suporte a checksum offloading, multicast e troca de estado de energia.
E agora não sei o que fazer: se apago meu projeto http://code.google.com/p/osx-bcm5906m/ ↗ que ainda está em construção, ou se termino o driver e faço o upload lá, mas agora não faz mais sentido nenhum
:
@abiogenesisMeu Deus, encontrei este tópico e estou arruinado. Porque eu estava escrevendo meu próprio driver para a bcm5906m também Comecei a ler o 5722-PG101-R.pdf e o if_bge.c em janeiro e justo hoje consegui colocar RX e TX para funcionar sem suporte a checksum offloading, multicast e troca de estado de energia. E agora não sei o que fazer, se apago o meu…
poxa, sinto muito por isso,
inicialmente desenvolvi este driver para a minha placa (5787m), mas como a bcm5906 também está documentada no mesmo manual, decidi adicionar suporte ao modelo.
já que você começou, não pare! Termine o seu driver e encare isso como um exercício: vai te dar experiência e pode ser benéfico para você e para a comunidade no futuro. Claro que pode parecer perda de tempo agora, mas a escolha é sua. Se fosse comigo, eu seguiria em frente
adlan
Soberbo!
Melhor ter um log apenas com:
my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55
Desse jeito fica muito mais limpo.
@rals2007adlan Soberbo! Melhor ter um log apenas com: my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet my_name_adlan_BCM5722D: Ethernet address 00:11:22:33:44:55 Desse jeito fica muito mais limpo.
já fiz o upload da versão silenciosa (non-chatty).
Graças ao seu código corrigi alguns bugs no meu, e acho que encontrei um na sua função setMulticastList.
for (i = 0; i < count; i++) { crc = computeCRC32((const UInt8 *) addrs, 6); ... }
Aqui, de acordo com o 5722-PG101-R.pdf, o CRC deve ser calculado para cada endereço no array, então seria "addrs + i" ou "&addrs".
@abiogenesisGraças ao seu código corrigi alguns bugs no meu, e acho que encontrei um na sua função setMulticastList. Aqui, de acordo com o 5722-PG101-R.pdf, o CRC deve ser calculado para cada endereço no array, então seria "addrs + i" ou "&addrs".
falha minha, como deixei passar isso?
obrigado por avisar
é possível fazer um driver para a BCM4357 rev1
Tenho um Lenovo G560 com esta placa WLAN.
Seria maravilhoso!
E se não for possível, qual placa WLAN você me recomendaria comprar para usar no OSX?
Funciona no Lenovo S12
Excelente! Funciona para a (LAN) BCM 5906M no Lenovo S12
Obrigado!
@Medienmensché possível fazer um driver para a BCM4357 rev1 ? Tenho um Lenovo G560 com esta placa WLAN. Seria maravilhoso! E se não for possível, qual placa WLAN você me recomendaria comprar para usar no OSX?
no momento, tudo o que posso dizer é que não é possível. Não há documentação pública de API disponível e também não sei se existe algum datasheet/manual de programador/driver de código aberto para esse modelo.
Recomendo comprar um adaptador Wi-Fi USB externo; pessoalmente uso o D-Link DWA-110. Você pode encontrar mais modelos suportados na Lista de Compatibilidade de Hardware na wiki do projeto OSx86 ↗
Obrigado, obrigado, obrigado! É realmente inacreditável que alguém finalmente tenha feito isso!
Continue com o ótimo trabalho!
Funciona perfeitamente no meu Lenovo S10e 4086RLG :
@pat98usbVocê pode fazê-lo funcionar também para a Broadcom BCM57780, pci14e4,1692?
Acho que esse ID é do driver AirPort, pois aparece abaixo desse device ID airport.kext ou algo assim. A Ethernet nem sequer aparece até você instalar esta kext, e depois disso você terá 2 placas de rede: AirPort pci14e4 e Ethernet.
@adlanjá fiz o upload da versão silenciosa (non-chatty).
Outra coisa: por favor, você consegue compilar seu driver para o Leopard 10.5.x também?
Oi adlan, tenho um problema no 10.6.7: quando coloco o notebook em sleep por uma hora ou um pouco mais, o driver para de funcionar e a rede desconecta. Depois de usar o comando kextload para descarregar e recarregar, ele volta a funcionar.
Seria um problema do sistema? Talvez devêssemos compilá-lo no 10.6.7; já tentei reparar permissões e reconstruir o cache do kernel
Edit:
Tentei compilar o código-fonte em 32 bits no 10.6.7 com o Xcode 3.2.5 e recebi alguns warnings como:
BCM5722D-18e3e93/BCM5722D.cpp:536: warning: implicit conversion shortens 64-bit value into a 32-bit value
@tmacyunnOi adlan, tenho um problema no 10.6.7: quando coloco o notebook em sleep por uma hora ou um pouco mais, o driver para de funcionar e a rede desconecta. Depois de usar o comando kextload para descarregar e recarregar, ele volta a funcionar. Seria um problema do sistema? Talvez devêssemos compilá-lo no 10.6.7; já tentei reparar permissões e reconstruir o cache…
Vou investigar isso mais a fundo. Você pode fornecer as mensagens de log logo após acordar do sleep?
Quanto à mensagem de warning na compilação, pode simplesmente ignorá-la, pois há algumas conversões que exigem que um valor de 64 bits seja dividido em 2 valores de 32 bits para caber nos registradores de hardware.
Aqui está:
Friday, March 25, 2011 4:49:52 PM Asia/Shanghai
Mar 25 16:49:57 yuns-MacBook-Pro kernel[0]: System Sleep
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: Wake reason =
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: System Wake
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: ApplePS2ALPSGlidePoint: ABMod Waking up Touchpad setting setTapEnable to 1
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: USB (EHCI):Port 3 on bus 0xfa connected or disTconnectedhe USB d:ev porticSC(e 0x301US8B Op03ti)
Mar 25 16:50:17 yuns-MacBook-Pro kernel[0]: cal Mouse (Port 1 of Hub at 0x5d000000) may have caused a wake by issuing a remote wakeup (2)
Mar 25 16:50:18 yuns-MacBook-Pro kernel[0]: USBMSC Identifier (non-unique): 20060413092100000 0xbda 0x158 0x5195
E notei que, ao acordar do sleep, as Preferências do Sistema mostram que a rede está conectada, mas na prática não está.
Estes são os logs da kext que você lançou antes:
Mar 19 22:51:18 yuns-MacBook-Pro kernel[0]: System Sleep
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: Wake reason =
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: System Wake
Mar 19 22:51:27 yuns-MacBook-Pro kernel[0]: ApplePS2ALPSGlidePoint: ABMod Waking up Touchpad setting setTapEnable to 1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: USB (EHCI):Port 3 on bus 0xfa connected or disconnected: portSC(0x301803)
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: The USB device USB Optical Mouse (Port 1 of Hub at 0x5d000000) may have caused a wake by issuing a remote wakeup (2)
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setPowerState:84): Changing power state from 0 to 1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (resetAdapter:144): 4B657654 to B49A89AB in 0 iterations
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setMedium:471): Change medium: kIOMediumEthernetAuto
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (setMedium:496): Change medium: kLinkDuplexNegotiate
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (configureLinkAdvertisement:364): advertiseFe: 1E1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (configureLinkAdvertisement:365): advertiseGe: 0
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: BCM5722D (startAutoNegotiation:522): Adv reg: 1E1
Mar 19 22:51:28 yuns-MacBook-Pro kernel[0]: USBMSC Identifier (non-unique): 20060413092100000 0xbda 0x158 0x5195
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: BCM5722D (setupPHY:100): Auxillary status: F53F
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: BCM5722D (setupFlowControl:621): flowControl: 0
Mar 19 22:51:29 yuns-MacBook-Pro kernel[0]: my_name_adlan_BCM5722D: Link up: 100 MBps, full duplex. Flow control: disabled
Acabei de testar sua kext — ela faz minha BCM5787M funcionar. Além disso, no "Perfil do Sistema" consigo ver as informações corretas sobre a placa (enquanto usando o plugin BCM5701 modificado do 10.6.3 aparecia pci14e4,1693 em vez do nome real, apesar dos patches de DSDT que adicionei).
Mas há um problema: após carregar a kext, meu sistema ficou muito lento. Mal consegui digitar sudo kextunload BCM5722D.kext no Terminal. Eu não tinha esse efeito ao carregar o plugin editado via hex.
Cerca de 5 minutos depois usei o comando kextload e tive lentidão de novo — mas o efeito negativo foi bem mais leve, eu diria cerca de um décimo da primeira vez.
Talvez tenha algo a ver com otimizações de código? Realmente não sei.
Estou torcendo muito por este projeto — quem sabe por quanto tempo a kext do 10.6.3 ainda vai funcionar? Ela pode quebrar no Lion ou até mesmo na próxima atualização.
Abraços,
Astarael
PS: Desculpe pelo meu inglês, ainda estou aprendendo
@AstaraelAcabei de testar sua kext — ela faz minha BCM5787M funcionar. Além disso, no "Perfil do Sistema" consigo ver as informações corretas sobre a placa (enquanto usando o plugin BCM5701 modificado do 10.6.3 aparecia pci14e4,1693 em vez do nome real, apesar dos patches de DSDT que adicionei). Mas há um problema: após carregar a kext, meu sistema ficou muito lento. Eu…
oi,
você pode testar esta kext,
cl .ly/3e3l2N2t1n242a3O0T0I
e me enviar o log? pegue as linhas que começam com BCM5722D
PS: sem problemas, o meu inglês também
Tenho um Acer Aspire 2920 com Broadcom BCM5787M.
Tentei adicionar o arquivo em anexo deste post "BCM5722D.kext" em System\Library\Extensions, mas após reiniciar minha LAN continua sem funcionar... .
PC: Acer Aspire 2920 (Intel Core 2 Duo, chipset: Intel 965)
Mac OS X: 10.6.6i By Hazard
p.s.: Também tentei instalar o Mac OS X 10.6.2, mas o resultado é o mesmo: com esta kext minha LAN não funciona… no Perfil do Sistema, em Placas Ethernet, não aparece nada.
p.p.s. depois de adicionar o arquivo kext no diretório Library, aparece a mensagem:
A extensão do sistema não pode ser usada
A extensão do sistema "/System/Library …" foi instalada incorretamente e não pode ser usada.
Tente reinstalá-la…
qual é o meu problema?
obrigado, pessoal
saudações da Itália
@Domenic211Tenho um Acer Aspire 2920 com Broadcom BCM5787M. Tentei adicionar o arquivo em anexo deste post "BCM5722D.kext" em System\Library\Extensions, mas após reiniciar minha LAN continua sem funcionar... . PC: Acer Aspire 2920 (Intel Core 2 Duo, chipset: Intel 965) Mac OS X: 10.6.6i By Hazard p.s.: Também tentei instalar o Mac OS X 10.6.2, mas…
oi,
geralmente essa mensagem de erro aparece quando a kext não está com as permissões corretas. Para corrigir isso, você precisa ajustar as permissões da kext:
ou abra o Utilitário de Disco e repare as permissões,
ou no Terminal:
cd /System/Library/Extensions
sudo chmod -R 755 BCM5722D.kext
sudo chown -R 0:0 BCM5722D.kext
uma solução mais simples é instalar usando o Kext Helper (k exts.com/downloads.php?do=file&id=250) (no momento desta resposta o site principal está fora do ar; o link aponta para o download no kexts.com)
@adlanvocê pode testar esta kext, cl .ly/3e3l2N2t1n242a3O0T0I e me enviar o log? pegue as linhas que começam com BCM5722D PS: sem problemas, o meu inglês também
Oi, desculpe ter demorado tanto, andei muito ocupado recentemente.
Enfim, coloquei a kext que você me passou em /S/L/E, apliquei chmod e chown nela e carreguei com o kextload. Isto foi o que obtive no Console do sistema:
11-04-18 18:13:12 sudo[255] astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/BCM5722D.kext/
11-04-18 18:13:13 kernel BCM5722D (Build date/time: Mar 25 2011 23:28:49)
11-04-18 18:13:14 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14 kernel my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
11-04-18 18:13:14 kernel my_name_adlan_BCM5722D: Loaded successfully
11-04-18 18:13:14 kernel my_name_adlan_BCM5722D: Ethernet address 00:1e:37:24:13:81
11-04-18 18:13:14 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14 kernel BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-18 18:13:14 kernel BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-18 18:13:14 kernel BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-18 18:13:14 kernel BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-18 18:13:14 kernel BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
Não tenho certeza se era isso que você queria :-|
PS: Eu não recomendaria usar o KextHelper no Snow Leopard — ele não funciona muito bem. Talvez valha a pena testar o KextWizard no lugar dele (não vou postar o link porque não tenho certeza se é permitido )
Tenho o dispositivo 14e4:167b Broadcom 5755 onboard numa máquina HP xw6600. A kext parece não fazer absolutamente nada. Não há menção a ela em nenhum dos logs em /var/log
tentei apagar e reinstalar a kext tanto com o Kext Helper b7 quanto com o Kext Wizard, além de reconstruir o cache de kexts. Tentei usar o arquivo zip anexado a este tópico e também recompilar a kext a partir do código-fonte. Nenhuma diferença. Verifiquei o device ID com o DPCIManager.
Não sei mais o que tentar?
Ela "funciona" com a kext 5701 hackeada que rola por aí, no sentido de que pega IP e conecta, mas a 5701 hackeada tem problemas horríveis de upload que deixam tudo incrivelmente lento ou dando timeout, motivo pelo qual vim parar aqui.
Depois de iniciar o sistema, tente digitar no Terminal kextstat | grep BCM e veja se aparece algum resultado. Se não aparecer, de fato a kext não está sendo carregada...
Você tentou forçar o carregamento com o comando kextload?
desculpe pela demora, às vezes não percebo posts novos neste tópico.
@AstaraelOi, desculpe ter demorado tanto, andei muito ocupado recentemente. Enfim, coloquei a kext que você me passou em /S/L/E, apliquei chmod e chown nela e carreguei com o kextload. Isto foi o que obtive no Console do sistema: 11-04-18 18:13:12 sudo[255] astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload…
o problema ainda persistiu?
essa é a única mensagem registrada para a kext? e depois disso o seu sistema começa a ficar lento?
PS: pois é, o Kext Helper congela ao sair e exige forçar o encerramento, embora eu não tenha me dado ao trabalho de procurar outro já que o app ainda cumpre o que deve fazer . De qualquer forma, obrigado pela dica; vou testar o aplicativo que você mencionou e atualizar o primeiro post.
@scritchyTenho o dispositivo 14e4:167b Broadcom 5755 onboard numa máquina HP xw6600. A kext parece não fazer absolutamente nada. Não há menção a ela em nenhum dos logs em /var/log; tentei apagar e reinstalar a kext tanto com o Kext Helper b7 quanto com o Kext Wizard, além de reconstruir o cache de kexts. Tentei usar o arquivo zip anexado a…
tente o que o Astarael disse: tente carregar a kext manualmente e procure por qualquer mensagem de falha nos logs. Se a kext estiver carregando, ela deve ao menos registrar uma mensagem com a data/hora de compilação (build date/time).
na verdade já houve outro relato exatamente com esse mesmo comportamento. Ainda estou investigando o que causa esse problema, mas é bem provável que eu tenha chegado a um beco sem saída.
aliás, a sua instalação é vanilla ou distro?
Eu não queria cantar vitória antes do tempo, mas agora parece estar tudo bem... De alguma forma
A kext está carregada há cerca de 24 horas e o evento de lentidão não ocorreu. Pelo menos até agora
Ao pesquisar por BCM no Console, obtive mais resultados agora. Isto é tudo o que apareceu desde que carreguei a kext.
11-04-18 18:13:12 sudo[255] astarael : TTY=ttys000 ; PWD=/Users/astarael ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/BCM5722D.kext/
11-04-18 18:13:13 kernel BCM5722D (Build date/time: Mar 25 2011 23:28:49)
11-04-18 18:13:14 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14 kernel my_name_adlan_BCM5722D: Model: BCM5787M NetLink (TM) Gigabit Ethernet
11-04-18 18:13:14 kernel my_name_adlan_BCM5722D: Loaded successfully
11-04-18 18:13:14 kernel my_name_adlan_BCM5722D: Ethernet address 00:1e:37:24:13:81
11-04-18 18:13:14 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 18:13:14 kernel BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-18 18:13:14 kernel BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-18 18:13:14 kernel BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-18 18:13:14 kernel BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-18 18:13:14 kernel BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-18 22:04:02 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-18 22:04:02 kernel BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 06:01:56 kernel BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 06:01:57 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 06:01:57 kernel BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 06:01:57 kernel BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 06:01:57 kernel BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 06:01:57 kernel BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 06:01:57 kernel BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-19 14:39:59 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:39:59 kernel BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:39:59 kernel BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 14:39:59 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:39:59 kernel BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 14:39:59 kernel BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 14:39:59 kernel BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 14:39:59 kernel BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 14:39:59 kernel BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
11-04-19 14:52:49 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:52:49 kernel BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:53:03 kernel BCM5722D (setPowerState:84): Changing power state from 0 to 1
11-04-19 14:53:03 kernel BCM5722D (resetAdapter:145): 4B657654 to B49A89AB in 0 iterations
11-04-19 14:53:03 kernel BCM5722D (setMedium:367): Change medium: kIOMediumEthernetAuto
11-04-19 14:53:03 kernel BCM5722D (setMedium:392): Change medium: kLinkDuplexNegotiate
11-04-19 14:53:03 kernel BCM5722D (configureLinkAdvertisement:567): advertiseFe: 5E1
11-04-19 14:53:03 kernel BCM5722D (configureLinkAdvertisement:568): advertiseGe: 300
11-04-19 14:53:03 kernel BCM5722D (startAutoNegotiation:590): Adv reg: 5E1
PS: Quase nunca conecto via cabo Ethernet, mas testei o driver antes e a conexão ficou ótima. Agora vejo a controladora na saída do ifconfig e no Perfil do Sistema, então acho que continuará funcionando bem. De qualquer forma, farei mais alguns testes quando voltar para casa na Páscoa.
@AstaraelEu não queria cantar vitória antes do tempo, mas agora parece estar tudo bem... De alguma forma A kext está carregada há cerca de 24 horas e o evento de lentidão não ocorreu. Pelo menos até agora Ao pesquisar por BCM no Console, obtive mais resultados agora. Isto é tudo o que apareceu desde que carreguei a kext. 11-04-18 18:13:12 sudo[255] astarael : TTY=ttys000 ;…
é isso que eu gosto de ouvir!
..
11-04-19 14:39:59 kernel BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:39:59 kernel BCM5722D (setPowerState:84): Changing power state from 0 to 1
..
11-04-19 14:52:49 kernel BCM5722D (setPowerState:84): Changing power state from 1 to 0
11-04-19 14:53:03 kernel BCM5722D (setPowerState:84): Changing power state from 0 to 1
sobre a mensagem no log, fiquei bem curioso com o que está acontecendo.. vejo várias mudanças repentinas de estado de energia e nenhum anúncio de estado de link.
de qualquer forma, obrigado por testar
Acho que essas mudanças de estado de energia estão aí porque usei o sleep algumas vezes. Então não há com o que se preocupar; além disso, sua kext não quebra o sleep
Venho usando sua kext no meu Lenovo S10 (com uma BCM5906). Até agora tem funcionado maravilhosamente bem!
Na sua lista de "não implementados" você tem:
BCM5906/M - Isochronous Send Ring
Eu estava me perguntando o que isso realmente significa para nós, usuários da BCM5906? Perdemos algum recurso/funcionalidade comum?
Além disso, consigo 6MB/s ao transferir dados pela conexão Ethernet. Quanto as outras pessoas estão conseguindo?
@AstaraelAcho que essas mudanças de estado de energia estão aí porque usei o sleep algumas vezes. Então não há com o que se preocupar; além disso, sua kext não quebra o sleep
a pequena diferença de tempo entre o estado ligado e desligado foi o que me deixou curioso.
mas já que você não teve nenhum problema com isso, vou simplesmente deixar a curiosidade de lado
@ronin510Venho usando sua kext no meu Lenovo S10 (com uma BCM5906). Até agora tem funcionado maravilhosamente bem! Na sua lista de "não implementados" você tem: BCM5906/M - Isochronous Send Ring Eu estava me perguntando o que isso realmente significa para nós, usuários da BCM5906? Perdemos algum recurso/funcionalidade comum? Além disso, consigo 6MB/s ao transferir dados pela…
opa, fico feliz em saber disso!
o Isochronous Send Ring é apenas uma melhoria de desempenho no lado da transmissão, ótima para streaming de dados. Porém não me lembro de ter esbarrado na implementação desse recurso enquanto lia o código-fonte do tg3 (Linux) e do if_bge (*BSD) (talvez eu tenha deixado passar, mas tenho quase certeza disso).
Não sei quanto outras pessoas conseguiram de taxa de transferência, já que ninguém postou e eu também não perguntei. Embora eu tenha feito alguns benchmarks usando ferramentas como netperf (net perf.org/netperf/) e iperf (iperf.sourc eforge.net/), no geral posso dizer que o desempenho está no mesmo nível do driver disponível comercialmente/oficialmente, com apenas uma leve diferença. Se quiser os resultados, posso postar depois, pois preciso vasculhar fundo no disco para encontrá-los .
tenho um Lenovo G530
instalei a kext e tive um kernel panic .
@michalskietenho um Lenovo G530, instalei a kext e tive um kernel panic .
oi, desculpe pela demora
você pode me informar:
- o modelo da sua placa
- o método de instalação do OS (vanilla / distro como Hazard, iAtkos, etc.)
Suporte à BCM 57788
Sua kext funciona impecavelmente (até agora)
Apenas adicionei o HID para a BCM 57788 (1691) e saí pro abraço.
A taxa de transferência até aqui parece boa.
Se eu fosse você, adicionaria o mesmo à sua distribuição para já incluir esta placa.
Ah sim, esta é uma instalação a partir do DVD Retail do OSX Server 10.6 com o Combo Update 10.6.7
@derekj0571Sua kext funciona impecavelmente (até agora). Apenas adicionei o HID para a BCM 57788 (1691) e saí pro abraço. A taxa de transferência até aqui parece boa. Se eu fosse você, adicionaria o mesmo à sua distribuição para já incluir esta placa. Ah sim, esta é uma instalação a partir do DVD Retail do OSX Server 10.6 com o Combo Update 10.6.7
oi, desculpe pela demora, estive fora de férias
ótimo!, eu não esperava por essa; se funciona impecavelmente, vou adicioná-la à lista de modelos suportados.
obrigado por testar!
Não funciona no Dell PowerEdge T110 (servidor Intel Xeon novíssimo)
14e4:165A — a kext parece poder ser carregada manualmente, mas não carrega automaticamente e não 'enxerga' o dispositivo. O lspci enxerga a placa como sendo a BCM5722.
Então, como a kext não se vincula à placa, não há suporte de rede
@ludacrisvpNão funciona no Dell PowerEdge T110 (servidor Intel Xeon novíssimo). 14e4:165A — a kext parece poder ser carregada manualmente, mas não carrega automaticamente e não 'enxerga' o dispositivo. O lspci enxerga a placa como sendo a BCM5722. Então, como a kext não se vincula à placa, não há suporte de rede
Presumo que você tenha tentado adicionar 14e4,165a ao array IONameMatch no Info.plist.
Apesar do nome do projeto, na verdade deixei a BCM5722 de fora da lista de modelos suportados e não a levei em consideração durante o desenvolvimento. Vou verificar o manual do programador e te enviar a kext para testar se há alguma modificação necessária no código para suportar esse modelo o mais rápido possível (provavelmente neste fim de semana).
dell precision t7400
Fala amigo, testei a kext nesta máquina, mas a kext nem sequer é carregada (em S/L/E)
Também coloquei a kext em IONetworkingFamily.kext/Contents/PlugIns, mas sem sorte também (a IONetworkingFamily é carregada).
10.6.7 x64
o lspci -nn retorna: 14e4_167a rev 02
agradeço qualquer ajuda.
Na verdade consegui fazer quase funcionar. Tive que definir manualmente o endereço MAC para a minha rede de trabalho a fim de permitir que o DHCP da rede corporativa atribuísse um IP para mim. Ele começa a carregar uma página web e dá KP! Reclamando da IONetworking.kext. Se eu não tentar carregar uma página, consigo uns 5 minutos de sistema ligado antes do KP com o mesmo erro. Se eu não atribuir um endereço MAC, ele ainda faz a mesma coisa dando KP. Isso foi na semana passada.Acabei cansando disso e comprei o adaptador USB para Ethernet da Apple para o MacBook Air. Porém, talvez eu faça mais alguns testes com outras kexts no adaptador integrado quando voltar ao trabalho na segunda-feira.
Desculpe se isso já foi mencionado no fórum, mas só acompanho este tópico.
Parece que alguns posts/atualizações foram apagados desde a última vez que visitei. O site talvez tenha sido restaurado de um backup? O primeiro post/kext está desatualizado de novo. Talvez seja por isso que você achou que tinha enviado uma versão mais nova, mas o site voltou para um estado anterior.
@ronin510Desculpe se isso já foi mencionado no fórum, mas só acompanho este tópico. Parece que alguns posts/atualizações foram apagados desde a última vez que visitei. O site talvez tenha sido restaurado de um backup? O primeiro post/kext está desatualizado de novo. Talvez seja por isso que você achou que tinha enviado uma versão mais nova, mas o site voltou…
pois é, acabei de notar isso. Alguns posts sumiram e a página inicial está com o conteúdo antigo, embora eu a tivesse atualizado recentemente.
@ludacrisvpNa verdade consegui fazer quase funcionar. Tive que definir manualmente o endereço MAC para a minha rede de trabalho a fim de permitir que o DHCP da rede corporativa atribuísse um IP para mim. Ele começa a carregar uma página web e dá KP! Reclamando da IONetworking.kext. Se eu não tentar carregar uma página, consigo uns 5 minutos de sistema ligado antes do KP com o mesmo erro. Se eu não…
na verdade não faço ideia do que está causando o seu problema, desculpe. Você chegou a testar a última kext que enviei?
enfim, acabei de notar as especificações na sua assinatura: você está instalando no Leopard? Não sei se funcionará nele sem recompilar e modificar o Info.plist.
Não consigo ver nada sobre BCM no meu system.log e nem no meu diretório /var/log
bash-3.2# pwd /var/log bash-3.2# grep BCM * bash-3.2# ls /System/Library/Extensions/BCM5722D.kext/Contents/ Info.plist MacOS Resources bash-3.2#
Mostrar mais 60 notas técnicas da comunidadeRegistro histórico completo
adlan
Source is synced with your latest binary release ?
@rals2007adlan O código-fonte está sincronizado com a sua última release binária ?
sim, acabei de atualizar a kext no primeiro post com a nova compilação baseada no último commit
@fyoooNão consigo ver nada sobre BCM no meu system.log e nem no meu diretório /var/log
Se a kext estiver carregada, ela deve ao menos mostrar a data/hora de compilação. Então isso significa que a kext não foi carregada. Na verdade não tive a oportunidade de ver a imagem da mensagem de erro que você postou antes; pode postá-la novamente?
@adlanIf the kext is loaded, it should at least shows a build date/time. So that means the kext isn't loaded. Actually I didn't have the chance to see the image of error message you posted before, can you post it again?
I just tried to load this kext manually in terminal:
bash-3.2# kextload BCM5722D.kext/ /Users/oo/Downloads/BCM5722D.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8). bash-3.2#
@fyoooAcabei de tentar carregar esta kext manualmente no Terminal: bash-3.2# kextload BCM5722D.kext/ /Users/oo/Downloads/BCM5722D.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8). bash-3.2#
você precisa alterar o proprietário/permissões da kext, caso contrário o kextd não a carregará.
sudo chown -R root:wheel BCM5722D.kext
sudo chmod -R 755 BCM5722D.kext
@adlanyou need to change the kext ownership/permissions , else kextd will not load the kext. sudo chown -R root:wheel BCM5722D.kext sudo chmod -R 755 BCM5722D.kext
Thanks, adlan
Maybe I should show my NIC information first:
14e4; Broadcom Corporation; 167a; NetXtreme BCM5754 Gigabit Ethernet PCI Express; Network controller; Ethernet controller
So now I change the permission of the kext file:
oos-iMac:Downloads oo$ ls BCM5722D.kext/
Contents
oos-iMac:Downloads oo$ sudo chown -R root:wheel BCM5722D.kext
oos-iMac:Downloads oo$ sudo chmod -R 755 BCM5722D.kext
oos-iMac:Downloads oo$ sudo kextload BCM5722D.kext
It seems nothing happen.
THe log is:
oos-iMac:Downloads oo$ grep BCM /var/log/*
/var/log/system.log:May 18 15:35:29 oos-iMac sudo[155]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/sbin/chown -R root:wheel BCM5722D.kext
/var/log/system.log:May 18 15:35:40 oos-iMac sudo[156]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/bin/chmod -R 755 BCM5722D.kext
/var/log/system.log:May 18 15:35:49 oos-iMac sudo[157]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/sbin/kextload BCM5722D.kext
oos-iMac:Downloads oo$
Thank you all the same:)
fyooo
You fix it where you installed the kexts.
chmod -R 755 /System/Library/Extensions/BCM5722D.kext
chown -R root:wheel /System/Library/Extensions/BCM5722D.kext
touch /System/Library/Extensions
@rals2007fyooo You fix it where you installed the kexts. chmod -R 755 /System/Library/Extensions/BCM5722D.kext chown -R root:wheel /System/Library/Extensions/BCM5722D.kext touch /System/Library/Extensions
I'd tried to use KextHelper to install this kext, but it can not work.
I can't see any information about BCM in system.log
@fyoooTentei usar o KextHelper para instalar esta kext, mas não funcionou. Não consigo ver nenhuma informação sobre BCM no system.log
tente carregá-la usando o kextutil com alto nível de detalhamento (verbosity) e coloque a saída aqui:
sudo kextutil -v 4 BCM5722D.kext
@adlantry loading it using kextutil with high verbosity level and put its output here sudo kextutil -v 4 BCM5722D.kext
Thanks, that's what it shows:
oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext
Password:
Kext library architecture set to x86_64.
Kext library recording diagnostics for: validation authentication dependencies warnings.
BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries).
Loading BCM5722D.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
Adding /Users/oo/Downloads/BCM5722D.kext to mkext.
/Users/oo/Downloads/BCM5722D.kext added 79552-byte noncompressed executable to mkext.
Created mkext for architecture x86_64 containing 1 kexts.
Loading BCM5722D.kext.
(kernel) Received request from user space to load kext my.name.adlan.BCM5722D.
(kernel) Recorded kext my.name.adlan.BCM5722D as a candidate for inclusion in prelinked kernel.
(kernel) Loading kext my.name.adlan.BCM5722D.
(kernel) Allocated link buffer for kext my.name.adlan.BCM5722D at 0xffffff7f8076f000 (28672 bytes).
(kernel) Kext my.name.adlan.BCM5722D executable loaded; 7 pages at 0xffffff7f8076f000 (load tag 95).
(kernel) Kext my.name.adlan.BCM5722D calling module start function.
(kernel) Kext my.name.adlan.BCM5722D registered class my_name_adlan_BCM5722D.
(kernel) Kext my.name.adlan.BCM5722D has IOService subclass my_name_adlan_BCM5722D; enabling autounload.
(kernel) Kext my.name.adlan.BCM5722D is now started.
(kernel) Kext my.name.adlan.BCM5722D sending 1 personality to the IOCatalogue and starting matching.
(kernel) Kext my.name.adlan.BCM5722D loaded.
Successfully loaded BCM5722D.kext.
BCM5722D.kext successfully loaded (or already loaded).
After that, I checked the system.log file:
oos-iMac:Downloads oo$ grep BCM /var/log/system.log
May 19 19:56:04 oos-iMac sudo[152]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/bin/kextutil -v 4 BCM5722D.kext
oos-iMac:Downloads oo$
It seems to be success, but I still can't connect to internet.
@fyoooObrigado, isto é o que ele mostra: ... Depois disso, verifiquei o arquivo system.log: oos-iMac:Downloads oo$ grep BCM /var/log/system.log May 19 19:56:04 oos-iMac sudo[152]: oo : TTY=ttys000 ; PWD=/Users/oo/Downloads ; USER=root ; COMMAND=/usr/bin/kextutil -v 4 BCM5722D.kext oos-iMac:Downloads oo$ Parece ter tido sucesso, mas ainda não consigo…
você procurou no arquivo errado; a entrada do log estará no kernel.log
pode postar aqui também a saída do comando ifconfig depois que a kext for carregada?
@adlanyou searched in the wrong file, the log entry will be in kernel.log can you also post here the output of ifconfig after the kext is loaded?
adlan, thanks:)
Once again
oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext
Password:
Kext library architecture set to x86_64.
Kext library recording diagnostics for: validation authentication dependencies warnings.
BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries).
Loading BCM5722D.kext.
Reading load info for all kexts.
Reading loaded kext info from kernel.
Adding /Users/oo/Downloads/BCM5722D.kext to mkext.
/Users/oo/Downloads/BCM5722D.kext added 79552-byte noncompressed executable to mkext.
Created mkext for architecture x86_64 containing 1 kexts.
Loading BCM5722D.kext.
(kernel) Received request from user space to load kext my.name.adlan.BCM5722D.
(kernel) Recorded kext my.name.adlan.BCM5722D as a candidate for inclusion in prelinked kernel.
(kernel) Loading kext my.name.adlan.BCM5722D.
(kernel) Allocated link buffer for kext my.name.adlan.BCM5722D at 0xffffff7f807a5000 (28672 bytes).
(kernel) Kext my.name.adlan.BCM5722D executable loaded; 7 pages at 0xffffff7f807a5000 (load tag 95).
(kernel) Kext my.name.adlan.BCM5722D calling module start function.
(kernel) Kext my.name.adlan.BCM5722D registered class my_name_adlan_BCM5722D.
(kernel) Kext my.name.adlan.BCM5722D has IOService subclass my_name_adlan_BCM5722D; enabling autounload.
(kernel) Kext my.name.adlan.BCM5722D is now started.
(kernel) Kext my.name.adlan.BCM5722D sending 1 personality to the IOCatalogue and starting matching.
(kernel) Kext my.name.adlan.BCM5722D loaded.
Successfully loaded BCM5722D.kext.
BCM5722D.kext successfully loaded (or already loaded).
And nothing found in kernel.log:
oos-iMac:Downloads oo$ grep BCM /var/log/kernel.log
oos-iMac:Downloads oo$ sudo ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
oos-iMac:Downloads oo$
I use bcm5706,and thanks for your driver,but IPv6 proxy.
I always need to use IPv6 proxy for connecting to internet.
However,I find the driver may has some problem of IPv6 proxy,
which is that the connection of IPv6 proxy becomes disconnected sooner or later.
I can figure out it is not cause by the proxy.
But I found a temper solution that ifconfig the en0 down and up.
@fyoooadlan, thanks:) Once again oos-iMac:Downloads oo$ sudo kextutil -v 4 BCM5722D.kext Password: Kext library architecture set to x86_64. Kext library recording diagnostics for: validation authentication dependencies warnings. BCM5722D.kext appears to be loadable (not including linkage for on-disk libraries). Loading BCM5722D.kext.…
Hi i was having the same trouble with BCM 5754 on dell optiplex 745. 10.6.7 retail install
lspci -nn result:
03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express [14e4:167a] (rev 02)
I fixe this changing in info.plist of kext this line:
pci14e4,167A -> pci14e4,167a
Deep sleep working
it made some weeks i search, now both i386 and x86_64 working fine.
Fred
@FredWstOi, eu estava tendo o mesmo problema com a BCM 5754 num Dell Optiplex 745. Instalação retail 10.6.7. Resultado do lspci -nn: 03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express [14e4:167a] (rev 02) Corrigi isso alterando no Info.plist da kext esta linha: pci14e4,167A -> pci14e4,167a Deep sleep funcionando…
opa, muito obrigado!
Eu realmente não fazia ideia do que estava causando esse problema e agora você encontrou o culpado.
Falha minha, deixei passar totalmente isso e, para ser sincero, à primeira vista eu jamais imaginaria que isso causaria problema..
.. e de fato é isso mesmo. Vasculhei o código-fonte do xnu rastreando manualmente as chamadas de função para o processo de carregamento de kexts. No processo de matching, os valores no array IONameMatch são comparados usando a função strncmp. Essa função de comparação de strings diferencia maiúsculas de minúsculas (case-sensitive), portanto comparar 14e4,167a com 14e4,167A retorna falso e faz o processo de matching falhar.
A kext até carrega na memória se for carregada manualmente, mas fica lá parada sem fazer nada já que o matching falhou e nenhum processo de inicialização do hardware foi disparado.
muitíssimo obrigado mais uma vez, FredWst!
I've installed Lion on my optiplex 745.
BCM5722 is also working for my BCM 5754.
Fred
Ps: ATI 4350 is also working without green apple and qe/ci enable.
@VIVXIXSempre preciso usar um proxy IPv6 para me conectar à internet. Contudo, descobri que o driver pode ter algum problema com proxy IPv6, pois a conexão do proxy IPv6 acaba caindo mais cedo ou mais tarde. Percebi que não é causado pelo proxy em si. Mas encontrei uma solução temporária dando ifconfig en0 down e up.
funciona na 5706 também? ótimo! É esperado que haja algum problema, contudo.
Darei uma olhada nisso quando tiver tempo. Espero que outros também possam contribuir para adicionar suporte a outros modelos, se possível. Mas, como a documentação do projeto atualmente é escassa, não estou criando muitas expectativas
de qualquer forma, obrigado por testar!
@adlanit works on 5706 too? great! problem is expected, though. I'll look at it when I have time. However, I do hope others to contribute to add support for other model if possible. But, since project documentation is currently sparse, I'm not expecting any anyway, thank you for testing!
I am sorry, I make a mistake.It 's bcm5906.,not BCM5706.
:'(:'(:'(:'(:'(
@adlanI really have no idea what's causing that problem and now you found the culprit. my bad, I totally missed that and to be honest, at first look I wouldn't have thought that would cause a problem.. my observation, I may be wrong. .. and indeed it is. I've gone through the xnu source code and manually tracing function calls for the kext…
adlan&FredWst
It works!
The new version works well for BCM5906M in sl 10.6.7
@fyoooadlan&FredWst It works!
Thanks .I think the IPv6 proxy problem posted before just disappear.
The ifconfig en0 down and ifconfig en0 up commons dos't need anymore.
@FredWstInstalei o Lion no meu Optiplex 745. A BCM5722D também está funcionando para a minha BCM 5754. Fred Ps: A ATI 4350 também está funcionando sem artefatos e com QE/CI ativado.
ótimo!
@VIVXIXPeço desculpas, cometi um engano. É a bcm5906, e não a BCM5706. :'(:'(:'(:'(:'(
^_^, sem problemas, amigo
@fyoooadlan & FredWst Funcionou!
@VIVXIXObrigado. Acho que o problema do proxy IPv6 postado antes simplesmente desapareceu. Os comandos ifconfig en0 down e ifconfig en0 up não são mais necessários.
fico feliz em saber disso!
Broadcom NetXtreme 5761
Hi Adlan... thanks for your work on this, I've been suffering with hex-editing the original 5701 kext trying to get my card working (device ID 1681). I thought on the off-chance I'd try your kext and with an Info.plist addition it picked it up straight away - really impressed!
I just have to sort out the blank MAC address and give it some proper testing.
@cephalopodHi Adlan... thanks for your work on this, I've been suffering with hex-editing the original 5701 kext trying to get my card working (device ID 1681). I thought on the off-chance I'd try your kext and with an Info.plist addition it picked it up straight away - really impressed! I just have to sort out the blank MAC address and give it…
Oddly, on reboot with a link the MAC address is identified but the speed isn't negotiated properly... on first attempt to do anything with the interface/driver it drops the connection permanently, preventing reconfiguration; only resuming use after another reboot. Any ideas Adlan please?
@cephalopodOi Adlan... obrigado pelo seu trabalho nisto; eu vinha sofrendo com edições hexadecimais na kext 5701 original tentando fazer minha placa funcionar (device ID 1681). Resolvi arriscar testar a sua kext e, apenas adicionando o ID no Info.plist, ela reconheceu na hora — fiquei muito impressionado! Só preciso resolver o endereço MAC em branco e dar…
@cephalopodCuriosamente, ao reiniciar com o cabo conectado, o endereço MAC é identificado, mas a velocidade não é negociada corretamente... na primeira tentativa de fazer qualquer coisa com a interface/driver, ele derruba a conexão permanentemente, impedindo a reconfiguração; só volta a funcionar após outra reinicialização. Alguma ideia, Adlan, por favor?
desculpe pela demora, andei bem ocupado nos últimos dias.
enfim, verifiquei os drivers do Linux e do *BSD e parece que existem algumas correções/etapas adicionais de inicialização/valores diferentes de registradores para esse modelo. Talvez tenha algo a ver com isso; tentarei incluir essas alterações e te enviar a kext para testar neste fim de semana.
obrigado por testar!
work flawlesly with 5754 on Dell optiplex 745
thank's adlan, you rock..
thank god to show me the page 7 & 8 now time to work with GMA3000, hope work soon.
many thank's adlan.
@scritchyI have device 14e4:167b Broadcomm 5755 onboard nic on an hp xw6600 machine. The kext appears to fail to do anything at all. There is no mention of it in any of the logs in var/log i've tried deleting and reinstalling the kext with both kext helper b7 and kext wizard, and rebuilding kext cache. I've tried using the zip file attachee to…
Try this one, it works for my HP xw4400 works with the onboard broadcom 167b. I've tried it with 10.6.2 - 10.6.7
Dell Optiplex 330
Thanks for your driver. Able to install and detect BCM5787 but DHCP wasn't able to grab a valid IP keep geting 169.x.x.x. Even static IP i was not able to connect to Internet.
Any idea what went wrong?
@adlansorry for the lateness, been quite busy for the last few days. anyway I checked the linux and *bsd driver, it seems that, there are some fixes/additional initialization steps/different register value for that model. maybe it has something to do with that, I'll try to include those changes and send you the kext to test this weekend.…
Thanks adlan... appreciate life is hectic - keen to test when you're ready.
Thanks for all the hard work on this one ceph.
Successful install with a BCM5755M on a Dell Precision M4300.
I've got one more thing to test for those, who have problem with loading the kext. I've been recently helping with os x installation on lenovo y530 (or sth like that) and installing the kext was not enough to make BCM5906M ethernet card work. Adding Device (LAN) in DSDT solved the problem (there was no ethernet device at all) and ethernet works fine.
BCM57781 - 14e4:16b1
tried it on Lion with a BCM57781 (14e4:16b1).
Changed the info.plist - driver loads - ifconfig shows en0, link speed is fine, but no packets are sent or received.
Any idea?
Thanks,
Christian
Onboard Broadcom® 5754 Gigabit Ethernet LAN solution 10/100/1000 Ethernet (Dell Optiplex 745 desktop PC) works fine (as of now) on H@ckint0sh OS X Lion 10.7 with your BCM5722D.kext.zip
ethernet:
Type: Ethernet Controller
Bus: PCI
Vendor ID: 0x14e4
Device ID: 0x167a
Subsystem Vendor ID: 0x1028
Subsystem ID: 0x01da
Revision ID: 0x0002
Link Width: x1
BSD name: en1
Kext name: BCM5722D.kext
Location: /System/Library/Extensions/BCM5722D.kext
Version: 1
Indeed the problem with your earlier revision lied in the upper case alphabetical characters in device ID string. They needed to be lower case.
Thanks a million times for your time and effort.
Hey, we used Xcode to compile the kext again using your latest sources. The best we can get now is 100BaseTX Full-Duplex. Using the kext from May it loaded up as half duplex 100BaseTX. It does seem to drop out the connection after a few hours and requires the kext to be unloaded and reloaded. This is on a Dell poweredge T110.
Any ideas on getting 1000BaseT Full duplex working?
I tried forcing the setting but it will either show cable unplugged or it does a self assigned IP and manually setting it does nothing. Now on a side note it doesn't need the MAC address manually set anymore, it is able to pick it up from the hardware.
Another side note... Do you know of any working pci-e GigE LAN cards that will work in osx? As work will buy the card that will work for the machine.
BCM57781 - 14e4,16b1
after having no solution for my onboard nic i decided to give it a try and changed/added my device id to info.plist, like some other here as well .
The result is as follow:
en1: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:25:22:bc:b8:9b
media: <unknown type>
Do you think there is any chance to get this working somehow?
Any help is much appreciated. Many thanks
M
BCM57781 - 14e4,16b1
after some more testing I now get following:
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:25:22:bc:b8:9b
inet6 fe80::225:22ff:febc:b89b%en1 prefixlen 64 scopeid 0x5
inet 169.254.217.110 netmask 0xffff0000 broadcast 169.254.255.255
media: autoselect (1000baseT <half-duplex>)
status: active
of course...it still doesn't work. but why is it different now?
M
Works for Dell Gx745 with BCOM 5754
Thank you! Works on my Dell Gx745 SFF with a BCOM 5754
Vendor Id: 0x14e4
Device Id: 0x167a
Subsystem Vendor Id: 0x1028
Revision Id: 0x0002
Link Width: x1
DELL Optiplex GX620 - BCM5751, Device ID 0x1677
I inserted the 1677 to the kext plist. The driver loads, assigns the correct MAC address, but does not transmit and recieve.
Is there anything else I should do?
Adlan,
Would it be possible to add support for BCM5723? I added the device id (165b) to plist. The kext gets loaded, but when I try to use it I get
serviceRxInterrupt:1036): replaceOrCopyPacket returns 0
and a bunch of messages like
outputPacket:568: 1514 -> 2 segments, 1 free, consumer index: 59
OS X 10.6.8 and Broadcom 5754 (14e4-167a) working 100%
Congratulations! Great job!
Works perfect!
Off topic: I am using a DELL 390 (with this nic and a Quadro NVS 285 do you happen to have any info/link for Quadro NVS 285? It's all I need for a smoothly running hackintosh with DELL 390 and OS X 10.6.8 (upgraded from iATKOS S3 v2 using 10.6.8 Combo Update 1.1)
Latest KEXT
I am very interested in getting the latest kext of BCM5722D, but I have no idea, how compile or make your GIT repository code, you can give me a hand?
thanks for that wonderful work
my lan detected,, but no internet connection or cannot ping to another pc on net,,
i am add in Info.plist
--------
<string>pci14e4.16b5</string>
---------
it's detect my lan,, but cannot get connection,,
I've tried this on my Acer Aspire 2920.
It works!
After 2 weeks I was looking for suitable driver, now works!
Thank you. I love you!
Sleep not working?
Only unload&load kext after sleep to get it work again?
Broadcom Netlink (TM) Gigabit Ethernet / Lion 10.7.2
Driver works on
- Packard Bell LJ65
- Broadcom Netlink (TM) Gigabit Ethernet
- BCM5784M
Lion 10.7.2
- Iatkos L2
Thanks
Dell Precision 390 owner! Happy as can be. Your kext is the only one that works 100%! Thank you x 1000000
I confirm my Ethernet Broadcom 5784M on on my Acer Aspire 5738G Dual core is working as well!
- Broadcom Netlink (TM) Gigabit Ethernet
- BCM5784M
Lion 10.7.2
- Iatkos L2
I'm happy! Great job, man! Thanks! ) )
Gigabit Speeds
Is there any progress on getting this Kext to operate at gigabit speeds... the best I can get is 100baseTX.
It was my cable... the driver works fine at gigabit.
ing great.
Before I say something to you,
did someone say that you are damn good developer who
developer these drivers.. If no one haven't done that then I would
love to say that you ARE ----IING good… Please excuse my language.
This damn thing took me 4 days to find these drivers and after doing
what you have said in this thread, it worked like a CHARM…
I do appreciate from the bottom of my heart that you developed and shared
this with other users. I mean it.
Though I am also a software developer and mostly develop applications
in Microsoft technologies i.e. .Net etc and was keen to start
some software development for iPhone, I just couldn't get the drivers of this damn
LAN.
You are a saviour, once again thank you very much for developing and
sharing this with us… THanks.
Thx adlan,
works great on my lenovo S20 at works
@adlanDisclaimer This driver is neither supported nor endorsed by Broadcom. Zombies may invade your house and I take no responsibility for whatever happens. Use at your own risk
lol, don't worry i've got some plants for these Zombies
Thanks adlan for the great driver.
I get stuck with Broadcom BCM5786 [14e4:169a]
I am not sure what should be edited in your source code, could you please show me how to do it ?
Thank.
Updated:
Luckily, I added [14e4:169a] definition to plist, recompile and install IONetworkingFamily.kext of my friend, and now everything works like charm.
Just want to say thank, adlan, love you!
Your driver work for my Ethernet card, the Broadcom 5752, which on the old guy DELL 490 with some minor fix.
I did 2 minor fix on your kext to support Broadcom 5752:
1. infor.plist. I replace <string>pci14e4,167A</string> with <string>pci14e4,1600</string>
2. BCM5722D. I hex this file, looking for "7A 16" then replace all with "00 16". (flip word anyway).
Finally, I put them inside IONetworking kext which replace the original one. Reinstall this kext. Re-build cache. Re boot. Viola!
No kernal panic, MAC address just there, DHCP ok, even though I haven't plug in network yet.
Which OS I run huh? iAtKos L2 (Lion 10.7.2).
Thank you so much, adlan.
Work like charm for acer aspire 2920. The next i have been looking for..
Thanks a lot for you work on making this driver.
I need a working Kext for the desktop version of this network card: Broadcom BCM5784. (Without the M)
Is there any way to modify this kext for it to work on the non-M version?
I'm on OSX 10.6.8. (AMD)
@chefk0kThanks a lot for you work on making this driver. I need a working Kext for the desktop version of this network card: Broadcom BCM5784. (Without the M) Is there any way to modify this kext for it to work on the non-M version? I'm on OSX 10.6.8. (AMD)
Modifying the .plist is your best bet
Hardware:
Dell PowerEdge T110
2.39 Quad Core Intel Xeon
4GB 1333 DDR3
Nvidia GeForce 7300GT
OS: OS X Lion 10.7
I have a Broadcom Nextreme Gigabit network controller and i tried putting in the BCM5722D.kext using Kextdrop but the internet will not work. I look under the Network setting and none appear. Any suggestions. Thanks for your help. Any more information needed let me know.
Works for Dell Precision T5400 w/Broadcom 5754
Used kextWizard 3.7.10 and installed and rebooted in 1 min.
At first glance, worked perfectly. DHCP, mac address, until…
UPDATE: Networking stops working after awaking from sleep, as others have said. I didn't see that resolved in the thread...did I miss something?
OSX Lion 10.7.4
Dell Precision T5400
(2) Intel X5450 XEON Quad Core CPUs
4 GM RAM
Broadcom 5754
M-Audio Revolution 7.1 (work in progress)
nvidia Quadro FX 4600 (work in progress)
Thank you very much for your hard work in developing this driver!
I have a small problem though, I have a BCM5755 and everything works but the driver crashes after copying lots of data over the LAN (roughly 100GB or 60k packets). Unloading the driver and reloading does not fix it and I have to reboot to get networking back.
Any ideas why this is happening and anything I can try to get it fixed?
Lion 10.7.4
HP xw6600
BCM5755 onboard
Downloaded the source code and made some slight changes + added the BCM5784M 0x1698 device, compiled for ML ...
Still have 6 Semantic Issues and 5 Logic errors in the code but the compilation went fine. It works but after some intense usage, as symbiote187 pointed out, it stops working and the only solution is to reboot.
I am not a coder so ... but i really appreciate your involvement on this and i Thank You!
I have the same device and vendor ID for ethernet as this kext 14e4:1698. But will my ethernet work since my wireless card is unsupported (1510 AGN) ? I am trying to get my ethernet to work on a Dell Studio 1555 running on P8600 CPU and 512 MB ATI mobility 4570. Thanks for anyone's reply.
@ghostanime2001I have the same device and vendor ID for ethernet as this kext 14e4:1698. But will my ethernet work since my wireless card is unsupported (1510 AGN) ? I am trying to get my ethernet to work on a Dell Studio 1555 running on P8600 CPU and 512 MB ATI mobility 4570. Thanks for anyone's reply.
Try this one osx 86.net/downloads.php?do=file&id=3074 if you are using ML
Fontes e Registro de Autoria (61 membros creditados · Tópico #6946)
| Usuário | Contribuição no Dossiê | Postagens | Período Ativo |
|---|---|---|---|
| @adlan | Autor Principal | 36 | 2011-02-12 → 2011-06-02 |
| @fyooo | Colaborador Essencial | 7 | 2011-05-17 → 2011-05-23 |
| @Astarael | Colaborador Essencial | 6 | 2011-04-06 → 2011-07-15 |
| @rals2007 | Colaborador Essencial | 4 | 2011-03-14 → 2011-05-19 |
| @ludacrisvp | Colaborador Essencial | 3 | 2011-05-03 → 2011-07-28 |
| @VIVXIX | Colaborador Essencial | 3 | 2011-05-21 → 2011-05-24 |
| @cephalopod | Colaborador Essencial | 3 | 2011-05-27 → 2011-06-22 |
| @quinielascom | Colaborador | 2 | 2011-02-16 → 2011-03-20 |
| @Dabluest | Colaborador | 2 | 2011-03-04 → 2011-03-07 |
| @abiogenesis | Colaborador | 2 | 2011-03-13 → 2011-03-17 |
| @tmacyunn | Colaborador | 2 | 2011-03-25 |
| @ronin510 | Colaborador | 2 | 2011-04-19 → 2011-05-15 |
| @FredWst | Colaborador | 2 | 2011-05-21 → 2011-05-22 |
| @majamudo | Colaborador | 2 | 2011-08-09 |
| @waldrondigital | Colaborador | 2 | 2011-11-29 → 2012-01-16 |
| @righteye | Colaborador | 2 | 2012-08-05 → 2012-08-23 |
| @chinasky | Colaborador | 1 | 2011-02-15 |
| @pat98usb | Colaborador | 1 | 2011-02-16 |
| @limiter121 | Colaborador | 1 | 2011-02-27 |
| @adminio | Colaborador | 1 | 2011-03-01 |
| @webwolf | Colaborador | 1 | 2011-03-05 |
| @Medienmensch | Colaborador | 1 | 2011-03-18 |
| @volgin7 | Colaborador | 1 | 2011-03-20 |
| @parlae | Colaborador | 1 | 2011-03-20 |
| @Domenic211 | Colaborador | 1 | 2011-04-15 |
| @scritchy | Colaborador | 1 | 2011-04-18 |
| @michalskie | Colaborador | 1 | 2011-04-25 |
| @derekj0571 | Colaborador | 1 | 2011-04-30 |
| @anibalin | Colaborador | 1 | 2011-05-07 |
| @toja | Colaborador | 1 | 2011-05-20 |
| @ifumi | Colaborador | 1 | 2011-06-04 |
| @tc2468 | Colaborador | 1 | 2011-06-09 |
| @fiatitude | Colaborador | 1 | 2011-06-17 |
| @jpt1105 | Colaborador | 1 | 2011-06-17 |
| @zoso | Colaborador | 1 | 2011-06-27 |
| @ce_infmac | Colaborador | 1 | 2011-07-25 |
| @UserOSX | Colaborador | 1 | 2011-07-28 |
| @analot | Colaborador | 1 | 2011-07-28 |
| @PinInCalgary | Colaborador | 1 | 2011-08-16 |
| @aaronson | Colaborador | 1 | 2011-08-17 |
| @antikus | Colaborador | 1 | 2011-08-21 |
| @m4f1050 | Colaborador | 1 | 2011-08-25 |
| @reysillo | Colaborador | 1 | 2011-09-12 |
| @niclo43 | Colaborador | 1 | 2011-09-23 |
| @danybr | Colaborador | 1 | 2011-10-09 |
| @jahsmurf | Colaborador | 1 | 2011-10-17 |
| @onelife | Colaborador | 1 | 2011-10-24 |
| @ocw-inf | Colaborador | 1 | 2011-11-23 |
| @nveronesi | Colaborador | 1 | 2012-01-13 |
| @privateprotected | Colaborador | 1 | 2012-01-22 |
| @cparm | Colaborador | 1 | 2012-01-26 |
| @h224nh | Colaborador | 1 | 2012-02-25 |
| @silicman | Colaborador | 1 | 2012-03-11 |
| @mikegoh | Colaborador | 1 | 2012-03-29 |
| @chefk0k | Colaborador | 1 | 2012-04-07 |
| @Unrealized | Colaborador | 1 | 2012-04-13 |
| @squinn66 | Colaborador | 1 | 2012-05-15 |
| @lilcheshirecat | Colaborador | 1 | 2012-05-21 |
| @lilbiscuit | Colaborador | 1 | 2012-06-04 |
| @symbiote187 | Colaborador | 1 | 2012-07-15 |
| @ghostanime2001 | Colaborador | 1 | 2012-08-21 |