APM Planner 2.0.18 on Raspberry Pi 2 with Ubuntu Mate 15.04

Hi ! I am able to install apmplanner2 on my RPi 2 but when I am trying to run it, the first logo screen comes, it stays for few seconds and then goes out and nothing happen thereafter.

I am pasting below the log taken from terminal window, pls support to resolve;

administrator@Rpi:~/Desktop$ cd\

administrator@Rpi:~$ apmplanner2
libEGL warning: DRI2: failed to authenticate
/usr/share/themes/Yuyo-Dark/gtk-2.0/Apps/libreoffice.rc:40: Unable to locate image file in pixmap_path: “Entry/entry-border-bg-solid.png”
/usr/share/themes/Yuyo-Dark/gtk-2.0/Apps/libreoffice.rc:43: Background image options specified without filename
/usr/share/themes/Yuyo-Dark/gtk-2.0/Apps/libreoffice.rc:49: Unable to locate image file in pixmap_path: “Entry/entry-border-active-bg-solid.png”
/usr/share/themes/Yuyo-Dark/gtk-2.0/Apps/libreoffice.rc:52: Background image options specified without filename
INFO 2015-08-14T13:13:50.471 QGCCore::initialize()
INFO 2015-08-14T13:13:50.473 Current Build Info
INFO 2015-08-14T13:13:50.473 Git Hash: 51b6aa9218a0042744c31a7ea6f03752e5c9baa9
INFO 2015-08-14T13:13:50.473 Git Commit: 2.0.18-DEV
INFO 2015-08-14T13:13:50.473 APPLICATION_NAME: "APM Planner"
INFO 2015-08-14T13:13:50.474 APPLICATION_VERSION: "v2.0.18"
INFO 2015-08-14T13:13:50.474 APP_PLATFORM: ubuntu32
INFO 2015-08-14T13:13:50.474 APP_TYPE: stable
INFO 2015-08-14T13:13:50.800 Start Link Manager
DEBUG 2015-08-14T13:13:50.801 Create MAVLinkDecoder: MAVLinkDecoder(0x6fac3008)
INFO 2015-08-14T13:13:50.810 Start UAS Manager
DEBUG 2015-08-14T13:13:51.216 Creating MainWindow
INFO 2015-08-14T13:13:51.773 Creating SubMainWindow: SubMainWindow(0x1945920)
INFO 2015-08-14T13:13:51.774 setting objectName: "VIEW_MISSION"
INFO 2015-08-14T13:13:52.013 Creating SubMainWindow: SubMainWindow(0x199cae8)
INFO 2015-08-14T13:13:52.014 setting objectName: "VIEW_FLIGHT"
INFO 2015-08-14T13:13:52.183 Creating SubMainWindow: SubMainWindow(0x19e4158)
INFO 2015-08-14T13:13:52.184 setting objectName: "VIEW_HARDWARE_CONFIG"
DEBUG 2015-08-14T13:13:54.193 fillPortsInfo
INFO 2015-08-14T13:13:54.214 Inserting "ttyAMA0"
INFO 2015-08-14T13:13:54.215 Changed Link to: "ttyAMA0"
INFO 2015-08-14T13:13:55.918 Creating SubMainWindow: SubMainWindow(0x22f3940)
INFO 2015-08-14T13:13:55.919 setting objectName: "VIEW_SOFTWARE_CONFIG"
DEBUG 2015-08-14T13:13:56.041 Disable Controls
INFO 2015-08-14T13:13:57.058 Creating SubMainWindow: SubMainWindow(0x235e9c0)
INFO 2015-08-14T13:13:57.058 setting objectName: "VIEW_ENGINEER"
QObject::connect: No such signal QTableView::currentCellChanged(int,int,int,int)
QObject::connect: (sender name: ‘tableWidget’)
QObject::connect: (receiver name: ‘AP2DataPlot2D’)
INFO 2015-08-14T13:13:57.233 Creating SubMainWindow: SubMainWindow(0x248a460)
INFO 2015-08-14T13:13:57.234 setting objectName: "VIEW_SIMULATOR"
DEBUG 2015-08-14T13:13:57.517 MODE: 0
DEBUG 2015-08-14T13:13:57.521 "D|PREFLIGHT"
DEBUG 2015-08-14T13:13:57.523 MODE: 80
DEBUG 2015-08-14T13:13:57.525 "D|STABILIZED"
DEBUG 2015-08-14T13:13:57.527 MODE: 64
DEBUG 2015-08-14T13:13:57.528 "D|MANUAL"
DEBUG 2015-08-14T13:13:57.530 MODE: 88
DEBUG 2015-08-14T13:13:57.532 "D|VECTOR|STABILIZED"
DEBUG 2015-08-14T13:13:57.534 MODE: 92
DEBUG 2015-08-14T13:13:57.536 "D|AUTO|STABILIZED"
DEBUG 2015-08-14T13:13:57.538 MODE: 66
DEBUG 2015-08-14T13:13:57.540 "D|TEST"
DEBUG 2015-08-14T13:13:58.006 QUrl( “file:///usr/share/APMPlanner2/qml/PrimaryFlightDisplayQML.qml” )
DEBUG 2015-08-14T13:13:58.411 QML Status: 1
DEBUG 2015-08-14T13:13:58.422 QUrl( “file:///usr/share/APMPlanner2/qml/PrimaryFlightDisplayQML.qml” )
DEBUG 2015-08-14T13:13:58.680 QML Status: 1
INFO 2015-08-14T13:13:58.718 UASActionsWidget creating UASActionsWidget(0x28e4a98)
DEBUG 2015-08-14T13:13:58.737 QuickView: load settings
DEBUG 2015-08-14T13:13:58.740 QuickView: loading key: “GCS Status.Altitude (GPS) (m)” type: "text"
DEBUG 2015-08-14T13:13:58.813 QuickView: loading key: “GCS Status.Altitude (REL) (m)” type: "text"
DEBUG 2015-08-14T13:13:58.823 QuickView: loading key: “GCS Status.Battery (%)” type: "text"
DEBUG 2015-08-14T13:13:58.835 QuickView: loading key: “GCS Status.Climb (m/s)” type: "text"
DEBUG 2015-08-14T13:13:58.851 QuickView: loading key: “GCS Status.Current (A)” type: "text"
DEBUG 2015-08-14T13:13:58.868 QuickView: loading key: “GCS Status.GPS Fix ()” type: "text"
DEBUG 2015-08-14T13:13:58.885 QuickView: loading key: “GCS Status.GPS HDOP (m)” type: "text"
DEBUG 2015-08-14T13:13:58.908 QuickView: loading key: “GCS Status.GPS Sats ()” type: "text"
DEBUG 2015-08-14T13:13:58.933 QuickView: loading key: “GCS Status.Pitch (deg)” type: "text"
DEBUG 2015-08-14T13:13:58.959 QuickView: loading key: “GCS Status.Roll (deg)” type: "text"
DEBUG 2015-08-14T13:13:58.987 QuickView: loading key: “GCS Status.Voltage (V)” type: "text"
DEBUG 2015-08-14T13:13:59.017 QuickView: loading key: “GCS Status.Yaw (deg)” type: "text"
DEBUG 2015-08-14T13:13:59.071 QuickView: load settings END
INFO 2015-08-14T13:13:59.451 Using Alsa Audio driver
WARN 2015-08-14T13:13:59.453 Dir directory tmp_audio exists
DEBUG 2015-08-14T13:13:59.503 qmlBaseDir "/usr/share/APMPlanner2"
DEBUG 2015-08-14T13:13:59.506 QUrl( “file:///usr/share/APMPlanner2/qml/ApmToolBar.qml” )
qml: APMToolBar: button label SELECTED
DEBUG 2015-08-14T13:13:59.687 QML Status: 1
INFO 2015-08-14T13:13:59.725 Screen Size is QRect(0,0 1360x768)
Unable to find an X11 visual which matches EGL config 125
Could not initialize OpenGL
Aborted (core dumped)
administrator@Rpi:~$

Hi ! I am able to install apmplanner2 on my RPi 2 but when I am trying to run it, the first logo screen comes, it stays for few seconds and then goes out and nothing happen thereafter.I am able to run the APM Planner 2.0.18 on Ubuntu Mate 15.04 with RPi 2 but facing some issue in serial port

youtube.com/watch?v=vpz1v4RMThg

Bill, I am able to connect to the serial port but not able to see any MAVLink data in terms of attitude etc.
pls help, by mistake, I marked the post as “solved” thanks in advance, Rana

Try using the MAVLinkInspector widget from the Tools menu. You’ll need to enable advanced mode first from the file menu

In addition, after you make your usb connection, type the following at a command prompt on your Pi:

~$ dmesg

This should tell you the serial port to use. Mine for example is: ttyACM0

Thanks Bill, thanks Carpy,
I did as you suggested, pls find pasted below the log of $ dmesg
nsr@nsr-desktop:~/Desktop$ dmesg
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.0-20-rpi2 (buildd@lgw01-09) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #21-Ubuntu SMP PREEMPT Sun Apr 5 01:56:02 UTC 2015 (Ubuntu 3.18.0-20.21-rpi2 3.18.11)
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: BCM2709
[ 0.000000] cma: Reserved 8 MiB at 0x3a800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 241664
[ 0.000000] free_area_init_node: node 0, pgdat 8095cc40, node_mem_map ba093000
[ 0.000000] Normal zone: 1888 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 241664 pages, LIFO batch:31
[ 0.000000] [bcm2709_smp_init_cpus] enter (85c0->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 11 pages/cpu @ba062000 s12928 r8192 d23936 u45056
[ 0.000000] pcpu-alloc: s12928 r8192 d23936 u45056 alloc=11*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 239776
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1360 bcm2708_fb.fbheight=768 bcm2709.boardrev=0xa21041 bcm2709.serial=0x420f4de6 smsc95xx.macaddr=B8:27:EB:0F:4D:E6 bcm2708_fb.fbdepth=32 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] allocated 1933312 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 937556K/966656K available (6339K kernel code, 564K rwdata, 2352K rodata, 364K init, 806K bss, 29100K reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
vmalloc : 0xbb800000 - 0xff000000 (1080 MB)
lowmem : 0x80000000 - 0xbb000000 ( 944 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80884f4c (8692 kB)
.init : 0x80885000 - 0x808e0000 ( 364 kB)
.data : 0x808e0000 - 0x8096d2ec ( 565 kB)
.bss : 0x8096d2ec - 0x80a36d20 ( 807 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] NR_IRQS:480
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
[ 0.000013] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
[ 0.000033] Switching to timer-based delay loop, resolution 52ns
[ 0.000591] Console: colour dummy device 80x30
[ 0.001438] console [tty1] enabled
[ 0.001475] Calibrating delay loop (skipped), value calculated using timer frequency… 38.40 BogoMIPS (lpj=76800)
[ 0.001528] pid_max: default: 32768 minimum: 301
[ 0.001786] Security Framework initialized
[ 0.001991] AppArmor: AppArmor initialized
[ 0.002021] Yama: becoming mindful.
[ 0.002343] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002383] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003580] Initializing cgroup subsys memory
[ 0.003668] Initializing cgroup subsys devices
[ 0.003706] Initializing cgroup subsys freezer
[ 0.003743] Initializing cgroup subsys net_cls
[ 0.003783] Initializing cgroup subsys blkio
[ 0.003819] Initializing cgroup subsys perf_event
[ 0.003854] Initializing cgroup subsys net_prio
[ 0.004067] CPU: Testing write buffer coherency: ok
[ 0.004612] missing device node for CPU 0
[ 0.004645] missing device node for CPU 1
[ 0.004668] missing device node for CPU 2
[ 0.004689] missing device node for CPU 3
[ 0.004719] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.004748] [bcm2709_smp_prepare_cpus] enter
[ 0.004892] Setting up static identity map for 0x6064c8 - 0x606520
[ 0.040840] [bcm2709_boot_secondary] cpu:1 started (0) 17
[ 0.041155] CPU1: Booted secondary processor
[ 0.041162] [bcm2709_secondary_init] enter cpu:1
[ 0.041213] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.048784] [bcm2709_boot_secondary] cpu:2 started (0) 18
[ 0.049043] CPU2: Booted secondary processor
[ 0.049049] [bcm2709_secondary_init] enter cpu:2
[ 0.049082] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.056770] [bcm2709_boot_secondary] cpu:3 started (0) 16
[ 0.057009] CPU3: Booted secondary processor
[ 0.057016] [bcm2709_secondary_init] enter cpu:3
[ 0.057046] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.057141] Brought up 4 CPUs
[ 0.057226] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.057253] CPU: All CPU(s) started in SVC mode.
[ 0.058214] devtmpfs: initialized
[ 0.077886] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.086966] pinctrl core: initialized pinctrl subsystem
[ 0.087834] NET: Registered protocol family 16
[ 0.093410] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.104651] cpuidle: using governor ladder
[ 0.116664] cpuidle: using governor menu
[ 0.117012] bcm2709.uart_clock = 3000000
[ 0.120813] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.120857] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.120912] mailbox: Broadcom VideoCore Mailbox driver
[ 0.121034] bcm2708_vcio: mailbox at f300b880
[ 0.121147] bcm_power: Broadcom power driver
[ 0.121176] bcm_power_open() -> 0
[ 0.121198] bcm_power_request(0, 8)
[ 0.621885] bcm_mailbox_read -> 00000080, 0
[ 0.621912] bcm_power_request -> 0
[ 0.622134] Serial: AMBA PL011 UART driver
[ 0.622274] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 0.676769] SCSI subsystem initialized
[ 0.677032] usbcore: registered new interface driver usbfs
[ 0.677171] usbcore: registered new interface driver hub
[ 0.677290] usbcore: registered new device driver usb
[ 0.678934] NetLabel: Initializing
[ 0.678965] NetLabel: domain hash size = 128
[ 0.678988] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.679080] NetLabel: unlabeled traffic allowed by default
[ 0.679540] Switched to clocksource arch_sys_counter
[ 0.742013] FS-Cache: Loaded
[ 0.742440] CacheFiles: Loaded
[ 0.742906] AppArmor: AppArmor Filesystem Enabled
[ 0.759308] NET: Registered protocol family 2
[ 0.760598] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.760764] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.760976] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.761112] TCP: reno registered
[ 0.761146] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.761226] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.761609] NET: Registered protocol family 1
[ 0.762283] RPC: Registered named UNIX socket transport module.
[ 0.762320] RPC: Registered udp transport module.
[ 0.762344] RPC: Registered tcp transport module.
[ 0.762368] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.763307] bcm2708_dma: DMA manager at f3007000
[ 0.763468] bcm2708_gpio: bcm2708_gpio_probe 80906658
[ 0.764284] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 0.766730] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.766979] audit: initializing netlink subsys (disabled)
[ 0.767080] audit: type=2000 audit(0.759:1): initialized
[ 0.768661] zpool: loaded
[ 0.769168] VFS: Disk quotas dquot_6.5.2
[ 0.769282] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.770519] FS-Cache: Netfs ‘nfs’ registered for caching
[ 0.770922] NFS: Registering the id_resolver key type
[ 0.771015] Key type id_resolver registered
[ 0.771040] Key type id_legacy registered
[ 0.771088] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.771793] msgmni has been set to 1847
[ 0.775167] alg: No test for stdrng (krng)
[ 0.775382] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.775686] io scheduler noop registered
[ 0.775729] io scheduler deadline registered (default)
[ 0.775826] io scheduler cfq registered
[ 0.777453] BCM2708FB: allocated DMA memory fac00000
[ 0.777523] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 0.809721] Console: switching to colour frame buffer device 170x48
[ 0.829575] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[ 0.830150] uart-pl011 dev:f1: no DMA platform data
[ 0.830934] vc-cma: Videocore CMA driver
[ 0.831076] vc-cma: vc_cma_base = 0x00000000
[ 0.831233] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.831409] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.844743] brd: module loaded
[ 0.851597] loop: module loaded
[ 0.852085] vchiq: vchiq_init_state: slot_zero = 0xba800000, is_master = 0
[ 0.853294] Loading iSCSI transport class v2.0-870.
[ 0.854340] usbcore: registered new interface driver smsc95xx
[ 0.854605] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.055109] Core Release: 2.80a
[ 1.060470] Setting default values for core params
[ 1.065845] Finished setting default values for core params
[ 1.271587] Using Buffer DMA mode
[ 1.277020] Periodic Transfer Interrupt Enhancement - disabled
[ 1.282548] Multiprocessor Interrupt Enhancement - disabled
[ 1.288063] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.293575] Dedicated Tx FIFOs mode
[ 1.299415] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac14000 dma = 0xfac14000 len=9024
[ 1.305090] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
[ 1.326923] dwc_otg: Microframe scheduler enabled
[ 1.327014] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x80461d2c
[ 1.332550] WARN::hcd_init_fiq:413: FIQ ASM at 0x80462060 length 36
[ 1.338033] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb808000
[ 1.343450] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.348920] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.354459] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.360017] Init: Port Power? op_state=1
[ 1.365459] Init: Power Port (0)
[ 1.371081] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.376615] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.382098] usb usb1: Product: DWC OTG Controller
[ 1.387471] usb usb1: Manufacturer: Linux 3.18.0-20-rpi2 dwc_otg_hcd
[ 1.392972] usb usb1: SerialNumber: bcm2708_usb
[ 1.399424] hub 1-0:1.0: USB hub found
[ 1.404927] hub 1-0:1.0: 1 port detected
[ 1.411052] dwc_otg: FIQ enabled
[ 1.411065] dwc_otg: NAK holdoff enabled
[ 1.411075] dwc_otg: FIQ split-transaction FSM enabled
[ 1.411117] Module dwc_common_port init
[ 1.411517] usbcore: registered new interface driver usb-storage
[ 1.417484] mousedev: PS/2 mouse device common for all mice
[ 1.423237] i2c /dev entries driver
[ 1.429255] device-mapper: uevent: version 1.0.3
[ 1.434976] device-mapper: ioctl: 4.28.0-ioctl (2014-09-17) initialised: dm-devel@redhat.com
[ 1.440676] bcm2835-cpufreq: min=600000 max=900000
[ 1.446512] sdhci: Secure Digital Host Controller Interface driver
[ 1.452176] sdhci: Copyright© Pierre Ossman
[ 1.458077] DMA channels allocated for the MMC driver
[ 1.487589] Load BCM2835 MMC driver
[ 1.500078] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.507342] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.513399] hidraw: raw HID events driver © Jiri Kosina
[ 1.519347] usbcore: registered new interface driver usbhid
[ 1.527149] usbhid: USB HID core driver
[ 1.534230] TCP: cubic registered
[ 1.540937] Initializing XFRM netlink socket
[ 1.546773] NET: Registered protocol family 10
[ 1.553737] mip6: Mobile IPv6
[ 1.559345] NET: Registered protocol family 17
[ 1.565080] Key type dns_resolver registered
[ 1.570641] mpls_gso: MPLS GSO support
[ 1.576494] Registering SWP/SWPB emulation handler
[ 1.583040] registered taskstats version 1
[ 1.588536] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.594032] vc-sm: Videocore shared memory driver
[ 1.599402] [vc_sm_connected_init]: start
[ 1.605535] [vc_sm_connected_init]: end - returning 0
[ 1.611463] PM: Hibernation image not present or could not be loaded.
[ 1.611722] Indeed it is in host mode hprt0 = 00021501
[ 1.617676] Waiting for root device /dev/mmcblk0p2…
[ 1.628700] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.637664] mmc0: new high speed SDHC card at address aaaa
[ 1.643901] mmcblk0: mmc0:aaaa SL32G 29.7 GiB
[ 1.651105] mmcblk0: p1 p2
[ 1.728286] EXT4-fs (mmcblk0p2): couldn’t mount as ext3 due to feature incompatibilities
[ 1.734831] EXT4-fs (mmcblk0p2): couldn’t mount as ext2 due to feature incompatibilities
[ 1.766743] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.772415] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.779851] devtmpfs: mounted
[ 1.785962] Freeing unused kernel memory: 364K (80885000 - 808e0000)
[ 1.787684] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.787818] Indeed it is in host mode hprt0 = 00001101
[ 1.975994] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.982687] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.989774] hub 1-1:1.0: USB hub found
[ 1.995896] hub 1-1:1.0: 5 ports detected
[ 2.163221] random: systemd urandom read with 60 bits of entropy available
[ 2.177472] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 2.190192] systemd[1]: Detected architecture arm.
[ 2.226364] systemd[1]: Set hostname to .
[ 2.275870] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.384095] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.390557] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.400316] smsc95xx v1.0.4
[ 2.455934] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:0f:4d:e6
[ 2.547762] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 2.657282] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8178
[ 2.664007] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.670650] usb 1-1.3: Product: 802.11n WLAN Adapter
[ 2.677258] usb 1-1.3: Manufacturer: Realtek
[ 2.683836] usb 1-1.3: SerialNumber: 00e04c000001
[ 2.779775] usb 1-1.5: new low-speed USB device number 5 using dwc_otg
[ 2.909757] usb 1-1.5: New USB device found, idVendor=0e8f, idProduct=00a4
[ 2.916519] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.923206] usb 1-1.5: Product: 2.4G RX
[ 2.929770] usb 1-1.5: Manufacturer: DKTEK
[ 2.962483] systemd[1]: Cannot add dependency job for unit org.freedesktop.resolve1.busname, ignoring: Unit org.freedesktop.resolve1.busname failed to load: No such file or directory.
[ 2.991461] systemd[1]: Reached target Swap.
[ 2.998526] systemd[1]: Starting Swap.
[ 3.005778] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 3.012905] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 3.027914] systemd[1]: Created slice Root Slice.
[ 3.035064] systemd[1]: Starting Root Slice.
[ 3.049952] systemd[1]: Listening on Journal Socket.
[ 3.056999] systemd[1]: Starting Journal Socket.
[ 3.071401] systemd[1]: Listening on Delayed Shutdown Socket.
[ 3.078308] systemd[1]: Starting Delayed Shutdown Socket.
[ 3.092703] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 3.099711] systemd[1]: Starting LVM2 metadata daemon socket.
[ 3.114605] systemd[1]: Created slice User and Session Slice.
[ 3.121107] systemd[1]: Starting User and Session Slice.
[ 3.134695] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 3.141327] systemd[1]: Starting fsck to fsckd communication Socket.
[ 3.155290] systemd[1]: Listening on udev Kernel Socket.
[ 3.161976] systemd[1]: Starting udev Kernel Socket.
[ 3.175692] systemd[1]: Reached target Encrypted Volumes.
[ 3.182312] systemd[1]: Starting Encrypted Volumes.
[ 3.195710] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.202069] systemd[1]: Starting Journal Socket (/dev/log).
[ 3.215365] systemd[1]: Listening on Journal Audit Socket.
[ 3.221765] systemd[1]: Starting Journal Audit Socket.
[ 3.235290] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 3.241827] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 3.255913] systemd[1]: Listening on networkd rtnetlink socket.
[ 3.262568] systemd[1]: Starting networkd rtnetlink socket.
[ 3.285499] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 3.291741] systemd[1]: Starting Device-mapper event daemon FIFOs.
[ 3.304973] systemd[1]: Listening on udev Control Socket.
[ 3.311267] systemd[1]: Starting udev Control Socket.
[ 3.324133] systemd[1]: Reached target Remote File Systems (Pre).
[ 3.330360] systemd[1]: Starting Remote File Systems (Pre).
[ 3.344210] systemd[1]: Created slice System Slice.
[ 3.350554] systemd[1]: Starting System Slice.
[ 3.364439] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.370759] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ 3.382877] systemd[1]: Mounting Temporary Directory…
[ 3.408435] systemd[1]: Starting Load Kernel Modules…
[ 3.454417] systemd[1]: Starting Create list of required static device nodes for the current kernel…
[ 3.474617] systemd[1]: Starting Setup Virtual Console…
[ 3.505214] systemd[1]: Started Device-mapper event daemon.
[ 3.513025] systemd[1]: Starting Device-mapper event daemon…
[ 3.532666] systemd[1]: Mounting POSIX Message Queue File System…
[ 3.561710] systemd[1]: Started Read required files in advance.
[ 3.568745] systemd[1]: Starting Read required files in advance…
[ 3.588157] systemd[1]: Starting Increase datagram queue length…
[ 3.610045] systemd[1]: Reached target Slices.
[ 3.616999] systemd[1]: Starting Slices.
[ 3.636591] systemd[1]: Started Braille Device Support.
[ 3.643761] systemd[1]: Starting Braille Device Support…
[ 3.644483] fuse init (API version 7.23)
[ 3.671696] systemd[1]: Created slice system-getty.slice.
[ 3.677968] systemd[1]: Starting system-getty.slice.
[ 3.689860] systemd[1]: Starting Nameserver information manager…
[ 3.709443] systemd[1]: Starting udev Coldplug all Devices…
[ 3.729061] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling…
[ 3.750787] systemd[1]: Starting Uncomplicated firewall…
[ 3.778131] systemd[1]: Started Boot Process Profiler.
[ 3.785187] systemd[1]: Starting Boot Process Profiler…
[ 3.799908] systemd[1]: Mounted Huge Pages File System.
[ 3.811905] systemd[1]: Mounting Debug File System…
[ 3.836498] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.843678] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 3.930688] systemd[1]: Started Set Up Additional Binary Formats.
[ 3.955862] systemd[1]: Mounted Debug File System.
[ 3.971064] systemd[1]: Mounted POSIX Message Queue File System.
[ 3.985203] systemd[1]: Mounted Temporary Directory.
[ 4.002131] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 4.018901] systemd[1]: Started Setup Virtual Console.
[ 4.036684] systemd[1]: Started Increase datagram queue length.
[ 4.068319] systemd[1]: Started Uncomplicated firewall.
[ 4.077325] systemd[1]: systemd-bootchart.service: main process exited, code=exited, status=1/FAILURE
[ 4.088234] systemd[1]: Unit systemd-bootchart.service entered failed state.
[ 4.095884] systemd[1]: systemd-bootchart.service failed.
[ 4.157060] systemd[1]: Started Nameserver information manager.
[ 4.181500] systemd[1]: Started udev Coldplug all Devices.
[ 4.245557] bcm2708_rng_init=bb9de000
[ 4.538300] systemd[1]: Started Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[ 4.603912] systemd[1]: Starting udev Wait for Complete Device Initialization…
[ 4.641706] systemd[1]: Listening on Syslog Socket.
[ 4.653238] systemd[1]: Starting Syslog Socket.
[ 4.669472] systemd[1]: Starting Journal Service…
[ 4.700155] systemd[1]: Starting Create Static Device Nodes in /dev…
[ 5.144837] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
[ 5.171683] systemd[1]: Failed to start Load Kernel Modules.
[ 5.179405] systemd[1]: Unit systemd-modules-load.service entered failed state.
[ 5.187104] random: nonblocking pool is initialized
[ 5.187322] systemd[1]: systemd-modules-load.service failed.
[ 5.208899] systemd[1]: Mounting Configuration File System…
[ 5.232482] systemd[1]: Starting Apply Kernel Variables…
[ 5.256237] systemd[1]: Mounting FUSE Control File System…
[ 5.287588] systemd[1]: Mounted FUSE Control File System.
[ 5.303170] systemd[1]: Mounted Configuration File System.
[ 5.323651] systemd[1]: Started Create Static Device Nodes in /dev.
[ 5.344871] systemd[1]: Started Journal Service.
[ 8.028702] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[ 8.029762] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x3f204000 (irq 80)
[ 8.507749] device-mapper: multipath: version 1.7.0 loaded
[ 8.548042] bcm2708_i2c_init_pinmode(1,2)
[ 8.548077] bcm2708_i2c_init_pinmode(1,3)
[ 8.549871] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
[ 9.909774] input: DKTEK 2.4G RX as /devices/platform/bcm2708_usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:0E8F:00A4.0001/input/input0
[ 9.910229] hid-generic 0003:0E8F:00A4.0001: input,hidraw0: USB HID v1.10 Keyboard [DKTEK 2.4G RX] on usb-bcm2708_usb-1.5/input0
[ 9.914093] input: DKTEK 2.4G RX as /devices/platform/bcm2708_usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:0E8F:00A4.0002/input/input1
[ 9.915478] hid-generic 0003:0E8F:00A4.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [DKTEK 2.4G RX] on usb-bcm2708_usb-1.5/input1
[ 11.298464] usbcore: registered new interface driver rtl8192cu
[ 11.758808] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.954914] systemd-journald[153]: Received request to flush runtime journal from PID 1
[ 18.094324] audit: type=1400 audit(18.087:2): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/lib/lightdm/lightdm-guest-session" pid=345 comm=“apparmor_parser”
[ 18.098210] audit: type=1400 audit(18.091:3): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“chromium” pid=345 comm=“apparmor_parser”
[ 21.405306] audit: type=1400 audit(21.399:4): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/sbin/dhclient" pid=345 comm=“apparmor_parser”
[ 21.408870] audit: type=1400 audit(21.403:5): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=345 comm=“apparmor_parser”
[ 21.412122] audit: type=1400 audit(21.407:6): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=345 comm=“apparmor_parser”
[ 21.415185] audit: type=1400 audit(21.407:7): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/lib/connman/scripts/dhclient-script" pid=345 comm=“apparmor_parser”
[ 22.650635] audit: type=1400 audit(22.643:8): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/sbin/cups-browsed" pid=345 comm=“apparmor_parser”
[ 27.855774] audit: type=1400 audit(27.851:9): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/lib/cups/backend/cups-pdf" pid=345 comm=“apparmor_parser”
[ 27.860384] audit: type=1400 audit(27.855:10): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/sbin/cupsd" pid=345 comm=“apparmor_parser”
[ 27.863046] audit: type=1400 audit(27.855:11): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“third_party” pid=345 comm=“apparmor_parser”
[ 29.219708] audit: type=1400 audit(29.211:12): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/sbin/ntpd" pid=345 comm=“apparmor_parser”
[ 30.696537] audit: type=1400 audit(30.691:13): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name="/usr/sbin/tcpdump" pid=345 comm=“apparmor_parser”
[ 31.549198] audit: type=1400 audit(31.543:14): apparmor=“DENIED” operation=“open” profile="/usr/sbin/cupsd" name="/etc/ld.so.preload" pid=472 comm=“cupsd” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0
[ 32.705489] audit: type=1400 audit(32.699:15): apparmor=“DENIED” operation=“open” profile="/usr/sbin/cups-browsed" name="/etc/ld.so.preload" pid=577 comm=“cups-browsed” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0
[ 32.964065] cfg80211: Calling CRDA to update world regulatory domain
[ 33.138607] cfg80211: World regulatory domain updated:
[ 33.138628] cfg80211: DFS Master region: unset
[ 33.138629] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 33.138648] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 33.138658] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 33.138667] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 33.138676] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 33.138685] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 33.480589] audit: type=1400 audit(33.475:16): apparmor=“DENIED” operation=“open” profile="/usr/sbin/ntpd" name="/etc/ld.so.preload" pid=666 comm=“ntpd” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0
[ 33.823177] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[ 36.401710] audit: type=1400 audit(36.395:17): apparmor=“DENIED” operation=“open” profile="/sbin/dhclient" name="/etc/ld.so.preload" pid=739 comm=“dhclient” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0
[ 36.545422] audit: type=1400 audit(36.539:18): apparmor=“DENIED” operation=“open” profile="/usr/lib/NetworkManager/nm-dhcp-helper" name="/etc/ld.so.preload" pid=749 comm=“nm-dhcp-helper” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0
[ 36.593915] audit: type=1400 audit(36.587:19): apparmor=“DENIED” operation=“open” profile="/usr/lib/NetworkManager/nm-dhcp-helper" name="/etc/ld.so.preload" pid=750 comm=“nm-dhcp-helper” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0
[ 46.932358] net_ratelimit: 2 callbacks suppressed
[ 50.769319] audit: type=1400 audit(1439609529.045:20): apparmor=“DENIED” operation=“open” profile="/usr/sbin/ntpd" name="/etc/ld.so.preload" pid=1290 comm=“ntpd” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0
[ 1075.441367] usb 1-1.4: new full-speed USB device number 6 using dwc_otg
[ 1075.559763] usb 1-1.4: New USB device found, idVendor=2341, idProduct=0010
[ 1075.559792] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 1075.559809] usb 1-1.4: Product: Arduino Mega 2560
[ 1075.559824] usb 1-1.4: Manufacturer: Arduino (www.arduino.cc)
[ 1075.559840] usb 1-1.4: SerialNumber: 6403333343035160E102
[ 1075.611853] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[ 1075.614451] usbcore: registered new interface driver cdc_acm
[ 1075.614476] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
nsr@nsr-desktop:~/Desktop$

Still no MAVLink data is coming, pls suggest
Regards, Rana

[quote=“carpy”]In addition, after you make your usb connection, type the following at a command prompt on your Pi:

~$ dmesg

This should tell you the serial port to use. Mine for example is: ttyACM0[/quote]

Did you connect on ttyACM0? At 57600 baud? It looks like another port in the video.

Finaly, got APM Planner 2.0.18 fully working on my Raspberri Pi 2 with Ubuntu Mate 15.04. Thanks Bill
[youtube]https://www.youtube.com/watch?v=XoKXoQFUdg8[/youtube]

We should get the port to auto-select if device is connected while APM planner is running, but disconnected.

Hi there, I am also having the issue where APM starts but won’t go past the initial start screen and after about 15-20 seconds the program shuts down. If there is a wizard who can show me a magic trick to fix this I’d be stoked. I think there it mentioned something along the lines of requiring qt clarative 5? If this sounds familiar to anyone? Any help as always is much appreciated.

Try adding the following line to your /boot/config.txt file:

framebuffer_depth=32

Thanks Carpy, I’ll give it a spin and see what happens

If that doesn’t work try:

sudo apt-get install qtdeclarative5-qtquick2-plugin

You might have to do both qtdeclarative5-qtquick2-plugin and framebuffer_depth.

Mate you are a legend. Thankyou. I had to do an apt-get -f install but it’s flashed up and seems to be working so far so good.

Okay so APM planner is running and working. However I am having trouble connecting via telemetry radio. It seems to be talking to the other radio but there is no mav link connection that indicates a connection or sharing of data.

And the baud rate is set to 57600?

if you run screen /dev/ttyACM0 57600 you see data from the the drone?

Yup, the baud rate is set to 57600. I’ll have a look when I get home and see if that works. I’m very very new to Linux so I’ve been learning as I go, I apologise for the stupid question (it might end up helping some other newb who happens to stumble across this :slight_smile:) but when you say run, do you mean to type that line into terminal? Or that other application (the name of it escapes me) where you can run commands from?

Yes, run it in the Terminal app.

This popped into my inbox this morning, I haven’t looked, it maybe too basic, but hey here it is codecademy.com/courses/lear … mmand-line and it’s free

Cool thanks for the link I’ll definately look into it. I tried running that command, it first off said that there was no application called screen, so I installed it. Then ran the command again and it still wouldn’t work… It comes up with ‘cannot exec ‘/dev/ttyACMO 57600’ no such file or directory’ then it comes up with ‘screen is terminating’

Try running these commands with your telemetry radio plugged in to the Pi2:

$ cd /dev
$ ls -la tty*

You should see something like the following:
crw–w---- 1 root tty 4, 63 Dec 31 1969 tty63
crw–w---- 1 root tty 4, 7 Dec 31 1969 tty7
crw–w---- 1 root tty 4, 8 Dec 31 1969 tty8
crw–w---- 1 root tty 4, 9 Dec 31 1969 tty9
crw-rw---- 1 root dialout 204, 64 Dec 31 1969 ttyAMA0
crw------- 1 root root 5, 3 Dec 31 1969 ttyprintk
crw-rw---- 1 root dialout 188, 0 Aug 25 22:40 ttyUSB0

Notice my telemetry radio is ttyUSB0. Also, post the results of this command:

$ groups