Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Error with dumb card



Wolfgang Goeller wrote:
> 
> Hello
> 
> I wanted to equip a second computer with a Hauppauge NOVA - S card.
> AFter reboot I could successfully load the driver lsmod showed:
> 
> grundig_29504-491       3200   0
> grundig_29504-401       3584   0
> alps_tdlb7              3716   0
> alps_tdmb7              3296   0
> alps_bsrv2              3392   0
> dvb-core               35972   3  [dvb-ttpci ves1820 stv0299 grundig_29504-491
> grundig_29504-401 alps_tdlb7 alps_tdmb7 alps_bsrv2]
> 
> My message-file said:
> 
> May 10 18:00:39 plato kernel: DVB: registering new adapter
> (Technotrend/Hauppauge PCI rev2.1 or 2.2).
> May 10 18:00:39 plato kernel: stv0299.c: setup for tuner BSRU6, TDQB-S00x
> May 10 18:00:39 plato kernel: DVB: registering frontend 0:0
> (STV0299/TSA5059/SL1935 based)...
> 
> But /proc/video/dev showed nothing.
> 
> When starting vdr everything seems to be okay
> May 10 18:03:44 plato vdr[1505]: VDR version 1.1.30 started
> May 10 18:03:44 plato vdr[1505]: loading /video/setup.conf
> May 10 18:03:44 plato vdr[1505]: loading /video/sources.conf
> May 10 18:03:44 plato vdr[1505]: loading /video/diseqc.conf
> May 10 18:03:44 plato vdr[1505]: loading /video/channels.conf
> May 10 18:03:44 plato vdr[1505]: loading /video/svdrphosts.conf
> May 10 18:03:44 plato vdr[1505]: loading /video/ca.conf
> May 10 18:03:44 plato vdr[1505]: loading /video/remote.conf
> May 10 18:03:44 plato vdr[1505]: probing /dev/dvb/adapter0/frontend0
> May 10 18:03:44 plato vdr[1508]: EIT processing thread started (pid=1508) - master
> ....
> May 10 18:03:45 plato vdr[1509]: tuner thread started on device 1 (pid=1509)
> May 10 18:03:45 plato vdr[1505]: probing /dev/dvb/adapter1/frontend0
> May 10 18:03:45 plato vdr[1505]: found 1 video device
> May 10 18:03:45 plato vdr[1505]: setting primary device to 1
> May 10 18:03:45 plato vdr[1505]: device 1 has no MPEG decoder
> May 10 18:03:45 plato vdr[1505]: SVDRP listening on port 2001
> May 10 18:03:45 plato vdr[1505]: switching to channel 2
> 
> I don't know though, why a tuner thread starts :-)
> 
> Then I get:
> 
> May 10 18:04:18 plato last message repeated 6 times
> May 10 18:05:18 plato last message repeated 13 times
> May 10 18:06:26 plato last message repeated 13 times
> 
> And If I try to start a recording I get:
> May 10 18:14:09 plato vdr[1534]: timer 1 (2 1814-1815 'TEST') start
> May 10 18:14:09 plato vdr[1534]: waiting for EPG info...
> May 10 18:14:13 plato vdr[1534]: no EPG info available
> May 10 18:14:13 plato vdr[1534]: record /video/TEST/2003-05-10.18:14.50.50.rec
> May 10 18:14:13 plato vdr[1534]: creating directory /video/TEST
> May 10 18:14:13 plato vdr[1534]: creating directory /video/TEST/2003-05-10.18:14
> .50.50.rec
> May 10 18:14:13 plato vdr[1534]: recording to '/video/TEST/2003-05-10.18:14.50.5
> 0.rec/001.vdr'
> May 10 18:14:13 plato vdr[1574]: recording thread started (pid=1574)
> May 10 18:14:13 plato vdr[1575]: receiver thread started on device 1 (pid=1575)
> May 10 18:14:14 plato vdr[1534]: switching to channel 2
> May 10 18:14:19 plato vdr[1576]: transfer thread started (pid=1576)
> May 10 18:14:20 plato vdr[1534]: ERROR: Kanal blockiert (zeichnet auf)!
>                                  (channel locked - recording)
> May 10 18:14:22 plato vdr[1576]: transfer thread ended (pid=1576)
> May 10 18:14:22 plato vdr[1534]: buffer stats: 0 (0%) used
> May 10 18:14:22 plato vdr[1534]: switching to channel 2
> May 10 18:14:24 plato vdr[1577]: transfer thread started (pid=1577)
> May 10 18:14:25 plato vdr[1534]: ERROR: Kanal blockiert (zeichnet auf)!
> May 10 18:14:27 plato vdr[1577]: transfer thread ended (pid=1577)
> May 10 18:14:27 plato vdr[1534]: buffer stats: 0 (0%) used
> May 10 18:14:27 plato vdr[1534]: switching to channel 2
> May 10 18:14:33 plato vdr[1579]: transfer thread started (pid=1579)

Looks like a problem with the new way VDR tries to keep the current
channel active on the primary device. It assumes that the primary
device is able to actually replay something, which in your case is
not true.

Please try changing the line

        if (!cDevice::PrimaryDevice()->HasProgramme()) {

in VDR/vdr.c into

        if (!cDevice::PrimaryDevice()->HasProgramme() && cDevice::PrimaryDevice()->HasDecoder()) {

This will prevent a primary device that can't actually replay or show live video
from continuously trying to set the channel.

Please let me know if this fixes it.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index