Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know that OpenBSD is "opinionated" but I can't really accept that their opinion on bluetooth is "we don't support bluetooth", which otherwise seems essential, at least to me, for any mobile device.



It's not really philosophical, they just weren't happy with the Bluetooth stack they had (originally from netbsd I think) and no-one has written a new one yet.

https://github.com/openbsd/src/commit/b8042ed98e3e7a691133b4...


It was removed in 2014! At this point, "not yet" surely must mean "we don't want it".


Do-ocracy. Just because none of those devs want it enough to implement it, doesn't mean they'd turn away somebody who did. If somebody wants it bad enough, they'll do it.


> Do-ocracy.

I love this word.

I'm apparently behind the times, though: It's on Urban Dictionary and I love their example

https://www.urbandictionary.com/define.php?term=do-ocracy

> “Jeez, why does Mary get to decide what everyone eats and when they work? Who put her in charge?” Older and wiser heads will say, “This is a do-ocracy. If you think you can do Mary’s job, and you want to, then get up there and do it. She’ll probably be relieved. If not, don’t be a jerk and make a big stink about it, or else she’ll stop working so hard and we won’t have anything to eat!”

... which is apparently taken from:

https://communitywiki.org/wiki/DoOcracy

... which is another wiki I'll have to dive into.


Write it.

As an openbsd user, I will say that bluetooth is pretty far down the list of things I care about.


I'm an OpenBSD user and Bluetooth Audio is a non-problem. Creative makes little USB Audio devices that OpenBSD treats as a HID soundcard and Creative handles the Bluetooth itself.

There are larger forms of this but Creative's form factor is very small.

This is probably why no-one has written it yet.


Do you have a link to it?




> Write it.

This is getting really old. Not all users are programmers.


The number of regular OpenBSD users that are not programmers is probably vanishingly thin. If my memory serves me correctly, there are features of modern x86 processors that it straight up doesn't implement on a don't-care basis, so it's pretty safe to say that nobody that has made peace with that is looking to deal with technology as maligned as Bluetooth when they're likely already buying hardware specifically to run OpenBSD.


Do you have any links to that?

I am curious what they are?


https://marc.info/?l=openbsd-misc&m=152600018515730&w=2

This is what I had in mind. This obviously impacts some useful gdb features, but such is the nature of OpenBSD.


I'm a fan of OpenBSD's more conservative and structured approach to software development, but in this case I must beg to differ. In the linked CVE, OpenBSD was unaffected because "[it] didn't chase the fad of using every Intel cpu feature." The feature in question was user-space hardware debug register access. Without such access, watch-points are borderline unusable[0].

Perhaps prohibiting access to user-space except GDB would be a reasonable compromise. Also, debug registers are not unique to x86: most (all?) CPU architectures have them. So calling it a "fad [...] Intel cpu feature" is a bit unfair.

[0] https://marc.info/?l=openbsd-misc&m=152609160230624&w=2


You could also pay someone else to write it for you. OpenBSD is a free, community based project - you cant really complain it doesnt do what you want if you arent willing to invest any time or money.


Say I wanted to go down this route and pay someone to implement Bluetooth in OpenBSD - don't you think that'd be a huge project and cost many thousands of dollars?


Figure out some interested people upfront and a rough time (thus cost) estimate.

Then pool resources via a funding platform, get the word out (here on HN, social media, mailing lists) and you may get it done quite soon and also at a low relatively low cost per user.


It would 10.000 -> up range for sure.


To be honest, with some other open source projects I've wanted to "pay for someone else to do it".

But like, that's actually _also_ a lot of effort! Especially for projects that are "abandoned" or have no obvious owner, since then you're in "hire a random X programmer to do this for you".

I feel like more OSS projects should go beyond "Donate" and have a "buy a feature/bug fix" button.


> "buy a feature/bug fix" button.

You could run into a problem with a lot of OSS no-warranty policies this way.


"Sponsor a sprint". No guarantee of success, but if you're paying their salary for the next two weeks, you pick their tasks.


Makes sense. “You get what you pay for.” “Don’t look the gift horse in the mouth.” “Take it or leave it.” Sure. But the old trope still feels wrong somehow.


Not really - in the case of Linux you pay the same price as OpenBSD but you get much more.

That's because enough people decided to put enough effort to support as many use cases as possible, until the OS got enough momentum to be hard to ignore.

The BSD approach has instead always been "you want it? then code it yourself and open a merge request". That sounds legitimate, but that's the real reason why OpenBSD has never taken off outside of its small niche of geeks - despite being an amazingly designed OS under the hood.

And I know many of those geeks who are quite proud of being part of a tiny niche that scuffs at Bluetooth, USB 3.0, QHD displays or anything that a "normal user" might want - had it been for them a 640x480 screen with a working session of xterm would have largely sufficed. But that's also the reason why there aren't many "normal people" using their OS.

At some point one should also ponder why we support and contribute to open-source projects (especially considering that we mostly do it in our spare time, that, in the case of developers, is often limited and precious). Is it because we want to make the (IT) world a better place with more free and cool products and attract more people, or is it because we like our own well-curated niche and we don't want to let anybody in?


I disagree that there is any fundamental difference between Linux and OpenBSD, when it comes to supporting new features, around who should do the work. You’ll find plenty of “where’s the patch?” replies in linuxland too.

The difference is that OpenBSD BDFLs (Theo et al.) have not been willing to compromise their vision of what the OS should be and how it should be developed just to chase popularity. Look at how they still use CVS, ship their own httpd and ssl libs, dropped sudo years ago (and then rewrote it)... they prioritise consistency and reliability over ubiquity and “the new shiny”. Chances are that, even if you wrote a BT stack yourself and submitted it, it wouldn’t be merged unless it fits their philosophy.

That’s the real difference: Linus and his generals have been willing to accomodate and support a higher number of features just for the sake of it, because it was cool; they were more accepting of incoming developers; and they were much friendlier towards business interests, accepting binary blobs and so on, which is somewhat ironic (Linux is very hard-GPL “inside” but then gave up when it comes to drivers; OpenBSD is, well, BSD everywhere, but they push super hard for manufacturers to open their drivers).

OoenBSD makes IT better too, but it does it on its own terms, and that’s fine.


Question is, who will pick it up when the OpenBSD BDFLs are no longer around to carry the flag.


That's a very good question. Every once in a while some new faces pop up, but afaik there isn't a well-defined process to replace core developers.


You can like your own niche without holding a strong opinion about ‘letting people in’. Not going out of one’s way to be welcoming is not an indication of gatekeeping or any other ill intent.


I agree with the attitude of "if you want it, code it" however I disagree with this point. Gatekeeping does not have to be intentional for it to be the case. Sometimes it can be out of good-will, even.

For an example of the last point, transgender care in the UK -- it takes 2 appointments to get treated (hormone therapy), it can take up to 4+ years to get the first appointment (those are the smaller waiting lists), and another year or longer to get the second before you are finally treated for it. This isn't done out of bad-will, it is done out of intent to not mistreat people. However, the effect of this is that it gatekeeps people who can have access to trans care to those who are able to afford it.

Gatekeeping does not require intent, nor does it require malice. It can simply be the result of a cultural artifact creating what is percieved to be a hostile culture.


> Is it because we want to make the (IT) world a better place with more free and cool products and attract more people, or is it because we like our own well-curated niche and we don't want to let anybody in?

Both? OpenBSD's niche is being so secure it (almost) hurts. Curating that is worthwhile in a Research OS sense: How many knobs can we tweak on a POSIX system to increase security while explicitly and loudly not caring about much of anything else? Keeping everyone who doesn't share that vision out is part of the plan.

They can be the security pioneers, and the rest of us can see where they get scalped so we don't repeat their errors.


This is getting really old. You're getting free software, and the programmers are programming totally for free, benefiting you in the process.


People aren't just going to write things they don't have an interest in.


Who is pushing users to use OpenBSD?


Nobody. That’s the problem, if you will. Users are effectively pushed away from OpenBSD.


It’s not a problem, nobody minds if you don’t use it. If it’s in products, it’s not likely you would even find out. Everything isn’t for everybody, after all. A hundred companies and more are running Linux, Theo and a couple dozen people run OpenBSD. It’s hand crafted and if you don’t like it, there’s a big giant circus tent called Linux over there.


There's not a lot of applications where bluetooth is essential. Personally, after several rounds of disappointment with bluetooth mice, the only thing I use bluetooth for is handsfree calling and sometimes music in cars. Even that sometimes doesn't work (my spouse's Nokia 7.2 couldn't connect to her car between July and December, because something in the Nokia firmware was broken; worked fine with my car though).

So, my guess is nobody who works on OpenBSD a lot cares about bluetooth on OpenBSD, because they're not using bluetooth much, and don't see any use cases for it that would help them.


Why not 'nobody contributed it so far'?


I think it is better to leave it out until there is a solid implementation of it.

Saves everyone a lot of frustration.


What's wrong with bluetoothd?


What's wrong with bluetooth in general? Essentially, it's an under-specified security nightmare. Of course, it's also pretty important for certain classes of devices.


I've never had a bluetooth device that actually worked reliably. Granted, my experience is limited to mostly keyboards and mice. If the bluetooth isn't giving me issues, the battery is. No thanks. I'll stick with USB and wired devices.


My Bluetooth headphones have been pretty bulletproof since I started using them a few years ago. Battery life still lasts two or three weeks ay my usage levels too. But I only keep them paired to one device, and I understand most of the grief with these sorts of things comes with switching between hosts often.


Oh, wow. I have NEVER heard of anyone where bluetooth has "just worked".

Well, that's not true. People in the Apple bubble say that Apple devices work with Apple headphones. But that is it.


My bluetooth headphones work well if I'm sitting still. They don't work if I'm walking. So I would say that bluetooth headphones don't work.


If the opinion is “don’t support wildly insecure things” I’m happy that somebody out there has that opinion. OpenBSD, its quality/security opinions, and the consequences aren’t for everyone, but they certainly don’t have to be.

And it’s a laptop, lots of people almost never use bluetooth on a laptop. You might, I do sometimes, but it’s hardly essential.


This is why Qubes doesn't support Bluetooth. It breaks the virtualization security boundaries.


Ah, really? Yeah, Bluetooth is not supported in Dom0, but I'm sure that you can assign the Bluetooth PCI-E adapter to a VM using IOMMU, can't you?


I'll try that, thanks. My recollection is that Qubes pulled out the Bluetooth packages from the Fedora repos but I haven't visited it in a while.


I think the claim that bluetooth is "wildly insecure" needs justification.


I think their opinion is rather liberal-- simply, "Don't attempt to maintain dumpster fires, and be open source."

It's an important commentary on bluetooth that it cannot be included in such a system. In that sense OpenBSD is a valuable filter, even if that makes it impractical to run on a laptop for your use case.


I bought a little hardware bluetooth usb transceiver [0], I plug it in when I want the default sound to come out my usb speakers, it sticks out about a centimeter.

I'm happy to make this trade-off, given how consistent and reliable OpenBSD is. Not a deal breaker for me.

[0] https://amzn.com/B00ZYYPFHU


Really? I've never used bluetooth, one of the first things I turn off in any device I come across. I do use wifi daily however.


With wireless headphones / earbuds becoming quite common, bluetooth for a laptop is less "optional" than it used to be.


That's another thing I don't use, any accessories that take batteries. My phone is the main exception.


It seems like it does though?

https://man.openbsd.org/OpenBSD-5.5/bluetooth.4

I'm not sure why the article says it doesn't support bluetooth.


OpenBSD 5.5 was released in May 2014. The Bluetooth stack was removed later that year: http://undeadly.org/cgi?action=article&sid=20140729070721


Notice that that's for OpenBSD 5.5; it was removed.


That's the man page for OpenBSD 5.5.

Bump 5.5 up to any higher number and you'll get "not found". Bluetooth was removed around ~2014 in OpenBSD.


At least to you maybe, but I only use Bluetooth on my laptop for playing music to a speaker, which could I could replace with a long cable if I really wanted to (or some other kind of network player). On my phone, I first intentionally enabled bluetooth recently for my state's Covid tracing app.


Bluetooth has unfixable security risks baked into the protocol, it's ideal for OpenBSD to ignore it.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: