DVB-T tuner with OSMC - IT9135

Dear friends,

I use OSMC and I want to connect the WandTv HDTV stick.
Please see here:

I saw that the windows driver is IT9135 and there is also a linux driver.

I would like to use it with OSMC but all that I tried didn’t work.

Please help…

Hello,

I got my HDTV stick work with this firmware: dvb-usb-it9135-02.fw

there are two versions. try them…

Hi,

Thank you for your help.

My problem is that I’m a newbie in Linux and I don’t know how to install this driver.
Surely not on OSMC.

login with ssh or putty
cd /lib/firmware
sudo wget http://palosaari.fi/linux/v4l-dvb/firmware/IT9135/ITE_3.25.0.0/dvb-usb-it9135-01.fw
sudo wget http://palosaari.fi/linux/v4l-dvb/firmware/IT9135/ITE_3.25.0.0/dvb-usb-it9135-02.fw

this should download the firmware to the right place.
reboot
look at the output of
dmesg | grep -i dvb
this should show if your tv-stick is recognised at boot.

Hi,
Thank you very much for your help.

I couldn’t download the files because they are already there.

When I did “dmesg | grep -i dvb” - I couldn’t see anything.

The stick is connected to the raspberry and worked before on a Windows machine.

What else can I do?

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 Index of /debian jessie main contrib non-free

deb-src Index of /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