1. 22
  1. 11

    Working right out of the box: WiFi, Ethernet, video, trackpad, keyboard, USB storage devices, and a Logitech Optical Notebook Mouse Plus.

    Some of you may not understand how absolutely incredible that is. I ran BeOS as my primary operating system for quite a while and I basically had to build a custom machine to get hardware that worked due to lack of driver support. I remember the early days of Linux and (desktop) BSD and how incredibly meager the hardware support was.

    The Haiku team has really done just incredible work.

    1. 3

      I realize this, and I’m not sure how they managed to do this. As far as I understand, there a gazilion drivers for each piece of hardware, and hardware vendors mostly provide drivers for Windows (because of market share), but everyone else has to write their own. For Linux, the drivers are maintained in the kernel tree, and make up a significant chunk of the source code. From looking around it looks like they used some BSD drivers, but also wrote their own. I’ve had a lot of driver problems on Linux, so they must have done something very right with Haiku.

      1. 4

        From looking around it looks like they used some BSD drivers, but also wrote their own

        IIRC, they wrote a tool to automatically convert FreeBSD ethernet drivers. It wouldn’t surprise me if they looked to FreeBSD for other drivers, as well.

        1. 5

          Nope, just ethernet & WiFi drivers. Everything else is of our own design, though if we get stuck on specs we may look at other OSes’ drivers (FreeBSD included, or even preferred) for reference :)

    2. 4

      While the Core2Duo Macs released later in 2006 were 64-bit, they suffered from a 32-bit EFI

      Fun fact, 32-bit EFI GRUB2 can boot 64-bit kernels just fine :)

      1. 3

        Some potential caveats from http://osxbook.com/blog/2009/08/31/is-your-machine-good-enough-for-snow-leopard-k64/ (found via https://apple.stackexchange.com/a/103693/51806 ):

        Unfortunately, a 64-bit processor alone doesn’t suffice. Out of the box, boot.efi will not boot K64 even if you have a 64-bit processor and explicitly request K64 if at least one of the following is true.

        1. The machine has 32-bit EFI.
        2. The machine’s model is prohibited from booting K64 through a hardcoded list within the boot loader. (A cursory look suggests that the list excludes “non-Pro” machines.)

        Both of these “limitations” are technically artificial, albeit to different degrees.

        The first limitation actually does have merit and is arguably not all that artificial. Although a 32-bit EFI could launch a 64-bit kernel, the kernel, when running, would not be able to use firmware services. In particular, you wouldn’t have NVRAM. For kernel developers merely wanting to run a 64-bit kernel for testing and debugging, this may not be an issue, but it’s understandable why the limitation is in place.

        The second limitation is annoying. As a developer, if you knowingly wish to boot into K64 to test something, you can’t on certain machines even though they are technically perfectly capable. I ran into this on a Unibody MacBook, which has 64-bit EFI but is not a “Pro” machine. Also, it’s ironic that you can, in fact, boot Snow Leopard into K64 on the very same computer when you run it as a guest operating system in a virtual machine.

        1. 5

          This is about Apple’s boot.efi booting Apple kernels.

          I said GRUB 2. And implied non-Apple kernels since it’s a thread about Haiku. I’ve done this with FreeBSD :)

          1. 1

            Thanks - I get it! Just wanted to share for those who might experiment with GRUB 2 and an OS X volume.

      2. 2

        Interesting! I’ve got an old MacBook Pro 13” with a Core processor - I should give this a try! That computer is to slow it’s basically useless with MacOS, but the kids still like to play with it. This might make it a bit less frustrating…

        1. 2

          Hmm, I also ordered an SSD yesterday, I should try putting that in the MacBook when trying out Haiku. Might even give it enough oomph to actually be usable.

        2. 2

          I installed Haiku on my old 2006 Core Duo iMac, with similar results. Turned the machine into something decrepit I would never want to use into a fun afternoon project.