InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 06-17-2011, 01:41 PM
fiatitude fiatitude is offline
Cheetah
 
Join Date: Jun 2011
Posts: 1
Dell Optiplex 330

Dear Adlan,

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?
Reply With Quote
  #2  
Old 03-17-2011, 01:14 AM
abiogenesis abiogenesis is offline
Cheetah
 
Join Date: Mar 2011
Posts: 2
Hi, it's me again
Thanks to your code I've fixed a couple of my bugs and I think I've found one in your setMulticastList function.

Quote:
for (i = 0; i < count; i++) {
crc = computeCRC32((const UInt8 *) addrs, 6);
...
}
Here, according to 5722-PG101-R.pdf, crc should be calculated for every address in the array, so it would be "addrs + i" or "&addrs[i]".
Reply With Quote
  #3  
Old 03-17-2011, 09:13 AM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by abiogenesis View Post
Hi, it's me again
Thanks to your code I've fixed a couple of my bugs and I think I've found one in your setMulticastList function.

Here, according to 5722-PG101-R.pdf, crc should be calculated for every address in the array, so it would be "addrs + i" or "&addrs[i]".
my bad, how could I missed that
thanks for pointing that out
Reply With Quote
  #4  
Old 03-18-2011, 12:35 PM
Medienmensch Medienmensch is offline
Cheetah
 
Join Date: Mar 2011
Posts: 1
is it possible to make a Driver for BCM4357 rev1 ?

I have a Lenovo G560 with this Wlan Card.

That would be so great!

And if not, what Wlan Card would you recomend me to buy for use in osx?

Thanks!
Reply With Quote
  #5  
Old 03-20-2011, 03:03 AM
volgin7's Avatar
volgin7 volgin7 is offline
Cheetah
 
Join Date: Mar 2011
Posts: 1
Works in the Lenovo S12

Excellent! Works for (LAN) BCM 5906M on the Lenovo S12
Thank's!
Reply With Quote
  #6  
Old 03-20-2011, 05:00 PM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by volgin7 View Post
Excellent! Works for (LAN) BCM 5906M on the Lenovo S12
Thank's!
glad to hear that, thanks!
Reply With Quote
  #7  
Old 03-20-2011, 04:59 PM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by Medienmensch View Post
is it possible to make a Driver for BCM4357 rev1 ?

I have a Lenovo G560 with this Wlan Card.

That would be so great!

And if not, what Wlan Card would you recomend me to buy for use in osx?

Thanks!
right now, all i can say as is it's not possible. no public api documentation is available and also i don't know if any datasheet/programmer manual/open source driver is available for that model.

I recommend buying external wireless usb adapter and I personally use dlink dwa-110. you can find more supported models in the Hardware Compatibility List at OSx86 project wiki
Reply With Quote
  #8  
Old 03-25-2011, 02:21 AM
tmacyunn's Avatar
tmacyunn tmacyunn is offline
Cheetah
 
Join Date: Sep 2009
Location: Haikou,CHN
Posts: 2
Hi adlan, I have a problem in the 10.6.7, when I put the laptop to sleep for a hour or a little longer the driver can't work, network disconnect. After using Kextload command to unload and reload it work come back.
Is it a problem of system ? maybe we should compile it in the 10.6.7, I have try repair permissions and rebuild kernel caches

Thanks.

Edit:
I try to compile the sources code under 32bit 10.6.7 with xcode 3.2.5 and get some warnings like :
Code:
BCM5722D-18e3e93/BCM5722D.cpp:536: warning: implicit conversion shortens 64-bit value into a 32-bit value

Last edited by tmacyunn; 03-25-2011 at 02:42 AM.
Reply With Quote
  #9  
Old 03-25-2011, 03:50 AM
adlan adlan is offline
Jaguar
 
Join Date: Jan 2011
Posts: 36
Quote:
Originally Posted by tmacyunn View Post
Hi adlan, I have a problem in the 10.6.7, when I put the laptop to sleep for a hour or a little longer the driver can't work, network disconnect. After using Kextload command to unload and reload it work come back.
Is it a problem of system ? maybe we should compile it in the 10.6.7, I have try repair permissions and rebuild kernel caches

Thanks.

Edit:
I try to compile the sources code under 32bit 10.6.7 with xcode 3.2.5 and get some warnings like :
Code:
BCM5722D-18e3e93/BCM5722D.cpp:536: warning: implicit conversion shortens 64-bit value into a 32-bit value
I'll investigate this further. Can you provide the log message after waking up from sleep?

For the warning message, you can just ignore it as there are some conversion which requires a 64bit value to be broken into 2 32bit value to fit it into the hardware registers.
Reply With Quote
  #10  
Old 03-25-2011, 09:58 AM
tmacyunn's Avatar
tmacyunn tmacyunn is offline
Cheetah
 
Join Date: Sep 2009
Location: Haikou,CHN
Posts: 2
Here is:
Code:
 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
And i notice when wakeup from sleep, the system preference shows network is connected, but actually it doesn't.

This is the kext logs you release before:
Code:
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

Last edited by tmacyunn; 03-25-2011 at 10:05 AM.
Reply With Quote
Reply