Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

USB XNet Device Alias Missing on RT Target

Solved!
Go to solution

TLDR: Is the USB 8502 supposed to work on Linux RT targets?  The one I have to test with is only showing RAW device in MAX.

 

EDIT: Oh no I think I found my answer. Why can't the USB devices be supported on Linux RT?  And why isn't this listed in the data sheet?  I had to go searching for various compatibilities tables and release notes.  And the only place I found the answer was on a topic about Linux Desktop development which I am not trying to do at all, and having a line under the Additional Information.

 

Is there a reason that a USB-8502 XNet device might only show up as a raw device, and not have the alias information populated for a particular target?  I ask because I'm doing some preliminary testing and I noticed that one of my targets doesn't enumerate the USB device in MAX.  Here is MAX on my local host machine with the USB device plugged in which shows CAN11 and CAN 12:

 

XNet Device Present.png

 

And here is MAX looking at the remote Linux RT device with it plugged in there.

 

XNet Device Missing.png

 

I wasn't sure if the best place to ask about it was here or over on the Linux RT subforum.  Are these USB XNet devices supported on Linux RT?  It seems like they are but I'm at home at the moment and don't have access to another variant to test on.  Thanks.

0 Kudos
Message 1 of 7
(2,923 Views)

Bump.

 

"I think I found my answer. Why can't the USB devices be supported on Linux RT? 

 

And why isn't this listed in the data sheet?  I had to go searching for various compatibilities tables and release notes.  And the only place I found the answer was on a topic about Linux Desktop development which I am not trying to do at all, and having a line under the Additional Information."

0 Kudos
Message 2 of 7
(2,862 Views)

"Why can't the USB devices be supported on Linux RT?"

0 Kudos
Message 3 of 7
(2,797 Views)

Having now passed the 4 month anniversary of talking to myself here, having sent out PMs, and bumping this thread multiple times, I start to guess reasons why no one from NI has replied.  I have several theories but they can all be eliminated if just one employee of NI can come here and answer my questions.

 

  • Can I run the 8502 on a Linux RT system?
  • If not, why not?
  • Also If not, then can the documentation be made more clear to illustrate this limitation?
0 Kudos
Message 4 of 7
(2,653 Views)
Solution
Accepted by topic author Hooovahh

Hi Hooovahh,

 

  • The USB-8502 and 8501 are not yet supported on Linux RT. 
  • We are aware of the gap and have plans to address it, but it is not currently in development today. So I can't share a timeframe. But if it's critical to your development or deployment work I would like to get into a chat to understand the situation better.
  • For reference, the best single source for understanding which hardware is supported is the NI Linux Real-Time Operating System PXI Hardware Support page.

@Hooovahh, I would love to get a better idea of how you were searching for this information so that we could target some improvements to the findability/usability of the hardware support page. 

  1. Could you take a look at that page and see if you feel like it answers your question about 8502 support clearly?
  2. Could you help me understand the search terms you used and/or which documents you were looking through that didn't help you find what you were looking for?

 

Thanks,

Daniel Ousley 

Product Owner - NI Linux Driver SW

0 Kudos
Message 5 of 7
(2,606 Views)

As a developer the first thing I might look at is the support for the driver level software on the platform I want.  If I go to the readme on the XNet driver here.  I see that Linux RT is a supported platform for XNet.  On that same page I see the 8502 as supported hardware.  If I look at the known issues page there is something about the 850x device on Phar Lap but RT Linux isn't mentioned.  The next place I might look is the 850x device page itself.  Here is the 8502 where it doesn't mention supported operating systems or environments.

 

So I have a driver that is supported on my target, I have no known issues on my target, and the hardware doesn't specify any target limitations.  This lead me to believe it would be supported because other XNet devices that are supported on my target also don't explicitly state what will and won't work.

 

As for my setup. While my screenshot was of a PXI chassis I also have a NI-9136 which is an RT cDAQ device and that wasn't listed on the PXI support page because it isn't a PXI.  That page you linked to also is pretty hard to use with a drop down of many devices, but no scroll bar.  Beyond that though once I pick a device I'm unsure how this helps.  I picked the PXIe-8861 which is an x86 based Linux RT system, and all it tells me is that the PXI Platform Services 19.0 is needed.  Okay but where does this say what hardware is and isn't supported?  How is that page supposed to tell me that the 8502 isn't supported?  I went to the PXI Platform Services manual and it doesn't list supported hardware.

 

My use case is really just we have some Linux RT targets, and we'd like to support more XNet ports if needed.  PXI and C-Series slots are often at a premium, and if I can design a system to use a USB XNet device and free up a slot then that gives me extra flexibility. 

0 Kudos
Message 6 of 7
(2,603 Views)

Thanks for the detailed feedback on both topics.

0 Kudos
Message 7 of 7
(2,599 Views)