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)

internal.jpg (17.7 KB ) - added by FilipeAmadeuO 11 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Bit, 11 years ago

A popup-menu would be cool:

  1. Manually... (In his case the fields for values are available)
  2. Dreambox MIPSEL (fields are greyed-out and filled with correct values)
  3. Dreambox PPC (idem 2.)

comment:2 by gf, 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:3 by Deas, 11 years ago

Resolution: fixed
Status: newclosed

comment:4 by FilipeAmadeuO, 11 years ago

Resolution: fixed
Status: closedreopened

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 FilipeAmadeuO, 11 years ago

Attachment: internal.jpg added

in reply to:  2 comment:5 by FilipeAmadeuO, 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 theparasol, 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!

Last edited 11 years ago by theparasol (previous) (diff)

comment:7 by FilipeAmadeuO, 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

Last edited 11 years ago by FilipeAmadeuO (previous) (diff)

comment:8 by Deas, 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 Deas, 11 years ago

Resolution: fixed
Status: reopenedclosed

as this works as developed => closed...

Note: See TracTickets for help on using tickets.