Project

General

Profile

Android unable to open /dev/dvb/adapter0/frontend0

Added by D J over 10 years ago

Hi there,

i have a Problem to get tvheadend to work on Android 4.4.2 KitKat

On 4.2.2 it worked like a charme but since the latest update i get an error


2014-06-23 18:24:44.814 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter0/frontend0

The USB gets successfully recognized.


<6>[82819.802363] usb 2-1.4: new high speed USB device number 8 using usb20_host
<6>[82819.903028] usb 2-1.4: New USB device found, idVendor=187f, idProduct=0202
<6>[82819.903061] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<6>[82819.903093] usb 2-1.4: Product: MDTV Receiver
<6>[82819.903112] usb 2-1.4: Manufacturer: MDTV Receiver
<6>[82820.412521] DVB: registering new adapter (Siano Nice Digital Receiver)
<6>[82820.412905] usb 2-1.4: DVB: registering adapter 0 frontend 0 (Siano Mobile Digital MDTV Receiver)...

This is how i start it


insmod /system/lib/modules/dvb-core.ko
insmod /system/lib/modules/dvb-pll.ko
insmod /system/lib/modules/dvb_usb_v2.ko force_pid_filter_usage=1
insmod /system/lib/modules/smsmdtv.ko
insmod /system/lib/modules/smssdio.ko
insmod /system/lib/modules/smsusb.ko
insmod /system/lib/modules/smsdvb.ko
sleep 1
mkdir /dev/dvb
mkdir /sdcard/.hts
mkdir /dev/dvb/adapter0
ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
chmod 777 /sdcard/.hts
chmod 777 /dev/dvb*
/data/dvb/tvheadend -C -c /sdcard/.hts


2014-06-23 18:24:42.809 [ INFO] charset: 138 entries loaded
2014-06-23 18:24:44.814 [ ERROR] linuxdvb: unable to open /dev/dvb/adapter0/frontend0
2014-06-23 18:24:44.824 [ INFO] epggrab: module eit created
2014-06-23 18:24:44.824 [ INFO] epggrab: module uk_freesat created
2014-06-23 18:24:44.824 [ INFO] epggrab: module uk_freeview created
2014-06-23 18:24:44.824 [ INFO] epggrab: module viasat_baltic created
2014-06-23 18:24:44.841 [ INFO] epggrab: module opentv-ausat created
2014-06-23 18:24:44.841 [ INFO] epggrab: module opentv-skyuk created
2014-06-23 18:24:44.841 [ INFO] epggrab: module opentv-skyit created
2014-06-23 18:24:44.841 [ INFO] epggrab: module pyepg created
2014-06-23 18:24:44.842 [ INFO] epggrab: module xmltv created
2014-06-23 18:24:44.844 [ INFO] epgdb: loaded v2
2014-06-23 18:24:44.844 [ INFO] epgdb: channels 0
2014-06-23 18:24:44.844 [ INFO] epgdb: brands 0
2014-06-23 18:24:44.844 [ INFO] epgdb: seasons 0
2014-06-23 18:24:44.844 [ INFO] epgdb: episodes 0
2014-06-23 18:24:44.844 [ INFO] epgdb: broadcasts 0
2014-06-23 18:24:44.844 [ INFO] dvr: Creating new configuration ''
2014-06-23 18:24:44.844 [WARNING] dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/sdcard". This can be changed from the web user interface.
2014-06-23 18:24:44.845 [ NOTICE] START: HTS Tvheadend version 0.0.0~unknown started, running as PID:19445 UID:0 GID:0, CWD:/ CNF:/storage/emulated/legacy/.hts


root@manta:/ # ls -l /dev/dvb*
drwxrwxrwx root root 2014-06-23 18:24 adapter0
crwxrwxrwx root root 212, 0 2014-06-23 18:20 dvb0.demux0
crwxrwxrwx root root 212, 1 2014-06-23 18:20 dvb0.dvr0
crwxrwxrwx root root 212, 2 2014-06-23 18:20 dvb0.frontend0
root@manta:/ # ls -l /dev/dvb/
drwxrwxrwx root root 2014-06-23 18:24 adapter0
root@manta:/ # ls -l /dev/dvb/adapter0/
lrwxrwxrwx root root 2014-06-23 18:24 demux0 -> /dev/dvb0.demux0
lrwxrwxrwx root root 2014-06-23 18:24 dvr0 -> /dev/dvb0.dvr0
lrwxrwxrwx root root 2014-06-23 18:24 dvr0.ts -> /dev/dvb0.dvr0
lrwxrwxrwx root root 2014-06-23 18:24 frontend0 -> /dev/dvb0.frontend0

oh and i start tvheadend as root

any idea?

Dennis