On Fri, Apr 03, 2015 at 04:36:47PM +0200, Guido Günther wrote: > Hi, > I'm trying to get 6lowpan to work using bluetooth-next on the above > hardware[1]. I'm currently using bluetooth-next as of > baf880a96859cca79208122e555e7efeabd16e4d . When I do a: > > iwpan dev wpan0 set pan_id 0xbeef > > I get: > > command failed: Device or resource busy (-16) > you can set the pan_id when you interface is down only. > or in detail: > > # src/iwpan --debug dev wpan0 set pan_id 0xbeef > -- Debug: Sent Message: > -------------------------- BEGIN NETLINK MESSAGE --------------------------- > [HEADER] 16 octets > .nlmsg_len = 36 > .nlmsg_type = 21 <0x15> > .nlmsg_flags = 5 <REQUEST,ACK> > .nlmsg_seq = 1428071645 > .nlmsg_pid = 2760 > [PAYLOAD] 20 octets > 0a 00 00 00 08 00 03 00 05 00 00 00 06 00 09 00 ef be .................. > 00 00 .. > --------------------------- END NETLINK MESSAGE --------------------------- > -- Debug: Received Message: > -------------------------- BEGIN NETLINK MESSAGE --------------------------- > [HEADER] 16 octets > .nlmsg_len = 56 > .nlmsg_type = 2 <ERROR> > .nlmsg_flags = 0 <> > .nlmsg_seq = 1428071645 > .nlmsg_pid = 2760 > [ERRORMSG] 20 octets > .error = -16 "Device or resource busy" > [ORIGINAL MESSAGE] 16 octets > .nlmsg_len = 16 > .nlmsg_type = 21 <0x15> > .nlmsg_flags = 5 <REQUEST,ACK> > .nlmsg_seq = 1428071645 > .nlmsg_pid = 2760 > --------------------------- END NETLINK MESSAGE --------------------------- > > This looks similar to > > http://www.spinics.net/lists/linux-wpan/msg01290.html > > but I'm running wpan-tools master already. > > Before digging deeper it'd be great to know if these version should work together or if > another kernel tree should be used otherwise I'll sprink some pr_debugs(). > Cheers, > -- Guido > > [1] https://honk.sigxcpu.org/piki/hw/rpi6lowpan/ - Alex -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html