[TESTING] Debian Stretch upgrade for OSMC

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?