PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [BlueZ 4.x] Bluetooth-Headset - Kein I/O



blabub
18.12.08, 21:52
Guten Abend zusammen


Nach langer Zeit habe ich mal wieder einen Versuch unternommen unter Linux etwas mit Bluetooth zu versuchen. So weit hab ich mich auch zurecht gefunden. Geht inzwischen ja richtig leicht ein Gerät zu verbinden. :)

Zum eigentlichen Problem:
Ich versuche mein Headset zu verwenden. Das Gerät wird so weit verbunden und auch erkannt. Jedoch bekomme ich diverse Fehlermeldung von den Applikationen welche darauf zugreifen sollten (Es wurde ein Problem mit dem Gerät festgestellt, mehr Infos bekomme ich nicht zum Fehler.).

Informationen:
BlueZ 4.x (Selber kompiliert mit allen Abhängigkeiten)
Debian Lenny


Hardware:


hcitool info 00:0D:44:3E:75:9A
Requesting information ...
BD Address: 00:0D:44:3E:75:9A
Device Name: Cordless Vantage HS
LMP Version: 2.0 (0x3) LMP Subversion: 0xbfa
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xf8 0x8b 0xb8 0x1b 0xa0 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log>
<CVSD> <paging scheme> <transparent SCO> <broadcast encrypt>
<enhanced iscan> <interlaced iscan> <interlaced pscan>
<extended SCO> <EV4 packets> <EV5 packets> <AFH cap. slave>
<AFH class. slave> <EDR eSCO 2 Mbps> <3-slot EDR eSCO>



Anschliessend die Logs bei der Verbindung, sowie die Konfiguration-Datei:

bluetoothd:


bluetoothd[4726]: Bluetooth daemon
bluetoothd[4726]: Enabling debug information
bluetoothd[4726]: parsing main.conf
bluetoothd[4726]: discovto=0
bluetoothd[4726]: pairto=0
bluetoothd[4726]: pageto=8192
bluetoothd[4726]: name=%h-%d
bluetoothd[4726]: class=0x000100
bluetoothd[4726]: inqmode=0
bluetoothd[4726]: Starting SDP server
bluetoothd[4726]: Loading plugins /usr/lib/bluetooth/plugins
bluetoothd[4726]: Parsing /etc/bluetooth/input.conf failed: No such file or directory
bluetoothd[4726]: Parsing /etc/bluetooth/network.conf failed: No such file or directory
bluetoothd[4726]: Config options: InterfacePrefix=bnep%d, PANU_Script=(null), GN_Script=(null), NAP_Script=(null), GN_Interface=pan0, NAP_Interface=pan1, Security=true
bluetoothd[4726]: bridge pan0 created
bluetoothd[4726]: register_interface: path /org/bluez/4726/any
bluetoothd[4726]: Registered interface org.bluez.Service on path /org/bluez/4726/any
bluetoothd[4726]: Unix socket created: 13
bluetoothd[4726]: audio.conf: Key file does not have key 'MaxConnected'
bluetoothd[4726]: Telephony plugin initialized
bluetoothd[4726]: HFP AG features: "Ability to reject a call" "Enhanced call status" "Extended Error Result Codes"
bluetoothd[4726]: HCI dev 0 registered
bluetoothd[4726]: child 4729 forked
bluetoothd[4726]: HCI dev 0 already up
bluetoothd[4726]: Starting security manager 0
bluetoothd[4726]: proxy_probe: path /org/bluez/4726/hci0
bluetoothd[4726]: Registered interface org.bluez.SerialProxyManager on path /org/bluez/4726/hci0
bluetoothd[4726]: network_server_probe: path /org/bluez/4726/hci0
bluetoothd[4726]: Adding record with handle 0x10000
bluetoothd[4726]: Record pattern UUID 0000000f-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001115-0000-1000-8000-00805f9
bluetoothd[4726]: register_server_record: got record id 0x10000
bluetoothd[4726]: Registered interface org.bluez.NetworkPeer on path /org/bluez/4726/hci0
bluetoothd[4726]: network_server_probe: path /org/bluez/4726/hci0
bluetoothd[4726]: Adding record with handle 0x10001
bluetoothd[4726]: Record pattern UUID 0000000f-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001117-0000-1000-8000-00805f9
bluetoothd[4726]: register_server_record: got record id 0x10001
bluetoothd[4726]: Registered interface org.bluez.NetworkHub on path /org/bluez/4726/hci0
bluetoothd[4726]: network_server_probe: path /org/bluez/4726/hci0
bluetoothd[4726]: Adding record with handle 0x10002
bluetoothd[4726]: Record pattern UUID 0000000f-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001116-0000-1000-8000-00805f9
bluetoothd[4726]: register_server_record: got record id 0x10002
bluetoothd[4726]: Registered interface org.bluez.NetworkRouter on path /org/bluez/4726/hci0
bluetoothd[4726]: register_interface: path /org/bluez/4726/hci0
bluetoothd[4726]: Registered interface org.bluez.Service on path /org/bluez/4726/hci0
bluetoothd[4726]: headset_server_probe: path /org/bluez/4726/hci0
bluetoothd[4726]: audio.conf: Key file does not have key 'Master'
bluetoothd[4726]: Adding record with handle 0x10003
bluetoothd[4726]: Record pattern UUID 00000003-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001108-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001112-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001203-0000-1000-8000-00805f9
bluetoothd[4726]: a2dp_server_probe: path /org/bluez/4726/hci0
bluetoothd[4726]: audio.conf: Key file does not have key 'Disable'
bluetoothd[4726]: audio.conf: Key file does not have group 'A2DP'
bluetoothd[4726]: audio.conf: Key file does not have group 'A2DP'
bluetoothd[4726]: audio.conf: Key file does not have group 'A2DP'
bluetoothd[4726]: audio.conf: Key file does not have group 'A2DP'
bluetoothd[4726]: audio.conf: Key file does not have key 'Master'
bluetoothd[4726]: SEP 0x7ff84ef89200 registered: type:0 codec:0 seid:1
bluetoothd[4726]: Adding record with handle 0x10004
bluetoothd[4726]: Record pattern UUID 00000019-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 0000110a-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 0000110d-0000-1000-8000-00805f9
bluetoothd[4726]: avrcp_server_probe: path /org/bluez/4726/hci0
bluetoothd[4726]: audio.conf: Key file does not have key 'Master'
bluetoothd[4726]: Adding record with handle 0x10005
bluetoothd[4726]: Record pattern UUID 00000017-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 0000110c-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 0000110e-0000-1000-8000-00805f9
bluetoothd[4726]: Adding record with handle 0x10006
bluetoothd[4726]: Record pattern UUID 00000017-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[4726]: Record pattern UUID 0000110e-0000-1000-8000-00805f9
bluetoothd[4726]: Creating device /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A
bluetoothd[4726]: Probe drivers for /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A
bluetoothd[4726]: serial_probe: path /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A: 00001108-0000-1000-8000-00805f9b34fb
bluetoothd[4726]: Registered interface org.bluez.Serial on path /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A
bluetoothd[4726]: serial_probe: path /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A: 0000111e-0000-1000-8000-00805f9b34fb
bluetoothd[4726]: headset_probe: path /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A
bluetoothd[4726]: Registered interface org.bluez.Input on path /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A
bluetoothd[4726]: adapter_get_device(00:0D:44:3E:75:9A)
bluetoothd[4726]: Found Headset record
bluetoothd[4726]: Discovered Headset service on RFCOMM channel 2
bluetoothd[4726]: Registered interface org.bluez.Headset on path /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A
bluetoothd[4726]: audio handle_uuid: server not enabled for 0000111e-0000-1000-8000-00805f9b34fb (0x111e)
bluetoothd[4726]: Adapter /org/bluez/4726/hci0 has been enabled
bluetoothd[4726]: child 4729 exited
bluetoothd[4726]: Computer is classified as desktop
bluetoothd[4726]: Current device class is 0x0a2104
bluetoothd[4726]: Setting 0x000104 for major/minor device class
bluetoothd[4726]: Agent registered for hci0 at :1.17:/org/bluez/agent/hci0
bluetoothd[4726]: adapter_get_device(00:0D:44:3E:75:9A)
bluetoothd[4726]: link_key_request (sba=00:E0:98:C3:5A:04, dba=00:0D:44:3E:75:9A)
bluetoothd[4726]: kernel auth requirements = 0x00
bluetoothd[4726]: stored link key type = 0x00
bluetoothd[4726]: adapter_get_device(00:0D:44:3E:75:9A)
bluetoothd[4726]: link_key_request (sba=00:E0:98:C3:5A:04, dba=00:0D:44:3E:75:9A)
bluetoothd[4726]: kernel auth requirements = 0x00
bluetoothd[4726]: stored link key type = 0x00
bluetoothd[4726]: adapter_get_device(00:0D:44:3E:75:9A)
bluetoothd[4726]: link_key_request (sba=00:E0:98:C3:5A:04, dba=00:0D:44:3E:75:9A)
bluetoothd[4726]: kernel auth requirements = 0x00
bluetoothd[4726]: stored link key type = 0x00
bluetoothd[4726]: hcid_dbus_bonding_process_complete: status=00
bluetoothd[4726]: adapter_get_device(00:0D:44:3E:75:9A)
bluetoothd[4726]: hcid_dbus_bonding_process_complete: no pending auth request
bluetoothd[4726]: State changed /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A: HEADSET_STATE_DISCONNECTED -> HEADSET_STATE_CONNECT_IN_PROGRESS
bluetoothd[4726]: Accepted headset connection from 00:0D:44:3E:75:9A for /org/bluez/4726/hci0/dev_00_0D_44_3E_75_9A
bluetoothd[4726]: Accepted new client connection on unix socket (fd=23)
bluetoothd[4726]: Audio API: received BT_GETCAPABILITIES_REQ
bluetoothd[4726]: Audio API: sending BT_GETCAPABILITIES_RSP
bluetoothd[4726]: Audio API: received BT_SETCONFIGURATION_REQ
bluetoothd[4726]: config sco - device = 00:0D:44:3E:75:9A access_mode = 2
bluetoothd[4726]: Unix client disconnected (fd=23)
bluetoothd[4726]: Accepted new client connection on unix socket (fd=23)
bluetoothd[4726]: Audio API: received BT_GETCAPABILITIES_REQ
bluetoothd[4726]: Audio API: sending BT_GETCAPABILITIES_RSP
bluetoothd[4726]: Audio API: received BT_SETCONFIGURATION_REQ
bluetoothd[4726]: config sco - device = 00:0D:44:3E:75:9A access_mode = 2
bluetoothd[4726]: Unix client disconnected (fd=23)
bluetoothd[4726]: Accepted new client connection on unix socket (fd=23)
bluetoothd[4726]: Audio API: received BT_GETCAPABILITIES_REQ
bluetoothd[4726]: Audio API: sending BT_GETCAPABILITIES_RSP
bluetoothd[4726]: Audio API: received BT_SETCONFIGURATION_REQ
bluetoothd[4726]: config sco - device = 00:0D:44:3E:75:9A access_mode = 2
bluetoothd[4726]: adapter_get_device(01:02:03:04:05:06)
bluetoothd[4726]: adapter_create_device(01:02:03:04:05:06)
bluetoothd[4726]: Creating device /org/bluez/4726/hci0/dev_01_02_03_04_05_06
bluetoothd[4726]: Unix client disconnected (fd=23)


hcidump:


HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff
< ACL data: handle 41 flags 0x02 dlen 8
L2CAP(d): cid 0x0049 len 4 [psm 0]
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 41 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 0]
< ACL data: handle 41 flags 0x02 dlen 8
L2CAP(d): cid 0x0049 len 4 [psm 0]
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 41 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 0]
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0049 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0049 scid 0x0040
< HCI Command: Disconnect (0x01|0x0006) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Disconn Complete (0x05) plen 4
< HCI Command: Write Local Name (0x03|0x0013) plen 248
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Page Timeout (0x03|0x0018) plen 2
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Default Link Policy Settings (0x02|0x000f) plen 2
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Read Stored Link Key (0x03|0x000d) plen 7
> HCI Event: Command Complete (0x0e) plen 8
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0
> HCI Event: Command Complete (0x0e) plen 12
< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen 12
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Local Name (0x03|0x0014) plen 0
> HCI Event: Command Complete (0x0e) plen 252
< HCI Command: Read Default Link Policy Settings (0x02|0x000e) plen 0
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Set Event Mask (0x03|0x0001) plen 8
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Scan Enable (0x03|0x001a) plen 1
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Read Local Name (0x03|0x0014) plen 0
> HCI Event: Command Complete (0x0e) plen 252
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Scan Enable (0x03|0x0019) plen 0
> HCI Event: Command Complete (0x0e) plen 5
< HCI Command: Write Current IAC LAP (0x03|0x003a) plen 7
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
< HCI Command: Write Class of Device (0x03|0x0024) plen 3
> HCI Event: Command Complete (0x0e) plen 4
< HCI Command: Read Class of Device (0x03|0x0023) plen 0
> HCI Event: Command Complete (0x0e) plen 7
> HCI Event: Connect Request (0x04) plen 10
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Role Change (0x12) plen 8
> HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
< ACL data: handle 40 flags 0x02 dlen 10
L2CAP(s): Info req: type 2
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
> HCI Event: Max Slots Change (0x1b) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> ACL data: handle 40 flags 0x02 dlen 16
L2CAP(s): Info rsp: type 2 result 0
Extended feature mask 0x0000
> HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
> HCI Event: Read Remote Supported Features (0x0b) plen 11
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Link Key Request (0x17) plen 6
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
> HCI Event: Command Complete (0x0e) plen 10
> HCI Event: Remote Name Req Complete (0x07) plen 255
> ACL data: handle 40 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x004a
< ACL data: handle 40 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x004a result 0 status 0
Connection successful
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 40 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 48
< ACL data: handle 40 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x004a flags 0x00 result 0 clen 4
MTU 48
< ACL data: handle 40 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x004a flags 0x00 clen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 40 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
> ACL data: handle 40 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
pat uuid-32 0x111f (Handsfree AG)
max 38
aid(s) 0x0004 (ProtocolDescList)
cont 00
< ACL data: handle 40 flags 0x02 dlen 14
L2CAP(d): cid 0x004a len 10 [psm 1]
SDP SSA Rsp: tid 0x1 len 0x5
count 2
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 40 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x004a
< ACL data: handle 40 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x004a
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Disconn Complete (0x05) plen 4
> HCI Event: Connect Request (0x04) plen 10
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Role Change (0x12) plen 8
> HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
< ACL data: handle 41 flags 0x02 dlen 10
L2CAP(s): Info req: type 2
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
> HCI Event: Max Slots Change (0x1b) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Info rsp: type 2 result 0
Extended feature mask 0x0000
> HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
> HCI Event: Read Remote Supported Features (0x0b) plen 11
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Link Key Request (0x17) plen 6
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
> HCI Event: Command Complete (0x0e) plen 10
> HCI Event: Remote Name Req Complete (0x07) plen 255
> ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x004b
< ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x004b result 0 status 0
Connection successful
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 48
< ACL data: handle 41 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x004b flags 0x00 result 0 clen 4
MTU 48
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x004b flags 0x00 clen 0
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 41 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
> ACL data: handle 41 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
pat uuid-32 0x1112 (Headset AG)
max 38
aid(s) 0x0004 (ProtocolDescList)
cont 00
< ACL data: handle 41 flags 0x02 dlen 33
L2CAP(d): cid 0x004b len 29 [psm 1]
SDP SSA Rsp: tid 0x1 len 0x18
count 21
record #0
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) > <
uuid-16 0x0003 (RFCOMM) uint 0xc > >
cont 00
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x004b
< ACL data: handle 41 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x004b
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Disconn Complete (0x05) plen 4
> HCI Event: Connect Request (0x04) plen 10
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Role Change (0x12) plen 8
> HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
< ACL data: handle 42 flags 0x02 dlen 10
L2CAP(s): Info req: type 2
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
> HCI Event: Max Slots Change (0x1b) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Info rsp: type 2 result 0
Extended feature mask 0x0000
> HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
> HCI Event: Read Remote Supported Features (0x0b) plen 11
> HCI Event: Command Status (0x0f) plen 4
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
> HCI Event: Connection Packet Type Changed (0x1d) plen 5
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Link Key Request (0x17) plen 6
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
> HCI Event: Command Complete (0x0e) plen 10
> ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x004c
< ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x004c result 0 status 0
Connection successful
> HCI Event: Remote Name Req Complete (0x07) plen 255
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 132
< ACL data: handle 42 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x004c flags 0x00 result 0 clen 4
MTU 132
< ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x004c flags 0x00 clen 4
MTU 1013
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 42 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
MTU 1013
> ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
< ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x004c len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 42 flags 0x02 dlen 18
L2CAP(d): cid 0x0040 len 14 [psm 3]
RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8
dlci 24 frame_type 0 credit_flow 15 pri 0 ack_timer 0
frame_size 126 max_retrans 0 credits 0
< ACL data: handle 42 flags 0x02 dlen 18
L2CAP(d): cid 0x004c len 14 [psm 3]
RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8
dlci 24 frame_type 0 credit_flow 14 pri 0 ack_timer 0
frame_size 126 max_retrans 0 credits 7
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): SABM: cr 1 dlci 24 pf 1 ilen 0 fcs 0xa2
< HCI Command: Authentication Requested (0x01|0x0011) plen 2
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Auth Complete (0x06) plen 3
< HCI Command: Set Connection Encryption (0x01|0x0013) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Encrypt Change (0x08) plen 4
< ACL data: handle 42 flags 0x02 dlen 8
L2CAP(d): cid 0x004c len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 24 pf 1 ilen 0 fcs 0x69
< ACL data: handle 42 flags 0x02 dlen 12
L2CAP(d): cid 0x004c len 8 [psm 3]
RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
dlci 24 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 42 flags 0x02 dlen 12
L2CAP(d): cid 0x0040 len 8 [psm 3]
RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
dlci 24 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0
> ACL data: handle 42 flags 0x02 dlen 12
L2CAP(d): cid 0x0040 len 8 [psm 3]
RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2
dlci 24 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 1 b2 1 b3 0 len 0
< ACL data: handle 42 flags 0x02 dlen 12
L2CAP(d): cid 0x004c len 8 [psm 3]
RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2
dlci 24 fc 0 rtc 1 rtr 1 ic 0 dv 0 b1 1 b2 1 b3 0 len 0
< ACL data: handle 42 flags 0x02 dlen 9
L2CAP(d): cid 0x004c len 5 [psm 3]
RFCOMM(d): UIH: cr 0 dlci 24 pf 1 ilen 0 fcs 0xc8 credits 33
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 42 flags 0x02 dlen 9
L2CAP(d): cid 0x0040 len 5 [psm 3]
RFCOMM(d): UIH: cr 1 dlci 24 pf 1 ilen 0 fcs 0x12 credits 15
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Mode Change (0x14) plen 6


~/.asoundrc:


pcm.bla {
type bluetooth
device "00:0D:44:3E:75:9A"
}


aplay:


aplay output.wav -Dplug:bla
Playing WAVE 'output.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono



Für Hilfe/Ratschläge vielen Dank im Voraus! :)

blabub
20.12.08, 04:13
Nachdem ich mal alles wieder sauber deinstallierte und neu installierte. Scheint es plötzlich zu gehen. :)

Ich werde die nächsten Tage mal ein HowTo schreiben wie man BlueZ4 unter Debian zum laufen kriegt.