Gutsy, VDR and tty

  • Hi folks,


    First of all: Sorry for writing in English, my German is a wee bit rusty!


    Update: Soory also for posting in the wrong forum!


    I recently upgraded my DVR (Digital Video Recorder) from Edgy to Gutsy.The system runs in command line mode, the GUI is disabled. I use my telly for watching the recordings, and (on another channel) for doing maintenance (in command line mode).


    VDR needs a tty-slot for receiving commands. In my Edgy-installation I achieved this by fiddling with the /etc/inittab-file. I commented out the following line


    #1:2345:respawn:/sbin/getty 38400 tty1


    and started VDR with the command


    VDRCMD="$VDRPRG -t /dev/tty1 -w 60 -u zup --config=/home/media/System/VDR/etc --lib=/home/media/System/VDR/lib -Pdvdswitch -Pextrecmenu -Pmp3 -Pmplayer -Pdvd -Psubtitles $*"


    This was fine, VDR communicated through tty1 by sending messages and receiving kestrokes. I then used tty[2-6] for the maintenance.


    Now, I've realized that Gutsy has shuffled the deck a bit. After some research I tried the following.


    First I poked around in /etc/default/console-setup . The original and new lines are as follows


    #ACTIVE_CONSOLES="/dev/tty[1-6]"
    ACTIVE_CONSOLES="/dev/tty[2-6]"


    Then I did some messing around in /etc/event.d I renamed files according to the following file listing:


    control-alt-delete rc0 rc2 rc4 rc6 rcS sulogin tty3 tty5 tty_ett
    logd rc1 rc3 rc5 rc-default rcS-sulogin tty2 tty4 tty6


    Note that I renamed tty1. To be on the safe side, I commented out all the contents in the file:


    # tty1 - getty
    #
    # This service maintains a getty on tty1 from the point the system is
    # started until it is shut down again.


    #start on runlevel 2
    #start on runlevel 3
    #start on runlevel 4
    #start on runlevel 5


    #stop on runlevel 0
    #stop on runlevel 1
    #stop on runlevel 6


    #respawn
    #exec /sbin/getty 38400 tty1


    I then start up VDR with a command identical to the above:


    VDRCMD="$VDRPRG -t /dev/tty1 -w 60 -u zup --config=/home/media/System/VDR/etc --lib=/home/media/System/VDR/lib -Pdvdswitch -Pextrecmenu -Pmp3 -Pmplayer -Pdvd -Psubtitles $*"


    The arrangement almost works. When I boot up tty1 is disabled, and I get a login prompt only at tty2-tty6. The keyboard works, that's for sure, I can switch between tty2-tty6. The problem is that VDR doesn't communicate with tty1 at all - no output, no input. I really don't know where VDR writes its messages, or from where it tries to read keystrokes.


    So, this is where I call for help! Any hints will be much appreciated. Hopefully I've been clear enough in stating my problem.


    Best regards,


    Mike

  • 17:34:32 < Caramba> Hiya folks. First of all: sorry for the English, my German is kinda rusty. Also sorry for the possible doublepost. Now: I'm having a sneaky problem with Gutsy, VDR and using different tty:s as described at the address http://ubuntuforums.org/showthread.php?t=658014. Any help would be deeply appreciated.
    17:36:21 < igel> i start vdr with vdr (options) < /dev/tty8
    17:37:08 < igel> VDRCMD="$VDRPRG -w 60 -u zup --config=/home/media/System/VDR/etc --lib=/home/media/System/VDR/lib -Pdvdswitch -Pextrecmenu -Pmp3 -Pmplayer -Pdvd -Psubtitles $* < /dev/tty1"
    17:38:06 < Caramba> igel: OK, I'll try that one. Though, -t tty1 should work (at least it did in egdy). Do you run gutsy, igel?
    17:38:27 < igel> no, vdr is debian sid
    17:38:41 < igel> only workstation is gutsy
    17:38:54 < Caramba> igel: Maybe it'll work - i'll give it a shot. Thx for the tip - back in a little while :)
    17:43:38 < Caramba> igel: Works like a charm, thank you! Why the -t tty1 didn't work I don't know...maybe I should have a full path there as well...
    17:44:28 < igel> maybe -t /dev/tty1
    17:45:23 < Caramba> igel: precisely, that's what I thought. I'll check it out. It wasn't needed with my previous installation, though. Strange things!
    17:46:04 < igel> but when i read man vdr tty1 sould be correct
    17:46:35 < igel> however
    17:47:59 < Caramba> igel: Aye, maybe I should report this.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!