[mythtv-commits] Ticket #6580: changing location of dvb-t-devices in /dev does break channel-scanning
MythTV
mythtv at cvs.mythtv.org
Tue May 26 13:06:13 UTC 2009
#6580: changing location of dvb-t-devices in /dev does break channel-scanning
-----------------------------------------+----------------------------------
Reporter: markus.doits at googlemail.com | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Channel Scanner | Version: unknown
Severity: medium | Mlocked: 0
-----------------------------------------+----------------------------------
i've got two dvb-t devices. on startup they are created as
/dev/dvb/adapter[0,1]. sometimes on is "0", sometimes the other. since i
want them to be static i simply created an udev-rule to put the devices
into
{{{
/dev/dvb/adapter_terra
/dev/dvb/adapter_nova
}}}
by the udev-rule
{{{
KERNEL=="dvb*", SUBSYSTEM=="dvb", PROGRAM="/root/scripts/devicenamer.sh
$name %p", NAME:="%c"
}}}
(devicenamer.sh checks the device-info and returns the correct location)
assigning the new locations in mythtv-setup works, watching tv in frontend
etc. works too, but scanning for channels in mythtv-setup gives "scan
type: failed to open the card" and on console
{{{
2009-05-26 14:58:52.473 FE_GET_INFO ioctl failed
(/dev/dvb/adapter_nova/frontend0).
}}}
when mythtv-backend is NOT running.
starting the backend and trying to scan for channels i do not get the
error (so e.g. i get "scan type: full scan") but on hitting "next" the
scan also does not work and on console:
{{{
2009-05-26 15:00:50.402 DVBChan(1:/dev/dvb/adapter_nova1/frontend0) Error:
Opening DVB frontend device failed.
eno: Device or resource busy (16)
}}}
which obviously is as it should be, because the backend is accessing it.
oh and i think i did not mention before: without the udev-rule (having the
devices in adapter[0,1]) channel scanning works.
i also tried symlinking with udev, no success either. in this case i
cannot scan with mythtv-setup either having the symlink configured as the
card nor the original device-node the symlink is pointing to. very weird.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6580>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list