[Shield Android TV General] xd4d3v:
are you running it as root?

somehow when i start tvheadend with -C i get a segfault a few seconds after it starts, I seem to be getting some permission issues, but i've done the whole of /data/dvb as 0744

see the log

--------------------------

1|root@foster:/data # /data/dvb/tvheadend -C -c /data/dvb/tvheadend/hts

2016-01-31 23:15:34.696 [ INFO] main: Log started

2016-01-31 23:15:34.696 [ ALERT] settings: Unable to create dir "/data/dvb/tvheadend": Not a directory

2016-01-31 23:15:34.696 [WARNING] START: failed to create settings directory /data/dvb/tvheadend/hts, settings will not be saved

2016-01-31 23:15:34.697 [ INFO] http: Starting HTTP server 0.0.0.0:9981

2016-01-31 23:15:34.697 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982

2016-01-31 23:15:34.723 [WARNING] START: configuration path (null) is not r/w for UID:0 GID:0 [e=No such file or directory], settings will not be saved

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'Canal Digitaal SD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'Canal Digitaal HD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'TV Vlaanderen SD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'TV Vlaanderen HD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'T├®l├®SAT SD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'T├®l├®SAT HD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'AustriaSat Astra1'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'Canal Digitaal HD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'TV Vlaanderen HD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'T├®l├®SAT HD'

2016-01-31 23:15:34.727 [ INFO] bouquet: new bouquet 'AustriaSat Astra3'

2016-01-31 23:15:34.728 [ INFO] bouquet: new bouquet 'Skylink: Czech Republic'

2016-01-31 23:15:34.728 [ INFO] bouquet: new bouquet 'Skylink: Slovak Republic'

2016-01-31 23:15:34.932 [ INFO] scanfile: DVB-T - loaded 44 regions with 1104 networks

2016-01-31 23:15:34.932 [ INFO] scanfile: DVB-S - loaded 1 regions with 92 networks

2016-01-31 23:15:34.932 [ INFO] scanfile: DVB-C - loaded 17 regions with 53 networks

2016-01-31 23:15:34.932 [ INFO] scanfile: ATSC-T - loaded 2 regions with 9 networks

2016-01-31 23:15:34.932 [ INFO] scanfile: ATSC-C - loaded 1 regions with 5 networks

2016-01-31 23:15:40.946 [ INFO] dvr: Creating new configuration ''

2016-01-31 23:15:40.946 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/". This can be changed from the web user interface.

2016-01-31 23:15:40.946 [WARNING] access: Created default wide open access controle entry

2016-01-31 23:15:40.947 [ INFO] descrambler: adding CAID 0963 as quick ECM (Sky UK)

2016-01-31 23:15:40.947 [ INFO] descrambler: adding CAID 098C as quick ECM (Sky DE)

2016-01-31 23:15:40.947 [ INFO] descrambler: adding CAID 09C4 as quick ECM (Sky DE)

2016-01-31 23:15:40.947 [ INFO] descrambler: adding CAID 09CD as quick ECM (Sky IT)

2016-01-31 23:15:40.947 [ INFO] descrambler: adding CAID 2600 as constant crypto-word (BISS)

2016-01-31 23:15:40.947 [ INFO] epggrab: module eit created

2016-01-31 23:15:40.947 [ INFO] epggrab: module uk_freesat created

2016-01-31 23:15:40.947 [ INFO] epggrab: module uk_freeview created

2016-01-31 23:15:40.947 [ INFO] epggrab: module viasat_baltic created

2016-01-31 23:15:40.947 [ INFO] epggrab: module Bulsatcom_39E created

2016-01-31 23:15:40.947 [ INFO] epggrab: module psip created

2016-01-31 23:15:40.967 [ INFO] epggrab: module opentv-ausat created

2016-01-31 23:15:40.967 [ INFO] epggrab: module opentv-skyuk created

2016-01-31 23:15:40.967 [ INFO] epggrab: module opentv-skyit created

2016-01-31 23:15:40.969 [ INFO] epggrab: module opentv-skynz created

2016-01-31 23:15:40.970 [ INFO] epggrab: module pyepg created

2016-01-31 23:15:40.970 [ INFO] epggrab: module xmltv created

2016-01-31 23:15:40.972 [ NOTICE] START: HTS Tvheadend version 0.0.0~unknown started, running as PID:24655 UID:0 GID:0, CWD:/data CNF:(null)

Segmentation fault

---------- Post added at 10:32 AM ---------- Previous post was at 10:17 AM ----------

OK, I found the problem.

there is no tvheadend directory in /data/dvb, so the command should be

"/data/dvb/tvheadend -C -c /data/dvb/hts"

now it starts fine, and I can get into the web ui on 9981

problem though.

tuner is not detected.

I'm using one of these.

https://www.linuxtv.org/wiki/index.php/Sony_PlayTV_dual_tuner_DVB-T

this is the output from dmesg

<6>[ 234.697218] usb 3-2: new high-speed USB device number 7 using tegra-xhci

<6>[ 234.718532] usb 3-2: New USB device found, idVendor=1415, idProduct=0003

<6>[ 234.718542] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

<6>[ 234.718550] usb 3-2: Product: SCEH-0036

<6>[ 234.718556] usb 3-2: Manufacturer: SONY

<6>[ 234.718562] usb 3-2: SerialNumber: ALR001MAMB

<6>[ 234.719709] dvb-usb: found a 'Sony PlayTV' in cold state, will try to load a firmware

<3>[ 234.734088] dvb-usb: did not find the firmware file. (dvb-usb-dib0700-1.20.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)