[haiku-development] Include Bluetooth stack in haiku package?

  • From: "Alexander von Gluck IV" <kallisti5@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 11 Apr 2016 15:18:11 +0000

Good morning,

Many may not know, but Haiku has a (mostly) working Bluetooth stack in its 
codebase.

For various reasons we've never included it... however, I think it is in a 
solid enough
state to start letting people play with it (and maybe encourage people to clean 
it up)

It looks like it was going to be broken out into an optional package:
https://dev.haiku-os.org/ticket/10190

Is that still the path we want to go in? The Bluetooth stack is made up of the 
following:

- Kernel Bluetooth stack /boot/system/kernel/bluetooth/     25KiB + 24KiB
- l2cap networking /boot/system/kernel/network/protocols/   72KiB

- Device drivers /boot/system/add-ons/kernel/drivers/bin    36KiB
- Server /boot/system/servers   150KiB
- Kit /boot/system/lib         141KiB

For the system to even run, the first item must be installed.

We could include it in the haiku package by default (~448KiB) and everyone can 
assume it
is always there... or bundle it up into a separate set of packages.

My concern of the latter is that we would need at least two packages..
Bluetooth for the stack + kit + servers and bluetooth_drivers for the h2generic 
driver.

Would Bluetooth packages be too much complexity?
Most hardware now-a-days has a compatible USB Bluetooth chipset in it 
(h2generic)

Thoughts?
Yay/nay Including,   separate Bluetooth Package(s) or in haiku core package

 -- Alex

Other related posts: