109 points · by protomyth · 7y ago · 58 comments
> without, you're basically restricted to "guess and test" and reverse-engineering other drivers to see the differences in behaviour.
Not entirely. If you look at the commits I linked in the post, you'll see that most of them fixed rather egregious spec violations. Arguably the spec could have been clearer; but still.
> The fact that "real" debugging requires an extremely expensive protocol analyser/oscilloscope also adds to that
USB packets can be sniffed in Wireshark. But for the kinds of bugs that this driver had, that isn't helpful; most of the problems were failure to initialize the controller or sending invalid command sequences. So that wouldn't be very helpful anyway.
Most of the protocol analyzers I've seen go out of their way to highlight invalid sequences and spec violations. IMO, that's most of their benefit.
4kilopages, before you even get to actual profiles.
> and started anew in the later versions.
entirely not truesource: been working on this for any many years :(
Anyway, is that a lot for a technical specification? Most programming languages I've used in the past year have had longer specs than that (if they have one at all). Even plain C is over 500 pages now.
The biggest concern I have here is requiring an oscilloscope. Nothing here looks like it should require an actual physical layer. Why was USB designed to conflate these layers in the first place? The whole OSI stack might be silly but separating the physical layer has always been a great idea. When I upgrade from 10/100 ethernet to 10/100/1000 ethernet, I don't have to re-test my web server and mail server.
No, but you had to change all your network cards on both ends of the connection, and of course there were new drivers for the new chipsets. Same with USB.
Browsers? Usable for the focused mind, lots of wip... For me, I have text editors, compilers, a terminal, and aws cli... I can wish for more, but I am happy with this.
2012 and earlier Macbooks pretty much work, I'm told (though you will hit the remaining NEC/Renesas bug I mentioned in the blog post, so use a USB2 drive until we manage to debug that.)
But yes, generally our hardware support is not quite as good as Linux's, so you will have a mixed bag in Macbooks. High-end PC laptops (e.g. Dell XPS 13) are fine.
EDIT: According to the comment below, it seems I was misremembering, and these problems occur on 2015-and-up Macbooks, not 2013-and-up.
So: I was surprised at how easy it was to end the experiment early and try out another Linux distro, even though I'll probably try out other Haiku releases in the future. The boot time and single-user configuration was definitely a nice break.
Such as? Haiku has the "workspaces" concept too (https://www.haiku-os.org/docs/userguide/en/workspaces.html), though perhaps not as full-featured as Linux's.
A really basic difference example though was that the default window move/resize RMB shortcut modifier is simply Alt in my Linux install, as opposed to Ctrl+Alt on Haiku. On a cramped keyboard this combination was fiddly. I also swap caps and CTRL on this keyboard in Linux and I hadn't checked yet if this could be accomplished. There were lots of things to look into.
I appreciate your response, and will probably try out Haiku again in the future. I liked that it was easy to install and test. Also as someone who uses QMMP a lot, I was very pleasantly surprised at the neat Be-style skin that came in its Haiku install. :-)
Shame, it seemed a promising project.
Edit: Okay my assessment was based on this, the fact that there only seems to be a beta release for download, and there didn't seem to be a decent web browser at some point fairly recently ( there was a story on HN?). Are these misunderstandings? Do we have different definitions of 'doing well'?
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1813663
Programming for real hardware is simply harder than the most can imagine.
It's very honestly amazing what they've accomplished.
Yes it is amazing what they've accomplished.
I was mourning the fact that despite all the mind share, all the talented developers, they didn't manage to produce an OS that just works (tm). I'm cognizant of the fact Linus Torvalds started out very in similar circumstances. I don't know if it is Linux taking too much air out of the room, or if in 2019, building the OS that just works (tm) is just too bigger job for volunteers. That is the shame.
We have ~10-15 major active contributors, and with that, we can basically compete with "Desktop Linux" in terms of functionality. Not everything works or is polished to the degree we'd like ... but it's nearly there.
So then who is the one wasting the "mind share" -- the Linux DE space, with its hundreds of developers spread across dozens of projects, or us, who can do basically the same thing with a fraction of the time and resources?
It would seem like this specification has been a pain point for many other projects before. For a os with only a few contributors doing work on their freetime, I think it is going great. (My opinion, like mouths... everybody has one)
"For a os with only a few contributors doing work on their freetime, I think it is going great "
Oh definitely, I bear no ill will, and would like the project to succeed. But can you make a full featured desktop OS in your free time. There's another comment on this thread pointing out the spec is 600 pages long. I can understand how if you're doing it as a hobby that would take time.
If someone built a car in their garage I'd be impressed. It may have taken 10 years, look ugly and leak oil but its still an achievement. I wouldn't buy it though, I don't want a car that leaks oil, and doesn't have crumple zones etc.
I guess what I'm (slowly) stumbling towards asking is, is this a hobby OS or a 'big professional' OS? Reading between the lines you seem to be happy with a hobby OS, if so great, but that isn't what I want, I'm not sure that is what it was hyped to be.
I think you underestimate the sophisticated complex problems of USB 3. Even for a hobby OS this is a massive achievement.
What has all the discussion on HN today improved or helped?
If you don't wish to be reading other peoples assessments then you've come to the wrong place.
If you think I'm wrong, please correct me. I've put my opinion and reasons why.
So if I had all that, I could use Haiku as my home/hobby tinkering machine. I would still need a Mac, Linux or Windows machine to do some other heavy lifting, but I already have three computers at home, so no problem.
The Beta 1 release, when I tried it on my Ryzen-based desktop, wouldn't get past the splash screen, stalling out at things that seemed to revolve around the SATA controller.
Meanwhile, pop the same flash drive in a Thinkpad X230t, and it booted and installed fine, and even Wi-Fi worked without a significant hitch.
Did any icons light up? There was (is) an undiagnosed issue that is preventing BIOS booting from working on Ryzen. I know one of the other devs runs Haiku on his Ryzen via EFI and says it works like a charm.
> I suspect their work optimizes around a relatively narrow band of supported hardware.
Not by design, but just by circumstance -- we developers optimize for the hardware we have and use, and not many others tend to submit patches, so that's the way it goes.