FreeBSD Bugzilla – Attachment 194142 Details for
Bug 228879
[handbook] slight updates towards Bluetooth and BT Headphones support in FreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for my changes.
bluetooth_headphones.patch (text/plain), 6.56 KB, created by
Mike
on 2018-06-10 22:25:04 UTC
(
hide
)
Description:
svn diff for my changes.
Filename:
MIME Type:
Creator:
Mike
Created:
2018-06-10 22:25:04 UTC
Size:
6.56 KB
patch
obsolete
>Index: en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml >=================================================================== >--- en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml (revision 51813) >+++ en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml (working copy) >@@ -2365,7 +2365,8 @@ > > <para>To start and stop the Bluetooth stack, use its startup > script. It is a good idea to stop the stack before unplugging >- the device. When starting the stack, the output should be >+ the device. Starting bluetooth stack might require &man.hcsecd.8; >+ started. When starting the stack, the output should be > similar to the following:</para> > > <screen>&prompt.root; <userinput>service bluetooth start ubt0</userinput> >@@ -2434,11 +2435,23 @@ > it will find the computer as > <quote>your.host.name (ubt0)</quote>. The name assigned to > the local device can be changed at any time.</para> >+ <para>Remote devices can be assigned aliases in <filename>/etc/bluetooth/hosts</filename> >+ More information about <filename>/etc/bluetooth/hosts</filename> file might be found in &man.bluetooth.hosts.5;. >+ </para> > > <para>The Bluetooth system provides a point-to-point connection > between two Bluetooth units, or a point-to-multipoint >- connection which is shared among several Bluetooth devices. >- The following example shows how to obtain the list of active >+ connection which is shared among several Bluetooth devices. >+ Following example shows how to create a connection to a remote >+ device:</para> >+ >+ <screen>&prompt.user; <userinput>hccontrol -n ubt0hci create_connection BT_ADDR</userinput></screen> >+ >+ <para> <literal>create_connection</literal> accepts <literal>BT_ADDR</literal> >+ as well as host aliases in <filename>/etc/bluetooth/hosts</filename> >+ </para> >+ >+ <para>The following example shows how to obtain the list of active > baseband connections for the local device:</para> > > <screen>&prompt.user; <userinput>hccontrol -n ubt0hci read_connection_list</userinput> >Index: en_US.ISO8859-1/books/handbook/multimedia/chapter.xml >=================================================================== >--- en_US.ISO8859-1/books/handbook/multimedia/chapter.xml (revision 51813) >+++ en_US.ISO8859-1/books/handbook/multimedia/chapter.xml (working copy) >@@ -84,6 +84,10 @@ > <listitem> > <para>Configure an image scanner.</para> > </listitem> >+ >+ <listitem> >+ <para>Configure bluetooth headset.</para> >+ </listitem> > </itemizedlist> > > <para>Before reading this chapter, you should:</para> >@@ -286,6 +290,45 @@ > </note> > </sect2> > >+ >+ <sect2 xml:id="bluetooth-headset"> >+ <title>Setting up bluetooth sound devices</title> >+ <indexterm> >+ <primary>Bluetooth audio</primary> >+ </indexterm> >+ <para>Connecting to bluetooth device is out of scope for this chapter. >+ Please, refer to <xref linkend="network-bluetooth"/> chapter of this handbook.</para> >+ >+ <para>To get bluetooth sound sink working with FreeBSD's sound system, >+ users have to install virtual_oss package: >+ </para> >+ >+ <screen>&prompt.root;<userinput>pkg install virtual_oss</userinput></screen> >+ >+ <para>virtual_oss requires cuse module to be loaded: </para> >+ >+ <screen>&prompt.root;<userinput>kldload cuse</userinput></screen> >+ <para> >+ Cuse as well might be loaded during system startup: </para> >+ <programlisting>cuse_load="YES"</programlisting> >+ <para> >+ To use headphones as a sound sink with virtual_oss, users need to >+ create a virtual device after connecting to bluetooth audio device: >+ </para> >+ >+ <screen>&prompt.root;<userinput> virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 768 -R /dev/null -P /dev/bluetooth/headphones -d dsp</userinput></screen> >+ <note> >+ <para> >+ <literal>headphones</literal> in this example is a hostname from <filename>/etc/bluetooth/hosts</filename>. >+ <literal>BT_ADDR</literal> could be used instead. >+ </para> >+ </note> >+ <para> >+ Please, refer to &man.virtual_oss.8; for more information. >+ </para> >+ </sect2> >+ >+ > <sect2 xml:id="troubleshooting"> > <title>Troubleshooting Sound</title> > >Index: share/xml/man-refs.ent >=================================================================== >--- share/xml/man-refs.ent (revision 51813) >+++ share/xml/man-refs.ent (working copy) >@@ -303,6 +303,7 @@ > <!ENTITY man.h2xs.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>h2xs</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> > <!ENTITY man.hash.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hash</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> > <!ENTITY man.hashstat.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hashstat</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> >+<!ENTITY man.hcsecd.8 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hcsecd</refentrytitle><manvolnum>8</manvolnum></citerefentry>"> > <!ENTITY man.hd.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hd</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> > <!ENTITY man.head.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>head</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> > <!ENTITY man.hesinfo.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hesinfo</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> >@@ -798,6 +799,7 @@ > <!ENTITY man.vidfont.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vidfont</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> > <!ENTITY man.view.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>view</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> > <!ENTITY man.vim.1 "<citerefentry xmlns='http://docbook.org/ns/docbook' vendor='ports'><refentrytitle>vim</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> >+<!ENTITY man.virtual_oss.8 "<citerefentry xmlns='http://docbook.org/ns/docbook' vendor='ports'><refentrytitle>virtual_oss</refentrytitle><manvolnum>8</manvolnum></citerefentry>"> > <!ENTITY man.vis.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vis</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> > <!ENTITY man.vt220keys.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vt220keys</refentrytitle><manvolnum>1</manvolnum></citerefentry>"> > <!ENTITY man.vttest.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vttest</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228879
: 194142