linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] local name in hciemu
@ 2004-03-10 15:01 Nelson Murilo
  2004-03-12 10:33 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Nelson Murilo @ 2004-03-10 15:01 UTC (permalink / raw)
  To: bluez-devel


Hi,

I try use hciemu and try set localname of interface.

If I try:
hciemu  -n 00:07:E0:0D:C3:48
hciemu[9823]: HCI Emulation daemon ver 1.0 started

And run hciconfig I get: 
hciconfig hci0
hci0:   Type: VHCI
        BD Address: 00:07:E0:0D:C3:48 ACL MTU: 1000:20  SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:0 acl:0 sco:0 events:20 errors:0
        TX bytes:1332 acl:0 sco:0 commands:20 errors:0

But hciconfig -a failed :
hci0:   Type: VHCI
        BD Address: 00:07:E0:0D:C3:48 ACL MTU: 1000:20  SCO MTU: 64:0
        UP RUNNING PSCAN ISCAN
        RX bytes:0 acl:0 sco:0 events:20 errors:0
        TX bytes:1332 acl:0 sco:0 commands:20 errors:0
        Features: 0xff 0xff 0xff 0xff 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
Can't read local name on hci0. Input/output error(5)

If I try set (hciconfig hci0 name "localname")  I get same error.

Any hints? 

./nelson -murilo



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] local name in hciemu
  2004-03-10 15:01 [Bluez-devel] local name in hciemu Nelson Murilo
@ 2004-03-12 10:33 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-03-12 10:33 UTC (permalink / raw)
  To: Nelson Murilo; +Cc: bluez-devel

Hi Nelson,

> I try use hciemu and try set localname of interface.

maybe hciemu don't supports reading and writing of the device name.
Check the source code.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2004-03-12 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 15:01 [Bluez-devel] local name in hciemu Nelson Murilo
2004-03-12 10:33 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).