Thursday 21 April 2016

Odroid Android

 

https://packages.debian.org/sid/utils/dvb-tools

 root@odroid-jessie:~# dvb-fe-tool
Device Sony CXD2820R (/dev/dvb/adapter0/frontend0) capabilities:
     CAN_2G_MODULATION
     CAN_FEC_1_2
     CAN_FEC_2_3
     CAN_FEC_3_4
     CAN_FEC_5_6
     CAN_FEC_7_8
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_HIERARCHY_AUTO
     CAN_INVERSION_AUTO
     CAN_MULTISTREAM
     CAN_MUTE_TS
     CAN_QAM_16
     CAN_QAM_32
     CAN_QAM_64
     CAN_QAM_128
     CAN_QAM_256
     CAN_QAM_AUTO
     CAN_QPSK
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.10, Current v5 delivery system: DVBT
Supported delivery systems:
    [DVBT]
     DVBT2
     DVBC/ANNEX_A

Source

CM-12.1 Android 5.1.1 Lollipop for ODROID-XU3/XU4 (20151201)
http://dn.odroid.com/5422/ODROID-XU3/Android/4.4.4_Alpha_3.5_Mar-17-2016/

lsblk

 root@odroid-jessie:/mnt/sda1/odroid# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda            8:0    0 931.5G  0 disk
└─sda1         8:1    0 931.5G  0 part /mnt/sda1
mmcblk0boot0 179:8    0     4M  1 disk
mmcblk0boot1 179:16   0     4M  1 disk
mmcblk0      179:0    0  29.1G  0 disk
├─mmcblk0p1  179:1    0  25.8G  0 part /boot
├─mmcblk0p2  179:2    0     1G  0 part /media/odroid/57f8f4bc-abf4-655f-bf67-946
├─mmcblk0p3  179:3    0     2G  0 part
└─mmcblk0p4  179:4    0   256M  0 part /media/odroid/57f8f4bc-abf4-655f-bf67-946
mmcblk1      179:24   0  14.9G  0 disk
├─mmcblk1p1  179:25   0    71M  0 part /media/odroid/boot
└─mmcblk1p2  179:26   0  14.8G  0 part /

dd bs=1M if=android-4.4.4-alpha-3.5-emmc_installer-odroidxu3-20160317.img of=/dev/mmcblk0
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 4.65627 s, 113 MB/s

  root@odroid-jessie:~# lsmod
Module                  Size  Used by
rfcomm                 32804  0
bluetooth             225844  3 rfcomm
rfkill                 12936  1 bluetooth
em28xx_rc               7134  0
cxd2820r               14479  1
em28xx_dvb             17935  12
em28xx                 92301  2 em28xx_dvb,em28xx_rc
tveeprom               11600  1 em28xx
videobuf2_vmalloc       3010  1 em28xx
snd_usb_audio         119694  2
snd_usbmidi_lib        19094  1 snd_usb_audio
snd_hwdep               5913  1 snd_usb_audio
snd_rawmidi            20142  1 snd_usbmidi_lib
snd_seq_device          6169  1 snd_rawmidi
spi_s3c64xx            13713  0
ina231_sensor           8388  0
fuse                   75445  5

 

Linux localhost 3.10.9-g62151c3-dirty #2 SMP PREEMPT Thu Jan 14 20:56:21 AMT 2016 armv7l GNU/Linux

Linux odroid-jessie 3.10.96+ #1 SMP PREEMPT Sun Feb 14 11:47:29 CET 2016 armv7l GNU/Linux

 

Thursday 31 March 2016

TVheadend processes

Extract mp3 from .ts files

 
ffmpeg -i inputfile -f mp3 -acodec mp3 -ab 128k -ar 44100 -vn outputfile.mp3

http://quartz-net.co.uk/quartzwiki/index.php/TS_convert_using_ffmpeg#Audio_conversion

Down scale video

ffmpeg -i inputfile -s hd720 -c:v libx264 -crf 23 -c:a aac -strict -2 output.mp4
 
http://askubuntu.com/a/99648 

Wednesday 23 December 2015

Odroid

Switched to Debian. Two images are:

  1.  Odrobian Jessie with MATE & KODI (or headless) for XU3/XU4
  2.  Debian Jessie

Currently using the second.

Mount USB drive.

http://linuxconfig.org/howto-mount-usb-drive-in-linux
 https://help.ubuntu.com/community/Fstab

Syncing data

 http://www.thegeekstuff.com/2011/07/rsync-over-ssh-without-password/

Fan control

http://forum.odroid.com/viewtopic.php?f=52&t=16308

orig: 1 51 71 91 -> 68 73 85
test:1 30 50 95 ->50 70 80
using:  1 30 50 95 -> 65 75 85

also http://forum.odroid.com/viewtopic.php?f=114&t=16520

 cpuctrl -s -g "powersave" -m 300M -M 1G
 cpuctrl -s    -M 1.4G -g performance
 cpuctrl -s -g "conservative"


Installed tvheadend 

 TVheadend Versions:
4.1-1162 not working for me (from odroidian)
4.1-997 works (from jessi)
4.1-1257  using from tvheadend repo

Installed Kodi


http://forum.kodi.tv/showthread.php?tid=214619
 http://forum.kodi.tv/showthread.php?tid=221862&page=2

 https://wiki.debian.org/ffmpeg
http://deb-multimedia.org/dists/sid/main/binary-armhf/package/kodi-pvr-tvheadend-hts
http://www.htpcbeginner.com/install-superrepo-kodi-easy-addon-installation/


Linux - How to build new PVR addons

Sunday 6 December 2015

Odroid UX4

My Raspberry Pi died so I replaced it with the 8 core Odroid UX4.

ODROID-XU4 is a new generation of computing device with more powerful, more energy-efficient hardware and a smaller form factor.
Offering open source support, the board can run various flavors of Linux, including the latest Ubuntu 15.04 and Android 4.4 KitKat and 5.0 Lollipop.
By implementing the eMMC 5.0, USB 3.0 and Gigabit Ethernet interfaces, the ODROID-XU4 boasts amazing data transfer speeds, a feature that is increasingly required to support advanced processing power on ARM devices.

Set the fan

I was worried about the noise. It is not loud  but audible. After:
change the governor to "interactive" from "performance"
http://forum.odroid.com/viewtopic.php?f=95&t=15737
It is not running apart from startup See Also
 https://github.com/nthx/odroid-xu3-fan-control

Ubuntu

came with  15.04
updated via http://askubuntu.com/a/196777
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-14-04
TODO
Installed Tvheadend, Ubuntu comes with Kobi
 https://tvheadend.org/boards/5/topics/16572?r=16573#message-16573

Sunday 19 April 2015

Sunday 1 February 2015

java install no prompt

http://askubuntu.com/questions/190582/installing-java-automatically-with-silent-option

$ echo debconf shared/accepted-oracle-license-v1-1 select true | \
  sudo debconf-set-selections
$ echo debconf shared/accepted-oracle-license-v1-1 seen true | \
  sudo debconf-set-selections

Monday 29 December 2014

Files

 Music

 69.5 GB (74,638,884,864 bytes) 13,228 Files, 1,093 Folders

Pictures

Pictures: 39.8 GB (42,771,218,432 bytes) 19,274 Files, 1,317 Folders
Database: 226 MB (237,961,216 bytes) 1,318 Files, 174 Folders