Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10845: Rotor with usals not working correct after upgrade to 0.25

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Jun 18, 2012, 1:36 PM

Post #1 of 8 (215 views)
Permalink
Ticket #10845: Rotor with usals not working correct after upgrade to 0.25

#10845: Rotor with usals not working correct after upgrade to 0.25
-------------------------------+--------------------------------------
Reporter: cyberneticbrain@… | Type: Bug Report - General
Status: new | Priority: major
Milestone: unknown | Component: MythTV - General
Version: 0.25 | Severity: medium
Keywords: rotor usals | Ticket locked: 0
-------------------------------+--------------------------------------
Recently updated my mythbackend from 0.24 to 0.25. Since 0.23 I use
without any problems a rotor with usals (SG2100A). Since the update the
rotor is not rotating to the correct position any more. Connected my (old)
receiver with it the rotor and usuals is working perfect again. Deleting
the configuration in mythtv-setup and then adding a new rotor did not fix
the issue.
At http://code.mythtv.org/trac/changese...b788523/mythtv seems to be
changed something, but I do not understand this fully.
If I want the astra 28.2E now I have to put something near 26.0E so it
rotates to 28.2 position. Reinstalled to 0.25 again and rotor working fine
again with correct sat.settings

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10845>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jun 18, 2012, 1:38 PM

Post #2 of 8 (212 views)
Permalink
Re: Ticket #10845: Rotor with usals not working correct after upgrade to 0.25 [In reply to]

#10845: Rotor with usals not working correct after upgrade to 0.25
----------------------------------+-------------------------
Reporter: cyberneticbrain@… | Owner:
Type: Bug Report - General | Status: new
Priority: major | Milestone: unknown
Component: MythTV - General | Version: 0.25
Severity: medium | Resolution:
Keywords: rotor usals | Ticket locked: 0
----------------------------------+-------------------------

Comment (by cyberneticbrain@…):

Recently updated my mythbackend from 0.24 to 0.25. Since 0.23 I use
without any problems a rotor with usals (SG2100A). Since the update the
rotor is not rotating to the correct position any more. Connected my (old)
receiver with it the rotor and usuals is working perfect again. Deleting
the configuration in mythtv-setup and then adding a new rotor did not fix
the issue.
At http://code.mythtv.org/trac/changese...b788523/mythtv seems to be
changed something, but I do not understand this fully.
If I want the astra 28.2E now I have to put something near 26.0E so it
rotates to 28.2 position. Reinstalled to 0.24 again and rotor working fine
again with correct sat.settings

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10845#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jun 18, 2012, 2:28 PM

Post #3 of 8 (205 views)
Permalink
Re: Ticket #10845: Rotor with usals not working correct after upgrade to 0.25 [In reply to]

#10845: Rotor with usals not working correct after upgrade to 0.25
----------------------------------+-------------------------
Reporter: cyberneticbrain@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25
Severity: medium | Resolution:
Keywords: rotor usals | Ticket locked: 0
----------------------------------+-------------------------
Changes (by kenni):

* priority: major => minor


Old description:

> Recently updated my mythbackend from 0.24 to 0.25. Since 0.23 I use
> without any problems a rotor with usals (SG2100A). Since the update the
> rotor is not rotating to the correct position any more. Connected my
> (old) receiver with it the rotor and usuals is working perfect again.
> Deleting the configuration in mythtv-setup and then adding a new rotor
> did not fix the issue.
> At http://code.mythtv.org/trac/changese...b788523/mythtv seems to be
> changed something, but I do not understand this fully.
> If I want the astra 28.2E now I have to put something near 26.0E so it
> rotates to 28.2 position. Reinstalled to 0.25 again and rotor working
> fine again with correct sat.settings

New description:

Recently updated my mythbackend from 0.24 to 0.25. Since 0.23 I use
without any problems a rotor with usals (SG2100A). Since the update the
rotor is not rotating to the correct position any more. Connected my (old)
receiver with it the rotor and usuals is working perfect again. Deleting
the configuration in mythtv-setup and then adding a new rotor did not fix
the issue.
At http://code.mythtv.org/trac/changese...b788523/mythtv seems to be
changed something, but I do not understand this fully.
If I want the astra 28.2E now I have to put something near 26.0E so it
rotates to 28.2 position. Reinstalled to 0.24 again and rotor working fine
again with correct sat.settings

--

Comment:

Resetting to default priority.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10845#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 5, 2012, 1:12 AM

Post #4 of 8 (176 views)
Permalink
Re: Ticket #10845: Rotor with usals not working correct after upgrade to 0.25 [In reply to]

#10845: Rotor with usals not working correct after upgrade to 0.25
----------------------------------+--------------------------------
Reporter: cyberneticbrain@… | Owner:
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25
Severity: medium | Resolution:
Keywords: rotor usals | Ticket locked: 0
----------------------------------+--------------------------------
Changes (by beirdo):

* status: new => infoneeded_new


Comment:

Sorry, could you please repost the commit number as the URL didn't make
it.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10845#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 5, 2012, 10:48 AM

Post #5 of 8 (176 views)
Permalink
Re: Ticket #10845: Rotor with usals not working correct after upgrade to 0.25 [In reply to]

#10845: Rotor with usals not working correct after upgrade to 0.25
----------------------------------+--------------------------------
Reporter: cyberneticbrain@… | Owner:
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25
Severity: medium | Resolution:
Keywords: rotor usals | Ticket locked: 0
----------------------------------+--------------------------------

Comment (by cyberneticbrain@…):

Here are the URL, with regards.

[http://code.mythtv.org/trac/changeset/5a01fdade9683ddea23f60d2438fd526db788523/mythtv]
[http://code.mythtv.org/trac/ticket/8459]

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10845#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 7, 2012, 10:35 AM

Post #6 of 8 (142 views)
Permalink
Re: Ticket #10845: Rotor with usals not working correct after upgrade to 0.25 [In reply to]

#10845: Rotor with usals not working correct after upgrade to 0.25
----------------------------------+--------------------------------
Reporter: cyberneticbrain@… | Owner:
Type: Bug Report - General | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25
Severity: medium | Resolution:
Keywords: rotor usals | Ticket locked: 0
----------------------------------+--------------------------------

Comment (by cyberneticbrain@…):

As a test I made a '''fresh''' install with Xubuntu 12.04 at another pc
with dvb adapter and mythtv 0.25. Adding the rotor caused exactly the same
problems as mentioned above. So usals not working correct any more.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10845#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 3, 2012, 3:08 PM

Post #7 of 8 (114 views)
Permalink
Re: Ticket #10845: Rotor with usals not working correct after upgrade to 0.25 [In reply to]

#10845: Rotor with usals not working correct after upgrade to 0.25
----------------------------------+-------------------------
Reporter: cyberneticbrain@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25
Severity: medium | Resolution:
Keywords: rotor usals | Ticket locked: 0
----------------------------------+-------------------------
Changes (by kenni):

* status: infoneeded_new => new


Old description:

> Recently updated my mythbackend from 0.24 to 0.25. Since 0.23 I use
> without any problems a rotor with usals (SG2100A). Since the update the
> rotor is not rotating to the correct position any more. Connected my
> (old) receiver with it the rotor and usuals is working perfect again.
> Deleting the configuration in mythtv-setup and then adding a new rotor
> did not fix the issue.
> At http://code.mythtv.org/trac/changese...b788523/mythtv seems to be
> changed something, but I do not understand this fully.
> If I want the astra 28.2E now I have to put something near 26.0E so it
> rotates to 28.2 position. Reinstalled to 0.24 again and rotor working
> fine again with correct sat.settings

New description:

Recently updated my mythbackend from 0.24 to 0.25. Since 0.23 I use
without any problems a rotor with usals (SG2100A). Since the update the
rotor is not rotating to the correct position any more. Connected my (old)
receiver with it the rotor and usuals is working perfect again. Deleting
the configuration in mythtv-setup and then adding a new rotor did not fix
the issue.
At 5a01fdade9683ddea23f60d2438fd526db788523 seems to be changed something,
but I do not understand this fully.
If I want the astra 28.2E now I have to put something near 26.0E so it
rotates to 28.2 position. Reinstalled to 0.24 again and rotor working fine
again with correct sat.settings

--

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10845#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 23, 2012, 12:49 AM

Post #8 of 8 (95 views)
Permalink
Re: Ticket #10845: Rotor with usals not working correct after upgrade to 0.25 [In reply to]

#10845: Rotor with usals not working correct after upgrade to 0.25
----------------------------------+-------------------------
Reporter: cyberneticbrain@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25
Severity: medium | Resolution:
Keywords: rotor usals | Ticket locked: 0
----------------------------------+-------------------------

Comment (by cyberneticbrain@…):

Update. Installed mythtv 0.25 from source and adapted
mythtv/libs/libmythtv/diseqc.cpp before compiling.

{{{
double DiSEqCDevRotor::CalculateAzimuth(double angle) const
{
// Azimuth Calculation references:
// http://engr.nmsu.edu/~etti/3_2/3_2e.html
// http://www.angelfire.com/trek/ismail/theory.html
// Earth Station Latitude and Longitude in radians
double P = gCoreContext->GetSetting("Latitude", "").toFloat() *
TO_RADS;
double Ue = gCoreContext->GetSetting("Longitude", "").toFloat() *
TO_RADS; // Satellite Longitude in radians
double Us = angle * TO_RADS;
return TO_DEC * atan( tan(Us - Ue) / sin(P) );
}
}}}

changed to


{{{
double DiSEqCDevRotor::CalculateAzimuth(double angle) const
{
// Equation lifted from VDR rotor plugin by
// Thomas Bergwinkl <Thomas.Bergwinkl [at] t-online>
// Earth Station Latitude and Longitude in radians
double P = gCoreContext->GetSetting("Latitude", "").toFloat() *
TO_RADS;
double Ue = gCoreContext->GetSetting("Longitude", "").toFloat() *
TO_RADS;
// Satellite Longitude in radians
double Us = angle * TO_RADS;
double az = M_PI + atan( tan(Us - Ue) / sin(P) );
double x = acos( cos(Us - Ue) *cos(P) );
double el = atan( (cos(x) - 0.1513) / sin(x) );
double tmp_a = -cos(el) *sin(az);
double tmp_b = (sin(el) *cos(P)) - (cos(el) *sin(P)
*cos(az));
double azimuth = atan(tmp_a / tmp_B) *TO_DEC;
return azimuth;
}
}}}

After this my rotor with usals was working again.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10845#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.