PDA

View Full Version : [ET10x00] PCTV 292e USB Tuner



EMJB
01-04-17, 17:59
I am trying to get my PCTV USB tuner working, and have:

(1) Installed the dvb-usb-em28xx driver from the plugin menu

(2) Put the dvb-demod-si2168-b40-01.fw (with and without dvb-demod-si2168-02.fw) file(s) in /lib/firmware from https://github.com/OpenELEC/dvb-firmware/tree/master/firmware in /lib/firmware

dmesg indicates that it has been recognised including:

em28178 #0: Identified as PCTV tripleStick (292e) (card=94)
[ 12.805000] em28178 #0: dvb set to isoc mode.
[ 12.810000] usbcore: registered new interface driver em28xx
[ 12.834000] em28178 #0: Binding DVB extension
[ 12.853000] em28xx: Registered (Em28xx dvb Extension) extension

with no suggestion of an error. However It still does not appear in the list of tuners.

Elsewhere I have seen references to needing to enable I2C support in the kernel - if this is required could some-one please explain in simple terms what I need to do. If this is not the problem, any help would be much appreciated.

TIA,

EMJB

birdman
01-04-17, 22:17
Elsewhere I have seen references to needing to enable I2C support in the kernelI got mine working on an Xtrend et8000 (before the OE-Alliance knackered the kernel and refused to revert to a working one).


FYI: pctv Triplestick (292e)

I now have an Xtrend et8000, running a 4.0.1 kernel so decided to see what happened if I plugged a pctv tripleStick (the 292e) in to USB, as I happened to have one lying around.
It was recognized.
Then I installed firmware-dvb-fe-si2168, kernel-module-si2157, kernel-module-si2168 and kernel-module-si2ixx (the latter just because it might match - it doesn't seem to be needed). This has to be done from the command line as there is no enigma2-plugins-* wrapper for them to show up in the downloads menu.
It works.
I now have 4xDVB-T2 tuners and have tested that I can record on 4 separate muxes (and only get "Tuner failed" on trying a fifth).

[It doesn't seem to play ball with the signal finder menu (just flips around at ~35dB rather than reporting any expected figures).]

EMJB
02-04-17, 10:54
Unfortunately that seems to lead to a lock-up of some sort during booting , with the following at the end of the dmesg report:

30.346000] si2168 8-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw'
[ 30.711000] si2168 8-0064: firmware version: B 4.0.11
[ 30.724000] si2157 9-0060: found a 'Silicon Labs Si2157-A30'
[ 30.779000] si2157 9-0060: firmware version: 3.0.5
[ 30.784000] platform dvb0.0: DVB: registering adapter 0 frontend 3 (vtuner)...
[ 30.792000] Unhandled kernel unaligned access[#1]:
[ 30.797000] CPU: 1 PID: 709 Comm: enigma2 Tainted: GF O 4.8.3 #1
[ 30.804000] task: cf05d100 task.stack: cef6a000
[ 30.809000] $ 0 : 00000000 10008b00 00000001 00010000
[ 30.814000] $ 4 : e1201730 e1201450 00000000 00b19e64
[ 30.819000] $ 8 : 0000001c 803c7674 00000000 ffffffff
[ 30.824000] $12 : 00000000 ceeef890 00000000 00000000
[ 30.830000] $16 : e1201120 e1201720 803c72c0 80070000
[ 30.835000] $20 : e1201730 cf62ec00 80910000 e0d76020
[ 30.840000] $24 : 00000003 804367fc
[ 30.846000] $28 : cef6a000 cef6bcc8 00000000 e0aee0d8
[ 30.851000] Hi : 000072b5
[ 30.854000] Lo : 8a200000
[ 30.857000] epc : e0aee108 __67a1d0+0x150/0x1d0 [dvb]
[ 30.863000] ra : e0aee0d8 __67a1d0+0x120/0x1d0 [dvb]
[ 30.868000] Status: 10008b03 KERNEL EXL IE
[ 30.873000] Cause : 00800010 (ExcCode 04)
[ 30.877000] BadVA : 00000009
[ 30.880000] PrId : 00025a11 (Broadcom BMIPS5000)
[ 30.884000] Modules linked in: ipv6 si2157 si2168 em28xx_dvb em28xx tveeprom xfs libcrc32c dvb(OF) modloader2(O) modloader(O) tpm(O)
[ 30.896000] Process enigma2 (pid: 709, threadinfo=cef6a000, task=cf05d100, tls=76271cf0)
[ 30.905000] Stack : cef6bd3c cf643b10 cef6bd38 cfcf4c80 e1202b80 e1202b80 00000037 8090c530
[ 30.905000] ceeed200 80910000 cf0a7310 8042e3d0 cef6be38 00000000 00000001 0000002f
[ 30.905000] ceeed200 00000000 807ab000 cfcf4d00 cf0a7310 ceeed200 00000000 00000000
[ 30.905000] cef6be38 801363ac 00000006 80157b50 cef6be38 00002002 00000037 8013c230
[ 30.905000] ceeed200 cf0a7310 ceeed200 ceeed208 801362e4 8012dab8 808fa7b0 cf0a7310
[ 30.905000] ...
[ 30.941000] Call Trace:
[ 30.944000] [<e0aee108>] __67a1d0+0x150/0x1d0 [dvb]
[ 30.949000] [<8042e3d0>] misc_open+0x168/0x1e0
[ 30.954000] [<801363ac>] chrdev_open+0xc8/0x194
[ 30.958000] [<8012dab8>] do_dentry_open.isra.2+0x26c/0x468
[ 30.964000] [<801415c4>] path_openat+0x2b4/0x10e8
[ 30.968000] [<801436d0>] do_filp_open+0xc8/0x120
[ 30.973000] [<8012f34c>] do_sys_open+0x194/0x274
[ 30.978000] [<80015c14>] syscall_common+0x34/0x58
[ 30.982000]
[ 30.984000]
[ 30.984000] Code: 26140610 8ea20000 02802021 <8c450008> 0240f809 2406007c 3c02e0af 2442d68c ae020634
[ 30.994000] ---[ end trace ab16e8e7533b6e20 ]---
[ 30.999000] em28178 #0: write to i2c device at 0xc8 failed with unknown error (status=3)

An SSH reboot command had no effect, so the only way of moving forward was switching off the power.

Just in case I had messed things up with my earlier efforts, I removed the USB tuner & re-installed 5.0.009 without re-installing previous plugins, and then:

(1) Installed the driver using the sequence : Main menu -> Plugins -> Green to download plugins -> Drivers -> dvb-usb-em28xx ->Ok

(2) Using Putty, I then installed the three files you mention with the commands:

opkg install kernel-module-si2157
opkg install kernel-module-si2168
opkg install firmware-dvb-fe-si2168

(3) Switched to deep standby, plugged in the USB tuner, and restarted to get stuck in the booting process as above.

(4) Rebooting without the USB tuner plugged in worked OK.

(5) Installing kernel-module-si21xx and rebooting with the USB tuner installed gave the slightly different dmesg report:

[ 32.168000] si2168 8-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw'
[ 32.536000] si2168 8-0064: firmware version: B 4.0.11
[ 32.549000] si2157 9-0060: found a 'Silicon Labs Si2157-A30'
[ 32.605000] si2157 9-0060: firmware version: 3.0.5
[ 32.610000] platform dvb0.0: DVB: registering adapter 0 frontend 3 (vtuner)...
[ 32.618000] Unhandled kernel unaligned access[#1]:
[ 32.623000] CPU: 1 PID: 712 Comm: enigma2 Tainted: GF O 4.8.3 #1
[ 32.630000] task: cf0b1080 task.stack: cf2d6000
[ 32.634000] $ 0 : 00000000 10008b00 00000001 00010000
[ 32.640000] $ 4 : e1201730 e1201450 00000000 00b14cb0
[ 32.645000] $ 8 : 0000001c 803c7674 00000000 ffffffff
[ 32.650000] $12 : 00000000 cf0d0890 00000000 00000000
[ 32.655000] $16 : e1201120 e1201720 803c72c0 80070000
[ 32.661000] $20 : e1201730 cef6cc00 80910000 e0d76020
[ 32.666000] $24 : 00000003 804367fc
[ 32.671000] $28 : cf2d6000 cf2d7cc8 00000000 e0aee0d8
[ 32.677000] Hi : 00007982
[ 32.680000] Lo : f2e80000
[ 32.683000] epc : e0aee108 __67a1d0+0x150/0x1d0 [dvb]
[ 32.689000] ra : e0aee0d8 __67a1d0+0x120/0x1d0 [dvb]
[ 32.694000] Status: 10008b03 KERNEL EXL IE
[ 32.698000] Cause : 00800010 (ExcCode 04)
[ 32.702000] BadVA : 00000009
[ 32.705000] PrId : 00025a11 (Broadcom BMIPS5000)
[ 32.710000] Modules linked in: ipv6 si2157 si2168 em28xx_dvb em28xx tveeprom xfs libcrc32c dvb(OF) modloader2(O) modloader(O) tpm(O)
[ 32.722000] Process enigma2 (pid: 712, threadinfo=cf2d6000, task=cf0b1080, tls=76cf9cf0)
[ 32.730000] Stack : cf2d7d3c cfc9e010 cf2d7d38 cfcf4c80 e1202b80 e1202b80 00000037 8090c530
[ 32.730000] cffe4600 80910000 cf025480 8042e3d0 cf2d7e38 00000000 00000001 0000002f
[ 32.730000] cffe4600 00000000 807ab000 cfcf4d00 cf025480 cffe4600 00000000 00000000
[ 32.730000] cf2d7e38 801363ac 00000006 80157b50 cf2d7e38 00002002 00000037 8013c230
[ 32.730000] cffe4600 cf025480 cffe4600 cffe4608 801362e4 8012dab8 808fa7b0 cf025480
[ 32.730000] ...
[ 32.766000] Call Trace:
[ 32.769000] [<e0aee108>] __67a1d0+0x150/0x1d0 [dvb]
[ 32.775000] [<8042e3d0>] misc_open+0x168/0x1e0
[ 32.779000] [<801363ac>] chrdev_open+0xc8/0x194
[ 32.784000] [<8012dab8>] do_dentry_open.isra.2+0x26c/0x468
[ 32.789000] [<801415c4>] path_openat+0x2b4/0x10e8
[ 32.794000] [<801436d0>] do_filp_open+0xc8/0x120
[ 32.799000] [<8012f34c>] do_sys_open+0x194/0x274
[ 32.803000] [<80015c14>] syscall_common+0x34/0x58
[ 32.808000]
[ 32.810000]
[ 32.810000] Code: 26140610 8ea20000 02802021 <8c450008> 0240f809 2406007c 3c02e0af 2442d68c ae020634
[ 32.820000] ---[ end trace 743c7a2910939ea1 ]---

all of which rather goes over the top of my head!

Any help would be much appreciated.

EMJB

EMJB
02-04-17, 11:56
Further to my previous post, when it locks up the main log files ends with:

<00-00-32.144> [eInit] reached rl 70
<00-00-32.144> [eDVBDB] ---- opening lame channel db
<00-00-32.146> [eDVBDB] reading services (version 4)
<00-00-32.156> [eDVBDB] loaded 7 channels/transponders and 154 services
<00-00-36.070> [gRC] main thread is non-idle! display spinner!
<00-00-36.070> [gRC] enabelSpinner: no spinner DC!
<00-00-38.070> [gRC] main thread is non-idle! display spinner!
<00-00-38.070> [gRC] enabelSpinner: no spinner DC!
<00-00-40.070> [gRC] main thread is non-idle! display spinner!
<00-00-40.070> [gRC] enabelSpinner: no spinner DC!
<00-00-42.070> [gRC] main thread is non-idle! display spinner!
<00-00-42.070> [gRC] enabelSpinner: no spinner DC!

with the last two lines repeated ad infinitum at 2 second intervals. Does this help establish what is going wrong?

EMJB

ccs
02-04-17, 12:01
Your usb tuner problem may well be related the SundTek tuner problem I reported a couple of months ago, here is the last post....

http://www.world-of-satellite.com/showthread.php?55202-4-2-027-Xtrend-Problems-with-USB-tuners&p=445035&viewfull=1#post445035

N.B.


I got mine working on an Xtrend et8000 (before the OE-Alliance knackered the kernel and refused to revert to a working one).

birdman
02-04-17, 13:55
It is. This is the same problem as is seen on the Xtrend 4.8.3 kernels. Indeed - it's just occurred to me that the et10x00 is built with the same kernel as my et8000 - I hadn't noticed the box model.