easy on the spaces, dude
lsof /dev /ttyUSB0 # is wrong space between /dev and /ttyUSB0
lsof /dev/ttyUSB0 # is right.
Hope that helps :geek:
easy on the spaces, dude
lsof /dev /ttyUSB0 # is wrong space between /dev and /ttyUSB0
lsof /dev/ttyUSB0 # is right.
Hope that helps :geek:
And the results? (No hurry, I must sleep now :-p)
Sounds like a good idea to me too!!!
(trusty)davfar@localhost:~$ ls /dev/tty*
/dev/tty /dev/tty8 /dev/ttyS0 /dev/ttyS1 /dev/ttyS2 /dev/ttyS3 /dev/ttyUSB0
(trusty)davfar@localhost:~$ lsof /dev/ttyUSB0
lsof: WARNING: canât stat() ext4 file system /mnt/stateful_partition
Output information may be incomplete.
lsof: WARNING: canât stat() ext4 file system /usr/share/oem
Output information may be incomplete.
lsof: WARNING: canât stat() ext4 file system /mnt/stateful_partition/encrypted
Output information may be incomplete.
lsof: WARNING: canât stat() ext4 file system /home/chronos
Output information may be incomplete.
lsof: WARNING: canât stat() debugfs file system /run/debugfs_gpu
Output information may be incomplete.
lsof: WARNING: canât stat() ecryptfs file system /home/.shadow/fb34887ee44215900dfd9ed0816bd07d05c5d92e/mount
Output information may be incomplete.
lsof: WARNING: canât stat() ecryptfs file system /home/chronos/user
Output information may be incomplete.
lsof: WARNING: canât stat() ecryptfs file system /home/user/fb34887ee44215900dfd9ed0816bd07d05c5d92e
Output information may be incomplete.
lsof: WARNING: canât stat() ecryptfs file system /home/chronos/u-fb34887ee44215900dfd9ed0816bd07d05c5d92e
Output information may be incomplete.
lsof: WARNING: canât stat() ecryptfs file system /home/root/fb34887ee44215900dfd9ed0816bd07d05c5d92e
Output information may be incomplete.
lsof: WARNING: canât stat() tmpfs file system /run/crw
Output information may be incomplete.
(trusty)davfar@localhost:~$
Is that showing whats expected?
Tried running sudo ampplanner2 (from davfar)
and it connectsâŚ
Again due to my linux ignorance, does this point out any issues? Does âsuper userâ have the same permissions as runnung from root?
The user ârootâ is normally the name given to the user account with superuser privilegesâso really you are doing the same with sudo as running from root.
Just curious, what is the output from the following command?
$ ls -la /dev/ttyUSB0
Hi carpy,
(trusty)davfar@localhost:~$ ls -la /dev/ttyUSB0
ls: cannot access /dev/ttyUSB0: No such file or directory
(trusty)davfar@localhost:~$
Sorry, I forgot to tell you to plug your telemetry radio in first before you execute the command.
Hereâs what mine looks like:
dave@rpi2:~$ ls -la /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Sep 15 22:46 /dev/ttyUSB0
(trusty)davfar@localhost:~$ ls -la /dev/ttyUSB0
crw-rw---- 1 root serial 188, 0 Sep 15 23:50 /dev/ttyUSB0
(trusty)davfar@localhost:~$
HmmâŚthatâs interesting.
The group we are dealing with here is not âdialoutâ, itâs âserialâ. Try adding group âserialâ to your user and that should do it.
YA!!! HeyâŚworks!!!
Thanks alot for help and direction!
Seems like a simple issue, probably is for you and others with Linux knowledge. Definitely would be good winter project to learn more about it.
Thanks again, appreciate it!!!
Dave
Iâm trying to do the same thing, but getting errors about qtquickwidgets. Did you have to upgrade from 5.2.1 to 5.6.4? I canât seem to figure out how to do this on Trusty
No, you need to go to 5.4.2. You can try this package built for 14.04.4 and see if that works. It was built with static libs of Qt 5.4.2:
http://discuss.ardupilot.org/t/install-apm-planner-2-0-20-on-ubuntu-14-04-2/8486/3?u=carpy
Seems as if the linux support it self doesnât do the following as per google yet!