Opened 11 years ago
Closed 11 years ago
#2827 closed defect (fixed)
Auto clock speed in Dreambox mode set to -1 -> Webif incorrect
Reported by: | FilipeAmadeuO | Owned by: | alno |
---|---|---|---|
Priority: | minor | Component: | Webinterface |
Severity: | low | Keywords: | |
Cc: | gfto | Sensitive: | no |
Description
Not possible to set auto clock speed in Dreambox mode to -1 in webif.
There should be a auto option in webif and correct showing in log...
See documentation:
http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.server#cardmhz
Attachments (1)
Change History (10)
comment:1 by , 11 years ago
follow-up: 5 comment:2 by , 11 years ago
I can't reproduce this.
I have create new reader and set mhz and cardmhz to -1 (it should be documented that -1 means auto). The values were saved in oscam.server, then loaded and were shown correctly in the WebIf. May be the default value for mhz and cardmhz should be changed from 357 to -1, is that the problem?
May be I'm misunderstanding what the issue is?
comment:4 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
In my oscam.server i have:
mhz = 2700
cardmhz = -1
And in webif i see cardmhz=450 (image attach).
So the -1 is never shown in webif.
My sugestion is instead of having just text to have a dropdown menu with the possible values.
by , 11 years ago
Attachment: | internal.jpg added |
---|
comment:5 by , 11 years ago
Replying to gf:
I can't reproduce this.
I have create new reader and set mhz and cardmhz to -1 (it should be documented that -1 means auto). The values were saved in oscam.server, then loaded and were shown correctly in the WebIf. May be the default value for mhz and cardmhz should be changed from 357 to -1, is that the problem?
May be I'm misunderstanding what the issue is?
Agree. Why not default the auto (-1) value for both parameters ?
comment:6 by , 11 years ago
...And in webif i see cardmhz=450 So the -1 is never shown in webif....
Correct, the reader->cardmhz is filled with actual clockspeed of the card, so the -1 gets replaced once the correct autospeed is calculated.
If you save the config the cardmhz=-1 gets lost, if you dont save next time it will be replaced again.
Not a defect: working like intended!
comment:7 by , 11 years ago
Ok. I always thought that the values that appear on webif were the values defined on the configuration files and not the one calculated :)
In my opinion this leads to mistaques...
The best is to have in webif, a dropdown menu with all options including the AUTO option for both mhz and cardmhz parameters
comment:8 by , 11 years ago
why does this lead to mistakes? auto clock speed is only valid for dreambox readers. you set -1 and oscam calculates the correct speed. when you save the config the correct calculated value is saved to config and must not be calculated again.
i´m against a dropdown as this won´t change anything on the behaviour.
comment:9 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
as this works as developed => closed...
A popup-menu would be cool: