hciattach.1 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. .\" Man page generated from reStructuredText.
  2. .
  3. .TH HCIATTACH 1 "Jan 22, 2002" "BlueZ" "Linux System Administration"
  4. .SH NAME
  5. hciattach \- attach serial devices via UART HCI to BlueZ stack
  6. .
  7. .nr rst2man-indent-level 0
  8. .
  9. .de1 rstReportMargin
  10. \\$1 \\n[an-margin]
  11. level \\n[rst2man-indent-level]
  12. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  13. -
  14. \\n[rst2man-indent0]
  15. \\n[rst2man-indent1]
  16. \\n[rst2man-indent2]
  17. ..
  18. .de1 INDENT
  19. .\" .rstReportMargin pre:
  20. . RS \\$1
  21. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  22. . nr rst2man-indent-level +1
  23. .\" .rstReportMargin post:
  24. ..
  25. .de UNINDENT
  26. . RE
  27. .\" indent \\n[an-margin]
  28. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .nr rst2man-indent-level -1
  30. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  31. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  32. ..
  33. .SH SYNOPSIS
  34. .sp
  35. \fBhciattach\fP [\fIOPTIONS\fP] <\fItty\fP> <\fItype|id\fP> [\fIspeed\fP] [\fIflow\fP] [\fIsleep\fP] [\fIbdaddr\fP]
  36. .sp
  37. \fBhciattach\fP \-1
  38. .SH DESCRIPTION
  39. .sp
  40. \fBhciattach(1)\fP is used to attach a serial UART to the Bluetooth stack as HCI
  41. transport interface.
  42. .SH OPTIONS
  43. .INDENT 0.0
  44. .TP
  45. .B \-i
  46. Send break
  47. .TP
  48. .B \-n
  49. Don\(aqt detach from controlling terminal.
  50. .TP
  51. .B \-p
  52. Print the PID when detaching.
  53. .TP
  54. .BI \-t \ timeout
  55. Specify an initialization timeout. Default is 5 seconds.
  56. .TP
  57. .BI \-s \ speed
  58. Specify an initial speed instead of the hardware default.
  59. .TP
  60. .B \-l
  61. List all available configurations.
  62. .TP
  63. .B \-r
  64. Set the HCI device into raw mode. The kernel and bluetooth daemon
  65. will ignore it.
  66. .TP
  67. .B \-h\fP,\fB \-\-help
  68. Show help options
  69. .UNINDENT
  70. .SH ARGUMENTS
  71. .INDENT 0.0
  72. .TP
  73. .B \fIshow\fP
  74. This specifies the serial device to attach. A leading /dev can be omitted.
  75. .sp
  76. Examples: \fB/dev/ttyS1 ttyS2\fP
  77. .TP
  78. .B \fItype|id\fP
  79. The \fItype\fP or \fIid\fP of the Bluetooth device that is to be attached,
  80. i.e. vendor or other device specific identifier.
  81. Currently supported types are
  82. .UNINDENT
  83. .TS
  84. center;
  85. |l|l|.
  86. _
  87. T{
  88. \fItype\fP
  89. T} T{
  90. Description
  91. T}
  92. _
  93. T{
  94. any
  95. T} T{
  96. Unspecified HCI_UART interface, no vendor specific options
  97. T}
  98. _
  99. T{
  100. ericsson
  101. T} T{
  102. Ericsson based modules
  103. T}
  104. _
  105. T{
  106. digi
  107. T} T{
  108. Digianswer based cards
  109. T}
  110. _
  111. T{
  112. xircom
  113. T} T{
  114. Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter
  115. T}
  116. _
  117. T{
  118. csr
  119. T} T{
  120. CSR Casira serial adapter or BrainBoxes serial dongle (BL642)
  121. T}
  122. _
  123. T{
  124. bboxes
  125. T} T{
  126. BrainBoxes PCMCIA card (BL620)
  127. T}
  128. _
  129. T{
  130. swave
  131. T} T{
  132. Silicon Wave kits
  133. T}
  134. _
  135. T{
  136. bcsp
  137. T} T{
  138. Serial adapters using CSR chips with BCSP serial protocol
  139. T}
  140. _
  141. T{
  142. ath3k
  143. T} T{
  144. Atheros AR300x based serial Bluetooth device
  145. T}
  146. _
  147. T{
  148. intel
  149. T} T{
  150. Intel Bluetooth device
  151. T}
  152. _
  153. .TE
  154. .TS
  155. center;
  156. |l|l|.
  157. _
  158. T{
  159. .nf
  160. Supported ID
  161. (manufacturer id, product id)
  162. .fi
  163. T} T{
  164. Description
  165. T}
  166. _
  167. T{
  168. 0x0105, 0x080a
  169. T} T{
  170. Xircom PCMCIA cards: Credit Card Adapter and Real Port Adapter
  171. T}
  172. _
  173. T{
  174. 0x0160, 0x0002
  175. T} T{
  176. BrainBoxes PCMCIA card (BL620)
  177. T}
  178. _
  179. .TE
  180. .INDENT 0.0
  181. .TP
  182. .B \fIspeed\fP
  183. The \fIspeed\fP specifies the UART speed to use. Baudrates higher than 115200bps
  184. require vendor specific initializations that are not implemented for all
  185. types of devices. In general the following speeds are supported:
  186. .sp
  187. Supported vendor devices are automatically initialised to their respective
  188. best settings.
  189. .UNINDENT
  190. .TS
  191. center;
  192. |l|.
  193. _
  194. T{
  195. 9600
  196. T}
  197. _
  198. T{
  199. 19200
  200. T}
  201. _
  202. T{
  203. 38400
  204. T}
  205. _
  206. T{
  207. 57600
  208. T}
  209. _
  210. T{
  211. 115200
  212. T}
  213. _
  214. T{
  215. 230400
  216. T}
  217. _
  218. T{
  219. 460800
  220. T}
  221. _
  222. T{
  223. 921600
  224. T}
  225. _
  226. .TE
  227. .INDENT 0.0
  228. .TP
  229. .B \fIflow\fP
  230. If the \fIflow\fP is appended to the list of options then hardware flow control
  231. is forced on the serial link (\fBCRTSCTS\fP). All above mentioned device
  232. types have flow set by default. To force no flow control use \fInoflow\fP
  233. instead.
  234. .TP
  235. .B \fIsleep|nosleep\fP
  236. Enables hardware specific power management feature. If \fIsleep\fP is appended
  237. to the list of options then this feature is enabled. To disable this
  238. feature use \fInosleep\fP instead. All above mentioned device types have
  239. \fInosleep\fP set by default.
  240. .sp
  241. Note: This option will only be valid for hardware which support hardware
  242. specific power management enable option from host.
  243. .TP
  244. .B \fIbdaddr\fP
  245. The bdaddr specifies the Bluetooth Address to use. Some devices (like
  246. the STLC2500) do not store the Bluetooth address in hardware memory.
  247. Instead it must be uploaded during the initialization process. If this
  248. argument is specified, then the address will be used to initialize the
  249. device. Otherwise, a default address will be used.
  250. .UNINDENT
  251. .SH RESOURCES
  252. .sp
  253. \fI\%http://www.bluez.org\fP
  254. .SH REPORTING BUGS
  255. .sp
  256. \fI\%linux\-bluetooth@vger.kernel.org\fP
  257. .SH AUTHOR
  258. Maxim Krasnyansky <maxk@qualcomm.com>, Nils Faerber <nils@kernelconcepts.de>
  259. .SH COPYRIGHT
  260. Free use of this software is granted under ther terms of the GNU
  261. Lesser General Public Licenses (LGPL).
  262. .\" Generated by docutils manpage writer.
  263. .