On Sat, May 30, 2020 at 7:33 AM Stefan Schmidt <stefan@xxxxxxxxxxxxxxxxxx> wrote: > On 29.05.20 21:33, Christopher Friedt wrote: > > On Tue, May 26, 2020 at 3:38 PM Stefan Schmidt > > <stefan@xxxxxxxxxxxxxxxxxx> wrote: > >> On 25.05.20 14:39, Christopher Friedt wrote: > >>> Hi all, > >>> > >>> Bouncing around a bit, but in Zephyr, there is reference to a > >>> "wpanusb" Linux kernel driver here: > >>> > >>> https://docs.zephyrproject.org/latest/samples/net/wpanusb/README.html > >>> > >>> This *might* be the driver in question: > >>> > >>> https://github.com/finikorg/wpanusb > >>> > >>> Just wondering if anyone has made any attempts to submit that, or > >>> would that go directly upstream these days? > >> > >> I had a chance to talk to the author a while back. Not much activity > >> from his side. > > > > I was chatting with him as well on Zephyr Slack and let him know that > > there was significant interest in it going upstream. I worry though > > that it might not be a high priority for his employer. > > > > Is there a linux-wpan IRC? Would be nice to chat in real-time at some point. > > #linux-wpan at Freenode :-) I see some familiar nicks there ;-) > >> For me this needs to be designed in a way where we could have bare > >> metal, Zephyr, RIOT or Contiki based firmware implementing the interface > >> and the driver would just work. The code available is a good start but > >> needs more work. > > > > I'll bring it up in the Zephyr Slack. They want to incorporate it into > > their "tools" repository, but it really should go into Linux at some > > point. > > > We'll probably end up working on this for BB.O - even just having a > > single driver that works for all boards in Zephyr is a pretty large > > step. > > If work is going on for this and you are getting an idea on the level of > abstraction I would be happy to discuss how this should result in a > generic wpanusb driver. Sounds good. If you want to email me directly I can see if I can fit it into the current project, or even see if I can work with the original wpanusb author. > > Lastly, I feel like this is a recurring question, but a number of us > > will likely need a bunch of 802.15.4 USB dongle to speak to our 15.4 > > nodes. I have a couple of ATUSB on my desk, but are there others in > > our group that don't have any idea where to get parts, and likely > > building one from scratch would be more time than they want to take. > > > > Do you know of an off-the-shelf product that works with existing > > drivers upstream? > > ATUSB are still being produced and sold: > http://shop.sysmocom.de/products/atusb > > Sysmocom is doing small batches (100-200 pieces) whenever their stock > goes low. The price is not really making money for them and is mostly > covering their expenses. Its one of their many contributions to help > Open Source projects with hardware. (As you most likely can read from > this I am _very_ happy they are handling all the hardware manufacturing > and logistics for this). > > I am flashing every single one of these atusb's by hand as well (for > free, just to keep the supply alive). :-) That is dedication ;-) Hopefully this winter I should have some dedicated manufacturing space, so I'm looking forward to spinning out a few OSHW boards too. > The available CC2531 dongles would be available for ~10 USD from China, > but there is no driver support (it would be a perfect candidate for the > wpanusb driver with a bare-metal firmware). Excellent! I also found this which seems like it should be supported (with something out of linux-firmware maybe?) http://www.ti.com/tool/CC2531EMK C