APM PLANNER on Chromebook

easy on the spaces, dude :wink:

lsof /dev /ttyUSB0 # is wrong :cry: space between /dev and /ttyUSB0
lsof /dev/ttyUSB0 # is right. :sunglasses:

Hope that helps :geek: :laughing:

:blush: :blush: :blush: :blush: :blush: :blush:

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! :slight_smile:

Check what’s not supported yet

  • Speakers, microphones, cameras, and USB devices are not yet supported.
  • Android Studio is not yet supported, including Emulators and USB debugging.
  • Hardware acceleration is not yet supported, including GPU and video decode.
  • ChromeVox is supported for the default Terminal app, but not yet for other Linux apps.