Description
Example.
U have a DVB card which has been working for a long time.
Now u exchange motherboard and boot up the same OS (xp etc).
Now the device drivers are being reloaded, since the card is being seen as a new one - this is expected.
tvservice and setuptv now detects the DVB card as a new card.
this is also expected.
The old card is no longer detected, so when the user tries to get rid of it using the card list (remove) functionality within setuptv.
... nothing happens, the card is removed from the list initially, but when revisiting the card list its back again :(
It might have something to do with the old card still having bindings to various tables, like channel mappings etc.
the card removal feature should ideally check if the card has any bindings to other SQL tables, if so warn the user.
If the user accepts, it should delete these bindings (channel mappings etc) and the delete the card entirely.
note;
Its easier to repro this by using an USB card.
try moving it to another USB port and load the drivers..the launch setuptv.
U have a DVB card which has been working for a long time.
Now u exchange motherboard and boot up the same OS (xp etc).
Now the device drivers are being reloaded, since the card is being seen as a new one - this is expected.
tvservice and setuptv now detects the DVB card as a new card.
this is also expected.
The old card is no longer detected, so when the user tries to get rid of it using the card list (remove) functionality within setuptv.
... nothing happens, the card is removed from the list initially, but when revisiting the card list its back again :(
It might have something to do with the old card still having bindings to various tables, like channel mappings etc.
the card removal feature should ideally check if the card has any bindings to other SQL tables, if so warn the user.
If the user accepts, it should delete these bindings (channel mappings etc) and the delete the card entirely.
note;
Its easier to repro this by using an USB card.
try moving it to another USB port and load the drivers..the launch setuptv.