tag:blogger.com,1999:blog-6650955741964567102.post2102272777812452889..comments2024-01-02T10:43:21.686+02:00Comments on Antti's LinuxTV Blog: Naked hardware #15: PCTV tripleStick (292e)Anonymoushttp://www.blogger.com/profile/11247727327804062325noreply@blogger.comBlogger86125tag:blogger.com,1999:blog-6650955741964567102.post-11353757450736070342018-03-12T15:36:17.374+02:002018-03-12T15:36:17.374+02:00God I wish I was as talented as you!!!
Thanks for ...God I wish I was as talented as you!!!<br />Thanks for your efforts...Mehttps://www.blogger.com/profile/01719367198109102461noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-22013521658605475362017-06-24T03:43:44.655+03:002017-06-24T03:43:44.655+03:00Hi,
Does anyone has a sample dts configuration for...Hi,<br />Does anyone has a sample dts configuration for Si2168/Si2141 for linux? I appreciate any pointers on this. I could able to run the driver probe with minimal configuration in dts but I am not sure how to provide all other details in dts file.Anonymoushttps://www.blogger.com/profile/16574658977635274702noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-5247944896723391942017-04-18T20:47:48.171+03:002017-04-18T20:47:48.171+03:00Hi Antti, just a thank you! I bought a PCTV 292e ...Hi Antti, just a thank you! I bought a PCTV 292e last year but on Debian Stable I could only get it to grab SD and Radio. I just tried it again this week on Debian Testing and it is great (my device is recognised as Silicon Labs Si2168-B40 and I use firmware dvb-demod-si2168-b40-01.fw). I get all the HD and SD and Radio channels here (150 in total) and it grabs/serves even HD very easily on an old 1.6GHz 64-bit Intel Atom based Eee PC acting as a TV server with tvheadend serving the channels to my LAN.<br /><br />So, thanks for all your work in getting these devices functional in free OS.julian67https://www.blogger.com/profile/07325927579957539098noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-44306038911386887062016-08-21T12:23:15.465+03:002016-08-21T12:23:15.465+03:00For anyone finding this post with a similar proble...For anyone finding this post with a similar problem, the (embarrasing) answer is ... user error.<br />I needed to stop the tvheadend service from running [sudo service stop tvheadend] and create a more up-to-date initial scan file using w_scan. Re-start tvheadend, then the services started slowly coming in.<br />I must have done this last time I installed a tuner, but forgot to write it down....doh!Anonymoushttps://www.blogger.com/profile/14686865575796344730noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-27581399808201385952016-08-17T20:28:34.983+03:002016-08-17T20:28:34.983+03:00Hi Antti
I have just created a fresh install of Mi...Hi Antti<br />I have just created a fresh install of Mint 18 on my dual boot Mint 17.3 / Mint 18 box. The PCTV 292e Triplestick works fine under 17.3, but nothing under 18. Am using the same firmware on 17 & 18. Firmware recognised in dmesg.<br /><br />I installed w_scan which shows <br /><br />claire@cyrus ~ $ w_scan -ft -c GB<br />w_scan -ft -c GB <br />w_scan version 20141122 (compiled for DVB API 5.10)<br />using settings for UNITED KINGDOM<br />DVB aerial<br />DVB-T GB<br />scan type TERRESTRIAL, channellist 6<br />output format vdr-2.0<br />WARNING: could not guess your codepage. Falling back to 'UTF-8'<br />output charset 'UTF-8', use -C to override<br />Info: using DVB adapter auto detection.<br />main:3904: FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. *****<br />Please check wether dvb driver is loaded and<br />verify that no dvb application (i.e. vdr) is running.<br /><br /><br />Guess the driver is not working? Kernel is 4.4.0-34, different to the 17 kernel which is (I think) 3.something.<br />Am not very experienced in this line of linux drivers/firmware. What do I have to do to get it working?<br /><br />Thanks Claire<br />Anonymoushttps://www.blogger.com/profile/14686865575796344730noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-16902708197655055492016-06-22T15:54:42.520+03:002016-06-22T15:54:42.520+03:00Hi Antti,
First of all, thank you for your amazin...Hi Antti,<br /><br />First of all, thank you for your amazing job.<br /><br />With your first version of the driver, only a firmware was needed for si2168. However in the last version of si2168 and si2157 available in linux-tv sourcetree, we can see that both need a driver (wich comes from the same file dvb-demod-si2168-b40-01.fw).<br /><br />Why those changes ? Why is it needed now and not before ?<br /><br />My goal is to make this dongle work with a 3.14 kernel. I intergated the changes you made for the drivers creation (in your sourcetree mentionned above). Everything works fine except that tune doesn't work (w_scan see frequencies but is not able to get the channels inside).<br /><br />My dongle is rev B4I6.<br /><br />Thanks a lot for your reply.<br /><br />Regards,<br /><br />ThomasMaltergatehttps://www.blogger.com/profile/08634711578798754147noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-89586137453191801032016-04-20T05:34:22.175+03:002016-04-20T05:34:22.175+03:00No idea and I don't even have that device.No idea and I don't even have that device.Anonymoushttps://www.blogger.com/profile/11247727327804062325noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-32792659731133338552016-04-20T05:23:41.506+03:002016-04-20T05:23:41.506+03:00If I disable initial and EPG scans it seems to jus...If I disable initial and EPG scans it seems to just work, btw. Only the scans break it. Any idea what might be causing this?Danielhttps://www.blogger.com/profile/14937236578826388961noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-52794525698539124172016-04-20T05:11:11.642+03:002016-04-20T05:11:11.642+03:00Interesting, my si2168 (Geniatech T230) started fa...Interesting, my si2168 (Geniatech T230) started failing recently, too, out of the blue.<br /><br />During a scan, after a couple of muxes, it starts showing errors:<br /><br />eit: invalid checksum (len 407, errors 1)<br />bat: invalid checksum (len 97, errors 1)<br />sdt: invalid checksum (len 97, errors 1)<br />bat: invalid checksum (len 451, errors 1)<br />pat: invalid checksum (len 96, errors 1)<br />nit: invalid checksum (len 151, errors 1)<br />cat: invalid checksum (len 24, errors 1)<br />bat: invalid checksum (len 146, errors 56)<br />sdt: invalid checksum (len 146, errors 56)<br />bat: invalid checksum (len 451, errors 53)<br />eit: invalid checksum (len 389, errors 286)<br />pat: invalid checksum (len 96, errors 11)<br />nit: invalid checksum (len 151, errors 3)<br />eit: invalid checksum (len 1173, errors 896)<br />bat: invalid checksum (len 451, errors 93)<br />bat: invalid checksum (len 146, errors 116)<br />sdt: invalid checksum (len 146, errors 116)<br />pat: invalid checksum (len 96, errors 16)<br /><br />With each new mux the number of errors increases and then after a couple of minutes becomes entirely inaccessible:<br /><br />linuxdvb: Silicon Labs Si2168 : DVB-C #0 - poll TIMEOUT<br /><br />Rebooting won't help at this point, I have to disconnect it from the externally powered USB hub to be able to use it again.<br /><br />Tried various firmware versions (4.0.4, 4.0.11, 4.0.19) for the si2168 and 2.1.6 and 2.1.9 for the si2158, but sadly no luck.<br /><br />kernel: dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.<br />kernel: dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.<br />kernel: DVB: registering new adapter (Mygica T230 DVB-T/T2/C)<br />kernel: si2168 3-0064: Silicon Labs Si2168 successfully attached<br />kernel: si2157 4-0060: Silicon Labs Si2147/2148/2157/2158 successfully attached<br />kernel: usb 1-1.3.1.4: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...<br />kernel: input: IR-receiver inside an USB DVB receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1.4/input/input0<br />kernel: dvb-usb: schedule remote query interval to 100 msecs.<br />kernel: dvb-usb: Mygica T230 DVB-T/T2/C successfully initialized and connected.<br />kernel: usbcore: registered new interface driver dvb_usb_cxusb<br />tvheadend[427]: scanfile: DVB-T - loaded 44 regions with 1106 networks<br />tvheadend[427]: scanfile: DVB-S - loaded 1 regions with 113 networks<br />tvheadend[427]: scanfile: DVB-C - loaded 17 regions with 53 networks<br />kernel: si2168 3-0064: found a 'Silicon Labs Si2168-B40'<br />kernel: si2168 3-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw'<br />kernel: si2168 3-0064: firmware version: 4.0.11<br />kernel: si2157 4-0060: found a 'Silicon Labs Si2148-A20'<br />kernel: si2157 4-0060: downloading firmware from file 'dvb-tuner-si2158-a20-01.fw'<br />kernel: si2157 4-0060: firmware version: 2.1.9<br />kernel: usb 1-1.3.1.4: DVB: adapter 0 frontend 0 frequency 0 out of range (55000000..862000000)<br /><br /># uname -r -m<br />4.4.7-3-ARCH armv7l<br /><br /># tvheadend --version<br />tvheadend: version 4.0.9Danielhttps://www.blogger.com/profile/14937236578826388961noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-72353052313476804892016-04-15T19:55:06.841+03:002016-04-15T19:55:06.841+03:00Sadly i still crashes:
Apr 15 19:44:47 tvburk tvh...Sadly i still crashes:<br /><br />Apr 15 19:44:47 tvburk tvheadend[1680]: linuxdvb: Silicon Labs Si2168 : DVB-C #0 - starting 162MHz in MCA<br />Apr 15 19:44:47 tvburk tvheadend[1680]: mpegts: 162MHz in MCA - tuning on Silicon Labs Si2168 : DVB-C #0<br />Apr 15 19:44:47 tvburk tvheadend[1680]: service: 3: TV3 si 0xe03b90 Silicon Labs Si2168 : DVB-C #0 weight 0 prio 10 error 0<br />Apr 15 19:44:48 tvburk kernel: note: tvheadend[1680] exited with preempt_count 1<br /><br />Anders Gustafssonhttps://www.blogger.com/profile/09563969284718160722noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-47790426087962849722016-04-14T20:55:02.911+03:002016-04-14T20:55:02.911+03:00Upgraded. Let's see how it goes:
tvburk:~ # u...Upgraded. Let's see how it goes:<br /><br />tvburk:~ # uname -a<br />Linux tvburk 4.1.15-8-default #1 SMP PREEMPT Wed Jan 20 16:41:00 UTC 2016 (0e3b3ab) x86_64 x86_64 x86_64 GNU/Linux<br /><br />[ 2415.474347] si2168 11-0064: found a 'Silicon Labs Si2168-B40'<br />[ 2415.547617] si2168 11-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw'<br />[ 2415.794650] si2168 11-0064: firmware version: 4.0.11<br />[ 2415.798067] si2157 12-0060: found a 'Silicon Labs Si2157-A30'<br />[ 2415.846615] si2157 12-0060: firmware version: 3.0.5Anders Gustafssonhttps://www.blogger.com/profile/09563969284718160722noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-5938148145246348022016-04-14T09:49:45.437+03:002016-04-14T09:49:45.437+03:00Yes, I realise that from reading various comments....Yes, I realise that from reading various comments. My system is OpenSuse 13.2 which was considered the "stable" version approx 9 months ago, when I started this project. The new version is "leap" 42.1, Kernel 4.1.12.<br /><br />So. I guess that upgrading the entire box to leap 42.1, rather than fiddling with media_build and hope that it does not break other things like Oscam :)Anders Gustafssonhttps://www.blogger.com/profile/09563969284718160722noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-66400601229999107232016-04-14T09:01:09.063+03:002016-04-14T09:01:09.063+03:00Latest kernel has latest drivers. 3.16 you used is...Latest kernel has latest drivers. 3.16 you used is oldest and first kernel having si2168 driver at all. Younger kernel the better.Anonymoushttps://www.blogger.com/profile/11247727327804062325noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-54325692945575791532016-04-14T08:57:06.274+03:002016-04-14T08:57:06.274+03:00OK. Thanks. Must check with OpenSUSE what kernel h...OK. Thanks. Must check with OpenSUSE what kernel has the latest si2168 drivers.Anders Gustafssonhttps://www.blogger.com/profile/09563969284718160722noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-51566153365818293942016-04-14T08:51:13.887+03:002016-04-14T08:51:13.887+03:00Si2168 driver is clearly upgraded as it downloads ...Si2168 driver is clearly upgraded as it downloads that new firmware now. But it cannot still work as there is multiple driver modules needed in order to provide support for that device and now those interfaces between driver modules are out of sync. Now problem is at least si2168 configuration passed from em28xx driver to si2168. There is some config options like TS mode which are added later and as it is wrong it could not work.<br /><br />Just upgrade whole kernel, or use media_build in order to build all media driver. Building single modules causes kernel crash sooner or later because kernel internal interfaces are out of sync.Anonymoushttps://www.blogger.com/profile/11247727327804062325noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-70539937839973553092016-04-14T08:43:14.407+03:002016-04-14T08:43:14.407+03:00What you updated? Kernel? tvheadend? OpenSuse?
You...What you updated? Kernel? tvheadend? OpenSuse?<br />You should not rename firmwares. It is failing because that old driver does not know newer firmware format.Anonymoushttps://www.blogger.com/profile/11247727327804062325noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-45012884167327863512016-04-14T08:39:55.227+03:002016-04-14T08:39:55.227+03:00Part 3 (the interesting part):
The driver version ...Part 3 (the interesting part):<br />The driver version in OpenSuse is old, so I pulled down the most recent I could find from https://github.com/torvalds/linux/tree/master/drivers/media/dvb-frontends.<br /><br />Put those in a separate dir and created a makefile:<br /><br /><br />ccflags-y += -I$(srctree)/drivers/media/dvb-core/<br />ccflags-y += -I$(srctree)/drivers/media/tuners/<br />obj-m = si2168.o<br />KVERSION = $(shell uname -r)<br />all:<br /> make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules<br />clean:<br /> make -C /lib/modules/$(KVERSION)/build M=$(PWD) cleant<br />Then make to make si2168.ko. Then copy it:<br />cp si2168.ko /lib/modules/3.16.7-35-desktop/kernel/drivers/media/dvb-frontends/si2168.ko<br /><br />Then copy all available fw-files to /lib/firmware, ie:<br /><br /><br />-rw-r--r-- 1 root root 2728 Oct 28 20:27 /lib/firmware/dvb-demod-si2168-02.fw<br />-rw-r--r-- 1 root root 28656 Apr 13 22:50 /lib/firmware/dvb-demod-si2168-a20-01.fw<br />-rw-r--r-- 1 root root 17576 Apr 13 22:50 /lib/firmware/dvb-demod-si2168-a30-01.fw<br />-rw-r--r-- 1 root root 6919 Apr 10 08:31 /lib/firmware/dvb-demod-si2168-b40-01.fw<br /><br />Rebooted:<br />tvburk:~ # dmesg|grep 2168<br />[ 8.550497] si2168 13-0064: Silicon Labs Si2168 successfully attached<br />[ 8.559942] usb 3-4: DVB: registering adapter 2 frontend 0 (Silicon Labs Si2168)...<br />[ 16.739810] si2168 13-0064: found a 'Silicon Labs Si2168-B40'<br />[ 16.748646] si2168 13-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw'<br />[ 16.950927] si2168 13-0064: firmware version: 4.0.11<br /><br />But.... linuxdvb: Silicon Labs Si2168 : DVB-C #0 - poll TIMEOUT and no signal<br /><br /><br />diff /usr/src/linux-3.16.7-29/drivers/media/dvb-frontends/si2168.c /usr/src/linux-3.16.7-35/drivers/media/dvb-frontends/si2168.c<br />make modules SUBDIRS=drivers/media/dvb-frontends<br /><br /><br />cp si2168.ko /lib/modules/3.16.7-35-desktop/kernel/drivers/media/dvb-frontends/si2168.ko<br /><br />Started tvheadend and tried to watch something on DVB-C:<br /><br />linuxdvb: Silicon Labs Si2168 : DVB-C #0 - poll TIMEOUTAnders Gustafssonhttps://www.blogger.com/profile/09563969284718160722noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-38249120714303193192016-04-14T08:38:42.595+03:002016-04-14T08:38:42.595+03:00Part 2:
lsusb
Bus 002 Device 002: ID 8087:8001 Int...Part 2:<br />lsusb<br />Bus 002 Device 002: ID 8087:8001 Intel Corp.<br />Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />Bus 001 Device 002: ID 8087:8009 Intel Corp.<br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br />Bus 003 Device 005: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T<br />Bus 003 Device 004: ID 2013:025f PCTV Systems<br />Bus 003 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC<br />Bus 003 Device 007: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard<br />Bus 003 Device 006: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T<br />Bus 003 Device 002: ID 046d:c044 Logitech, Inc. LX3 Optical Mouse<br />Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubAnders Gustafssonhttps://www.blogger.com/profile/09563969284718160722noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-87085270503603680172016-04-14T08:38:17.766+03:002016-04-14T08:38:17.766+03:00Part one:
Heippa! I am wondering whether you could...Part one:<br />Heippa! I am wondering whether you could help me out here. I have been running tvheadend 4.0.7 for six months without any issues on OpenSuse 13.2. Suddenly, after an update, it started having problems. I have narrowed it down to the triplestick as disabling it makes tvheadend run fine. I have two el-cheapo DVB-T sticks also. I have the fw dvb-demod-si2168-02.fw in lib/firmware. Someone in the thveadend forums suggested downloading the B40, 4.0.11 one and renaming, but that does not work. I get the message below:<br /><br /><br />[ 9.087381] si2168 13-0064: si2168: Silicon Labs Si2168 successfully attached<br />[ 17.331536] si2168 13-0064: si2168: found a 'Silicon Labs Si2168' in cold state<br />[ 17.352612] si2168 13-0064: si2168: downloading firmware from file 'dvb-demod-si2168-02.fw'<br />[ 17.431792] si2168 13-0064: si2168: firmware download failed=-110<br /><br />When I look at the driver source, it seems as though It should be able to select what fw to download, based on the chip, but mine always pulls down dvb-demod-si2168-02.fw, even if dvb-demod-si2168-b40-01.fw is present.<br /><br />The link to the thread in the tvheadend forums is here: https://tvheadend.org/boards/5/topics/20547?r=20612#message-20612Anders Gustafssonhttps://www.blogger.com/profile/09563969284718160722noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-29665532208617635352016-03-03T18:39:18.800+02:002016-03-03T18:39:18.800+02:00Hi Antti, I am running windows 10. Im from the UK ...Hi Antti, I am running windows 10. Im from the UK and im trying to use the DVB C feature. However when do a channel scan it simply wont pick up any channels even though everything is being recognised. However with my cheap astrometa tuner it picks up everything.. Im I missing something ??Anonymoushttps://www.blogger.com/profile/09960516678004373590noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-25641654362253804532016-01-26T23:48:41.884+02:002016-01-26T23:48:41.884+02:00Thanks Antti. That's what I feared.Thanks Antti. That's what I feared. Steve Nealhttps://www.blogger.com/profile/14252693295395681455noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-12020177101322830402016-01-26T15:49:53.794+02:002016-01-26T15:49:53.794+02:00Device is clearly working as w_scan finds channels...Device is clearly working as w_scan finds channels. Application is most likely giving some bad parameters to driver and driver discards that bad tuning request.Anonymoushttps://www.blogger.com/profile/11247727327804062325noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-82310987036264143192016-01-26T01:14:20.104+02:002016-01-26T01:14:20.104+02:00Hi Antti. Helping a friend in Sweden and we are s...Hi Antti. Helping a friend in Sweden and we are struggling to get an August T210v2/Geniatech T230 to work in TV Headend in OpenElec on a Raspberry Pi with DVB-C. w_scan works fine and scans all the DVB-C channels, but when I add a frequency with the correct QAM and Symbol Rate to TV Headend - it FAILS. <br /><br />Error is :<br />2016-01-24 21:09:22.000 mpegts: 370MHz in BBB - tuning on Silicon Labs Si2168 : DVB-C #0<br />2016-01-24 21:09:22.000 linuxdvb: Silicon Labs Si2168 : DVB-C #0 - failed to tune [e=Invalid argument]<br /><br />dmesg | grep dvb output here http://pastebin.com/EhSYcRuG<br />w_scan -f c -c SE output here http://pastebin.com/Zq5Ah2kV<br /><br />And we've tried with both 4.0.11 and 4.0.19 firmware for dvb-demod-si2168-b40-01.fw.<br /><br />Any thoughts?Steve Nealhttps://www.blogger.com/profile/14252693295395681455noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-17936086287925819942016-01-18T12:21:53.843+02:002016-01-18T12:21:53.843+02:00Thanks for your help, got that, now Myth TV finds ...Thanks for your help, got that, now Myth TV finds channels as does scan (downloaded dvb-apps and w-scan). However - no HD channels, either with Myth TV detection or scan. I notice that scan throws out the 't2' line in uk-SandyHeath with 7 'invalid enum values' (don't know why Myth TV didn't find any HD). I also tried 'w_scan -ft -c GB' and that didn't seem to find any HD channels either. Is this likely to be some configuration problem of mine given that I see you say above that HD ought to work, or is it likely to be my 'so old' kernel? There's some stuff elsewhere on the internet that implies there are problems switching between SD and HD on the 292e?Nick Whttps://www.blogger.com/profile/05856881860847080129noreply@blogger.comtag:blogger.com,1999:blog-6650955741964567102.post-90168520919036964082016-01-17T19:41:57.328+02:002016-01-17T19:41:57.328+02:00Install firmware dvb-demod-si2168-02.fw from http:...Install firmware dvb-demod-si2168-02.fw from http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/<br />Your kernel is so old that it does not know dvb-demod-si2168-b40-01.fw firmware.Anonymoushttps://www.blogger.com/profile/11247727327804062325noreply@blogger.com