public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] help me
@ 2004-05-23 14:51 Vitaliy
  2004-05-23 15:01 ` Marcel Holtmann
  0 siblings, 1 reply; 11+ messages in thread
From: Vitaliy @ 2004-05-23 14:51 UTC (permalink / raw)
  To: bluez-users

Really nobody knows how to solve this problem ("can't connect" topic)?
I can post any required info here..



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-users] help me
  2004-05-23 14:51 [Bluez-users] help me Vitaliy
@ 2004-05-23 15:01 ` Marcel Holtmann
  2004-05-23 15:20   ` [Bluez-users] " Vitaliy
  0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2004-05-23 15:01 UTC (permalink / raw)
  To: Vitaliy; +Cc: BlueZ Mailing List

Hi,

> Really nobody knows how to solve this problem ("can't connect" topic)?
> I can post any required info here..

you should better do so, because this posting is useless.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bluez-users] Re: help me
  2004-05-23 15:01 ` Marcel Holtmann
@ 2004-05-23 15:20   ` Vitaliy
  2004-05-23 15:30     ` Marcel Holtmann
  0 siblings, 1 reply; 11+ messages in thread
From: Vitaliy @ 2004-05-23 15:20 UTC (permalink / raw)
  To: bluez-users

Ok.

The problem is that I have laptop and usb-bt dongle, I can initiate any
connection with any device or pairing from laptop, but can't initiate connection
from devices to laptop. Device (Pocket PC for example) simply can't get list of
services from laptop. But! When I use the same dongle with desktop machine
everything works well (with the same /etc/bluetooth/ config).

# uname -a
Linux n-vit 2.4.26_pre6-gentoo #34 Fri Apr 23 18:47:35 MSD 2004 i686 Intel(R)
Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux

On desktop I use 2.6, but here I have to use 2.4 because sound driver works only
with it.

# hciconfig -a
hci0:   Type: USB
 BD Address: 00:03:2F:FF:EA:27 ACL MTU: 192:8  SCO MTU: 64:8
 UP RUNNING PSCAN ISCAN
 RX bytes:99 acl:0 sco:0 events:13 errors:0
 TX bytes:296 acl:0 sco:0 commands:12 errors:0
 Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
 Link policy:
 Link mode: SLAVE ACCEPT
 Name: 'n-vit'
 Class: 0x00010c
 Service Classes: Unspecified
 Device Class: Computer, Laptop
 HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP Subver: 0x1bb
 Manufacturer: Cambridge Silicon Radio (10)

# qpkg -I -i | grep bluez
net-wireless/bluez-libs-2.5 *
net-wireless/bluez-pan-1.1 *
net-wireless/bluez-sdp-1.5 *
net-wireless/bluez-utils-2.5 *

hcid and sdpd are running.






-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-users] Re: help me
  2004-05-23 15:20   ` [Bluez-users] " Vitaliy
@ 2004-05-23 15:30     ` Marcel Holtmann
  2004-05-23 15:48       ` Vitaliy Pronkin
  2004-07-23 11:58       ` [Bluez-users] rfcomm correction Swarup Mohalik
  0 siblings, 2 replies; 11+ messages in thread
From: Marcel Holtmann @ 2004-05-23 15:30 UTC (permalink / raw)
  To: Vitaliy; +Cc: BlueZ Mailing List

Hi,

> The problem is that I have laptop and usb-bt dongle, I can initiate any
> connection with any device or pairing from laptop, but can't initiate connection
> from devices to laptop. Device (Pocket PC for example) simply can't get list of
> services from laptop. But! When I use the same dongle with desktop machine
> everything works well (with the same /etc/bluetooth/ config).
> 
> # uname -a
> Linux n-vit 2.4.26_pre6-gentoo #34 Fri Apr 23 18:47:35 MSD 2004 i686 Intel(R)
> Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux
> 
> On desktop I use 2.6, but here I have to use 2.4 because sound driver works only
> with it.
> 
> # hciconfig -a
> hci0:   Type: USB
>  BD Address: 00:03:2F:FF:EA:27 ACL MTU: 192:8  SCO MTU: 64:8
>  UP RUNNING PSCAN ISCAN
>  RX bytes:99 acl:0 sco:0 events:13 errors:0
>  TX bytes:296 acl:0 sco:0 commands:12 errors:0
>  Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
>  Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>  Link policy:
>  Link mode: SLAVE ACCEPT
>  Name: 'n-vit'
>  Class: 0x00010c
>  Service Classes: Unspecified
>  Device Class: Computer, Laptop
>  HCI Ver: 1.1 (0x1) HCI Rev: 0x1bb LMP Ver: 1.1 (0x1) LMP Subver: 0x1bb
>  Manufacturer: Cambridge Silicon Radio (10)
> 
> # qpkg -I -i | grep bluez
> net-wireless/bluez-libs-2.5 *
> net-wireless/bluez-pan-1.1 *
> net-wireless/bluez-sdp-1.5 *
> net-wireless/bluez-utils-2.5 *
> 
> hcid and sdpd are running.

think about installing bluez-libs-2.7 and bluez-utils-2.7. In that case
you don't need the bluez-pan or bluez-sdp anymore, because they are
deprecated.

Run "hcidump -w <file>" as root and send us the resulting file after you
tried to connect from your PDA.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-users] Re: help me
  2004-05-23 15:30     ` Marcel Holtmann
@ 2004-05-23 15:48       ` Vitaliy Pronkin
  2004-05-23 16:04         ` Marcel Holtmann
  2004-07-23 11:58       ` [Bluez-users] rfcomm correction Swarup Mohalik
  1 sibling, 1 reply; 11+ messages in thread
From: Vitaliy Pronkin @ 2004-05-23 15:48 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

Yes, I know about 2.7, I'll try to install it.

# hcid
# sdpd
# sdptool add SP
Serial Port service registered
# sdptool add LAN
LAN Access service registered
# hcidump
HCIDump - HCI packet analyzer ver 1.8
device: hci0 snap_len: 1028 filter: 0xffffffff
> 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: Connect Complete(0x03) plen 11
< HCI Command: Change Connection Packet Type(0x01|0x000f) plen 4
> HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Connection Packet Type Changed(0x1d) plen 5
> HCI Event: Max Slots Change(0x1b) plen 3
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x004d
< ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x004d result 0 status 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 20
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
    MTU 512 FlushTO 65535
< ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x004d flags 0x0000 result 0 clen 0
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x004d flags 0x0000 clen 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x002a flags 0x02 dlen 17
    L2CAP(d): cid 0x40 len 13 [psm 1]
        SDP SS Req: tid 0x0 len 0x8
          pat uuid-16 0x1002 (PubBrwsGrp)
          max 0x14
          cont 00
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x004d
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x004d
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x004e
< ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x004e result 0 status 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 20
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
    MTU 512 FlushTO 65535
< ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x004e flags 0x0000 result 0 clen 0
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x004e flags 0x0000 clen 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x002a flags 0x02 dlen 17
    L2CAP(d): cid 0x40 len 13 [psm 1]
        SDP SS Req: tid 0x0 len 0x8
          pat uuid-16 0x1002 (PubBrwsGrp)
          max 0x14
          cont 00
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x004e
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x004e
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Disconn Complete(0x05) plen 4

And at this moment PDA says it can't find any usable service.


# cat /etc/bluetooth/hcid.conf
options {
 autoinit yes;
 security auto;
 pairing multi;
 pin_helper /usr/lib/kdebluetooth/kbluepin;
}
 
device {
 name "%h";
 class 0x10C;
 #pkt_type DH1,DM1,HV1;
 iscan enable; pscan enable;
 lm accept,master;
 lp none;
#       auth enable;
#       encrypt enable;
}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-users] Re: help me
  2004-05-23 15:48       ` Vitaliy Pronkin
@ 2004-05-23 16:04         ` Marcel Holtmann
  2004-05-23 16:12           ` Vitaliy Pronkin
  0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2004-05-23 16:04 UTC (permalink / raw)
  To: Vitaliy Pronkin; +Cc: BlueZ Mailing List

Hi,

> HCIDump - HCI packet analyzer ver 1.8
> device: hci0 snap_len: 1028 filter: 0xffffffff
> > 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: Connect Complete(0x03) plen 11
> < HCI Command: Change Connection Packet Type(0x01|0x000f) plen 4
> > HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
> > HCI Event: Command Status(0x0f) plen 4
> > HCI Event: Connection Packet Type Changed(0x1d) plen 5
> > HCI Event: Max Slots Change(0x1b) plen 3
> > ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Connect req: psm 1 scid 0x004d
> < ACL data: handle 0x002a flags 0x02 dlen 16
>     L2CAP(s): Connect rsp: dcid 0x0040 scid 0x004d result 0 status 0
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > ACL data: handle 0x002a flags 0x02 dlen 20
>     L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
>     MTU 512 FlushTO 65535
> < ACL data: handle 0x002a flags 0x02 dlen 14
>     L2CAP(s): Config rsp: scid 0x004d flags 0x0000 result 0 clen 0
> < ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Config req: dcid 0x004d flags 0x0000 clen 0
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > ACL data: handle 0x002a flags 0x02 dlen 14
>     L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> > ACL data: handle 0x002a flags 0x02 dlen 17
>     L2CAP(d): cid 0x40 len 13 [psm 1]
>         SDP SS Req: tid 0x0 len 0x8
>           pat uuid-16 0x1002 (PubBrwsGrp)
>           max 0x14
>           cont 00
> > ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Disconn req: dcid 0x0040 scid 0x004d
> < ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x004d
> > HCI Event: Number of Completed Packets(0x13) plen 5

this looks like a problem in the sdpd. Please install the one from
bluez-utils-2.7 and try again. Is your laptop a big endian machine?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: help me
  2004-05-23 16:04         ` Marcel Holtmann
@ 2004-05-23 16:12           ` Vitaliy Pronkin
  2004-05-23 22:33             ` [Bluez-users] " Marcel Holtmann
  0 siblings, 1 reply; 11+ messages in thread
From: Vitaliy Pronkin @ 2004-05-23 16:12 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: BlueZ Mailing List

I just installed libs and utils ver 2.7.. But getting the same output
from hcidump:

# hcidump
HCIDump - HCI packet analyzer ver 1.8
device: hci0 snap_len: 1028 filter: 0xffffffff
> 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: Change Connection Packet Type(0x01|0x000f) plen 4
> HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Connection Packet Type Changed(0x1d) plen 5
> HCI Event: Max Slots Change(0x1b) plen 3
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0045
< ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0045 result 0 status 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 20
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
    MTU 512 FlushTO 65535
< ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0045 flags 0x0000 result 0 clen 0
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0045 flags 0x0000 clen 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x002a flags 0x02 dlen 17
    L2CAP(d): cid 0x40 len 13 [psm 1]
        SDP SS Req: tid 0x0 len 0x8
          pat uuid-16 0x1002 (PubBrwsGrp)
          max 0x14
          cont 00
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0045
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0045
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0046
< ACL data: handle 0x002a flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0046 result 0 status 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 20
    L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
    MTU 512 FlushTO 65535
< ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0046 flags 0x0000 result 0 clen 0
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0046 flags 0x0000 clen 0
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Number of Completed Packets(0x13) plen 5
> ACL data: handle 0x002a flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> ACL data: handle 0x002a flags 0x02 dlen 17
    L2CAP(d): cid 0x40 len 13 [psm 1]
        SDP SS Req: tid 0x0 len 0x8
          pat uuid-16 0x1002 (PubBrwsGrp)
          max 0x14
          cont 00
> ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0046
< ACL data: handle 0x002a flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0046
> HCI Event: Number of Completed Packets(0x13) plen 5
> HCI Event: Disconn Complete(0x05) plen 4


My laptop is on standard Intel Pentium M processor.
What more info may help you?

Regards,
Vitaliy

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bluez-users] Re: help me
  2004-05-23 16:12           ` Vitaliy Pronkin
@ 2004-05-23 22:33             ` Marcel Holtmann
       [not found]               ` <1085360239.5329.19.camel@n-vit>
  0 siblings, 1 reply; 11+ messages in thread
From: Marcel Holtmann @ 2004-05-23 22:33 UTC (permalink / raw)
  To: Vitaliy Pronkin; +Cc: BlueZ Mailing List

Hi,

> I just installed libs and utils ver 2.7.. But getting the same output
> from hcidump:
> 
> # hcidump
> HCIDump - HCI packet analyzer ver 1.8
> device: hci0 snap_len: 1028 filter: 0xffffffff
> > 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: Change Connection Packet Type(0x01|0x000f) plen 4
> > HCI Event: Page Scan Repetition Mode Change(0x20) plen 7
> > HCI Event: Command Status(0x0f) plen 4
> > HCI Event: Connection Packet Type Changed(0x1d) plen 5
> > HCI Event: Max Slots Change(0x1b) plen 3
> > ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Connect req: psm 1 scid 0x0045
> < ACL data: handle 0x002a flags 0x02 dlen 16
>     L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0045 result 0 status 0
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > ACL data: handle 0x002a flags 0x02 dlen 20
>     L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
>     MTU 512 FlushTO 65535
> < ACL data: handle 0x002a flags 0x02 dlen 14
>     L2CAP(s): Config rsp: scid 0x0045 flags 0x0000 result 0 clen 0
> < ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Config req: dcid 0x0045 flags 0x0000 clen 0
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > ACL data: handle 0x002a flags 0x02 dlen 14
>     L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> > ACL data: handle 0x002a flags 0x02 dlen 17
>     L2CAP(d): cid 0x40 len 13 [psm 1]
>         SDP SS Req: tid 0x0 len 0x8
>           pat uuid-16 0x1002 (PubBrwsGrp)
>           max 0x14
>           cont 00
> > ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Disconn req: dcid 0x0040 scid 0x0045
> < ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0045
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Connect req: psm 1 scid 0x0046
> < ACL data: handle 0x002a flags 0x02 dlen 16
>     L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0046 result 0 status 0
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > ACL data: handle 0x002a flags 0x02 dlen 20
>     L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 8
>     MTU 512 FlushTO 65535
> < ACL data: handle 0x002a flags 0x02 dlen 14
>     L2CAP(s): Config rsp: scid 0x0046 flags 0x0000 result 0 clen 0
> < ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Config req: dcid 0x0046 flags 0x0000 clen 0
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > ACL data: handle 0x002a flags 0x02 dlen 14
>     L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 0
> > ACL data: handle 0x002a flags 0x02 dlen 17
>     L2CAP(d): cid 0x40 len 13 [psm 1]
>         SDP SS Req: tid 0x0 len 0x8
>           pat uuid-16 0x1002 (PubBrwsGrp)
>           max 0x14
>           cont 00
> > ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Disconn req: dcid 0x0040 scid 0x0046
> < ACL data: handle 0x002a flags 0x02 dlen 12
>     L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0046
> > HCI Event: Number of Completed Packets(0x13) plen 5
> > HCI Event: Disconn Complete(0x05) plen 4
> 
> 
> My laptop is on standard Intel Pentium M processor.
> What more info may help you?

there must be a bug in the sdpd that we don't know of, because the sdpd
has to answer the SDP SS Req instead of disconnecting. However I have no
idea why this happens. Please use another device to browse the SDP
database of your notebook.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bluez-users] Re: help me
       [not found]               ` <1085360239.5329.19.camel@n-vit>
@ 2004-05-24  5:48                 ` Marcel Holtmann
  0 siblings, 0 replies; 11+ messages in thread
From: Marcel Holtmann @ 2004-05-24  5:48 UTC (permalink / raw)
  To: Vitaliy Pronkin; +Cc: BlueZ Mailing List

Hi,

> It seems that I found the problem. 
> Don't know why, but select() in main loop of sdpd never returns, even if
> there's some data in socket.
> I implemented some temporary solution to test - I created two threads,
> one for l2cap sockets and one for local. Each of them runs accept() in a
> loop. And in main loop I left only check_active(). So now I don't use
> select() function and it works - at least PDA can get list of services
> from laptop.

I read something about non working select() on LKML, but I thought this
was 2.6. However you should update your kernel to the latest -pre from
Marcelo and or use the latest stable with my -mh patch.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bluez-users] rfcomm correction
  2004-05-23 15:30     ` Marcel Holtmann
  2004-05-23 15:48       ` Vitaliy Pronkin
@ 2004-07-23 11:58       ` Swarup Mohalik
  2004-07-23 12:18         ` Marcel Holtmann
  1 sibling, 1 reply; 11+ messages in thread
From: Swarup Mohalik @ 2004-07-23 11:58 UTC (permalink / raw)
  To: BlueZ Mailing List

Please ignore my earlier mail. There was a small but serious typo.
 
I have bluez with bluez-utils-2.7 on two RH 8.0 systems (lx1 and lx2).

When I start rctest -s on lx1 without starting rctest -r on lx2, lx2 hangs
and I have to switch it off and on to restart. This happens EVERY TIME
I try this.  (In the previous mail, I had messed up the -r and -s)

This does not happen when I run l2test in any way. Does it prove that
there is a problem with RFCOMM? I have not seen this problem in
the mailing list. If I have missed it, please inform.

I have not tried the rfcomm transfer the other way because I share lx1
with others.

Thanks in anticipation,
Swarup




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Bluez-users] rfcomm correction
  2004-07-23 11:58       ` [Bluez-users] rfcomm correction Swarup Mohalik
@ 2004-07-23 12:18         ` Marcel Holtmann
  0 siblings, 0 replies; 11+ messages in thread
From: Marcel Holtmann @ 2004-07-23 12:18 UTC (permalink / raw)
  To: mohalik; +Cc: BlueZ Mailing List

Hi Swarup,

> When I start rctest -s on lx1 without starting rctest -r on lx2, lx2 hangs
> and I have to switch it off and on to restart. This happens EVERY TIME
> I try this.  (In the previous mail, I had messed up the -r and -s)

as I said before, we need to know what kernel you are using and if
possible, what's the output of "hcidump -x" as root.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-07-23 12:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-23 14:51 [Bluez-users] help me Vitaliy
2004-05-23 15:01 ` Marcel Holtmann
2004-05-23 15:20   ` [Bluez-users] " Vitaliy
2004-05-23 15:30     ` Marcel Holtmann
2004-05-23 15:48       ` Vitaliy Pronkin
2004-05-23 16:04         ` Marcel Holtmann
2004-05-23 16:12           ` Vitaliy Pronkin
2004-05-23 22:33             ` [Bluez-users] " Marcel Holtmann
     [not found]               ` <1085360239.5329.19.camel@n-vit>
2004-05-24  5:48                 ` Marcel Holtmann
2004-07-23 11:58       ` [Bluez-users] rfcomm correction Swarup Mohalik
2004-07-23 12:18         ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox