From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Tethering the myRIO for use in a UAV Submarine

Trottmpq,

 

Can you also post the output of the follwing command shortly after plugging in the adapter: dmesg | tail -n 20

0 Kudos
Message 11 of 20
(6,027 Views)

here you are

Capture5.PNG

 

thanks again

0 Kudos
Message 12 of 20
(6,024 Views)

ok so further to yesterday I have done a bit more digging and it seems the USB adaptor has some issues with linux anyway. (not ideal) but its not impossible to fix I dont think.

I have found someone that has that had a similar problem (but not on a myRIO) and solved it like this

https://chentiangemalc.wordpress.com/2012/10/22/case-of-the-broken-linux-driver-lenovo-usb-2-0-ether...

Ive downloaded the driver now onto the myRIO, extracted it and found that the standard method of installing the driver is not working

 

#  ./configure 
#  make 
#  make install

 

Is this not available as an option in real time linux? or am I barking up the wrong track entirely

 

0 Kudos
Message 13 of 20
(6,008 Views)

Trottmpq,

 

The primary issues here are that there are no kernel headers or configuration files on the target, let alone the tools needed to compile a kernel module on the target itself. It's probably best to take the approach of getting the kernel source and configuration for the 9068 as it shipped and setup a kernel cross-compilation setup (basically, all that is needed to make that work is to change how you call make to compile the kernel). Once you've gotten that working, it them makes sense to check to see if there's a way to make the cross-compile flow work for the driver that you've located. There are some great resources out there, but you're going to need to get your hands dirty if you want to make the adapter that you've got work.

 

It's probably much, much easier to find an adapter that has better Linux support. Specifically, one that's supported by the kernel configuraiton (accessible on the running system by the /proc/config.gz pseudo-file)

0 Kudos
Message 14 of 20
(6,004 Views)

Yeah I'm inclined to agree. Like I said my linux knowledge is very limited and that could well be beyond me for the moment. 

 

Would you be able to recomend an apropriate adaptor that is available from a UK supplier? 

0 Kudos
Message 15 of 20
(5,999 Views)

Unfortunately, to some extent any recommendations I would make would be speculative, and I am currently away from my (similarly-configured) 9068 to try things out. Appologies for not being more helpful.

0 Kudos
Message 16 of 20
(5,965 Views)

Sorry for the long delay in the followup, I have tested the following adapter successfully:

 

 

http://www.sabrent.com/category/networking/USB-G1000/

0 Kudos
Message 17 of 20
(5,883 Views)

Hi BradM.

 

Sorry for refloating the post, but I'm interested if the adapter worked out of the box or you configured something.

0 Kudos
Message 18 of 20
(5,120 Views)

The adapter worked out-of-the-box. Even showed up in MAX and everything.

Message 19 of 20
(5,116 Views)

Thanks BradM!

0 Kudos
Message 20 of 20
(5,114 Views)