Return-Path: Message-ID: From: "Albert Huang" To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] Fwd: l2ping problem about "Can't connect: Host is down" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9071_5039849.1143873745053" References: 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: Sat, 1 Apr 2006 01:42:25 -0500 ------=_Part_9071_5039849.1143873745053 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline try it with hcidump -X -V and post the dump. -albert On 3/29/06, zhu yong wrote: > > > > ---------- Forwarded message ---------- > From: zhu yong > Date: Mar 29, 2006 10:36 PM > Subject: l2ping problem about "Can't connect: Host is down" > To: bluez-users@lists.sourceforge.net > > Hi everyone, > > I am working with two bluetooth USB dongles. I use bluez-utils-2.25 > and bluez-libs-2.25 packet. I use redhat9.0 with linux kernel 2.4.20, > I am not familier with kernel update, so I don't use bluez patch to > 2.4.20. > They are connected to the same host. However I cannot l2ping one from > the other. > info as follows: > [root@localhost root]# l2ping -i 00:11:67:20:7e:33 00:11:67:1a:a7:0f > Can't connect: Host is down > > And it looks like they are configured: > [root@localhost root]# hciconfig -a hci0 > hci0: Type: USB > BD Address: 00:11:67:1A:A7:0F ACL MTU: 678:8 SCO MTU: 48:10 > UP RUNNING PSCAN ISCAN INQUIRY > RX bytes:1038 acl:0 sco:0 events:38 errors:0 > TX bytes:923 acl:0 sco:0 commands:38 errors:0 > Features: 0xbf 0xfe 0x8d 0x78 0x08 0x18 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.2 (0x2) HCI Rev: 0x1fe LMP Ver: 1.2 (0x2) LMP Subver: > 0x1fe > Manufacturer: Integrated System Solution Corp. (57) > > [root@localhost root]# hciconfig -a hci1 > hci1: Type: USB > BD Address: 00:11:67:20:7E:33 ACL MTU: 678:8 SCO MTU: 48:10 > UP RUNNING PSCAN ISCAN > RX bytes:724 acl:0 sco:0 events:58 errors:0 > TX bytes:1075 acl:0 sco:0 commands:49 errors:0 > Features: 0xbf 0xfe 0x8d 0x78 0x08 0x18 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 (1)' > Class: 0x3e0100 > Service Classes: Networking, Rendering, Capturing > Device Class: Computer, Uncategorized > HCI Ver: 1.2 (0x2) HCI Rev: 0x1f4 LMP Ver: 1.2 (0x2) LMP Subver: > 0x1f4 > Manufacturer: Integrated System Solution Corp. (57) > > load module as follows: > [root@localhost bluez-utils-2.25]# lsmod > Module Size Used by Not tainted > l2cap 19276 1 > hci_usb 8920 2 > bluez 40132 11 [l2cap hci_usb] > nls_iso8859-1 3516 1 (autoclean) > nls_cp437 5116 1 (autoclean) > vfat 13004 1 (autoclean) > fat 38808 0 (autoclean) [vfat] > ide-cd 35708 0 (autoclean) > cdrom 33728 0 (autoclean) [ide-cd] > parport_pc 19076 1 (autoclean) > lp 8996 0 (autoclean) > parport 37056 1 (autoclean) [parport_pc lp] > autofs 13268 0 (autoclean) (unused) > sis900 16812 1 > ipt_REJECT 3928 6 (autoclean) > iptable_filter 2412 1 (autoclean) > ip_tables 15096 2 [ipt_REJECT iptable_filter] > microcode 4668 0 (autoclean) > keybdev 2944 0 (unused) > mousedev 5492 1 > hid 22148 0 (unused) > input 5856 0 [keybdev mousedev hid] > ehci-hcd 19976 0 (unused) > usb-ohci 21480 0 (unused) > usbcore 78784 1 [hci_usb hid ehci-hcd usb-ohci] > [root@localhost bluez-utils-2.25]# > > Can anyone figure out what"s wrong? > > Thanks in advance, > yong Zhu > ------=_Part_9071_5039849.1143873745053 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline try it with hcidump -X -V and post the dump.

-albert

On 3/29/06, zhu yong <zh= uyong0003@gmail.com> wrote:


---------- Forwarded message ----------
From: zhu yong < zhuyong0003@gmail.com>
Date: Mar 29, 2006 10:36 PM
Subject: l2ping problem about "Can't connect: Host is down"To: bluez-users@list= s.sourceforge.net

Hi everyone,

I am working with two bluetooth USB = dongles. I use=20 bluez-utils-2.25
and bluez-libs-2.25 packet. I use redhat9.0 with linux = kernel 2.4.20,
I am not familier with kernel update, so I don't use blue= z patch to
2.4.20.
They are connected to the same host. However I can= not l2ping one from
the other.
info as follows:
[root@localhost root]# l2ping -i 00:1= 1:67:20:7e:33 00:11:67:1a:a7:0f
Can't connect: Host is down

And i= t looks like they are configured:
[root@localhost root]# hciconfig -a hc= i0
hci0:   Type: USB
       BD = Address: 00:11:67:1A:A7:0F ACL MTU: 678:8 SCO MTU: 48:10
  &nb= sp;    UP RUNNING PSCAN ISCAN INQUIRY
   &= nbsp;   RX bytes:1038 acl:0 sco:0 events:38 errors:0
 &nb= sp;     TX bytes:923 acl:0 sco:0 commands:38 errors:0
       Features: 0xbf 0xfe 0x8d 0x78 0x08= 0x18 0x00 0x00
       Packet type: DM1 DM= 3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
       Link = policy: RSWITCH HOLD SNIFF PARK
       Lin= k mode: SLAVE ACCEPT
       Name: 'BlueZ (= 0)'
       Class: 0x3e0100
  &nb= sp;    Service Classes: Networking, Rendering, Capturing
=        Device Class: Computer, Uncategorized<= br>       HCI Ver: 1.2 (0x2) HCI Rev: 0x1fe L= MP Ver: 1.2 (0x2) LMP Subver: 0x1fe
      = Manufacturer: Integrated System Solution Corp. (57)

[root@localhost root]# hciconfig -a hci1
hci1:   Type:= USB
       BD Address: 00:11:67:20:7E:33 = ACL MTU: 678:8 SCO MTU: 48:10
       UP RU= NNING PSCAN ISCAN
       RX bytes:724 acl:= 0 sco:0 events:58 errors:0
       TX bytes:1075 acl:0 sco:0 commands= :49 errors:0
       Features: 0xbf 0xfe 0x= 8d 0x78 0x08 0x18 0x00 0x00
       Packet = type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
     =   Link policy: RSWITCH HOLD SNIFF PARK
       Link mode: SLAVE ACCEPT
 &= nbsp;     Name: 'BlueZ (1)'
    =    Class: 0x3e0100
       Servic= e Classes: Networking, Rendering, Capturing
    &nbs= p;  Device Class: Computer, Uncategorized
    &= nbsp;  HCI Ver: 1.2 (0x2) HCI Rev: 0x1f4 LMP Ver:=20 1.2 (0x2) LMP Subver: 0x1f4
       Manufac= turer: Integrated System Solution Corp. (57)

load module as follows:=
[root@localhost bluez-utils-2.25]# lsmod
Module   &nb= sp;            =   Size  Used by    Not tainted
l2cap           =        19276   1
hci_usb          &nb= sp;      8920   2
bluez  &n= bsp;            = ;   40132  11  [l2cap hci_usb]
nls_is= o8859-1           3516&nb= sp;  1  (autoclean)
nls_cp437    &nbs= p;          5116   1  (autoclean)
vfat            = ;       13004   1  (autoclean)
fat    &n= bsp;            = ;   38808   0  (autoclean) [vfat]
ide-cd     &nbs= p;           35708   0  (autoclean)
cdrom    =             &nb= sp; 33728   0  (autoclean) [ide-cd]
parport_pc    &nbs= p;        19076   1  = ;(autoclean)
lp           &nb= sp;          8996 &n= bsp; 0  (autoclean)
parport      &nbs= p;         37056   1  (autoclean) [parport_pc lp]
autofs    &= nbsp;            13268   0  (autoclean) (unused)
sis900  &n= bsp;            = ;  16812   1
ipt_REJECT     &nbs= p;        3928   6  (autoclean)
iptable_filter         &nb= sp;2412   1  (autoclean)
ip_tables   =            15096&nbs= p;  2  [ipt_REJECT iptable_filter]
microcode   &nbs= p;           4668   0  (autoclean)
keybdev    = ;             2944   0  (unused)
mousedev    &= nbsp;           5492=    1
hid           &n= bsp;        22148   0  (unused)
input       &nb= sp;           5856   0  [keybdev mousedev hid]
ehci-hcd  = ;             19976   0  (unused)
usb-ohci    =            21480   0  (unused)
usbcore    &= nbsp;           7878= 4   1  [hci_usb hid ehci-hcd usb-ohci]
[root@localhost bluez-utils-2.25]#

Can anyone figure out what&qu= ot;s wrong?

Thanks in advance,
yong Zhu

------=_Part_9071_5039849.1143873745053-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users