Bluetooth hardware info

hciconfig;hciconfig -a hci0;lsmod |grep bt;dmesg | grep tooth
Info about Bluetooth devices.
Sample Output
hci0:	Type: BR/EDR  Bus: USB
	BD Address: DC:85:DE:05:40:3A  ACL MTU: 1022:8  SCO MTU: 183:5
	UP RUNNING PSCAN 
	RX bytes:1161 acl:0 sco:0 events:43 errors:0
	TX bytes:1416 acl:0 sco:0 commands:43 errors:0

hci0:	Type: BR/EDR  Bus: USB
	BD Address: DC:85:DE:05:40:3A  ACL MTU: 1022:8  SCO MTU: 183:5
	UP RUNNING PSCAN 
	RX bytes:1161 acl:0 sco:0 events:43 errors:0
	TX bytes:1416 acl:0 sco:0 commands:43 errors:0
	Features: 0xff 0xfe 0x0d 0xfe 0xd8 0x7f 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF 
	Link mode: SLAVE ACCEPT 
	Name: 'ubuntu-0'
	Class: 0x6e0100
	Service Classes: Networking, Rendering, Capturing, Audio, Telephony
	Device Class: Computer, Uncategorized
	HCI Version: 4.0 (0x6)  Revision: 0x102
	LMP Version: 4.0 (0x6)  Subversion: 0x1
	Manufacturer: Atheros Communications, Inc. (69)

btusb                  28170  0 
bluetooth             371874  23 bnep,ath3k,btusb,rfcomm
[    2.020247] usb 1-1.1: Product: Bluetooth USB Host Controller
[    3.103101] Bluetooth: Core ver 2.16
[    3.103143] Bluetooth: HCI device and connection manager initialized
[    3.103151] Bluetooth: HCI socket layer initialized
[    3.103154] Bluetooth: L2CAP socket layer initialized
[    3.103160] Bluetooth: SCO socket layer initialized
[    3.251575] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.251579] Bluetooth: BNEP filters: protocol multicast
[    3.251589] Bluetooth: BNEP socket layer initialized
[    3.309729] Bluetooth: RFCOMM TTY layer initialized
[    3.309745] Bluetooth: RFCOMM socket layer initialized
[    3.309747] Bluetooth: RFCOMM ver 1.11
[    3.554945] usb 1-1.1: Product: Bluetooth USB Host Controller

0
By: FadeMind
2013-08-21 12:29:23

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: