Bug #1320
exclusive hold on the device
0%
Description
While watching channel in TVH VLC webgui holds exclusive lock on the dvb-s device making it not possible to use in conjunction with diagnostic tools such as dvbsnoop
IMHO this should be possible to view such channel and use mentioned tools
History
Updated by Adam Sutton about 12 years ago
- Status changed from New to Invalid
- Assignee deleted (
Hein Rigolo)
This is not a bug in TVH, it really depends what you're trying to do.
If you're trying an operation that uses the demux device you'll be fine as this can be opened multiple times without problems (except if put into certain modes I believe).
However if you're trying to do something that requires access to the frontend or dvr device then these will generally not be possible since the output of dvr is not multiplexed so multiple users would simply kill one another (they'd each gets parts of the stream) and allowed 2 users to access the frontend and possibly change the tuning params is clearly not a good idea.
Adam
Updated by Wojciech Myrda about 12 years ago
I agree that this is not bug per say and I didnt know to report it as the bug or feture I understand that multiple users would just fight over resources therefore it should not be allowed by default but for debugging purposes in the enviroment where tvh accessed only by single user then running command such as "dvbsnoop -s pidscan" should IMHO be at least left as an option to be allowed work and therefore user could check in webgui "no exclusive rights to the driver". I do not know about web ui possibilities but if tooltips are to be implemneted in the future the it could say "recomended only in single user enviroment"
ATM it is not possible
dvbsnoop s pidscan http://dvbsnoop.sourceforge.net/
dvbsnoop V1.4.50 -
---------------------------------------------------------
Transponder PID-Scan...
---------------------------------------------------------
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
Updated by Adam Sutton about 12 years ago
Indeed, that will not work because a PID scan works by using the DVR device. You cannot do such things during normal operation, so would have to be done outside of TVH.
Of course you could try a manual PID scan by trying each PID one at a time on the DEMUX device but that would take time.
I am not aware of there being any other way of doing things, as allowing other clients access to the DVR device would horribly break things.
Adam