[RFC] rc.d integration for the bluetooth subsystem
maksim.yevmenkin at savvis.net
Sat Nov 12 14:12:11 PST 2005
>>>>: does anyone have any objections to the /etc/devd.conf patch located at
>>>>: this patch will add support for a usb bluetooth dongles to devd(8).
>>>>That looks fine to me.
>>good. thanks for review. i have committed the patch.
>>>>: also while i'm here where do we stick firmware files by default?
>>>>/usr/share seems most logical to me, but suffers from the 'can't load
>>>>firmware until after /usr is mounted' issue. For most firmware, this
>>>>is a minor issue...
>>>It's also not an issue in practice for most installations since /usr is
>>>local and gets mounted quite early. It's only when /usr is NFS and not
>>>part of / that you usually get into trouble.
>>let me just some more details. in this particular case i'm interested
>>where to put firmware files for bluetooth devices. in particular
>>1) 3com bluetooth pccard v1
>>2) broadcom bcm2033 chip based usb bluetooth devices (belkin, d-link, etc.)
>>in both cases firmware files are _not_ loadable modules. they are just
>>files in vendor specific format. tools are provided (bt3cfw(8) and
>>bcmfw(8)) to load firmware into device.
>>what i would like to do is to add a couple more sections into the
>>/etc/devd.conf to handle these devices. those sections can even be
>>commented out because we cannot include firmware into the distribution.
>>it is up to the user to find firmware and put it in the right place.
>>so, should i create /usr/share/firmware directory or just use
>>/usr/share? is it better to have common place for firmware files or have
>>each driver/tool define its own place?
> Instead, I would suggest creating a port that installs the firmware
> and a /usr/local/etc/devd/ script simliar to the iwi-firmware port.
ok. that sounds fine to me. does anyone have experience with this like
this? i mean do i have to contact 3com and broadcom and obtain some sort
of permission for this? how does this work?
linux bluez has rpm that contains firmware. it seems like they have
contacted broadcom, because they have firmware files in their cvs
can i legally get those files and include them into freebsd port's
collection? if this is going to lead to too much corporate brouhaha then
perhaps i should leave it as it is. bcmfw(8) and bt3cfw(8) man pages
already tell users where they can get the firmware.
More information about the freebsd-rc