Subject: Re: Does bluetooth work with amd64?
To: Iain Hibbert <plunky@rya-online.net>
From: Juan RP <juan@xtrarom.org>
List: port-amd64
Date: 05/15/2007 22:51:16
This is a multi-part message in MIME format.
--Multipart=_Tue__15_May_2007_22_51_16_+0200_cExunhxyGzYdIRCo
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Tue, 15 May 2007 19:23:42 +0100 (BST)
Iain Hibbert <plunky@rya-online.net> wrote:
> Hm, this does not show the initial connection .. can you do this then;
> 'sudo hcidump -w query.out' and send the query.out file..? (I can print it
> out better in that case..)
Sure, that's the output of
"sdpquery -d ubt0 -a xtraeme Browse" and
"obexftp -b xtraeme -l":
$ sudo hcidump -r output.raw
HCIDump - HCI packet analyzer ver 1.5
> 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: 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: Connect Complete(0x03) plen 11
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
> HCI Event: Command Complete(0x0e) plen 6
> HCI Event: Max Slots Change(0x1b) plen 3
> ACL data: handle 0x0003 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
< ACL data: handle 0x0003 flags 0x02 dlen 24
< ACL data: handle 0x0003 flags 0x02 dlen 20
> HCI Event: Number of Completed Packets(0x13) plen 5
> 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: 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: Connect Complete(0x03) plen 11
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
> HCI Event: Command Complete(0x0e) plen 6
> HCI Event: Max Slots Change(0x1b) plen 3
> ACL data: handle 0x0004 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
< ACL data: handle 0x0004 flags 0x02 dlen 24
< ACL data: handle 0x0004 flags 0x02 dlen 20
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Disconn Complete(0x05) plen 4
< HCI Command: Create Connection(0x01|0x0005) plen 13
> 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: Connect Complete(0x03) plen 11
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
< ACL data: handle 0x0005 flags 0x02 dlen 20
> HCI Event: Command Complete(0x0e) plen 6
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Max Slots Change(0x1b) plen 3
> HCI Event: Disconn Complete(0x05) plen 4
< HCI Command: Create Connection(0x01|0x0005) plen 13
> 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: Connect Complete(0x03) plen 11
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
< ACL data: handle 0x0006 flags 0x02 dlen 20
> HCI Event: Command Complete(0x0e) plen 6
> HCI Event: Max Slots Change(0x1b) plen 3
> HCI Event: Number of Completed Packets(0x13) plen 5
< HCI Command: Disconnect(0x01|0x0006) plen 3
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Disconn Complete(0x05) plen 4
< HCI Command: Create Connection(0x01|0x0005) plen 13
> 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: Connect Complete(0x03) plen 11
< HCI Command: Write Link Policy Settings(0x02|0x000d) plen 4
< ACL data: handle 0x0007 flags 0x02 dlen 20
> HCI Event: Command Complete(0x0e) plen 6
> HCI Event: Max Slots Change(0x1b) plen 3
> HCI Event: Number of Completed Packets(0x13) plen 5
$
And attached.
> its interesting that the command/event seems to work but that the ACL does
> nothing. Since the ACL is using bulk pipes, there may be a problem with
> the USB. what does the dmesg show wrt the ubt device and its parents?
Nothing strange AFAIK... I tried disabling the EHCI function in BIOS,
and there's not any change.
uhci0 at pci0 dev 29 function 0: Intel 82801GB/GR USB UHCI Controller (rev.
0x01) uhci0: interrupting at ioapic0 pin 20 (irq 14)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801GB/GR USB UHCI Controller (rev.
0x01) uhci1: interrupting at ioapic0 pin 17 (irq 10)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801GB/GR USB UHCI Controller (rev.
0x01) uhci2: interrupting at ioapic0 pin 18 (irq 15)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801GB/GR USB UHCI Controller (rev.
0x01) uhci3: interrupting at ioapic0 pin 19 (irq 5)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ubt0 at uhub2 port 2
ubt0: SiW SiW, rev 1.10/15.00, addr
--
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish
--Multipart=_Tue__15_May_2007_22_51_16_+0200_cExunhxyGzYdIRCo
Content-Type: application/octet-stream;
name="output.raw"
Content-Disposition: attachment;
filename="output.raw"
Content-Transfer-Encoding: base64
DQABAADs///g////BAQKGq73uBYABAJaAQsAAAAA7P//4P///wEJBAcarve4FgAABwABAADs///g
////BA8EAAEJBAsAAQAA7P//4P///wQSCAAarve4FgAACQABAADs///g////BBcGGq73uBYAGgAA
AADs///g////AQsEFhqu97gWAOq92KVv9XGTNr7AyXfYE4INAAEAAOz//+D///8EDgoBCwQAGq73
uBYADgABAADs///g////BAMLAAMAGq73uBYAAQEIAAAAAOz//+D///8BDQgEAwABAAkAAQAA7P//
4P///wQOBgENCAADAAYAAQAA7P//4P///wQbAwMABREAAQAA7P//4P///wIDIAwACAABAAJeBAAB
AEAAHQAAAADs///g////AgMgGAAQAAEAA14IAK73uBYAAEAAQABAAAAAAAAZAAAAAOz//+D///8C
AyAUAAwAAQAEAQQArve4FgAAQABAAAAACAABAADs///g////BBMFAQMAAQAIAAEAAOz//+D///8E
EwUBAwABAAcAAQAA7P//4P///wQFBAADABMNAAEAAOz//+D///8EBAoarve4FgAEAloBCwAAAADs
///g////AQkEBxqu97gWAAAHAAEAAOz//+D///8EDwQAAQkECwABAADs///g////BBIIABqu97gW
AAAJAAEAAOz//+D///8EFwYarve4FgAaAAAAAOz//+D///8BCwQWGq73uBYA6r3YpW/1cZM2vsDJ
d9gTgg0AAQAA7P//4P///wQOCgELBAAarve4FgAOAAEAAOz//+D///8EAwsABAAarve4FgABAQgA
AAAA7P//4P///wENCAQEAAEACQABAADs///g////BA4GAQ0IAAQABgABAADs///g////BBsDBAAF
EQABAADs///g////AgQgDAAIAAEAAl8EAAEAQAAdAAAAAOz//+D///8CBCAYABAAAQADXwgArve4
FgAFQABBAEAAAAAAABkAAAAA7P//4P///wIEIBQADAABAAQBBACu97gWAAVAAEAAAAAIAAEAAOz/
/+D///8EEwUBBAABAAgAAQAA7P//4P///wQTBQEEAAEABwABAADs///g////BAUEAAQAExEAAAAA
7P//4P///wEFBA0arve4FgAe/wEAsSUBBwABAADs///g////BA8EAAEFBAkAAQAA7P//4P///wQX
Bhqu97gWABoAAAAA7P//4P///wELBBYarve4FgDqvdilb/Vxkza+wMl32BOCDQABAADs///g////
BA4KAQsEABqu97gWAA4AAQAA7P//4P///wQDCwAFABqu97gWAAEBCAAAAADs///g////AQ0IBAUA
AQAZAAAAAOz//+D///8CBSAUAAwAAQACAQQAAAAAAAAAAAABAEIACQABAADs///g////BA4GAQ0I
AAUACAABAADs///g////BBMFAQUAAQAGAAEAAOz//+D///8EGwMFAAUHAAEAAOz//+D///8EBQQA
BQATEQAAAADs///g////AQUEDRqu97gWAB7/AQCxJQEHAAEAAOz//+D///8EDwQAAQUECQABAADs
///g////BBcGGq73uBYAGgAAAADs///g////AQsEFhqu97gWAOq92KVv9XGTNr7AyXfYE4INAAEA
AOz//+D///8EDgoBCwQAGq73uBYADgABAADs///g////BAMLAAYAGq73uBYAAQEIAAAAAOz//+D/
//8BDQgEBgABABkAAAAA7P//4P///wIGIBQADAABAAIBBAAAAAAAAAAAAAEAQgAJAAEAAOz//+D/
//8EDgYBDQgABgAGAAEAAOz//+D///8EGwMGAAUIAAEAAOz//+D///8EEwUBBgABAAcAAAAA7P//
4P///wEGBAMGABMHAAEAAOz//+D///8EDwQAAQYEBwABAADs///g////BAUEAAYAFhEAAAAA7P//
4P///wEFBA0arve4FgAe/wEAsSUBBwABAADs///g////BA8EAAEFBAkAAQAA7P//4P///wQXBhqu
97gWABoAAAAA7P//4P///wELBBYarve4FgDqvdilb/Vxkza+wMl32BOCDQABAADs///g////BA4K
AQsEABqu97gWAA4AAQAA7P//4P///wQDCwAHABqu97gWAAEBCAAAAADs///g////AQ0IBAcAAQAZ
AAAAAOz//+D///8CByAUAAwAAQACAQQAAAAAAAAAAAABAEIACQABAADs///g////BA4GAQ0IAAcA
BgABAADs///g////BBsDBwAFCAABAADs///g////BBMFAQcAAQA=
--Multipart=_Tue__15_May_2007_22_51_16_+0200_cExunhxyGzYdIRCo--