Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#6580 closed defect (wontfix)
changing location of dvb-t-devices in /dev does break channel-scanning
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Channel Scanner | Version: | unknown |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
oh and i am using 0.22 head svn-20616 on debian squeeze/sid x86_64... sorry, forgot this
comment:3 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This bug is not a worth fixing unless a clean and ready to apply patch is provided. No sane Linux distro would set things up like this...
comment:4 Changed 14 years ago by
... well, okey, but then the wiki should at least contain a hint that this breaks channel-scanning (http://www.mythtv.org/wiki/Device_Filenames_and_udev).
there's a typo in the last quoting, it should be
so not "nova1". don't know where this "1" came from (just doublechecked it).