Skip to contentSkip to conversation

hciemu lost its interface after I run att est

Bluez-users chenjian 2 participants 2 messages Sep 6, 2006 – Sep 15, 2006 Bluetooth drivers

lore
Share & tools
lore

chenjian

author
#0 lore raw

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

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi,

Quoted 37 lines

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.

Quoted 3 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users