Beiträge anzeigen

Diese Sektion erlaubt es ihnen alle Beiträge dieses Mitglieds zu sehen. Beachten sie, dass sie nur solche Beiträge sehen können, zu denen sie auch Zugriffsrechte haben.


Nachrichten - Simon78

Seiten: 1 2 [3]
31
Hier von meiner Seite der nächste Schritt , die mknods auf dem Host müssen wohl gemacht werden :
mkdir -p /dev/dvb/adapter0
mknod /dev/dvb/adapter0/frontend0 c 212 1
mknod /dev/dvb/adapter0/dvr0 c 212 5
mknod /dev/dvb/adapter0/demux0 c 212 3
mkdir -p /dev/dvb/adapter1
mknod /dev/dvb/adapter1/frontend0 c 212 7
mknod /dev/dvb/adapter1/dvr0 c 212 11
mknod /dev/dvb/adapter1/demux0 c 212 9
mkdir -p /dev/dvb/adapter2
mknod /dev/dvb/adapter2/frontend0 c 212 13
mknod /dev/dvb/adapter2/dvr0 c 212 17
mknod /dev/dvb/adapter2/demux0 c 212 15

habe bisher nur leserechte erlaubt , jetzt zeigt mediaclient aber den adapter , auch wenn mediasrv motzt über fehlende Schreibrechte .... log hier :

2023-01-04 10:10:30 [113] Unable to create /dev/mediainput0 (1/Operation not permitted)
2023-01-04 10:10:30 [113] registered virtual: /dev/mediainput0
2023-01-04 10:10:30 [113] /dev/dvb/adapter0 exists, but not accessible by everyone,
2023-01-04 10:10:30 [113]    fixing that by setting it to 777
2023-01-04 10:10:30 [113] Unable to create /dev/dvb/adapter0/frontend0 (17/File exists)
2023-01-04 10:10:30 [113] Unable to create /dev/dvb/adapter0/demux0 (17/File exists)
2023-01-04 10:10:30 [113] Unable to create /dev/dvb/adapter0/dvr0 (17/File exists)
2023-01-04 10:10:30 [113] registering: adapter0/0
2023-01-04 10:10:30 [113] registered virtual: /dev/dvb/adapter0/frontend0
2023-01-04 10:10:30 [113] registered virtual: /dev/dvb/adapter0/demux0
2023-01-04 10:10:30 [113] registered virtual: /dev/dvb/adapter0/dvr0
2023-01-04 10:10:30 [113] /dev/dvb/adapter1 exists, but not accessible by everyone,
2023-01-04 10:10:30 [113]    fixing that by setting it to 777
2023-01-04 10:10:30 [113] Unable to create /dev/dvb/adapter1/frontend0 (17/File exists)
2023-01-04 10:10:30 [113] Unable to create /dev/dvb/adapter1/demux0 (17/File exists)
2023-01-04 10:10:30 [113] Unable to create /dev/dvb/adapter1/dvr0 (17/File exists)
2023-01-04 10:10:30 [113] registering: adapter1/0
2023-01-04 10:10:30 [113] registered virtual: /dev/dvb/adapter1/frontend0
2023-01-04 10:10:30 [113] registered virtual: /dev/dvb/adapter1/demux0
2023-01-04 10:10:30 [113] registered virtual: /dev/dvb/adapter1/dvr0
2023-01-04 10:10:30 [113] Driver loaded within 3013 milliseconds
2023-01-04 10:10:34 [113] Initial devicescan done, switching detection mode
2023-01-04 10:10:46 [113] [FE0] . o ( Enabling Standby ) o .
2023-01-04 10:10:46 [113] [FE0] Set Voltage off
2023-01-04 10:10:46 [113] *** Voltage configuration is not what we have programmed ***
2023-01-04 10:10:46 [113] *** Overload protection enabled (channel A) ***
2023-01-04 10:10:46 [113] *** Overload protection enabled (channel B) ***
2023-01-04 10:10:46 [113] *** Overcurrent detected on output pull-down stage ***
2023-01-04 10:10:46 [113] *** for a time longer than the deglitch period. This ***
2023-01-04 10:10:46 [113] *** may happen due to an external voltage source ***
2023-01-04 10:10:46 [113] *** present on the LNB output (VOUT pin) ***
2023-01-04 10:10:46 [113] [FE1] . o ( Enabling Standby ) o .
2023-01-04 10:10:46 [113] [FE1] Set Voltage off
2023-01-04 10:10:46 [113] *** Voltage configuration is not what we have programmed ***
2023-01-04 10:10:46 [113] *** Overload protection enabled (channel A) ***
2023-01-04 10:10:46 [113] *** Overload protection enabled (channel B) ***
2023-01-04 10:10:46 [113] *** Overcurrent detected on output pull-down stage ***
2023-01-04 10:10:46 [113] *** for a time longer than the deglitch period. This ***
2023-01-04 10:10:46 [113] *** may happen due to an external voltage source ***
2023-01-04 10:10:46 [113] *** present on the LNB output (VOUT pin) ***



---
root@tvh:/root# /opt/bin/mediaclient -e
**** List of Media Hardware Devices ****
device 0: [             Dual S2]  DVB-S/S2, REMOTE-CONTROL, DVB-S/S2
  [INFO]:
     STATUS: STANDBY
  [BUS]:
     ID: 1-3
  [SERIAL]:
     ID: U220618172518
  [DVB-S/S2]:
     FESTATUS: STANDBY
     LNBVOLTAGE: DISABLED
     LNBSUPPLY: USBPOWER
     LNBSTATUS: OK
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0
  [DVB-S/S2]:
     FESTATUS: STANDBY
     FRONTEND: /dev/dvb/adapter1/frontend0
     DVR: /dev/dvb/adapter1/dvr0
     DMX: /dev/dvb/adapter1/demux0


32
hab ich gemacht, was ich trotz 777er Rechten auf dem Host für /dev/dvb und /dev/sundtek sehen kann ist das zB unter /dev/sundtek/001/ kein 005 eintrag da ist ( der aber wohl zu erwarten wäre ). /dev/dvb ist bis auf die verzeichnisse leider auch leer

root@odroidh2:/dev/dvb# ls -alR
.:
insgesamt 0
drwxrwxrwx  4 root   root     80  4. Jan 11:05 .
drwxr-xr-x 21 root   root   3400  4. Jan 11:03 ..
drwxrwxrwx  2 100000 100000   40  4. Jan 11:05 adapter0
drwxrwxrwx  2 100000 100000   40  4. Jan 11:05 adapter1

./adapter0:
insgesamt 0
drwxrwxrwx 2 100000 100000 40  4. Jan 11:05 .
drwxrwxrwx 4 root   root   80  4. Jan 11:05 ..

./adapter1:
insgesamt 0
drwxrwxrwx 2 100000 100000 40  4. Jan 11:05 .
drwxrwxrwx 4 root   root   80  4. Jan 11:05 ..

----
root@odroidh2:/dev/dvb# cd /dev/sundtek/
root@odroidh2:/dev/sundtek# ls -alR
.:
insgesamt 0
drwxrwxrwx  3 root   root     60  4. Jan 10:55 .
drwxr-xr-x 21 root   root   3400  4. Jan 11:03 ..
drwx------  3 100000 100000   60  4. Jan 10:55 usb

./usb:
insgesamt 0
drwx------ 3 100000 100000 60  4. Jan 10:55 .
drwxrwxrwx 3 root   root   60  4. Jan 10:55 ..
drwx------ 2 100000 100000 40  4. Jan 10:55 001

./usb/001:
insgesamt 0
drwx------ 2 100000 100000 40  4. Jan 10:55 .
drwx------ 3 100000 100000 60  4. Jan 10:55 ..

---




2023-01-04 10:05:05 [137] Memory mapped transfers are not available
2023-01-04 10:05:05 [137] Board config found: Sundtek SkyTV Dual 8 (eLight)
2023-01-04 10:05:05 [137] This board provides 2 frontends
2023-01-04 10:05:05 [137]
2023-01-04 10:05:06 [137] *********
2023-01-04 10:05:06 [137] Signature: Sundtek
2023-01-04 10:05:06 [137] Initializing SYSV-IPC
2023-01-04 10:05:06 [137] Allocation using pg for type 65678
2023-01-04 10:05:07 [137] demodulator successfully attached (DVB_S/S2)!
2023-01-04 10:05:07 [137] attaching second tuner...
2023-01-04 10:05:07 [137] Allocation using pg for type 65678
2023-01-04 10:05:08 [137] demodulator successfully attached (DVB_S/S2)!
2023-01-04 10:05:08 [137] Configuring Dual LNB Power Supply
2023-01-04 10:05:08 [137] Vertical Polarisation is set to 14.00 Volt
2023-01-04 10:05:08 [137] Horizontal Polarisation is set to 19.10 Volt
2023-01-04 10:05:08 [137] Enabling LNB status monitor
2023-01-04 10:05:08 [138] trying to load uinput module
2023-01-04 10:05:08 [138] loading uinput kernel extention failed, remote control will not work with lirc
2023-01-04 10:05:08 [137] No remote control support available
2023-01-04 10:05:08 [137] Initializing Remote Control Support (interrupt)
2023-01-04 10:05:08 [137] Unable to create /dev/mediainput0 (1/Operation not permitted)
2023-01-04 10:05:08 [137] registered virtual: /dev/mediainput0
2023-01-04 10:05:08 [137] Unable to create /dev/dvb/adapter0/frontend0 (1/Operation not permitted)
2023-01-04 10:05:08 [137] Unable to create /dev/dvb/adapter0/demux0 (1/Operation not permitted)
2023-01-04 10:05:08 [137] Unable to create /dev/dvb/adapter0/dvr0 (1/Operation not permitted)
2023-01-04 10:05:08 [137] registering: adapter0/0
2023-01-04 10:05:08 [137] registered virtual: /dev/dvb/adapter0/frontend0
2023-01-04 10:05:08 [137] registered virtual: /dev/dvb/adapter0/demux0
2023-01-04 10:05:08 [137] registered virtual: /dev/dvb/adapter0/dvr0
2023-01-04 10:05:08 [137] Unable to create /dev/dvb/adapter1/frontend0 (1/Operation not permitted)
2023-01-04 10:05:08 [137] Unable to create /dev/dvb/adapter1/demux0 (1/Operation not permitted)
2023-01-04 10:05:08 [137] Unable to create /dev/dvb/adapter1/dvr0 (1/Operation not permitted)
2023-01-04 10:05:08 [137] registering: adapter1/0
2023-01-04 10:05:08 [137] registered virtual: /dev/dvb/adapter1/frontend0
2023-01-04 10:05:08 [137] registered virtual: /dev/dvb/adapter1/demux0
2023-01-04 10:05:08 [137] registered virtual: /dev/dvb/adapter1/dvr0
2023-01-04 10:05:08 [137] Driver loaded within 2945 milliseconds
2023-01-04 10:05:12 [137] Initial devicescan done, switching detection mode

33
Hi,

ich bin einen Schritt weiter.


1. habe /dev/dvb auf dem Host gelöscht, wird wohl nicht gebraucht.
2. habe /dev/sundtek angelegt und an den LXC durchgereicht mit 777 Rechten.

der Log sieht jetzt so aus :
2023-01-04 09:57:29 [148]
2023-01-04 09:57:29 [148] Scanning for plugins
2023-01-04 09:57:29 [148] found lib: libencoder_plugin.so
2023-01-04 09:57:29 [148] MediaAVPlugin: MPEG Encoder
2023-01-04 09:57:29 [148] Copyright: (C) Tpe 2011/2012
2023-01-04 09:57:29 [148]
2023-01-04 09:57:29 [148] Starting up device manager
2023-01-04 09:57:29 [148] unable to create /dev/sundtek/usb/001/005, this will lead to a failure now
2023-01-04 09:57:29 [148] retrying with 3rd workaround now
2023-01-04 09:57:29 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:57:30 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:57:31 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:57:32 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:57:33 [148] skipping unknown busy device, check dmesg maybe a module is interfering (eg. usbhid)
2023-01-04 09:57:33 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:57:34 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:57:35 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:57:36 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:57:37 [148] skipping unknown busy device, check dmesg maybe a module is interfering (eg. usbhid)
2023-01-04 09:57:37 [148] scanning devices done
2023-01-04 09:57:37 [148] attached devices:
2023-01-04 09:57:37 [149] Autostarting scripts in /etc/sundtek/
2023-01-04 09:57:37 [149] executed all available items
2023-01-04 09:57:44 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:57:45 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:57:46 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:57:47 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:57:48 [148] skipping unknown busy device, check dmesg maybe a module is interfering (eg. usbhid)
2023-01-04 09:57:48 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:57:49 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:57:50 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:57:51 [148] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:57:52 [148] skipping unknown busy device, check dmesg maybe a module is interfering (eg. usbhid)
2023-01-04 09:57:52 [148] registering ID: 0
2023-01-04 09:57:52 [148] Memory mapped transfers are not available
2023-01-04 09:57:52 [148] Board config found: Sundtek SkyTV Dual 8 (eLight)
2023-01-04 09:57:52 [148] This board provides 2 frontends
2023-01-04 09:57:52 [148]
2023-01-04 09:57:52 [148] *********
2023-01-04 09:57:52 [148] Signature: Sundtek
2023-01-04 09:57:52 [148] Initializing SYSV-IPC
2023-01-04 09:57:52 [148] Allocation using pg for type 65678
2023-01-04 09:57:54 [148] demodulator successfully attached (DVB_S/S2)!
2023-01-04 09:57:54 [148] attaching second tuner...
2023-01-04 09:57:54 [148] Allocation using pg for type 65678
2023-01-04 09:57:55 [148] demodulator successfully attached (DVB_S/S2)!
2023-01-04 09:57:55 [148] Configuring Dual LNB Power Supply
2023-01-04 09:57:55 [148] Vertical Polarisation is set to 14.00 Volt
2023-01-04 09:57:55 [148] Horizontal Polarisation is set to 19.10 Volt
2023-01-04 09:57:55 [148] Enabling LNB status monitor
2023-01-04 09:57:55 [149] trying to load uinput module
2023-01-04 09:57:55 [149] loading uinput kernel extention failed, remote control will not work with lirc
2023-01-04 09:57:55 [148] No remote control support available
2023-01-04 09:57:55 [148] Initializing Remote Control Support (interrupt)
2023-01-04 09:57:55 [148] Unable to create /dev/mediainput0 (1/Operation not permitted)
2023-01-04 09:57:55 [148] registered virtual: /dev/mediainput0
2023-01-04 09:57:55 [148] Unable to create /dev/dvb/adapter0/frontend0 (1/Operation not permitted)
2023-01-04 09:57:55 [148] Unable to create /dev/dvb/adapter0/demux0 (1/Operation not permitted)
2023-01-04 09:57:55 [148] Unable to create /dev/dvb/adapter0/dvr0 (1/Operation not permitted)
2023-01-04 09:57:55 [148] registering: adapter0/0
2023-01-04 09:57:55 [148] registered virtual: /dev/dvb/adapter0/frontend0
2023-01-04 09:57:55 [148] registered virtual: /dev/dvb/adapter0/demux0
2023-01-04 09:57:55 [148] registered virtual: /dev/dvb/adapter0/dvr0
2023-01-04 09:57:55 [148] Unable to create /dev/dvb/adapter1/frontend0 (1/Operation not permitted)
2023-01-04 09:57:55 [148] Unable to create /dev/dvb/adapter1/demux0 (1/Operation not permitted)
2023-01-04 09:57:55 [148] Unable to create /dev/dvb/adapter1/dvr0 (1/Operation not permitted)
2023-01-04 09:57:55 [148] registering: adapter1/0
2023-01-04 09:57:55 [148] registered virtual: /dev/dvb/adapter1/frontend0
2023-01-04 09:57:55 [148] registered virtual: /dev/dvb/adapter1/demux0
2023-01-04 09:57:55 [148] registered virtual: /dev/dvb/adapter1/dvr0
2023-01-04 09:57:55 [148] Driver loaded within 2945 milliseconds
2023-01-04 09:57:59 [148] Initial devicescan done, switching detection mode


habe das Netzteil und Satkabel aber nicht dran

34
Hallo,

da es dazu noch keine Anleitung gibt , hangel ich mich mal dadurch.


bisher habe ich gemacht:

1. anlegen der /dev/dvb/card[0/1] devices auf dem host
2. installieren der netinst.sh auf dem LXC unpriv container
3. durchreichen des /dev/usb/001/005 devices an den container

das device ist per lsusb auch sichtbar. Jetzt hänge ich beim mediasrv wegen:

2023-01-04 09:27:52 [650]
2023-01-04 09:27:52 [650] Scanning for drivers
2023-01-04 09:27:52 [650] found lib: libdrv_ngTV.so
2023-01-04 09:27:52 [650] found lib: libdrv_net.so
2023-01-04 09:27:52 [650] found lib: libdrv_tntdvb.so
2023-01-04 09:27:52 [650] found lib: libdrv_hikarisoft_isdb.so
2023-01-04 09:27:52 [650] found lib: libdrv_fm.so
2023-01-04 09:27:52 [650] found lib: libdrv_vivi.so
2023-01-04 09:27:52 [650] found lib: libdrv_fm_dab_dabplus.so
2023-01-04 09:27:52 [650] found lib: libdrv_em28xx.so
2023-01-04 09:27:52 [650] found lib: libdrv_eLight.so
2023-01-04 09:27:52 [650]
2023-01-04 09:27:52 [650] Scanning for plugins
2023-01-04 09:27:52 [650] found lib: libencoder_plugin.so
2023-01-04 09:27:52 [650] MediaAVPlugin: MPEG Encoder
2023-01-04 09:27:52 [650] Copyright: (C) Tpe 2011/2012
2023-01-04 09:27:52 [650]
2023-01-04 09:27:52 [650] Starting up device manager
2023-01-04 09:27:52 [650] unable to create /dev/sundtek/usb/001/005, this will lead to a failure now
2023-01-04 09:27:52 [650] retrying with 3rd workaround now
2023-01-04 09:27:52 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:27:53 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:27:54 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:27:55 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
2023-01-04 09:27:56 [650] skipping unknown busy device, check dmesg maybe a module is interfering (eg. usbhid)
2023-01-04 09:27:56 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:27:57 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:27:58 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:27:59 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/004)
2023-01-04 09:28:00 [650] skipping unknown busy device, check dmesg maybe a module is interfering (eg. usbhid)
2023-01-04 09:28:00 [650] Setting permission of /dev/dvb to 777
2023-01-04 09:28:00 [650] This is to avoid problems if TV Applications are started as another user
2023-01-04 09:28:00 [650] as seen on eg. Synology NAS Systems where tvheadend is unable to read
2023-01-04 09:28:00 [650] /dev/dvb and because of that would not detect the TV tuner
2023-01-04 09:28:00 [650] scanning devices done
2023-01-04 09:28:00 [650] attached devices:
2023-01-04 09:28:00 [651] Autostarting scripts in /etc/sundtek/
2023-01-04 09:28:00 [651] executed all available items
2023-01-04 09:28:07 [650] device not ready, sleeping 3 seconds and retrying (/dev/bus/usb/001/002)
^C2023-01-04 09:28:07 [650] Shutting down driver


es scheint so zu sein als ob ein /dev/sundtek irgendwas angelegt werden soll im LXC container. das ist nirgendwo beschrieben wo es mir bekannt wäre und der mediasrv wirft deswegen ab.


Wie gehts weiter ?

MFG,
Simon

Seiten: 1 2 [3]