zephyr: nRF52840-PCA10056/59: Cannot bring up HCI0 when using HCI_USB sample

$ lsusb
Bus 002 Device 021: ID 2fe3:0100 
$ hciconfig hci0
hci0:	Type: Primary  Bus: USB
	BD Address: 00:00:00:00:00:00  ACL MTU: 251:19  SCO MTU: 0:0
	DOWN 
	RX bytes:227 acl:0 sco:0 events:18 errors:0
	TX bytes:85 acl:0 sco:0 commands:18 errors:0
$ sudo hciconfig hci0 up
Can't init device hci0: Cannot assign requested address (99)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (11 by maintainers)

Most upvoted comments

I experienced the same issue with hciconfig. Instead I needed to bring up the controller with btmgmt per Nordic’s documentation.

sudo btmgmt --index 0
[hci0]# static-addr FF:02:03:04:05:FF
[hci0]# auto-power

After this, hciconfig correctly showed the device as up.