Has anyone done this, I have seen so many conflicting methods.
Did find a script somewhere that scans, adds device after asking for pass phrase, etc, but it no longer works as based on python 2.4
pcm.!default {
type plug
slave.pcm "bluetooth"
}
ctl.mixer0 {
type hw
card 0
}
pcm.bluetooth {
type bluetooth
device "00:16:8D:01:63:B2"
profile "auto"
}wget http://freewavesamples.com/files/Roland-GR-1-Pick-Bass-2-C4.wav[root@PBLinux ~]# aplay -Dplug:bluetooth Roland-GR-1-Pick-Bass-2-C4.wav
aplay Roland-GR-1-Pick-Bass-2-C4.wav #also seems to work as default device
Bluetooth Service
Identifier=audio
Name=Audio service
Description=Bluetooth Audio service
Autostart=true
[A2DP]
SBCSources=1
MPEG12Sources=0
SBCSinks=
MPEG12Sinks=
# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:02:72:XX:XX:XX ACL MTU: 1022:8 SCO MTU: 121:3
UP RUNNING PSCAN
RX bytes:6311 acl:11 sco:0 events:157 errors:0
TX bytes:1539 acl:12 sco:0 commands:99 errors:0
# hciconfig -a hci0
hci0: Type: BR/EDR Bus: USB
BD Address: 00:02:72:XX:XX:XX ACL MTU: 1022:8 SCO MTU: 121:3
UP RUNNING PSCAN
RX bytes:6311 acl:11 sco:0 events:157 errors:0
TX bytes:1539 acl:12 sco:0 commands:99 errors:0
Features: 0xff 0xfe 0x0d 0xfe 0x98 0x7f 0x79 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF
Link mode: SLAVE ACCEPT
Name: 'hostname.com-0'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Version: 3.0 (0x5) Revision: 0x9999
LMP Version: 3.0 (0x5) Subversion: 0x9999
Manufacturer: Atheros Communications, Inc. (69)
# hcitool -i hci0 dev
Devices:
hci0 00:02:72:XX:XX:XX
# hcitool -i hci0 scan
Scanning ...
00:0C:78:XX:XX:XX BT90S
# hcitool -i hci0 info 00:0C:78:4XX:XX:XX
Requesting information ...
BD Address: 00:0C:78:XX:XX:XX
Device Name: BT90S
LMP Version: 2.0 (0x3) LMP Subversion: 0xb12
Manufacturer: Cambridge Silicon Radio (10)
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
# hcitool -i hci0 con
Connections:
# lsmod
Module Size Used by
rfcomm 32056 0
ath3k 4093 0
bnep 7628 2
ipv6 238329 10
btusb 10179 3
bluetooth 110684 19 rfcomm,bnep,btusb
rfkill 14403 2 bluetooth
mv_cesa 8959 0
# l2ping 00:0C:78:XX:XX:XX
Ping: 00:0C:78:XX:XX:XX from 00:02:72:XX:XX:XX (data size 44) ...
4 bytes from 00:0C:78:XX:XX:XX id 0 time 15.95ms
4 bytes from 00:0C:78:XX:XX:XX id 1 time 32.16ms
4 bytes from 00:0C:78:XX:XX:XX id 2 time 32.39ms
4 bytes from 00:0C:78:XX:XX:XX id 3 time 32.22ms
Users browsing this forum: No registered users and 1 guest