Re: wpanusb?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 29.05.20 21:33, Christopher Friedt wrote:
Hi Stefan!

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 :-)

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 agree mostly. Of course each RTOS has their own headers, way of
declaring things, etc, but for the most part it could be platform
independent.

I would still expect that each RTOS has their own firmware to adapt their ieee802154 abstraction and supported hw to the generic wpanusb driver. The USB interface they expose would be the same, and behave the same though.

I was, and somehow still am, planning on working on this. But with the
world turned upside down there was always something else to look at
before. Its on my list, just not very high. If anyone wants to have a
stab at this feel free and let me know.

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.

I agree.

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.

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). :-)

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).

If the need it not USB but SPI there are plenty to choose from.

regards
Stefan Schmidt



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux