Skip to content

Instantly share code, notes, and snippets.

View leon-anavi's full-sized avatar

Leon Anavi leon-anavi

View GitHub Profile
@leon-anavi
leon-anavi / gist:9f11ec2d3cd53ff43da0
Created June 1, 2015 12:28
tizen-extensions-crosswalk-20150601
Jan 01 00:50:02 cubox-i sh[549]: [0101/005002:WARNING:xwalk_external_extension.cc(47)] Error loading extension '/usr/lib/tizen-extensions-crosswalk/libtizen_filesystem.so': libcapi-base-common.so.0: cannot open shared object file: No such file or directory
Jan 01 00:50:02 cubox-i sh[549]: [0101/005002:WARNING:xwalk_extension_server.cc(411)] Failed to initialize extension: /usr/lib/tizen-extensions-crosswalk/libtizen_filesystem.so
Jan 01 00:50:02 cubox-i sh[549]: [0101/005002:WARNING:xwalk_external_extension.cc(47)] Error loading extension '/usr/lib/tizen-extensions-crosswalk/libtizen_nfc.so': libcapi-base-common.so.0: cannot open shared object file: No such file or directory
Jan 01 00:50:02 cubox-i sh[549]: [0101/005002:WARNING:xwalk_extension_server.cc(411)] Failed to initialize extension: /usr/lib/tizen-extensions-crosswalk/libtizen_nfc.so
Jan 01 00:50:02 cubox-i sh[549]: [0101/005002:WARNING:xwalk_external_extension.cc(47)] Error loading extension '/usr/lib/tizen-extensions-crosswalk/libtizen_system_info.s
@leon-anavi
leon-anavi / gist:47fd1620bdbafff27c8d
Created June 11, 2015 10:25
tizen-common-weston-screenshot
root@cubox-i:~# ps ax | grep weston
195 tty7 Ss+ 0:00 /usr/bin/weston --use-gl=0 --use-gal2d=1 -i0 --log=/run/display/weston.log
268 tty7 S+ 0:00 /usr/libexec/weston-keyboard
340 tty7 S+ 0:00 /usr/libexec/weston-desktop-shell
676 pts/0 S+ 0:00 grep weston
root@cubox-i:~# tail -f /run/display/weston.log
[00:00:07.749] input device 'MCE IR Keyboard/Mouse (gpio-rc-recv)', /dev/input/event4 is a pointer caps = relative-motion button
[00:00:07.750] input device 'MCE IR Keyboard/Mouse (gpio-rc-recv)', /dev/input/event4 is a keyboard
[00:00:07.750] launching '/usr/libexec/weston-keyboard'
[00:00:07.751] seat created with name default
@leon-anavi
leon-anavi / gist:3a1a0f9ed59a4656023a
Created July 24, 2015 15:02
Running pulseaudio in system mode on Tizen:Common
root@cubox-i:~# pulseaudio --system
W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set!
W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time!
W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
W: [pulseaudio] main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode for an explanation why system mode is usually a bad idea.
E: [pulseaudio] main.c: Daemon startup without any loaded modules, refusing to work.
@leon-anavi
leon-anavi / gist:aac81bf02a2707622b31
Last active November 2, 2015 12:57
lightmediascannerd
# dbus-launch --auto-syntax
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-xGRBSOiGxU,guid=6f900accee0e5302bf4fa33f00000195';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=755;
# ls /usr/share/media/
photos test192.flac test2-192.flac videos
# G_MESSAGES_DEBUG=all lightmediascannerd --startup-scan --directory=/usr/share/media 1>test.txt &
# grep db test.txt
** (lightmediascannerd:793): DEBUG: db-path: /home/root/.config/lightmediascannerd/db.sqlite3
# ls /home/root/.config/lightmediannerd/db.sqlite3
ssh agl
Enter passphrase for key '/home/leon/.ssh/agl':
**** Welcome to Gerrit Code Review ****
Hi Leon Anavi, you have successfully connected over SSH.
Unfortunately, interactive shells are disabled.
To clone a hosted Git repository, use:
@leon-anavi
leon-anavi / log-01-ci20-flashing-nand.txt
Last active November 16, 2015 07:17
ci20-flashing-nand-errors
U-Boot 2013.10-rc3-gb2e1fea (Feb 02 2015 - 12:04:12)
Board: ci20 (Ingenic XBurst JZ4780 SoC)
DRAM: 1 GiB
NAND: 8192 MiB
MMC: jz_mmc msc1: 0
In: serial
Out: serial
Err: serial
Net: dm9000
From 977565729c235e93c9cf65c3b1342a5e278ce73d Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com>
Date: Sat, 12 Mar 2016 11:39:26 +0200
Subject: [PATCH] rvi-sota-client_git: add RVI SOTA client
Build and deploy sota_client and a systemd service.
Fix run.sh and force sota_client to listen anywhere instead
of possible unknown host sota-client if SOTA_CLIENT_ADDR
is not set. Use crate dbus-rs version 0.1.2 with fixed
casts of c_char raw pointers for ARM. The recipe depends
@leon-anavi
leon-anavi / 0001-curl_7.44.0.bb-Update-cURL-version.patch
Created March 9, 2016 12:44
0001-curl_7.44.0.bb-Update-cURL-version.patch
From 516d2b718921a6e8bc6ff076af49d7f306cc7b9b Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com>
Date: Fri, 19 Feb 2016 15:14:38 +0000
Subject: [PATCH 1/2] curl_7.44.0.bb: Update cURL version
Update cURL version to 7.44.0 as it is required by meta-rust
while building applications written in the Rust programming
language for GENIVI Demo Platform (GDP).
(From Poky rev: be158c81c8d26deaed6d272325d5e8bdae5ec5c8)
@leon-anavi
leon-anavi / 0002-cargo_0.7.0.bb-fix-dbus-rs-build-for-ARM.patch
Created March 9, 2016 12:45
0002-cargo_0.7.0.bb-fix-dbus-rs-build-for-ARM.patch
From 581e68553e7a4c724317fed79f943dcb467ed990 Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com>
Date: Thu, 25 Feb 2016 20:08:06 +0200
Subject: [PATCH 2/2] cargo_0.7.0.bb: fix dbus-rs build for ARM
Cast correctly c_char raw pointers to fix issues while
building version 0.1.2 of crate dbus-rs for ARM.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
@leon-anavi
leon-anavi / 0001-poky-Update-to-newer-version-of-branch-Fido.patch
Created March 10, 2016 16:41
0001-poky-Update-to-newer-version-of-branch-Fido.patch
From 774f64c9a2789d73cff9f4aee4e52faac7df84e1 Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com>
Date: Thu, 10 Mar 2016 12:45:22 +0000
Subject: [PATCH] poky: Update to newer version of branch Fido
Update Poky to the version of release 1.8 Fido
from 2016-01-30.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---