[TESTING] Debian Stretch upgrade for OSMC


#104

Vero 2 doesn’t depend on the Samba Server Package. I believe this is what @taiebot was referring to.

If you’re having a problem please let us know

Sam


#105

Hi,
I have bought a brand new VERO 4K. Nice device, works instantly. Thumbs up. Unfortunately I am facing two issues, one with display resolution and one with DVB stick. So I have decided to upgrade following this thread. Upgrade was quick, smooth and successful. However, both issues remain, so here they are:

#1 Display resolution
My TV has a native resolution of 1360 x 768p 50hz but Kodi offers only Full HD and some other but not my. I am using Kodi overscan or how to call it. It is not bad for watching videos but the UI is quite ugly. I have found the this thread but found no solution there. As far as I understand, it’s still work in progress, right?

#2 My DVB-T stick does not work
I have EVOLVEO Venus Dual DVB-T stick (aka ITE 9135(9006) or Afatech AF9033) It works flawlessly with my Synology NAS (Debian based) and with my notebook (Debian 9). That’s why I assumed it would work with OSMC/Vero 4k but it doesn’t work.

Here is some output from my notebook where it works:

sudo dmesg | egrep "dvb|ITE|usb 2"
[    1.637325] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.785955] usb 2-1: New USB device found, idVendor=8087, idProduct=0020
[    1.785959] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 8555.865703] usb 2-1.2: new high-speed USB device number 3 using ehci-pci
[ 8555.978679] usb 2-1.2: New USB device found, idVendor=048d, idProduct=9006
[ 8555.978682] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8555.978684] usb 2-1.2: Product: DVB-T TV Stick
[ 8555.978686] usb 2-1.2: Manufacturer: ITE Technologies, Inc.
[ 8556.006462] dvb_usb_af9035 2-1.2:1.0: prechip_version=83 chip_version=02 chip_type=9135
[ 8556.007353] usb 2-1.2: dvb_usb_v2: found a 'ITE 9135(9006) Generic' in cold state
[ 8556.007668] usb 2-1.2: firmware: direct-loading firmware dvb-usb-it9135-02.fw
[ 8556.007674] usb 2-1.2: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-02.fw'
[ 8557.948748] dvb_usb_af9035 2-1.2:1.0: firmware version=3.39.1.0
[ 8557.948762] usb 2-1.2: dvb_usb_v2: found a 'ITE 9135(9006) Generic' in warm state
[ 8557.950316] dvb_usb_af9035 2-1.2:1.0: [0] overriding tuner from 00 to 60
[ 8557.951833] dvb_usb_af9035 2-1.2:1.0: [1] overriding tuner from 00 to 60
[ 8557.953475] usb 2-1.2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[ 8557.953512] DVB: registering new adapter (ITE 9135(9006) Generic)
[ 8557.959946] usb 2-1.2: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
[ 8557.963790] it913x 16-001c: ITE IT913X BX successfully attached
[ 8557.963807] usb 2-1.2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[ 8557.963840] DVB: registering new adapter (ITE 9135(9006) Generic)
[ 8557.978025] usb 2-1.2: DVB: registering adapter 1 frontend 0 (Afatech AF9033 (DVB-T))...
[ 8557.979531] it913x 16-001d: ITE IT913X BX successfully attached
[ 8558.021732] input: ITE 9135(9006) Generic as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/rc/rc0/input20
[ 8558.021891] rc rc0: ITE 9135(9006) Generic as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/rc/rc0
[ 8558.021895] usb 2-1.2: dvb_usb_v2: 'ITE 9135(9006) Generic' successfully initialized and connected
[ 8558.022964] usbcore: registered new interface driver dvb_usb_af9035
[ 8558.036274] input: ITE Technologies, Inc. DVB-T TV Stick as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:048D:9006.0001/input/input21
[ 8558.093916] hid-generic 0003:048D:9006.0001: input,hidraw0: USB HID v1.01 Keyboard [ITE Technologies, Inc. DVB-T TV Stick] on usb-0000:00:1d.0-1.2/input1
[ 8558.343548] usb 2-1.2: DVB: adapter 0 frontend 0 frequency 0 out of range (174000000..862000000)
[ 8559.870722] usb 2-1.2: DVB: adapter 1 frontend 0 frequency 0 out of range (174000000..862000000)

And here from OSMC/Vero 4k:

lsusb 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2017:1688  
Bus 001 Device 004: ID 048d:9006 Integrated Technology Express, Inc. IT9135 BDA Afatech DVB-T HDTV Dongle
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


sudo dmesg | egrep "dvb|ITE|usb"
[11705.882907] usb 1-1: USB disconnect, device number 2
[11715.142357] usb 1-1: new high-speed USB device number 4 using xhci-hcd
[11715.286812] usb 1-1: New USB device found, idVendor=048d, idProduct=9006
[11715.286860] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[11715.286888] usb 1-1: Product: DVB-T TV Stick
[11715.286915] usb 1-1: Manufacturer: ITE Technologies, Inc.
[11715.317153] input: ITE Technologies, Inc. DVB-T TV Stick as /devices/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.1/0003:048D:9006.0005/input/input13
[11715.317944] hid-generic 0003:048D:9006.0005: input,hidraw0: USB HID v1.01 Keyboard [ITE Technologies, Inc. DVB-T TV Stick] on usb-xhci-hcd.0.auto-1/input1
[11715.534802] usb 1-1: dvb_usb_v2: found a 'ITE 9135(9006) Generic' in cold state
[11715.535687] usb 1-1: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-02.fw'
[11716.132468] usb 1-1: dvb_usb_v2: found a 'ITE 9135(9006) Generic' in warm state
[11716.132674] usb 1-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[11716.132933] dvb_usb_it913x: probe of 1-1:1.0 failed with error -12
[11716.132979] usbcore: registered new interface driver dvb_usb_it913x

I have no clue what does the error -12 means and how to avoid it. The only significant difference I have found is that for some reason the notebook is using the dvb_usb_af9035 driver while OSMC is using dvb_usb_v2. Beg my pardon if I am wrong, I am not an expert.

The Live TV / PVR is a key functionality for my wife :sunglasses: , please help, any ideas?


#106

This is a separate issue. I think you might posted the wrong thread, most active thread is below. But long story short additional resolutions will come through a kernel sync with AML, but that was not part of tthis testing thread of moving to Debian stretch.

Debian 9 is just indicating the repository base. All these devices will use different kernels with different support for DVB. Sam backported most drivers but there might be an issue with your specific one. I suggest to first search the forum if someone before already report issues with your stick otherwise open a new thread as this thread is about the switch from Debian 8 to 9.


#107

Thank you for your patience. I will follow your recommendations. The update itself was painless. Many thanks.


#108

If it’s not too old, it should work fine on 1080, if not 720. There is no need for pixel-by-pixel mapping.


#109

I did the update this evening on my Pi3.

It took a rather long time (over 4 hours), but worked fine. Everything seems to work, all settings were kept.


Raspberry Pi 3 very slow at scanning the libraries
#110

That sounds like a very slow SD Card (or slow internet) normally on Pi3 I would expect 1 to max 2 hours


#111

20 minutes on a Vero 4K here and 50 minutes on a Pi3 with an OSMC SD card.


#112

I dont know the reason.

The SD-card i an OSMC card bought in the OSMC store.

The internet could be a limit as its onlt 20Mbit. But 500Mb at 20Mbit (2Mb) a second should only take about 4 minuttes (250 seconds).

A job like scannning libraries has allways been extremely slow, it was much faster on my Pi1 with USB install.


#113

I would say let’s get a new thread open for this as it doens’t sound right and provide some logs via grab-logs -A that we might see whats wrong.


#114

I’ll make a new thread in the Raspberry Pi section.


#115

Mine is less than 10Mbit but wasn’t much slower than the times Sam reports.


#116

Hello
I have after update same issue with missing Panasonic tuner like in Jessie (I saw only Realtek tuner from OSMC tuner in hts TVH
Upgrade was over My OSMC on Pi2
I made a few restart and cannot find DVB-T2 tuner
I will continue with other tests
My logs:
https://paste.osmc.tv/ogemicukag
Any ideas what can I try?

Thanks
Jan


#117

Also updated my RPi3 to the Stretch test build… Very fast update process, everything seems to be smooth and working. :+1:t2:


#118

It seems the upgrade didn’t go as planned. Followed the exact steps from the initial post, but then the installer complained it couldn’t install a package “unknown package”. I believe kodi might be upgraded, but the base system isn’t. I’ve collected all logs: https://paste.osmc.tv/xisagijuma

I’m running a manual apt-get -u dist-upgrade from cli right now and it will upgrade the base system so it seems (at least, it shows about 100 packages to be updated :)). I’ll post again once the manual update is completed.
PS, I’m running piaware and flightradar24 package, perhaps that could be the reason.


#119

Remove/comment this extraneous repo.

deb http://repo.feed.flightradar24.com flightradar24 raspberrypi-stable


#120

I have been trying the new Cec options available
i have tried the stop playback on tv off but it does not seems to work


#121

Quick update, after manually upgrading via cli almost all is fine. It seems I’m unable to (re-)install syslog-ng, but everything else is just fine.

Edit: fixed syslog-ng as well. Turns out /etc/syslog-ng/syslog-ng.conf is no longer compatible and needs to be re-installed. This isn’t done automatically so had to download the package, extract it and place all /etc/syslog-ng/* files manually there.


#122

This did not work for me the first time, I got a reboot and sad face over and over and had to move back to a backup to attempt it again.


#123

Quick update (< 10min). I did the upgrade as mentioned via My OSMC -> Updater on my Vero4K.
Upgrade to Stretch was smoothless.

But… since i was using the @gmc nightly builds (17.8-134) for Kodi 18 Leia i ended up in an infinite loop of sad faces when OSMC tried to start Kodi.

I fixed that by following the step mentioned in [TESTING] Kodi 18 (Leia) builds for Vero 2 & 4K for Debian Stretch.

No everything works smoothly (Tvheadend, Emby, …).

Thx for all the great work!!!