Kodi Community Forum

Full Version: PCTV 290e is not visible
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
After the re-installation of TVHeadend the TV adapter PCTV 290e is not visible anymore. I am not pro in Linux, so is there anyone who could help me through TeamViewer, please? I can pay for it.
No need for that ... let's find it for you. I have the same stick, so let's see what I can see.

First, please tell us what operating system and version you're using. I presume, from your comments, that it *used* to work, but let's see - if you don't know, issue the command uname -a from a command prompt and post the results here (I think the stick isn't properly supported before kernel 3.0).

Next, assuming you're on Ubuntu of some kind, reboot your system and have a look in /var/log/syslog. You should see the adapter initialising, something like this:

Feb  7 11:13:17 revo kernel: [    6.198520] em28xx: New device PCTV Systems PCTV 290e @ 480 Mbps (2013:024f, interface 0, class 0)
Feb  7 11:13:17 revo kernel: [    6.238861] em28xx #0: chip ID is em28174
Feb  7 11:13:17 revo kernel: [    6.553890] em28xx #0: Identified as PCTV Systems nanoStick T2 290e (card=78)
Feb  7 11:13:17 revo kernel: [    6.553905] em28xx #0: v4l2 driver version 0.1.2
Feb  7 11:13:17 revo kernel: [    6.563307] em28xx #0: V4L2 video device registered as video0
Feb  7 11:13:17 revo kernel: [    6.563673] usbcore: registered new interface driver em28xx
Feb  7 11:13:17 revo kernel: [    6.563682] em28xx driver loaded
Feb  7 11:13:18 revo kernel: [    6.845831] DVB: registering new adapter (em28xx #0)
Feb  7 11:13:18 revo kernel: [    6.845843] DVB: registering adapter 0 frontend 0 (Sony CXD2820R (DVB-T/T2))...
Feb  7 11:13:18 revo kernel: [    6.846123] DVB: registering adapter 0 frontend 1 (Sony CXD2820R (DVB-C))...
Feb  7 11:13:18 revo kernel: [    6.847084] em28xx #0: Successfully loaded em28xx-dvb
Feb  7 11:13:18 revo kernel: [    6.847096] Em28xx: Initialized (Em28xx dvb Extension) extension

You can check that the adapter is there by issuing the command ls -la /dev/dvb/adapter0/frontend* from a command shell:

[email protected]:~$ ls -la /dev/dvb/adapter0/frontend*
crw-rw----+ 1 root video 212, 0 2013-02-07 12:37 /dev/dvb/adapter0/frontend0
crw-rw----+ 1 root video 212, 1 2013-02-07 12:37 /dev/dvb/adapter0/frontend1
[email protected]:~$

(you may only have one frontend, but that's okay).

If that's all okay, then the adapter is there. I would assume that tvheadend is starting before your USB stick is ready, then, so issue the command sudo service tvheadend restart from a command prompt - that will restart tvheadend, and it should pick up your adapter.

If the frontend files aren't there, then it's nothing to do with tvheadend. Try simply unplugging and re-plugging the adapter, and see if your system sees it then.
To make this more public, since the OP appeared to prefer a PM conversation...

As a starting point, he's running tvheadend on a Synology DiskStation, using what I'm assuming is the synocommunity package.

I don't know if something has changed in either the tvheadend spk, or whether it's part of the 4.1 DSM upgrade, but what I found is that I couldn't get access to the tuners unless Video Station is already running. It may be that it's always been like this, though, since I haven't done an exhaustive test.

Looking at /var/log/messages, I suspect that the installation/starting of Video Station reconfigures the kernel and startup sequence so that it loads the relevant (v4l, presumably) modules - without them, there's no video subsystem sitting between /dev/dvb and the tvheadend process. Net result: permission denied/unable to ... errors.

@radomir - as per my PM - try starting Video Station through the DSM Package Center, then try stopping and restarting tvheadend through the same. Fingers crossed, things should burst into life.

@anyone else - if you know more about tvheadend on Synology (there is an entire thread devoted to compiling it, so I'll take a look at that anyway), please sing out if the above makes sense/is wild supposition.