The irserver does not always seem to use the timezone offset correctly. You can change the source code to apply your offset manually.
Download the irserver sources, and open the file. Easiest fix is, below the line that says...
- Code: Select all
else *((unsigned int *)irw.data) = tb.tv_sec - 60 * tz.tz_minuteswest;
Add this line:
- Code: Select all
*((unsigned int *)irw.data) = tb.tv_sec + XXX
where you replace XXX with the amount of minutes you want the clock to go FORWARD. This means, if you want the clock to go 2 hours forward, you use:
- Code: Select all
*((unsigned int *)irw.data) = tb.tv_sec + 120
if you want the clock to go 2 hours backwards, use:
- Code: Select all
*((unsigned int *)irw.data) = tb.tv_sec - 120
Then recompile the irserver with: make
If you need a 64 bit binary too, also do: make irserver64
Of course you need the C compiler et cetera for all this. I can't tell you which packages you really need, because I usually install a lot of them and it also depends on your Linux distribution. You should be able to find out about that yourself by googling around.
Hope this helps.
Stefan