Return-Path: Message-ID: <420369A7.1070203@tootai.net> From: administrator tootai MIME-Version: 1.0 To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] Re: Connection issue with headset References: <41FA06A5.3010904@tootai.net> <41FE4744.5010804@tootai.net> <4200D3B6.1050708@tootai.net> <420105F0.5030407@tootai.net> <42029A2B.6020905@tootai.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 04 Feb 2005 13:25:11 +0100 Sebastian Roth a =E9crit : > Hi Daniel, Hi Sebastian >> 2.6.10 (debian) + patch swsusp2 & bluez-utils 2.10-5 (debian sid) > > As I said before please give it a try and update your kernel with the > current patch from bluez.org and install the latest versions of > utils and lib (source is also available at bluez.org) nomade:/etc# uname -r 2.6.10-mh3-custom.3 nomade:/usr/lib# ls /usr/lib/libblu* /usr/lib/libbluetooth.a /usr/lib/libbluetooth.so =20 /usr/lib/libbluetooth.so.1.0.15 /usr/lib/libbluetooth.la /usr/lib/libbluetooth.so.1 Utils also upgraded. > > Haven't seen any output of the SCO module in your dmesg. Make sure > you have enabled CONFIG_BT_SCO and CONFIG_BT_HCIUSB_SCO in your kernel > config and loaded the module 'sco'! nomade:/etc# lsmod Module Size Used by sco 15108 0 snd_bt_sco 13728 0 snd_hwdep 9540 1 snd_bt_sco ndiswrapper 114264 0 rfcomm 41116 0 l2cap 27140 3 rfcomm nomade:/usr/src/linux# hciconfig -a hci0: Type: USB BD Address: 00:0C:41:E2:4C:B0 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:1851 acl:49 sco:0 events:89 errors:0 TX bytes:1287 acl:47 sco:0 commands:29 errors:0 Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'BlueZ (0)' Class: 0x3e0100 Service Classes: Networking, Rendering, Capturing Device Class: Computer, Uncategorized HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:=20 0x20d Manufacturer: Cambridge Silicon Radio (10) >> #sdptool search --bdaddr 00:0b:2e:06:01:2e 0x1108 > > [...] > >> Channel: 6 > > [...] > >> nomade:/etc/waproamd/keys# btsco 00:0b:2e:06:01:2e >> Device is 1:0 >> Voice setting: 0x0060 >> RFCOMM channel 6 connected >> speaker volume: 10 mic volume: 10 > > Channel should be ok. Now where are the new message from? Does it > work now? speaker volume message: I always get it the first time I run btsco=20 *after* having loaded snd-bt-sco. The hcidump is below. Still this 2=20 ERROR unexpected syntax. nomade:/usr/src/linux# hcidump -X HCIDump - HCI packet analyzer ver 1.12 device: hci0 snap_len: 1028 filter: 0xffffffff < HCI Command: Create Connection (0x01|0x0005) plen 13 0000: 2e 01 06 2e 0b 00 18 cc 02 00 00 00 01 ............. > HCI Event: Command Status (0x0f) plen 4 0000: 00 01 05 04 .... > HCI Event: Link Key Request (0x17) plen 6 0000: 2e 01 06 2e 0b 00 ...... < HCI Command: Link Key Request Reply (0x01|0x000b) plen 22 0000: 2e 01 06 2e 0b 00 98 0f 70 e7 ad ee 4b 1a 93 1c ........p...K... 0010: ba 18 77 0c 19 00 ..w... > HCI Event: Command Complete (0x0e) plen 10 0000: 01 0b 04 00 2e 01 06 2e 0b 00 .......... > HCI Event: Connect Complete (0x03) plen 11 0000: 00 29 00 2e 01 06 2e 0b 00 01 00 .)......... < ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 1 scid 0x0040 < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4 0000: 29 00 0f 00 )... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > HCI Event: Max Slots Change (0x1b) plen 3 0000: 29 00 05 ).. > HCI Event: Command Complete (0x0e) plen 6 0000: 01 0d 08 00 29 00 ....). > ACL data: handle 0x0029 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0 < ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0 > ACL data: handle 0x0029 flags 0x02 dlen 16 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4 MTU 48 < ACL data: handle 0x0029 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0 < ACL data: handle 0x0029 flags 0x02 dlen 24 L2CAP(d): cid 0x0040 len 20 [psm 1] SDP SSA Req: tid 0x0 len 0xf pat uuid-16 0x1108 (Headset) max 0xffff aid(s) 0x0000 - 0xffff cont 00 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 27 > ACL data: handle 0x0029 flags 0x01 dlen 24 L2CAP(d): cid 0x0040 len 47 [psm 1] SDP SSA Rsp: tid 0x0 len 0x2a cnt 0x26 srv rec #0 aid 0x0000 (SrvRecHndl) uint 0x20000 aid 0x0001 (SrvClassIDList) < uuid-16 0x1108 (Headset) uuid-16 0x1203 (Audio) > aid 0x0004 (ProtocolDescList) < < uuid-16 0x0100 (L2CAP) > < uuid-16 0x0003 (RFCOMM) null null > > cont < ACL data: handle 0x0029 flags 0x02 dlen 25 L2CAP(d): cid 0x0040 len 21 [psm 1] SDP SSA Req: tid 0x1 len 0x10 pat uuid-16 0x1108 (Headset) max 0xffff aid(s) 0x0000 - 0xffff cont 01 01 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 27 > ACL data: handle 0x0029 flags 0x01 dlen 22 L2CAP(d): cid 0x0040 len 45 [psm 1] SDP SSA Rsp: tid 0x1 len 0x28 cnt 0x24 ERROR: Unexpected syntax 0000: 06 09 00 05 35 03 19 10 02 09 00 06 35 09 09 65 =20 ....5.......5..e 0010: 6e 09 00 6a 09 01 00 09 01 00 25 07 48 65 61 64 =20 n..j......%.Head 0020: 73 65 74 01 02 set.. cont 06 09 00 05 35 03 19 10 02 09 00 06 35 09 09 65 6E 09 00=20 6A 09 01 00 09 01 00 25 0748 65 61 64 73 65 74 01 02 < ACL data: handle 0x0029 flags 0x02 dlen 25 L2CAP(d): cid 0x0040 len 21 [psm 1] SDP SSA Req: tid 0x2 len 0x10 pat uuid-16 0x1108 (Headset) max 0xffff aid(s) 0x0000 - 0xffff cont 01 02 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 17 L2CAP(d): cid 0x0040 len 13 [psm 1] SDP SSA Rsp: tid 0x2 len 0x8 cnt 0x5 ERROR: Unexpected syntax 0000: 03 02 28 01 00 ..(.. cont 03 02 28 01 00 < ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040 < HCI Command: Read Voice Setting (0x03|0x0025) plen 0 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040 > HCI Event: Command Complete (0x0e) plen 6 0000: 01 25 0c 00 60 00 .%..`. < ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(s): Connect req: psm 3 scid 0x0040 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 16 L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0 < ACL data: handle 0x0029 flags 0x02 dlen 16 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4 MTU 1024 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 18 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 4 MTU 1024 > ACL data: handle 0x0029 flags 0x02 dlen 16 L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 4 MTU 317 < ACL data: handle 0x0029 flags 0x02 dlen 14 L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0 < ACL data: handle 0x0029 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 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 8 L2CAP(d): cid 0x0040 len 4 [psm 3] RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 < ACL data: handle 0x0029 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 12 frame_type 0 credit_flow 15 pri 7 ack_timer 0 frame_size 312 max_retrans 0 credits 7 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 18 L2CAP(d): cid 0x0040 len 14 [psm 3] RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8 dlci 12 frame_type 0 credit_flow 14 pri 1 ack_timer 0 frame_size 312 max_retrans 0 credits 7 < ACL data: handle 0x0029 flags 0x02 dlen 8 L2CAP(d): cid 0x0040 len 4 [psm 3] RFCOMM(s): SABM: cr 1 dlci 12 pf 1 ilen 0 fcs 0x43 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 8 L2CAP(d): cid 0x0040 len 4 [psm 3] RFCOMM(s): UA: cr 1 dlci 12 pf 1 ilen 0 fcs 0x88 < ACL data: handle 0x0029 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 12 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0 > ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(d): cid 0x0040 len 8 [psm 3] RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2 dlci 12 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0 < ACL data: handle 0x0029 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 12 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 0000: 01 29 00 01 00 .)... > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... > ACL data: handle 0x0029 flags 0x02 dlen 12 L2CAP(d): cid 0x0040 len 8 [psm 3] RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2 dlci 12 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0 < ACL data: handle 0x0029 flags 0x02 dlen 9 L2CAP(d): cid 0x0040 len 5 [psm 3] RFCOMM(d): UIH: cr 1 dlci 12 pf 1 ilen 0 fcs 0x53 credits 33 > HCI Event: Number of Completed Packets (0x13) plen 5 0000: 01 29 00 01 00 .)... Thanks for your help --=20 Daniel ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users