Mailing List archive

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

[linux-dvb] DVB driver 2003-08-22: probing doesn't work



I just tested today's DVB driver, but when VDR starts I get

Aug 22 16:47:24 video vdr[27953]: probing /dev/dvb/adapter0/frontend0
Aug 22 16:47:24 video vdr[27953]: ERROR: /dev/dvb/adapter0/frontend0: Device or resource busy

The code VDR uses to probe the devices is this:

bool cDvbDevice::Probe(const char *FileName)
{
  if (access(FileName, F_OK) == 0) {
     dsyslog("probing %s", FileName);
     int f = open(FileName, O_RDONLY);
     if (f >= 0) {
        close(f);
        return true;
        }
     else if (errno != ENODEV && errno != EINVAL)
        LOG_ERROR_STR(FileName);
     }
  else if (errno != ENOENT)
     LOG_ERROR_STR(FileName);
  return false;
}

This used to work with DVB driver 2003-08-01, so I guess something in
the driver has changed which broke this.

Should VDR use a different way of probing now (which one?), or is this
a driver bug?

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 linux-dvb" as subject.



Home | Main Index | Thread Index