History log of /src/share/man/man4/ubt.4 |
Revision | | Date | Author | Comments |
1.6 |
| 10-Sep-2006 |
plunky | clarify the CAVEAT section somewhat
|
1.5 |
| 02-Sep-2006 |
wiz | Sort sections.
|
1.4 |
| 27-Aug-2006 |
plunky | BluetootH SCO Audio update.
Provide an ioctl to set the SCO mtu value in the controller and place limits in the SCO code such that only packets of this size may be sent.
Move the mtu option from btsco(4) and btdevctl(8), to the btconfig(8) program.
Remove temporary BLUETOOTH_SCO kernel option, and enable SCO socket access.
Fix incoming connection handling for btsco(4) and SCO sockets.
Fix documentation to reflect the new world order.
|
1.3 |
| 20-Aug-2006 |
wiz | New sentence, new line. Punctuation capitalization.
|
1.2 |
| 19-Aug-2006 |
plunky | The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219.
While it can be made to compile, the paradigm is not quite right because it attempts to contact the filesystem during autoconfig which sometimes causes a panic. Even if that was fixed, there is another potential problem in that the driver tries/sleeps/tries/sleeps and the sleep could theoretically sleep past the rc.d/btconfig stage and the controller would remain unconfigured.
So, I have prepared a different method for loading the firmware to Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load the firmware files via a ugen(4) device interface.
This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4) driver so that it will not attach to Broadcom BCM2033 based devices before the firmware was loaded.
This fixes kern/34219
|
1.1 |
| 19-Jun-2006 |
gdamore | branches: 1.1.2; Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@, NetBSD Foundation Membership still pending.) This stack was written by Iain under sponsorship from Itronix Inc.
The stack includes support for rfcomm networking (networking via your bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.
Drivers for both PCMCIA and USB bluetooth controllers are included.
|
1.1.2.4 |
| 14-Sep-2006 |
riz | Pull up following revision(s) (requested by plunky in ticket #161): sys/dev/bluetooth/btdev.h: revision 1.4 distrib/sets/lists/comp/mi: revision 1.922 usr.sbin/postinstall/postinstall: revision 1.25 sys/netbt/hci_unit.c: revision 1.3 sys/netbt/hci_ioctl.c: revision 1.4 usr.sbin/sdpd/profile.c: revision 1.2 usr.sbin/btdevctl/btdevctl.c: revision 1.2 share/man/man4/Makefile: revision 1.405 distrib/sets/lists/man/mi: revision 1.930 distrib/sets/lists/etc/mi: revision 1.176 usr.sbin/sdpd/profile.c: revision 1.3 usr.sbin/btdevctl/btdevctl.c: revision 1.3 etc/MAKEDEV.tmpl: revision 1.62 distrib/sets/lists/base/mi: revision 1.650 usr.sbin/btdevctl/btdevctl.h: revision 1.2 usr.bin/sdpquery/sdpquery.1: revision 1.4 sys/netbt/rfcomm_session.c: revision 1.2 usr.sbin/btdevctl/btdevctl.8: revision 1.3 usr.bin/sdpquery/search.c: revision 1.2 usr.sbin/sdpd/Makefile: revision 1.2 sys/dev/bluetooth/Makefile: revision 1.3 usr.sbin/btdevctl/cfg.c: file removal sys/netbt/files.netbt: revision 1.4 usr.sbin/btdevctl/sdp.c: revision 1.1 sys/dev/bluetooth/bthidev.c: revision 1.3 etc/bluetooth/Makefile: revision 1.3 sys/dev/pcmcia/files.pcmcia: revision 1.51 sys/dev/bluetooth/bthidev.c: revision 1.4 sys/dev/bluetooth/bthidev.h: revision 1.3 usr.sbin/btdevctl/dev.c: file removal sys/dev/bluetooth/files.bluetooth: revision 1.10 sys/arch/i386/conf/GENERIC: revision 1.777 share/man/man4/ubt.4: revision 1.6 share/man/man4/bthub.4: revision 1.3 sys/netbt/hci.h: revision 1.5 sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.202 lib/libsdp/sdp.h: revision 1.2 usr.sbin/btdevctl/print.c: revision 1.1 share/man/man4/bthidev.4: revision 1.5 share/man/man4/btdev.4: file removal usr.sbin/btdevctl/print.c: revision 1.2 sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.205 usr.sbin/btdevctl/Makefile: revision 1.2 sys/dev/usb/files.usb: revision 1.70 sys/netbt/l2cap_signal.c: revision 1.2 sys/netbt/hci_link.c: revision 1.4 sys/dev/bluetooth/bthub.c: revision 1.3 share/man/man4/btsco.4: revision 1.5 sys/netbt/hci_link.c: revision 1.5 share/man/man4/btdev.4: revision 1.4 sys/dev/bluetooth/btkbd.c: revision 1.3 sys/dev/bluetooth/btdev.c: file removal sys/netbt/hci_event.c: revision 1.2 sys/dev/bluetooth/btsco.h: revision 1.2 etc/mtree/special: revision 1.101 sys/dev/bluetooth/btsco.c: revision 1.3 sys/conf/majors: revision 1.27 usr.sbin/sdpd/hf.c: revision 1.1 sys/dev/bluetooth/btsco.c: revision 1.4 share/man/man5/rc.conf.5: revision 1.107 sys/dev/bluetooth/btdev.c: revision 1.2 etc/rc.d/btdevctl: revision 1.2 usr.sbin/btdevctl/db.c: revision 1.1 etc/rc.d/btdevctl: revision 1.3 etc/bluetooth/btdevctl.conf: revision 1.1 usr.sbin/btdevctl/hid.c: file removal sys/arch/i386/conf/GENERIC: revision 1.781 sys/dev/bluetooth/btdev.h: revision 1.3 Make btdev default count explicit Fix typo in variable name update to bluetooth device attachment: remove pseudo-device btdev(4) and inherent limitations add bthub(4) which autoconfigures at bluetooth controllers as they are enabled. bluetooth devices now attach here. btdevctl(8) and its cache is updated to handle new semantics etc/rc.d/btdevctl is updated to configure devices from a list in /etc/bluetooth/btdevctl.conf also include service name in dictionary being sent to kernel. (this is not used just yet, but it might be in the future and it will be easier if we dont have to provide code to handle its absence) clarify the CAVEAT section somewhat Add service discovery support for the Handsfree profile Replace static 'FreeBSD' string with operating system name gleaned from uname(3) Halt the callout on detach btsco.c: - sco_getopt(..., SO_SCO_MTU, ...) expects the address of a uint16_t, not an int. So change sc_mtu's type to uint16_t. - Try a little harder to ensure btsco_round_blocksize() does not return zero. Prevents a subsequent panic in audio_init_ringbuffer(). from scw@ Endian issues: hci_event.c: - Convert memo->response.clock_offset to host-endian. hci_ioctl.c: - printf format tweak (size_t) hci_link.c: - Convert memo->response.clock_offset from host-endian. - Tweak a DIAGNOSTIC message. l2cap_signal.c: - In l2cap_recv_config_req(), rp->scid is little-endian so make sure we convert from host-endian. from scw@ hci_link.c: - In hci_link_free(), do not unlink items from a LIST queue within a LIST_FOREACH() iterator. rfcomm_session.c: - In rfcomm_session_recv_mcc_nsc(), do not unlink items from a LIST queue within a LIST_FOREACH() iterator. from scw@ guard against a possible situation where the list of l2cap channels is changed when the bluetooth code is not expecting it to be. During a disconnect, we can detach the channel that is being disconnected, but its not really safe to detach any others. Print explicit 64-bit types using the format macros from int_fmtio.h. Unbreaks the build for our LP64 ports, where "long long" typically is not 64 bits.
|
1.1.2.3 |
| 07-Sep-2006 |
tron | Pull up following revision(s) (requested by plunky in ticket #81): sys/netbt/sco_upper.c: revision 1.2 usr.sbin/btconfig/btconfig.c: revision 1.3 sys/netbt/hci_ioctl.c: revision 1.3 usr.sbin/btconfig/btconfig.8: revision 1.4 usr.sbin/btdevctl/btdevctl.8: revision 1.2 sys/netbt/files.netbt: revision 1.3 sys/netbt/bt_proto.c: revision 1.2 share/man/man4/ubt.4: revision 1.4 usr.sbin/btdevctl/cfg.c: revision 1.3 sys/netbt/hci.h: revision 1.4 share/man/man4/bluetooth.4: revision 1.2 share/man/man4/btsco.4: revision 1.4 sys/dev/bluetooth/btsco.c: revision 1.2 sys/netbt/bt_sysctl.c: revision 1.2 BluetootH SCO Audio update. Provide an ioctl to set the SCO mtu value in the controller and place limits in the SCO code such that only packets of this size may be sent. Move the mtu option from btsco(4) and btdevctl(8), to the btconfig(8) program. Remove temporary BLUETOOTH_SCO kernel option, and enable SCO socket access. Fix incoming connection handling for btsco(4) and SCO sockets. Fix documentation to reflect the new world order.
|
1.1.2.2 |
| 07-Sep-2006 |
tron | Pull up following revision(s) (requested by plunky in ticket #81): share/man/man4/ubt.4: revision 1.3 New sentence, new line. Punctuation capitalization.
|
1.1.2.1 |
| 25-Aug-2006 |
tron | Pull up following revision(s) (requested by plunky in ticket #49): share/man/man4/Makefile: revision 1.400 sys/dev/usb/FILES: revision 1.10 sys/dev/usb/files.usb: revision 1.69 share/man/man4/ubt.4: revision 1.2 sys/dev/usb/ubt.c: revision 1.15 share/man/man4/ubtbcmfw.4: file removal distrib/sets/lists/man/mi: revision 1.922 sys/dev/DEVNAMES: revision 1.210 sys/dev/usb/ubtbcmfw.c: file removal The ubtbcmfw(4) driver fails to compile, as noted by PR kern/34219. While it can be made to compile, the paradigm is not quite right because it attempts to contact the filesystem during autoconfig which sometimes causes a panic. Even if that was fixed, there is another potential problem in that the driver tries/sleeps/tries/sleeps and the sleep could theoretically sleep past the rc.d/btconfig stage and the controller would remain unconfigured. So, I have prepared a different method for loading the firmware to Broadcom BCM2033 chip based devices. A package 'sysutils/bcmfw' will load the firmware files via a ugen(4) device interface. This update removes the ubtbcmfw(4) driver and adds a table to the ubt(4) driver so that it will not attach to Broadcom BCM2033 based devices before the firmware was loaded. This fixes kern/34219
|