DVB-T tuner with OSMC - IT9135

hi ilan,
you should use this guide “how to”

and in the firmware that provided you franky384 is not complete, you need 2nd file that name is dvb-usb-it9135-02.fw, this file is important, google for it.

do fresh install of osmc and download again both files 01 and 02, then the dongle should be recognized, good luck :smile:

Dear Mio,
I fount the dvb-usb-it9135-02.fw on my raspberry.
It means that all the files exist.

What’s the reason that I cannot see the DVB stick?

hi,

when you try use the command “dmesg | grep dvb”, you dont have there any output? if no, try new fresh install of osmc and dont use app store TVHeadend… also where do you have the ***.fw files? they should be in /lib/firmware/ … paste here some outputs of what you are doing.

There was a typo, the second firmware file is at
sudo wget http://palosaari.fi/linux/v4l-dvb/firmware/IT9135/ITE_3.25.0.0/dvb-usb-it9135-02.fw
when you have no output after “dmesg | grep dvb”,the kernel modules for your tv-stick are not loaded, so your stick is not recognized.
Try “sudo modprobe dvb-usb-it9135” and
“sudo modprobe it913x-fe” to see if they are available and load without problems. If so, open the file modules with this command “sudo nano /etc/modules”
If you get a message about nano is not found, install it with “sudo apt-get install nano”
paste this inside the file modules:
dvb-usb-it9135
it913x-fe
and press ctrl-x, y and enter to save the file.
reboot and look again at the output of “dmesg | grep dvb”.

Dear Franky and Mio,
Thank you very much!

I did a fresh OSMC installation and downloaded the 3 files.
After doing dmesg | grep dvb, I received this messages:

osmc@osmc:~$ dmesg | grep dvb
[ 6.180598] usb 1-1.2: dvb_usb_v2: 2nd usb_bulk_msg() failed=-110
[ 6.180650] dvb_usb_af9035: probe of 1-1.2:1.0 failed with error -110
[ 6.180793] usbcore: registered new interface driver dvb_usb_af9035
osmc@osmc:~$

It seems that there are problems with the driver?

Thank you again,

Ilan.

That’s a totally other device than that you mentioned in your first post and needs an other firmware file. Download it with
cd /lib/firmware
sudo wget http://palosaari.fi/linux/v4l-dvb/firmware/af9035/dvb-usb-af9035-02.fw_14ae2b81bac90ff5c6b490c225265267_12.13.15.0_6.20.15.0
and rename it to dvb-usb-af9035-02.fw with
sudo mv ./dvb-usb-af9035-02.fw_14ae2b81bac90ff5c6b490c225265267_12.13.15.0_6.20.15.0 dvb-usb-af9035-02.fw
check if the file dvb-usb-af9035-02.fw is in /lib/firmware
reboot and post again the output of dmesg -i | grep dvb
install usbutils:
sudo apt-get install usbutils
and please post the output of:
lsusb
we need to find out which tv-stick you really have.
Have you tried what i said two posts before?

Hi Ilan,

i searched about your DVB-T stick and i found this “info

based on your DVB-T manufakturer, try use drivers from this reply instead the older posts.

also before remove old drivers and try it with the new one

Dear Franky,

I did what I understand such as download the second file and reinstall OSMC.

I did what you told me in this post and those are the outputs:

osmc@osmc:/lib/firmware$ dmesg | grep dvb
[ 6.210664] usb 1-1.2: dvb_usb_v2: 2nd usb_bulk_msg() failed=-110
[ 6.210717] dvb_usb_af9035: probe of 1-1.2:1.0 failed with error -110
[ 6.210866] usbcore: registered new interface driver dvb_usb_af9035
osmc@osmc:/lib/firmware$

(dmesg -i didn’t work)

osmc@osmc:~$ sudo apt-get install usbutils
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package usbutils
osmc@osmc:~$

I couldn’t do Isusb…

Thank you!

Dear Mio,

It’s strange because I’ve installed the stick on a Windows machine and it writes 9135.
Also the drivers are for 9135 on the Windows machine.

If I could understand well, from your link I need to download a driver and then to compile it on my RPI.

I did something like that before and my RP died so I prefer to use an already tested driver.

i ment just this article on that link:

 WandTV
AF9035 based. Check out the Afatech AF9035 page for information on support. And please add details so that the device can be added to the big table above.
There is also IT9135 based WandTV, id is: 048d:9006. You can try the way described for Kworld_UB499-2T. It "kind of works" for me with the older driver http://wasietsmet.nl/wp-content/uploads/2010/07/IT9135_SRC_i686_patch.tar.gz (scans the channels).

Dear Mio,

Yes, I saw that and it you open the files, you will see that there are no drivers, it’s a sh. file.

Maybe I’m missing something because I don’t have much knowledge in Linux…

yeah, i opened it too and there is no ***.fw file…

ok, when i installed my dvb-t tuner, i copied the two 01 and 02 fw files to /lib/firmware and also a script with name get_dvb_firmware. i have the script but i dont know where upload it, try google it or provide me some sharing website where can upload it for you…

Ok, i connected a usb tv-stick i have lying around to test and i get this message after boot:

osmc@osmc:~$ dmesg | grep -i dvb
[ 5.301164] usb 1-1.2.2: dvb_usb_af9035: prechip_version=83 chip_version=02 chip_type=9135
[ 5.304149] usb 1-1.2.2: dvb_usb_v2: found a ‘ITE 9135 Generic’ in cold state
[ 5.327599] usb 1-1.2.2: Direct firmware load for dvb-usb-it9135-02.fw failed with error -2
[ 5.327640] usb 1-1.2.2: dvb_usb_v2: Did not find the firmware file ‘dvb-usb-it9135-02.fw’. Please see linux/Documentation/dvb/ for more details on firmware-problems. Status -2
[ 5.327690] dvb_usb_af9035: probe of 1-1.2.2:1.0 failed with error -2

the error is only because i don’t have the firmware files installed. No need to install any drivers, they are already installed by default in osmc.
Where have you connected your stick, directly into the Pi?
It is known that a lot of sticks only work if they are connected to a powered usb-hub. I use a powered hub and the stick is working without problems.
It would be very helpfull if you could send the output of lsusb, to see the ID of your stick.
If you can’t install the usbutils there must be something wrong with your sources.list.
please post your /etc/apt/sources.list. it should look like this one:

deb http://ftp.debian.org/debian jessie main contrib non-free

deb-src http://ftp.debian.org/debian jessie main contrib non-free

deb Index of /debian jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free

deb http://apt.osmc.tv jessie main

OK, after i copied the firmware file and a rebboot the stick is recognized without any problems:

osmc@osmc:~$ dmesg | grep -i dvb
[ 5.343708] usb 1-1.2.2: dvb_usb_af9035: prechip_version=83 chip_version=02 chip_type=9135
[ 5.346777] usb 1-1.2.2: dvb_usb_v2: found a ‘ITE 9135 Generic’ in cold state
[ 5.376237] usb 1-1.2.2: dvb_usb_v2: downloading firmware from file ‘dvb-usb-it9135-02.fw’
[ 5.787844] usb 1-1.2.2: dvb_usb_af9035: firmware version=3.40.1.0
[ 5.788377] usb 1-1.2.2: dvb_usb_v2: found a ‘ITE 9135 Generic’ in warm state
[ 5.794868] usb 1-1.2.2: dvb_usb_v2: will use the device’s hardware PID filter (table count: 32)
[ 5.795036] DVB: registering new adapter (ITE 9135 Generic)
[ 5.826799] usb 1-1.2.2: DVB: registering adapter 1 frontend 0 (Afatech AF9033 (DVB-T))…
[ 5.971962] usb 1-1.2.2: dvb_usb_v2: schedule remote query interval to 500 msecs
[ 5.971991] usb 1-1.2.2: dvb_usb_v2: ‘ITE 9135 Generic’ successfully initialized and connected
[ 5.972171] usbcore: registered new interface driver dvb_usb_af9035

the output “warm state” means the stick is working. There must be something wrong with your installation. Use a powered hub and try again.
Also we need the output of lsusb to find out the correct type of your stick.
If they are not there, copy the lines from my last post to your /etc/apt/sources.list ,
do:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install usbutils
lsusb
and post the output here.
It must be possible to get your stick working.

I have the same problem with a TECHNAXX S4 stick. Worked well with kodi/raspbmc, does not work with osmc RC2. Log is also like

[ 5.343708] usb 1-1.2.2: dvb_usb_af9035: prechip_version=83 chip_version=02 chip_type=9135
[ 5.346777] usb 1-1.2.2: dvb_usb_v2: found a ‘ITE 9135 Generic’ in cold state
[ 5.376237] usb 1-1.2.2: dvb_usb_v2: downloading firmware from file ‘dvb-usb-it9135-02.fw
[ 5.787844] usb 1-1.2.2: dvb_usb_af9035: firmware version=3.40.1.0
[ 5.788377] usb 1-1.2.2: dvb_usb_v2: found a ‘ITE 9135 Generic’ in warm state
[ 5.794868] usb 1-1.2.2: dvb_usb_v2: will use the device’s hardware PID filter (table count: 32)
[ 5.795036] DVB: registering new adapter (ITE 9135 Generic)
[ 5.826799] usb 1-1.2.2: DVB: registering adapter 1 frontend 0 (Afatech AF9033 (DVB-T))…
[ 5.971962] usb 1-1.2.2: dvb_usb_v2: schedule remote query interval to 500 msecs
[ 5.971991] usb 1-1.2.2: dvb_usb_v2: ‘ITE 9135 Generic’ successfully initialized and connected
[ 5.972171] usbcore: registered new interface driver dvb_usb_af9035

When I look with lsmod, I find that there is not dvb-usb-it9135-02.fw loaded, but dvb_usb_af9035 is loaded. I think this is the problem. The module loads the wrong firmware.

I’ve tried to delete the af9035 but could not find the correct files.

Hope for your help.

Thanks,
Rainer

Dear Franky,

Today I sent my raspberry to the store for replace (I saw a rainbow all the time).
I will also buy a powered USB hub.

Next week I will continue to play with it, hopping that I could fix it and see live tv.

Another question to know if I can continue or not:

Do you know if Tvheadend has time shifting and if yes, does it works well?

Thank you again!

Ilan.

@rainer70 the firmware is correct driver dvb_usb_af9035 for the ITE 9135 device, i was also confused in beginning. do not use TVHeadend app from app store, but follow this guide

@ilan5555:
tvheadend has timeshifting and it’s working

@rainer70:
Like Mio said, your stick is working, your dmesg output is exactly like mine and for me it works.
Yesterday i compiled the newest tvheadend myself on osmc, you can download it from my dropbox at:

install it with:
sudo dpkg -i ./tvheadend_3.9.2747~g3049486_armhf.deb
sudo apt-get install -f
this should do the trick.
Or install vdr for watching live-tv like i described here: [HowTo]: install vdr and vnsiserver to watch live-tv
In my oppinion its ways better than tvheadend, with many optional installable plugins for programming your recordings from pc or android phone/tablet, show incomming phone calls from a fritzbox … and so on.
Its a bit tricky to set up, but worth the effort.

Hello guys, I have a similar issue here.
I have a Nilox NX20 DVB-T USB pen, with chipset 9035.
The output of lsusb is:
Bus 001 Device 007: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 15a4:9035 Afatech Technologies, Inc.
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

but the output of dmesg | grep -i dvb is:
[ 6.830644] usb 1-1.3.1: dvb_usb_v2: 2nd usb_bulk_msg() failed=-110
[ 6.830695] dvb_usb_af9035: probe of 1-1.3.1:1.0 failed with error -110
[ 6.830852] usbcore: registered new interface driver dvb_usb_af9035

I have putted the firmware as stated on this post, but I am having this error. Any suggestion?
Thanks

connecting the pen directly to the raspberry (and not via a USB hub) now tvheadend (the version posted by Franky384) is working fine.

Thanks