@Tux User

I'm not sure my source will be of use - it's not for a kernel driver so it's quite different to the normal linux kernel code. I will, of course, pass on all the info I can to get the kernel sources working.

@Sky Anakin

Are you still having issues with DVB-T locking? I plan to do a pass through my source code to check for any other differences I might have missed. I used the 'hisilicon' sources as my starting point - I diff'ed them with 'madison' last week and the differences appeared minimal, but 'madison' seemed to have more DVB-C modes. I'll let you know if I find anything else that might be different.

Plus, big thanks to everyone who's posted on this thread and provided information. It's been a great help in us getting this far.
@Garvin

Always nothing. Tried hisilicon sources, DVB-C OK but not DVB-T. I have checked with a TV that I can really get a signal, to be sure.

As there will maybe have some concern with copyright I am doubtfully that there will be an GPL drivers from this.

As said the driver are surelly not kernel-friendly but for those want to try the sources are attached

Have you already succeeded to compile the linuxtv sources, otherwise it could be lot harder.

I am not the best one to make a tuto how to compile this because I have done it the hard way. Haven't search enough how to do it.

1- Try to compile the latest sources from git

2- copy the modified files.
Clean v4l folder with "make clean".
Add "obj-$(CONFIG_MEDIA_TUNER_TDA18250B) += tda18250b_i2c.o" to linux/drivers/tuners/Makefile
Add "CONFIG_MEDIA_TUNER_TDA18250B=m" to v4l/.config

Add "CONFIG_MEDIA_TUNER_TDA18250B := m" to v4l/.myconfig

3- recompile.
Install with "sudo make install"
cp v4l/tda18250b_i2c.ko to the module kernel folder "/lib/modules/4.4.0-/kernel/drivers/media/tuners/"

reload modules dependencies with "sudo depmod -a"

Good luck

I made a git repo with Sky Anakin's changes. If someone wants to try out the driver, here's how:


git clone git://linuxtv.org/media_build.git
git clone -b xbox --depth=1 https://github.com/trsqr/media_tree.git
cd media_build/linux/
make tar DIR=../../media_tree
make untar
cd ..
make
sudo make install

And now reboot.

However, for me it fails.


[ 1608.143943] dvb-usb: found a 'Microsoft Xbox Tuner' in cold state, will try to load a firmware
[ 1608.145072] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
[ 1608.346393] dib0700: firmware started successfully.
[ 1608.848538] dvb-usb: found a 'Microsoft Xbox Tuner' in warm state.
[ 1608.848743] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 1608.848901] DVB: registering new adapter (Microsoft Xbox Tuner)
[ 1608.848909] usb 2-1: media controller created
[ 1608.849253] dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 1609.040836] mn88472 0-0018: Panasonic MN88472 successfully attached
[ 1609.040851] BUG: unable to handle kernel NULL pointer dereference at           (null)
[ 1609.186758] IP: [<          (null)>]           (null)
[ 1609.261101] PGD 0 
[ 1609.332558] Oops: 0010 [#1] SMP 
...
[ 1612.135768] Call Trace:
[ 1612.205463]  [<ffffffffc05d8713>] ? mn88472_frontend_attach+0x193/0x1e0 [dvb_usb_dib0700]
[ 1612.345500]  [<ffffffffc0593c72>] dvb_usb_adapter_frontend_init+0xe2/0x1e0 [dvb_usb]
[ 1612.485204]  [<ffffffffc0593a19>] ? dvb_usb_adapter_dvb_init+0x1d9/0x2c0 [dvb_usb]
[ 1612.625498]  [<ffffffffc0592b03>] dvb_usb_device_init+0x503/0x750 [dvb_usb]

Here's the patch on top of current media_tree:
https://github.com/trsqr/media_tree/commit/d36d89ad26998ec1557f572ffa4ee1c4026ba1b1
@Olli
Tried your patch and no errors.
CONFIG_DVB_USB_DIB0700 is not set, have to edit.

What I done is to delete all staging modules from kernel cause sometimes there are two same module and one the staging have some bugs.

On my htpc, where there is another card, I have to remove the frame_vector module cause it cause some errors.

regards

Edit: Try to get ride of the module crash when the device is remove but don't know how. Need to restart the pc when I removed it for some reason.


 [<ffffffff81829a25>] schedule+0x35/0x80
[ 3960.085230]  [<ffffffffc085d4d1>] dvb_unregister_frontend+0xd1/0x130 [dvb_core]
[ 3960.085233]  [<ffffffff810c3ca0>] ? wake_atomic_t_function+0x60/0x60
[ 3960.085236]  [<ffffffffc08a1d9c>] dvb_usb_adapter_frontend_exit+0x3c/0x70 [dvb_usb]
[ 3960.085237]  [<ffffffffc08a0469>] dvb_usb_exit+0x49/0xf0 [dvb_usb]
[ 3960.085239]  [<ffffffffc08a054f>] dvb_usb_device_exit+0x3f/0x60 [dvb_usb]
[ 3960.085241]  [<ffffffff8161ced6>] usb_unbind_interface+0x86/0x280
[ 3960.085244]  [<ffffffff81553811>] __device_release_driver+0xa1/0x150
[ 3960.085245]  [<ffffffff815538e3>] device_release_driver+0x23/0x30
[ 3960.085246]  [<ffffffff81552f31>] bus_remove_device+0x101/0x170
[ 3960.085248]  [<ffffffff8154f089>] device_del+0x139/0x260
[ 3960.085249]  [<ffffffff816217ff>] ? usb_remove_ep_devs+0x1f/0x30
[ 3960.085251]  [<ffffffff8161a699>] usb_disable_device+0x89/0x270
[ 3960.085253]  [<ffffffff8160ffd2>] usb_disconnect+0x92/0x280
[ 3960.085254]  [<ffffffff81611ba2>] hub_port_connect+0x82/0x9c0
[ 3960.085256]  [<ffffffff81612bb1>] hub_event+0x6d1/0xb10
[ 3960.085258]  [<ffffffff810b9415>] ? put_prev_entity+0x35/0x7d0
[ 3960.085260]  [<ffffffff8109a2c5>] process_one_work+0x165/0x480
[ 3960.085262]  [<ffffffff8109a62b>] worker_thread+0x4b/0x4c0
[ 3960.085263]  [<ffffffff8109a5e0>] ? process_one_work+0x480/0x480
[ 3960.085265]  [<ffffffff810a0808>] kthread+0xd8/0xf0
[ 3960.085266]  [<ffffffff810a0730>] ? kthread_create_on_node+0x1e0/0x1e0
[ 3960.085268]  [<ffffffff8182decf>] ret_from_fork+0x3f/0x70
[ 3960.085269]  [<ffffffff810a0730>] ? kthread_create_on_node+0x1e0/0x1e0

3 months later

Does anyone know if this tuner has been made to work on Linux?

Looks like it's for sale for £9.99 in the UK at the moment. A bargain for DVB-T2/C if it does work.
<<
I tried one a couple of weeks ago (was tempted by a £20 price-tag at the time)
On stock Debian 8 and the latest Raspbian Jessie, it was not recognised.

I cannot rememberwith 100% certainty if I tried it on Debian backports Kernel 4.7.0, however Ithink I did, and believe it was still not recognised.

Didn't fancy hacking round the kernel modules, so gave up on it :(
Shame - would have been a bargin indeed ...
<<

I bought one anyway to have a play with, though I probably don't have the time at the moment to hack about with different kernel modules.

I guess it's been on the market for long enough that if it's not supported by now it probably won't be, but I live in hope!
a month later
I tried to get it work on raspbian jessie

running kernel compiled from the raspberry's GitHub rpi-4.8.y branch.

Here is what I can see in the dmesg:

[ 3.541136] usb 1-1.5: new high-speed USB device number 5 using dwc_otg
[ 3.667891] usb 1-1.5: New USB device found, idVendor=045e, idProduct=02d5
[ 3.667906] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.667915] usb 1-1.5: Product: Xbox USB Tuner
[ 3.667923] usb 1-1.5: Manufacturer: Microsoft Corp.
[ 3.667931] usb 1-1.5: SerialNumber: 004457220415
[ 3.866968] systemd-udevd[143]: starting version 215
[ 4.260932] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 4.665616] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 4.870880] usbcore: registered new interface driver brcmfmac
[ 5.008225] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[ 5.033153] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 5.113260] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
[ 5.248731] systemd-journald[132]: Received request to flush runtime journal from PID 1
[ 5.692571] dvb-usb: found a 'Microsoft Xbox Tuner' in cold state, will try to load a firmware
[ 5.696524] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
[ 5.763585] dib0700: firmware started successfully.
[ 6.277113] dvb-usb: found a 'Microsoft Xbox Tuner' in warm state.
[ 6.277383] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 6.277503] DVB: registering new adapter (Microsoft Xbox Tuner)
[ 6.538445] mn88472 3-0018: Panasonic MN88472 successfully identified
[ 6.538494] usb 1-1.5: DVB: registering adapter 0 frontend 0 (Panasonic MN88472)...
[ 6.555486] tda18250b_i2c 3-0060: chip_id=c7:4a:21
[ 6.555499] tda18250b_i2c 3-0060: NXP TDA18250BHN/M successfully identified
[ 6.596931] Registered IR keymap rc-dib0700-rc5
[ 6.597630] input: IR-receiver inside an USB DVB receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0/input0
[ 6.597659] rc rc0: IR-receiver inside an USB DVB receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/rc/rc0
[ 6.598318] dvb-usb: schedule remote query interval to 150 msecs.
[ 6.598330] dvb-usb: Microsoft Xbox Tuner successfully initialized and connected.
[ 6.598579] usbcore: registered new interface driver dvb_usb_dib0700
[ 7.245905] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7.245955] brcmfmac: power management disabled
[ 7.799202] uart-pl011 3f201000.serial: no DMA platform data
[ 8.180288] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 8.278386] Adding 102396k swap on /var/swap. Priority:-1 extents:4 across:184316k SSFS
[ 9.050330] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 9.050606] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.369857] mn88472 3-0018: downloading firmware from file 'dvb-demod-mn88472-02.fw'
[ 9.459190] tmbslTDA18250A_Open(0x%08X)
[ 9.459201]
=== TDA18250B open, result[0x0].
[ 9.459206] tmbslTDA18250A_SetPowerState(0x%08X)
[ 9.459211] iTDA18250A_SetLLPowerState(0x%08X)
[ 9.459215] iTDA18250A_CheckHwState(0x%08X)
[ 9.459639] <0x60[0x6] 0x000001
[ 9.459888] >0x60[0x6] 0x000000
[ 9.460319] <0x60[0x25] 0x0000db
[ 9.460566] >0x60[0x25] 0x0000db
[ 9.460571]
=== TDA18250B SetPowerState, result[0x0].
[ 9.460575] tmbslTDA18250A_HwInit(0x%08X)
[ 9.500517] <0x60[0x0] 0x0000c7
[ 9.500527] <0x60[0x0] 0x000000
[ 9.500532] <0x60[0x0] 0x000000
[ 9.500537] <0x60[0x0] 0x000000
[ 9.500542] <0x60[0x0] 0x0000c7
[ 9.500547] <0x60[0x0] 0x000000
[ 9.500552] <0x60[0x0] 0x000000
[ 9.500557] <0x60[0x0] 0x000000
[ 9.500562] <0x60[0x0] 0x0000c7
[ 9.500566] <0x60[0x0] 0x000000
[ 9.500571] <0x60[0x0] 0x000000
[ 9.500576] <0x60[0x0] 0x000000
[ 9.500581] <0x60[0x0] 0x0000c7
[ 9.500586] <0x60[0x0] 0x000000
[ 9.500591] <0x60[0x0] 0x000000
[ 9.500595] <0x60[0x0] 0x000000
[ 9.500600] <0x60[0x0] 0x0000c7
[ 9.500605] <0x60[0x0] 0x000000
[ 9.500610] <0x60[0x0] 0x000000
[ 9.500615] <0x60[0x0] 0x000000
[ 9.500620] <0x60[0x0] 0x0000c7
[ 9.500625] <0x60[0x0] 0x000000
[ 9.500629] <0x60[0x0] 0x000000
[ 9.500634] <0x60[0x0] 0x000000
[ 9.500639] <0x60[0x0] 0x0000c7
[ 9.500644] <0x60[0x0] 0x000000
[ 9.500649] <0x60[0x0] 0x000000
[ 9.500653] <0x60[0x0] 0x000000
[ 9.500658] <0x60[0x0] 0x0000c7
[ 9.500663] <0x60[0x0] 0x000000
[ 9.500668] <0x60[0x0] 0x000000
[ 9.500673] <0x60[0x0] 0x000000
[ 9.500678] <0x60[0x0] 0x0000c7
[ 9.500682] <0x60[0x0] 0x000000
[ 9.500687] <0x60[0x0] 0x000000
[ 9.500692] <0x60[0x0] 0x000000
[ 9.500697] <0x60[0x0] 0x0000c7
[ 9.500702] <0x60[0x0] 0x000000
[ 9.500707] <0x60[0x0] 0x000000
[ 9.500711] <0x60[0x0] 0x000000
[ 9.500716] <0x60[0x0] 0x0000c7
[ 9.500721] <0x60[0x0] 0x000000
[ 9.500726] <0x60[0x0] 0x000000
[ 9.500731] <0x60[0x0] 0x000000
[ 9.500736] <0x60[0x0] 0x0000c7
[ 9.500741] <0x60[0x0] 0x000000
[ 9.500745] <0x60[0x0] 0x000000
[ 9.500750] <0x60[0x0] 0x000000
[ 9.500755] <0x60[0x0] 0x0000c7
[ 9.500760] <0x60[0x0] 0x000000
[ 9.500765] <0x60[0x0] 0x000000
[ 9.500770] <0x60[0x0] 0x000000
[ 9.500774] <0x60[0x0] 0x0000c7
[ 9.500779] <0x60[0x0] 0x000000
[ 9.500784] <0x60[0x0] 0x000000
[ 9.500789] <0x60[0x0] 0x000000
[ 9.500794] <0x60[0x0] 0x0000c7
[ 9.500799] <0x60[0x0] 0x000000
[ 9.500803] <0x60[0x0] 0x000000
[ 9.500808] <0x60[0x0] 0x000000
[ 9.500813] <0x60[0x0] 0x0000c7
[ 9.500818] <0x60[0x0] 0x000000
[ 9.500823] <0x60[0x0] 0x000000
[ 9.500827] <0x60[0x0] 0x000000
[ 9.500832] <0x60[0x0] 0x0000c7
[ 9.500838] <0x60[0x0] 0x000000
[ 9.500842] <0x60[0x0] 0x000000
[ 9.500847] <0x60[0x0] 0x000000
[ 9.500852] <0x60[0x0] 0x0000c7
[ 9.500857] <0x60[0x0] 0x000000
[ 9.500862] <0x60[0x0] 0x000000
[ 9.500867] <0x60[0x0] 0x000000
[ 9.500872] <0x60[0x0] 0x0000c7
[ 9.500876] <0x60[0x0] 0x000000
[ 9.500881] <0x60[0x0] 0x000000
[ 9.500886] <0x60[0x0] 0x000000
[ 9.500891] <0x60[0x0] 0x0000c7
[ 9.500896] <0x60[0x0] 0x000000
[ 9.500900] <0x60[0x0] 0x000000
[ 9.500905] <0x60[0x0] 0x000000
[ 9.500910] <0x60[0x0] 0x0000c7
[ 9.500915] <0x60[0x0] 0x000000
[ 9.500920] <0x60[0x0] 0x000000
[ 9.500925] <0x60[0x0] 0x000000
[ 9.500929] <0x60[0x0] 0x0000c7
[ 9.500934] <0x60[0x0] 0x000000
[ 9.500939] <0x60[0x0] 0x000000
[ 9.500944] <0x60[0x0] 0x000000
[ 9.500949] <0x60[0x0] 0x0000c7
[ 9.500954] <0x60[0x0] 0x000000
[ 9.500958] <0x60[0x0] 0x000000
[ 9.500964] <0x60[0x0] 0x000000
[ 9.500968] <0x60[0x0] 0x0000c7
[ 9.500977] iTDA18250A_SetLLPowerState(0x%08X)
[ 9.500981] iTDA18250A_CheckHwState(0x%08X)
[ 9.501426] <0x60[0x6] 0x000000
[ 9.501678] >0x60[0x6] 0x000000
[ 9.502092] <0x60[0x25] 0x0000db
[ 9.502343] >0x60[0x25] 0x0000db
[ 9.502590] >0x60[0x43] 0x000040
[ 9.502847] >0x60[0x47] 0x000064
[ 9.503111] >0x60[0x20] 0x0000c7
[ 9.503371] >0x60[0x2d] 0x000004
[ 9.503616] >0x60[0x43] 0x000040
[ 9.503867] >0x60[0x2d] 0x000004
[ 9.504116] >0x60[0x2c] 0x000045
[ 9.504367] >0x60[0x2e] 0x000004
[ 9.504614] >0x60[0x2d] 0x000006
[ 9.504866] >0x60[0x2e] 0x000004
[ 9.505116] >0x60[0x39] 0x000000
[ 9.505367] >0x60[0x46] 0x000008
[ 9.505614] >0x60[0x25] 0x0000db
[ 9.505866] >0x60[0x4b] 0x000030
[ 9.506116] >0x60[0xe] 0x000040
[ 9.506371] >0x60[0x12] 0x000002
[ 9.506619] >0x60[0x19] 0x000008
[ 9.506868] >0x60[0xf] 0x000000
[ 9.507556] >0x60[0xd] 0x00000c
[ 9.508741] >0x60[0x13] 0x000060
[ 9.509006] >0x60[0x18] 0x0000f7
[ 9.509258] >0x60[0x19] 0x000008
[ 9.509507] >0x60[0x1a] 0x000000
[ 9.509760] >0x60[0xd] 0x00000c
[ 9.510016] >0x60[0x12] 0x000022
[ 9.510270] >0x60[0x31] 0x000000
[ 9.510521] >0x60[0x3b] 0x000055
[ 9.510772] >0x60[0x3f] 0x000085
[ 9.511026] >0x60[0x40] 0x000087
[ 9.511284] >0x60[0x30] 0x00000e
[ 9.511554] >0x60[0x1e] 0x000029
[ 9.511809] >0x60[0x21] 0x000000
[ 9.512059] >0x60[0xe] 0x000040
[ 9.512310] >0x60[0x12] 0x000022
[ 9.512557] >0x60[0x13] 0x000060
[ 9.512806] >0x60[0x18] 0x000077
[ 9.513056] >0x60[0x44] 0x0000c0
[ 9.513305] >0x60[0xd] 0x00001c
[ 9.513554] >0x60[0x10] 0x000047
[ 9.513811] >0x60[0x11] 0x000040
[ 9.514062] >0x60[0x2c] 0x000075
[ 9.514314] >0x60[0x2e] 0x000007
[ 9.514561] >0x60[0x46] 0x00000c
[ 9.514808] >0x60[0xd] 0x00005c
[ 9.515055] >0x60[0x12] 0x000026
[ 9.515302] >0x60[0x19] 0x000009
[ 9.515548] >0x60[0x11] 0x00004e
[ 9.515798] >0x60[0xf] 0x00000e
[ 9.516051] >0x60[0x18] 0x000037
[ 9.516298] >0x60[0x31] 0x000000
[ 9.516553] >0x60[0x25] 0x0000cb
[ 9.516800] >0x60[0x4d] 0x000069
[ 9.517217] >0x60[0x4e] 0x000078
[ 9.517771] >0x60[0x4f] 0x000000
[ 9.518026] >0x60[0x4f] 0x000080
[ 9.518281] >0x60[0x50] 0x000080
[ 9.518549] >0x60[0x4f] 0x00008d
[ 9.518845] >0x60[0x51] 0x00001b
[ 9.519094] >0x60[0x41] 0x0000c0
[ 9.519340] >0x60[0x30] 0x00000e
[ 9.519590] >0x60[0x21] 0x000000
[ 9.519858] >0x60[0xd] 0x00005d
[ 9.520122] >0x60[0xc] 0x0000c7
[ 9.520370] >0x60[0x59] 0x000005
[ 9.520616] >0x60[0x5b] 0x000004
[ 9.520866] >0x60[0x5b] 0x000007
[ 9.521119] >0x60[0x3c] 0x0000a7
[ 9.521367] >0x60[0xa] 0x000082
[ 9.521373] iTDA18250A_SetMSM(0x%08X)
[ 9.521671] >0x60[0x2a] 0x000070
[ 9.521676] >0x60[0x2b] 0x000001
[ 9.522106] <0x60[0x8] 0x000028
[ 9.547474] <0x60[0x8] 0x0000ba
[ 9.547486] iTDA18250A_SetMSM(0x%08X)
[ 9.547786] >0x60[0x2a] 0x000002
[ 9.547792] >0x60[0x2b] 0x000001
[ 9.548211] <0x60[0x8] 0x0000bb
[ 9.548217] iTDA18250A_SetLLPowerState(0x%08X)
[ 9.548221] iTDA18250A_CheckHwState(0x%08X)
[ 9.548654] <0x60[0x25] 0x0000cb
[ 9.548918] >0x60[0x25] 0x00008b
[ 9.549335] <0x60[0x6] 0x000000
[ 9.549592] >0x60[0x6] 0x000002
[ 9.549841] >0x60[0x10] 0x000047
[ 9.550090] >0x60[0xc] 0x000047
[ 9.550096]
=== TDA18250B HW init status, result[0x0].
[ 9.550101] tmbslTDA18250A_SetPowerState(0x%08X)
[ 9.550105] iTDA18250A_SetLLPowerState(0x%08X)
[ 9.550109] iTDA18250A_CheckHwState(0x%08X)
[ 9.550549] <0x60[0x6] 0x000002
[ 9.550798] >0x60[0x6] 0x000000
[ 9.551213] <0x60[0x25] 0x00008b
[ 9.551467] >0x60[0x25] 0x0000cb
[ 9.551472]
=== TDA18250B Set2ndPowerState, result[0x0].
[ 9.551477] tmbslTDA18250A_SetStandardMode(0x%08X)
[ 9.551481] iTDA18250A_CheckHwState(0x%08X)
[ 9.551752] >0x60[0x22] 0x000053
[ 9.552004] >0x60[0x20] 0x0000c6
[ 9.552252] >0x60[0x23] 0x000003
[ 9.552500] >0x60[0x24] 0x000088
[ 9.552749] >0x60[0x21] 0x000082
[ 9.552997] >0x60[0xd] 0x00005d
[ 9.553244] >0x60[0xe] 0x000040
[ 9.553492] >0x60[0xc] 0x000007
[ 9.553742] >0x60[0xf] 0x00000e
[ 9.553992] >0x60[0xd] 0x00005d
[ 9.554243] >0x60[0x14] 0x0000e7
[ 9.554492] >0x60[0x14] 0x000067
[ 9.554742] >0x60[0x1a] 0x000030
[ 9.554992] >0x60[0x1a] 0x000033
[ 9.555241] >0x60[0x19] 0x000019
[ 9.555500] >0x60[0x1e] 0x000029
[ 9.555748] >0x60[0x30] 0x00000c
[ 9.555996] >0x60[0x26] 0x000063
[ 9.556001] iTDA18250A_PowerSavingMode(0x%08X)
[ 9.556318] >0x60[0x2c] 0x000044
[ 9.556324] >0x60[0x2d] 0x000006
[ 9.556329] >0x60[0x2e] 0x000007
[ 9.556333]
=== TDA18250B init SetStandardMode status[0x0].
[ 9.570826]
=== TDA18250B open, result[0x101E3027].
[ 12.499029] Bluetooth: Core ver 2.21
[ 12.499163] NET: Registered protocol family 31
[ 12.499172] Bluetooth: HCI device and connection manager initialized
[ 12.500414] Bluetooth: HCI socket layer initialized
[ 12.500434] Bluetooth: L2CAP socket layer initialized
[ 12.500477] Bluetooth: SCO socket layer initialized
[ 12.511232] Bluetooth: HCI UART driver ver 2.3
[ 12.511243] Bluetooth: HCI UART protocol H4 registered
[ 12.511248] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 12.511396] Bluetooth: HCI UART protocol BCM registered
[ 12.822206] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 12.822218] Bluetooth: BNEP filters: protocol multicast

[ 12.822238] Bluetooth: BNEP socket layer initialized

But it is not usable by the tvheadend yet. Maybe because of the TDA18250B open, result[0x101E3027].
Would be great to get this working ordered one today for £7.95 new from eBay
<<
2 months later
Also got one of these knocking around. Has anybody made progress on DVB-T support?
2 months later

Ive just picked two of these up very very cheap as I use DVB-C/oscam here so not bothered about DVB-T/T2.

They are 7.40 on Amazon UK at the moment. These would be great to get working fully as I the RTL/Panasonic based cheap tuners from the internet never seemed to work very well.

Do you check the linuxtv wiki? There will be some information.

If there is no info it will be a good start to add all info as you can in the wiki.

Regards.

@ Josu Lazkano

No mention of it on there as yet.

Thanks
Dan Hans wrote:
> Ive just picked two of these up very very cheap as I use DVB-C/oscam here so not bothered about DVB-T/T2.
>

> They are 7.40 on Amazon UK at the moment. These would be great to get working fully as I the RTL/Panasonic based cheap tuners from the internet never seemed to work very well.

It would be awesome if someone develops a driver for linux.
As you say they are unbelievably cheap on eBay.
Quad tuner for <£40! Nice.
<<
3 months later
Olli Salonen wrote:
> I made a git repo with Sky Anakin's changes. If someone wants to try out the driver, here's how:
>
> [...]
>

> And now reboot.

Unfortunately for me the make tar command fails with the following output:


rm -f /home/flix/media_build/linux/linux-media.tar.bz2
tar cf /home/flix/media_build/linux/linux-media.tar -C ../../media_tree sound/pci/bt87x.c include/linux/mmc/sdio_ids.h include/sound/aci.h include/uapi/linux/usb/video.h include/linux/via-core.h include/linux/ti_wilink_st.h include/linux/dma-buf.h include/linux/dma-fence.h include/linux/of_graph.h include/linux/kconfig.h include/linux/hdmi.h include/linux/compiler-gcc.h include/linux/dma/xilinx_dma.h include/trace/events/v4l2.h include/trace/events/vb2.h include/linux/pci_ids.h include/misc/altera.h include/uapi/linux/lirc.h include/uapi/linux/videodev2.h include/uapi/linux/meye.h include/uapi/linux/ivtv.h include/uapi/linux/ivtvfb.h include/uapi/linux/media.h include/uapi/linux/media-bus-format.h include/uapi/linux/v4l2-dv-timings.h include/uapi/linux/v4l2-controls.h include/uapi/linux/uvcvideo.h include/uapi/linux/xilinx-v4l2-controls.h include/uapi/linux/smiapp.h include/uapi/linux/v4l2-subdev.h include/uapi/linux/v4l2-common.h include/uapi/linux/v4l2-mediabus.h include/uapi/linux/cec.h include/uapi/linux/cec-funcs.h include/linux/fixp-arith.h firmware/av7110/bootcode.bin.ihex firmware/av7110/Boot.S firmware/cpia2/stv0672_vp4.bin.ihex firmware/ihex2fw.c firmware/vicam/firmware.H16 firmware/ttusb-budget/dspbootcode.bin.ihex
tar: include/linux/dma-fence.h: Cannot stat: No such file or directory
tar: include/uapi/linux/cec.h: Cannot stat: No such file or directory
tar: include/uapi/linux/cec-funcs.h: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Makefile:103: recipe for target 'tar' failed
make: *** [tar] Error 2

I checked, and in the current folder (~/media_build/linux) as well as the media_tree folder these files exist at the specified paths. I have kernel headers installed and I'm running 4.8.0-54-generic on Ubuntu 16.04.2 (amd64).

dpkg --get-selections | grep 4.8.0-54
linux-headers-4.8.0-54				install
linux-headers-4.8.0-54-generic			install
linux-image-4.8.0-54-generic			install
linux-image-extra-4.8.0-54-generic		install

Can anyone tell me what I'm doing wrong? I tried it on a Raspberry Pi as well, same result unfortunately. This is a clean install and I've installed a more recent kernel, hoping this would automagically enable support for this tuner (which it didn't). Even on the older kernel I got the same message when compiling so I doubt it's actually related.
8 days later
Felix Mann wrote:
> [...]
> Unfortunately for me the make tar command fails with the following output:

> [...]

I have the same problem. Could you solve it somehow?

Alexander E wrote:
> Felix Mann wrote:
> > [...]
> > Unfortunately for me the make tar command fails with the following output:
> > [...]
>

> I have the same problem. Could you solve it somehow?

Someone (walterav) on the ubuntuforums has sent me a tar file with all the patches applied that were needed. The tar can be downloaded here: https://readycloud.netgear.com/client/dllink.html#t=03rheztpfx5/media_build.tar butthe link will expire on the 31st of October 2017. Note that it has only been tested on the 4.10-x kernel (I used 16.04 with HWE kernel). I'm working on a script/smaller archive to apply to the git repo. This script would also verify the kernel version etc.

Edit: you will have to edit the version file in the v4l folder to match the kernel you're compiling for!

walterav from ubuntuforums wrote:
>this tuner should popup in tvheadend and work just out of the box,hotswap/unplug will crash the driver andmultiple usb xbox tuners will not work since only the latest in numbering is usable by tvheadend. If you have 3 usb xbox tuners active and scan/mux on the last tuner it will end up with three times as much services as on a single tuner, like its leaking scan results from each other adapter into the last adapter
Felix Mann wrote:

> Note that it has only been tested on the 4.10-x kernel (I used 16.04 with HWE kernel). I'm working on a script/smaller archive to apply to the git repo. This script would also verify the kernel version etc.

Thanks for that file.

I have built and updated the kernel of my Rasperry Pi 3 to 4.10.17-v7+. Unfortunately it's not working:


Installing kernel modules under /lib/modules/4.10.0-21-generic/kernel/drivers/media/:
/sbin/depmod -a 4.10.0-21-generic
depmod: ERROR: could not open directory /lib/modules/4.10.0-21-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Makefile.media:1659: recipe for target 'media-install' failed

There is no 4.10.0-21 in /lib/modules

ls /lib/modules
4.10.17-v7+  4.4.50+  4.4.50-v7+
Is my kernel to new?