by pepedog » Wed Aug 03, 2011 12:50 pm
$this->bbcode_second_pass_code('', '[root@alarm ~]# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:11:67:8F:FB:D7 ACL MTU: 1021:8 SCO MTU: 48:10
UP RUNNING PSCAN
RX bytes:9676 acl:57 sco:0 events:577 errors:0
TX bytes:330376 acl:434 sco:0 commands:93 errors:0
[root@alarm ~]# hciconfig -a hci0
hci0: Type: BR/EDR Bus: USB
BD Address: 00:11:67:8F:FB:D7 ACL MTU: 1021:8 SCO MTU: 48:10
UP RUNNING PSCAN
RX bytes:9778 acl:61 sco:0 events:583 errors:0
TX bytes:330441 acl:438 sco:0 commands:94 errors:0
Features: 0xff 0xfe 0x8d 0x3e 0x88 0x19 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'alarm-0'
Class: 0x480100
Service Classes: Capturing, Telephony
Device Class: Computer, Uncategorized
HCI Version: 2.0 (0x3) Revision: 0x2c6
LMP Version: 2.0 (0x3) Subversion: 0x2c6
Manufacturer: Integrated System Solution Corp. (57)
[root@alarm ~]# hcitool -i hci0 dev
Devices:
hci0 00:11:67:8F:FB:D7
[root@alarm ~]# hcitool -i hci0 scan
Scanning ...
[root@alarm ~]# hcitool -i hci0 info 00:16:8D:01:63:B2
Requesting information ...
BD Address: 00:16:8D:01:63:B2
Device Name: SBR510
LMP Version: 2.0 (0x3) LMP Subversion: 0x103a
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x8f 0xf8 0x1b 0x18 0x00 0x80
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
<power control> <transparent SCO> <broadcast encrypt>
<enhanced iscan> <interlaced iscan> <interlaced pscan>
<inquiry with RSSI> <extended SCO> <EV4 packets> <EV5 packets>
<AFH cap. slave> <AFH class. slave> <AFH cap. master>
<AFH class. master> <extended features>
[root@alarm ~]# hcitool -i hci0 con
Connections:
[root@alarm ~]# lsmod
Module Size Used by
rfcomm 26106 4
sco 9347 2
bnep 9488 2
l2cap 40858 16 rfcomm,bnep
rt2800usb 9690 0
rt2800lib 35214 1 rt2800usb
rt2x00usb 9321 1 rt2800usb
rt2x00lib 34474 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 219287 3 rt2800lib,rt2x00usb,rt2x00lib
btusb 11478 2
cfg80211 157935 2 rt2x00lib,mac80211
bluetooth 64798 9 rfcomm,sco,bnep,l2cap,btusb
rfkill 12327 3 bluetooth,cfg80211
[root@alarm ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 003 Device 002: ID 05e3:0718 Genesys Logic, Inc. IDE/SATA Adapter
Bus 001 Device 003: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
[root@alarm ~]# uname -a
Linux alarm 2.6.38.3-ARCH #1 SMP PREEMPT Fri Jul 29 13:49:49 MDT 2011 armv7l ARMv7 Processor rev 0 (v7l) trimslice GNU/Linux
[root@alarm ~]# ps -axl
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
4 0 1 0 20 0 1636 600 poll_s Ss ? 0:01 init [3]
1 0 2 0 20 0 0 0 kthrea S ? 0:00 [kthreadd]
1 0 3 2 20 0 0 0 run_ks S ? 0:00 [ksoftirqd]
1 0 4 2 20 0 0 0 worker S ? 0:00 [kworker/0]
5 0 5 2 20 0 0 0 worker S ? 0:00 [kworker/u]
1 0 6 2 -100 - 0 0 cpu_st S ? 0:00 [migration]
1 0 7 2 -100 - 0 0 cpu_st S ? 0:00 [migration]
1 0 8 2 20 0 0 0 worker S ? 0:00 [kworker/1]
1 0 9 2 20 0 0 0 run_ks S ? 0:00 [ksoftirqd]
1 0 10 2 0 -20 0 0 rescue S< ? 0:00 [cpuset]
1 0 11 2 0 -20 0 0 rescue S< ? 0:00 [khelper]
1 0 12 2 20 0 0 0 worker S ? 0:00 [kworker/u]
1 0 15 2 0 -20 0 0 rescue S< ? 0:00 [netns]
1 0 205 2 20 0 0 0 bdi_sy S ? 0:00 [sync_supe]
1 0 207 2 20 0 0 0 bdi_fo S ? 0:00 [bdi-defau]
1 0 209 2 0 -20 0 0 rescue S< ? 0:00 [kblockd]
5 0 222 2 20 0 0 0 hub_th S ? 0:00 [khubd]
1 0 328 2 0 -20 0 0 rescue S< ? 0:00 [rpciod]
1 0 329 2 20 0 0 0 worker S ? 0:00 [kworker/0]
1 0 333 2 0 -20 0 0 rescue S< ? 0:00 [cpu-tegra]
1 0 342 2 20 0 0 0 watchd S ? 0:00 [khungtask]
1 0 348 2 20 0 0 0 kswapd S ? 0:00 [kswapd0]
1 0 406 2 20 0 0 0 fsnoti S ? 0:00 [fsnotify_]
1 0 408 2 0 -20 0 0 rescue S< ? 0:00 [aio]
1 0 425 2 0 -20 0 0 rescue S< ? 0:00 [nfsiod]
1 0 431 2 0 -20 0 0 rescue S< ? 0:00 [crypto]
1 0 458 2 0 -20 0 0 rescue S< ? 0:00 [tegradc.0]
1 0 459 2 0 -20 0 0 rescue S< ? 0:00 [tegradc.0]
1 0 460 2 0 -20 0 0 rescue S< ? 0:00 [tegradc.0]
1 0 463 2 0 -20 0 0 rescue S< ? 0:00 [nvhdcp1]
1 0 467 2 0 -20 0 0 rescue S< ? 0:00 [tegradc.1]
1 0 468 2 0 -20 0 0 rescue S< ? 0:00 [tegradc.1]
1 0 469 2 0 -20 0 0 rescue S< ? 0:00 [tegradc.1]
1 0 480 2 20 0 0 0 worker S ? 0:00 [kworker/1]
1 0 539 2 0 -20 0 0 rescue S< ? 0:00 [iscsi_eh]
1 0 581 2 0 -20 0 0 rescue S< ? 0:00 [kondemand]
1 0 582 2 0 -20 0 0 rescue S< ? 0:00 [kconserva]
1 0 645 2 20 0 0 0 scsi_e S ? 0:00 [scsi_eh_0]
1 0 646 2 20 0 0 0 usb_st S ? 0:00 [usb-stora]
1 0 663 2 20 0 0 0 kjourn S ? 0:00 [kjournald]
1 0 685 2 20 0 0 0 bdi_wr S ? 0:00 [flush-8:0]
5 0 696 1 20 0 2188 964 epoll_ Ss ? 0:00 /sbin/udevd
5 0 787 696 20 0 2184 676 epoll_ S ? 0:00 /sbin/udevd
5 0 788 696 20 0 2184 636 epoll_ S ? 0:00 /sbin/udevd
1 0 1127 2 0 -20 0 0 rescue S< ? 0:00 [cfg80211]
1 0 1132 2 0 -20 0 0 rescue S< ? 0:00 [hci0]
1 0 1406 1 20 0 3680 528 wait S ? 0:00 supervising
5 0 1407 1406 20 0 6396 2568 poll_s Ss ? 0:00 /usr/sbin/s
5 0 1440 1 20 0 1868 328 poll_s Ss ? 0:00 /sbin/dhcpc
5 87 1448 1 20 0 3284 892 poll_s S ? 0:00 /usr/sbin/n
5 0 1449 1 20 0 3416 436 poll_s Ss ? 0:00 /usr/sbin/n
5 81 1463 1 20 0 2536 980 poll_s Ss ? 0:00 /usr/bin/db
5 82 1465 1 20 0 15868 3896 poll_s Ssl ? 0:00 /usr/sbin/h
0 0 1466 1465 20 0 5052 1348 poll_s S ? 0:00 hald-runner
0 0 1491 1466 20 0 5144 1312 poll_s S ? 0:00 hald-addon-
0 0 1498 1466 20 0 5140 1292 poll_s S ? 0:00 /usr/lib/ha
0 0 1499 1466 20 0 5140 1296 poll_s S ? 0:00 /usr/lib/ha
0 0 1502 1466 20 0 5152 1296 poll_s S ? 0:00 /usr/lib/ha
1 0 1517 1 20 0 2736 1080 hrtime Ss ? 0:00 /usr/sbin/c
5 0 1529 1 20 0 5640 1220 poll_s Ss ? 0:00 /usr/sbin/s
4 0 1536 1529 20 0 9140 2820 poll_s Ss ? 0:00 sshd: root@
1 0 1538 1 20 0 16888 12384 poll_s Ss ? 0:00 /usr/bin/pe
1 0 1551 2 0 -20 0 0 rescue S< ? 0:00 [l2cap]
5 0 1562 2 10 -10 0 0 rfcomm S< ? 0:00 [krfcommd]
0 0 1573 1 20 0 1636 544 n_tty_ Ss+ ttyS0 0:00 /sbin/agett
0 0 1574 1 20 0 1636 544 n_tty_ Ss+ tty1 0:00 /sbin/agett
0 0 1575 1 20 0 1636 544 n_tty_ Ss+ tty2 0:00 /sbin/agett
0 0 1576 1 20 0 1636 544 n_tty_ Ss+ tty3 0:00 /sbin/agett
0 0 1577 1 20 0 1636 544 n_tty_ Ss+ tty4 0:00 /sbin/agett
0 0 1578 1 20 0 1636 544 n_tty_ Ss+ tty5 0:00 /sbin/agett
0 0 1579 1 20 0 1636 544 n_tty_ Ss+ tty6 0:00 /sbin/agett
4 0 1581 1 20 0 26772 3408 poll_s Sl ? 0:00 /usr/sbin/c
4 0 1648 1 20 0 22576 2796 poll_s Sl ? 0:00 /usr/lib/po
4 0 1658 1536 20 0 5316 1912 wait Ss pts/0 0:00 -bash
5 0 1808 1 20 0 4768 1916 poll_s Ss ? 0:00 /usr/sbin/b
1 0 1910 2 20 0 0 0 worker S ? 0:00 [kworker/u]
4 0 1931 1658 20 0 4348 940 - R+ pts/0 0:00 ps -axl
[root@alarm ~]#')
I swapped my dongle for a 100 metre one, and don't know if it was that or powering off speaker meant I had to hci0 up and re-pair.
Also hcitool -i hci0 con doesn't work unless it's playing sound
Also delete all files in /var/lib/bluetooth, reboot, reconfigure all, and pair again is good advice