You are not logged in.

#1 2005-05-02 17:34:26

tr0nic
Member
From: Europe
Registered: 2005-05-02
Posts: 15

DVB-S Tv Card Problems /dev/video

Hello,

I have a Terratec Cinergy DVB-S TV card, the modules (dvb-ttpci and others) are correctly loaded by hotplug. So far so good. Yet nothing works (tvtime & kdetv), it can't get a signal.
In the terminal, it says:

videoinput: Cannot open capture device /dev/video0: Keine Berechtigung
rtctimer: Cannot set periodic interval: Keine Berechtigung

("Keine Berechtigung" meaning "No permission")

When I look at /dev, I see that there is no video directory, nor a v4l.
I looked through these Forums but can't find anything useful.

Further specs:

1. v4l loaded in xorg.conf, tv card modules loaded
2. udev instead of devfs (which works fine everywhere else)
3. user is in video group (which I had to add by myself)

Here are excerpts of my udev-rules file:

# video devices
SUBSYSTEM="video4linux", GROUP="video"
KERNEL="dvb*",        PROGRAM="/etc/udev/dvb.sh %k", NAME="%c", GROUP="video"
KERNEL="nvidia*",    GROUP="video"
KERNEL="card[0-9]*",    NAME="dri/%k", GROUP="video"

# v4l devices
KERNEL="video[0-9]*", NAME="v4l/video%n", SYMLINK="%k", GROUP="video"
KERNEL="radio[0-9]*", NAME="v4l/radio%n", SYMLINK="radio%e", GROUP="video"
KERNEL="vbi[0-9]*",   NAME="v4l/vbi%n", SYMLINK="%k", GROUP="video"
KERNEL="vtx[0-9]*",   NAME="v4l/vtx%n", SYMLINK="%k", GROUP="video"

I hope you can help me...

Greets,
Vic

Offline

#2 2005-05-02 18:57:41

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: DVB-S Tv Card Problems /dev/video


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#3 2005-05-02 20:12:17

tr0nic
Member
From: Europe
Registered: 2005-05-02
Posts: 15

Re: DVB-S Tv Card Problems /dev/video

Hello,

The thread you mentioned couldn't help me. I don't know what I have to do since I read through all the topics discussed here...
Again, I have "no permission" for the devices in question:

kdetv:

vicd@blackdeath ~]$ kdetv
kdetv: WARNING: [VBIDecoder::restart()] no permission to access device

tvtime:

vicd@blackdeath ~]$ tvtime
Starte tvtime 0.9.15.
rtctimer: Cannot set periodic interval: Keine Berechtigung

    Konfiguration des Zeitgebers (RTC) auf 1024 Hz fehlgeschlagen. Diese
    hohe Frequenz ist nötig, um ein ruckelfreies Bild zu gewährleisten.
    Bitte starten Sie tvtime mit root-Rechten oder erhöhen Sie die maximale
    RTC-Auflösung, indem Sie als root folgendes Kommando ausführen:
        sysctl -w dev.rtc.max-user-freq=1024
    Weitere Informationen finden Sie unter http://tvtime.net/.

Lese Konfiguration aus /etc/tvtime/tvtime.xml
Lese Konfiguration aus /home/vicd/.tvtime/tvtime.xml
videoinput: Cannot open capture device /dev/video0: Datei oder Verzeichnis nicht gefunden
Danke, daß Sie tvtime gewählt haben.

Greets,
Vic

Offline

#4 2005-05-03 07:34:59

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: DVB-S Tv Card Problems /dev/video

quick hack to test:
chmod the devices to lower security. I have several issues right now with udev and group permissions. Maybe it is udev, that is not doing well. I am not quite sure about the current udev behaviour on my machine, but I found several things not working well. My own ruleset is not setting up groups, while the udev rule is setting groups. I recieve nvidia permission errors while doing some opengl things, althoug I am member of video, 2. Anyway, I never got my cinergy to work, maybe we could help each other out. Feel free to pm me, I will try to follow your steps and see if I get the same results. Tschuess!


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#5 2005-05-10 13:25:30

tr0nic
Member
From: Europe
Registered: 2005-05-02
Posts: 15

Re: DVB-S Tv Card Problems /dev/video

Hello, there!

Now it works in Kaffeine at least, but this should be enough! But the quality is very poor, do I have to install accelerated drivers for my Radeon? Or are there codecs (or sth else) that have to be installed? The quality is by far not good enough to watch TV over a more lengthy period of time...

Greets,
Vic

Offline

#6 2005-05-10 19:54:43

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: DVB-S Tv Card Problems /dev/video

tell me what you did to make it work


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#7 2005-05-11 10:10:00

tr0nic
Member
From: Europe
Registered: 2005-05-02
Posts: 15

Re: DVB-S Tv Card Problems /dev/video

Actually, I did not do much, I edited udev.rules according to what has been posted in this thread.

I don't know if the changes I made are the ones that finally made it work, but it could very well be. Kaffeine detects the card without any problems, kdetv and tvtime don't.
But as I said the quality is poor, so it's no fun watching TV like this. If anyone has an idea what to do in order to increase quality (codecs? accelerated drivers?), please tell me.

Offline

#8 2005-05-11 16:31:21

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: DVB-S Tv Card Problems /dev/video

To get full graphics acceleration for your Radeon card, you can install the ATI drivers. I haven't done it myself.  Search the Wiki and forum for more info.

You can also try the following before installing the drivers. It will use DRI for the xorg radeon driver. In xorg.conf:
Add

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"

to your Modules section.
Add:

Section "DRI"
    Mode 0666
EndSection

Add:

Option "RenderAccel"        "On"

in the Device section of your monitor.

Offline

#9 2005-05-12 18:43:32

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: DVB-S Tv Card Problems /dev/video

I can tell the quality is very well using nvidia and kaffeine. I am surprised there where no more necessary steps ... but ... using kaffeine.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

Board footer

Powered by FluxBB