public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] hciemu lost its interface after I run att est
Date: Fri, 15 Sep 2006 13:59:03 +0200	[thread overview]
Message-ID: <1158321543.5233.19.camel@localhost> (raw)
In-Reply-To: <44FE86EC.000014.12930@bj163app52.163.com>

Hi,

> hi guy, I experienced one issue, can anybody help? thanks!
> 
> 1. setup 2 virtual hci interface hci0 and hci1
> hciemu localhost:1000
> hciemu localhost:2000
> linux-l20w:~ # hciconfig
> hci0: Type: VHCI
> BD Address: 7F:00:00:01:03:E8 ACL MTU: 192:8 SCO MTU: 64:0
> UP RUNNING PSCAN ISCAN
> RX bytes:0 acl:0 sco:0 events:15 errors:0
> TX bytes:569 acl:0 sco:0 commands:15 errors:0
> 
> hci1: Type: VHCI
> BD Address: 7F:00:00:01:07:D0 ACL MTU: 192:8 SCO MTU: 64:0
> UP RUNNING PSCAN ISCAN
> RX bytes:0 acl:0 sco:0 events:15 errors:0
> TX bytes:569 acl:0 sco:0 commands:15 errors:0
> 
> 2. run attest
> attest 7F:00:00:01:03:E8 10
> the $? is equal 0
> linux-l20w:~ # attest 7F:00:00:01:03:E8 10
> Connecting to 7F:00:00:01:03:E8 on channel 10
> linux-l20w:~ # echo $?
> 0
> Everything is OK until now.
> 
> 3. But hci1 is lost
> But take a look at this:
> linux-l20w:~ # hciconfig
> hci0: Type: VHCI
> BD Address: 7F:00:00:01:03:E8 ACL MTU: 192:8 SCO MTU: 64:0
> UP RUNNING PSCAN ISCAN
> RX bytes:0 acl:15 sco:0 events:22 errors:0
> TX bytes:797 acl:12 sco:0 commands:18 errors:0
> hci1 is lost.
> 
> Otherinfo:
> linux-l20w:~ # uname -r
> 2.6.16.21-38-smp

I have no idea, but you might wanna check hciemu for a segmentation
fault or run it within a debugger.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2006-09-15 11:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-06  8:29 [Bluez-users] hciemu lost its interface after I run att est chenjian
2006-09-15 11:59 ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1158321543.5233.19.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox