Page 59 of 89 FirstFirst ... 949575859606169 ... LastLast
Results 581 to 590 of 883

Thread: Macbook Pro 8,1 + Maverick

  1. #581
    Join Date
    Mar 2011
    Beans
    36

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Zajec5 View Post
    Can you test one more patch for me, please?

    http://files.zajec.net/0001-b43-ctl1...new-PHYs.patch

    (this should improve speeds and fix your few-seconds-hangs).
    Now I'm averaging 2600 kB/s on upload *and* download. Not great, but much better than before and reaching the level of "usable".

    Latency is also better, averaging 1ms on an unloaded link and 90ms when fully loaded (to 2.6MB/s, yes). Though given that there's only a single TCP connection doing the loading, I'd have thought it would be possible to minimize latency. Are there any queue size parameters I can tweak?

    EDIT: Just after stopping the download, latency dropped to 0.5ms. It then jumped back to 1ms within a few seconds. I'm perfectly fine with this, of course, just evidence that some kind of power management is working.

  2. #582
    Join Date
    Aug 2011
    Beans
    5

    Re: Macbook Pro 8,1 + Maverick

    Sorry to be "that guy", but I'm a brand new Linux user and I was wondering if someone could help me out with some slightly more specific directions for installing those patches? I've looked around for how instructions but I haven't been able to make anything work. Thanks!

  3. #583
    Join Date
    Jun 2011
    Beans
    19

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Baughn View Post
    Now I'm averaging 2600 kB/s on upload *and* download. Not great, but much better than before and reaching the level of "usable".
    Well, that's 2600 kB/s == 20800 kb/s == 20,3125 Mb/s. That's pretty all you can expect from 802.11g network.

    I've been comparing b43 with wl today on some older card (14e4:4329) and 23 Mb/s was all I was able to achieve, sitting next to the AP.

    If your AP is 802.11n you can of course expect more, but b43 does not support 802.11n features yet, sorry. First I want to bring basic support for all the cards, then focus of "features" like 5 GHz, 802.11n support, etc.

  4. #584
    Join Date
    Mar 2011
    Beans
    36

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Zajec5 View Post
    Well, that's 2600 kB/s == 20800 kb/s == 20,3125 Mb/s. That's pretty all you can expect from 802.11g network.

    I've been comparing b43 with wl today on some older card (14e4:4329) and 23 Mb/s was all I was able to achieve, sitting next to the AP.

    If your AP is 802.11n you can of course expect more, but b43 does not support 802.11n features yet, sorry. First I want to bring basic support for all the cards, then focus of "features" like 5 GHz, 802.11n support, etc.
    I've actually hit 4MB/s on 802.11g before, but it does seem to require lucky combinations of AP and card.

    That said, if it's not running in 802.11n mode then that certainly explains things. I'm happy just to have stable wifi, I can wait.

    Joe, I'll do a write-up for you later. Right now I'm watching Mawaru Penguindrum.

  5. #585
    Join Date
    Aug 2011
    Beans
    5

    Re: Macbook Pro 8,1 + Maverick

    Zajec5, thank you for your work, I built wireless-next with your patches and now it works! I have a couple of minor issues though. First the speed seems to be even lower than Baughn has, something around 1.3 Mbps. But I don't mind as soon as it is stable (and it seems so!)

    The second is a bit more tricky... I can not ssh to mac book if it is connected to wifi only. Neither ICMP packets reach it. From mac book itself I can ping and communicate with router and WAN, but trying to ping any other host connected to the same router doesn't work. All I get is "Destination Host Unreachable". All routes seems sane and I don't have any firewall enabled. How can I track it down and fix?

  6. #586
    Join Date
    Aug 2011
    Beans
    5

    Re: Macbook Pro 8,1 + Maverick

    Just wanted to share my experience with pure EFI boot...

    It was not that difficult to make it boot from USB flash drive, without any modification to macbook's hard disk (even rEFIt is not necessary). So it boots, efi framebuffer works perfectly. I can log in using device's keyboard or by ssh. Then I can do the switch (I use Sloth's igd.c, see http://ubuntuforums.org/showpost.php...&postcount=261) and only then do "modprobe i915". I don't switch graphic cards with grub's "outb" commands because it breaks framebuffer. So after executing igd the screen turns black. But when I modprobe i915, it turns on again, but it is plain green. I can control backlight brightness using /sys/class/backlight/acpi_video0/brightness, but that's pretty much all.

    From ssh I can run X, but picture doesn't show up. I see in X's logs that intel driver loads and works. It properly detects LVDS panel resolution (I have high-res one). I can use xrandr and it works as if everything was perfect. But if I run glxgears it reports that it will synchronise framerate with output refresh rate, but then it doesn't print anything. Interesting, once I closed and then opened the lid, the screen blinked once and glxgears printed something about one frame per 30 seconds. After blinking the screen appears green again.

    andybotting, did you manage to make X work with i915 and pure EFI boot?

  7. #587
    Join Date
    Jun 2011
    Beans
    19

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by angri View Post
    The second is a bit more tricky... I can not ssh to mac book if it is connected to wifi only. Neither ICMP packets reach it. From mac book itself I can ping and communicate with router and WAN, but trying to ping any other host connected to the same router doesn't work. All I get is "Destination Host Unreachable". All routes seems sane and I don't have any firewall enabled. How can I track it down and fix?
    This sounds weird. I can not imagine how driver could case such a problems. Do you see correct MAC address in the output of "ip a"?

  8. #588
    Join Date
    Aug 2011
    Beans
    5

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Baughn View Post
    I've actually hit 4MB/s on 802.11g before, but it does seem to require lucky combinations of AP and card.

    That said, if it's not running in 802.11n mode then that certainly explains things. I'm happy just to have stable wifi, I can wait.

    Joe, I'll do a write-up for you later. Right now I'm watching Mawaru Penguindrum.
    Thanks a ton, I appreciate it!

  9. #589
    Join Date
    Aug 2011
    Beans
    5

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Zajec5 View Post
    This sounds weird. I can not imagine how driver could case such a problems. Do you see correct MAC address in the output of "ip a"?
    "ip a" shows correct MAC address.

    I just noticed that I have the same strange behaviour when I boot to OS X. Could be it's a unique problem of my wireless adapter...

  10. #590
    Join Date
    Mar 2011
    Beans
    36

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Joe_t View Post
    Thanks a ton, I appreciate it!
    So, here you go. Unless I missed something, running this should get you a usable system, with wifi as well as EFI boot. If you don't have a multi-GPU system, you can (probably should, I'm not sure if it'd even work) skip the EFI part.

    To minimize the chance of anything going wrong, it also involves downloading code from me. You'll just have to trust me on that one...

    Code:
    sudo apt-get install build-essential git
    git clone git://github.com/Baughn/linux.git  # This'll take a while, go get some tea.
    cd linux
    curl http://brage.info/~svein/linux.config > .config
    make oldconfig
    #make menuconfig   # You'll need to run this if you don't run btrfs or ext2/3/4 root.
    make -j12  # Set to your number of processor cores, + 50%.
    
    # Now installing kernel. This ad-hoc setup works for EFI, you'll want to do something else if you don't need or want to switch from radeon to intel graphics.
    sudo -s  # Switching to root shell, less sudo needed.
    make -j50 modules_install   # Way above the number of cores. The increased pipelining helps my SSD do this faster (but actually I just use -j; that's dangerous, though); you may want just make modules_install.
    cp arch/x86_64/boot/bzImage /boot/linux  # Make sure to mount /boot first, if you need to.
    mount -o rw,force /dev/sda2 /mnt  # Meant to mount the OS X partition. Assumes you have one, and that it's sda2, but if you don't know it almost certainly is. Won't work if you didn't shut down OS X cleanly last time.
    cd /mnt/efi
    curl http://brage.info/~svein/efi.tar.gz | tar xvz  # Extract the GRUB bootloader. It's already configured, and will probably work out of the box if you have rEFIt installed. If you don't, install it.
    cd /
    umount /mnt
    
    # Install firmware too
    cd /
    curl http://brage.info/~svein/firmware.tar.gz | tar xvz
    
    # Download video BIOS. A somewhat doubtful step, you'll want to substitute your own if this doesn't work.
    cd /boot
    wget http://brage.info/~svein/int10.bin
    wget http://brage.info/~svein/vbios.bin
    
    # Write out a script that'll make suspend work
    cat > /etc/pm/sleep.d/70_wifi << EOF
    # Work around lack of b43 hibernate support
    
    case "${1}" in
            hibernate|suspend)
                    rmmod b43 bcma
                    ;;
            resume|thaw)
                    modprobe b43
                    ;;
    esac
    EOF
    chmod a+x /etc/pm/sleep.d/70_wifi
    
    # Close the root shell before you hurt someone
    exit
    And that should be that! Let me know how it goes.

    EDIT: Added firmware extraction command to the end. You'll need that too.

    EDIT2: My laptop actually has 4 cores, not 8. It still counts as 8 for the calculation, because of hyperthreading. So that should be the number of hardware threads, not number of cores.
    Last edited by Baughn; August 30th, 2011 at 08:07 PM. Reason: Add sleep script

Page 59 of 89 FirstFirst ... 949575859606169 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •