View | Details | Raw Unified | Return to bug 228879
Collapse All | Expand All

(-)en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml (-3 / +16 lines)
Lines 2365-2371 Link Here
2365
2365
2366
      <para>To start and stop the Bluetooth stack, use its startup
2366
      <para>To start and stop the Bluetooth stack, use its startup
2367
	script.  It is a good idea to stop the stack before unplugging
2367
	script.  It is a good idea to stop the stack before unplugging
2368
	the device.  When starting the stack, the output should be
2368
	the device. Starting bluetooth stack might require &man.hcsecd.8; 
2369
    started.  When starting the stack, the output should be
2369
	similar to the following:</para>
2370
	similar to the following:</para>
2370
2371
2371
      <screen>&prompt.root; <userinput>service bluetooth start ubt0</userinput>
2372
      <screen>&prompt.root; <userinput>service bluetooth start ubt0</userinput>
Lines 2434-2444 Link Here
2434
	it will find the computer as
2435
	it will find the computer as
2435
	<quote>your.host.name (ubt0)</quote>.  The name assigned to
2436
	<quote>your.host.name (ubt0)</quote>.  The name assigned to
2436
	the local device can be changed at any time.</para>
2437
	the local device can be changed at any time.</para>
2438
    <para>Remote devices can be assigned aliases in <filename>/etc/bluetooth/hosts</filename>
2439
    More information about <filename>/etc/bluetooth/hosts</filename> file might be found in &man.bluetooth.hosts.5;.
2440
    </para>
2437
2441
2438
      <para>The Bluetooth system provides a point-to-point connection
2442
      <para>The Bluetooth system provides a point-to-point connection
2439
	between two Bluetooth units, or a point-to-multipoint
2443
	between two Bluetooth units, or a point-to-multipoint
2440
	connection which is shared among several Bluetooth devices.
2444
	connection which is shared among several Bluetooth devices. 
2441
	The following example shows how to obtain the list of active
2445
    Following example shows how to create a connection to a remote 
2446
    device:</para>
2447
    
2448
      <screen>&prompt.user; <userinput>hccontrol -n ubt0hci create_connection BT_ADDR</userinput></screen>
2449
2450
    <para> <literal>create_connection</literal> accepts <literal>BT_ADDR</literal> 
2451
    as well as host aliases in <filename>/etc/bluetooth/hosts</filename>
2452
    </para> 
2453
2454
      <para>The following example shows how to obtain the list of active
2442
	baseband connections for the local device:</para>
2455
	baseband connections for the local device:</para>
2443
2456
2444
      <screen>&prompt.user; <userinput>hccontrol -n ubt0hci read_connection_list</userinput>
2457
      <screen>&prompt.user; <userinput>hccontrol -n ubt0hci read_connection_list</userinput>
(-)en_US.ISO8859-1/books/handbook/multimedia/chapter.xml (+43 lines)
Lines 84-89 Link Here
84
      <listitem>
84
      <listitem>
85
	<para>Configure an image scanner.</para>
85
	<para>Configure an image scanner.</para>
86
      </listitem>
86
      </listitem>
87
88
      <listitem>
89
	<para>Configure bluetooth headset.</para>
90
      </listitem>
87
    </itemizedlist>
91
    </itemizedlist>
88
92
89
    <para>Before reading this chapter, you should:</para>
93
    <para>Before reading this chapter, you should:</para>
Lines 286-291 Link Here
286
      </note>
290
      </note>
287
    </sect2>
291
    </sect2>
288
292
293
294
    <sect2 xml:id="bluetooth-headset">
295
        <title>Setting up bluetooth sound devices</title>
296
        <indexterm>
297
            <primary>Bluetooth audio</primary>
298
        </indexterm>
299
        <para>Connecting to bluetooth device is out of scope for this chapter. 
300
    Please, refer to <xref linkend="network-bluetooth"/> chapter of this handbook.</para>
301
302
    <para>To get bluetooth sound sink working with FreeBSD's sound system, 
303
    users have to install virtual_oss package:
304
    </para>
305
306
    <screen>&prompt.root;<userinput>pkg install virtual_oss</userinput></screen>
307
308
    <para>virtual_oss requires cuse module to be loaded: </para>
309
310
    <screen>&prompt.root;<userinput>kldload cuse</userinput></screen>
311
    <para>
312
    Cuse as well might be loaded during system startup: </para>
313
      <programlisting>cuse_load="YES"</programlisting>
314
    <para>
315
    To use headphones as a sound sink with virtual_oss, users need to 
316
    create a virtual device after connecting to bluetooth audio device:
317
    </para>
318
319
    <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>
320
    <note>
321
        <para>
322
            <literal>headphones</literal> in this example is a hostname from <filename>/etc/bluetooth/hosts</filename>. 
323
            <literal>BT_ADDR</literal> could be used instead.
324
        </para>
325
    </note>
326
    <para>
327
    Please, refer to &man.virtual_oss.8; for more information.
328
    </para>
329
    </sect2>
330
    
331
289
    <sect2 xml:id="troubleshooting">
332
    <sect2 xml:id="troubleshooting">
290
      <title>Troubleshooting Sound</title>
333
      <title>Troubleshooting Sound</title>
291
334
(-)share/xml/man-refs.ent (+2 lines)
Lines 303-308 Link Here
303
<!ENTITY man.h2xs.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>h2xs</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
303
<!ENTITY man.h2xs.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>h2xs</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
304
<!ENTITY man.hash.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hash</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
304
<!ENTITY man.hash.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hash</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
305
<!ENTITY man.hashstat.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hashstat</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
305
<!ENTITY man.hashstat.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hashstat</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
306
<!ENTITY man.hcsecd.8 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hcsecd</refentrytitle><manvolnum>8</manvolnum></citerefentry>">
306
<!ENTITY man.hd.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hd</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
307
<!ENTITY man.hd.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hd</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
307
<!ENTITY man.head.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>head</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
308
<!ENTITY man.head.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>head</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
308
<!ENTITY man.hesinfo.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hesinfo</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
309
<!ENTITY man.hesinfo.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>hesinfo</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
Lines 798-803 Link Here
798
<!ENTITY man.vidfont.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vidfont</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
799
<!ENTITY man.vidfont.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vidfont</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
799
<!ENTITY man.view.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>view</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
800
<!ENTITY man.view.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>view</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
800
<!ENTITY man.vim.1 "<citerefentry xmlns='http://docbook.org/ns/docbook' vendor='ports'><refentrytitle>vim</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
801
<!ENTITY man.vim.1 "<citerefentry xmlns='http://docbook.org/ns/docbook' vendor='ports'><refentrytitle>vim</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
802
<!ENTITY man.virtual_oss.8 "<citerefentry xmlns='http://docbook.org/ns/docbook' vendor='ports'><refentrytitle>virtual_oss</refentrytitle><manvolnum>8</manvolnum></citerefentry>">
801
<!ENTITY man.vis.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vis</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
803
<!ENTITY man.vis.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vis</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
802
<!ENTITY man.vt220keys.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vt220keys</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
804
<!ENTITY man.vt220keys.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vt220keys</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
803
<!ENTITY man.vttest.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vttest</refentrytitle><manvolnum>1</manvolnum></citerefentry>">
805
<!ENTITY man.vttest.1 "<citerefentry xmlns='http://docbook.org/ns/docbook'><refentrytitle>vttest</refentrytitle><manvolnum>1</manvolnum></citerefentry>">

Return to bug 228879