| | #81 (permalink) | ||
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Quote:
![]() Quote:
![]()
__________________ Jazz oder nie! Last edited by Herr R aus B; 2008-01-04 at 22:17. | ||
| | |
| | #82 (permalink) | |||||
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Quote:
IE: OFF = 35 degrees, 100% = 59 degrees step = ( 59 - 35 )/6 = 4 degrees. When the temperature is below 35 degrees, the fan is off. When the temperature is below 39 degrees, the fan is at 40%. When the temperature is below 43 degrees, the fan is at 50%. When the temperature is below 47 degrees, the fan is at 60%. When the temperature is below 51 degrees, the fan is at 70%. When the temperature is below 55 degrees, the fan is at 80%. When the temperature is below 59 degrees, the fan is at 90%. When the temperature is above 59 degrees, the fan is at 100%. This should give the effect of increasing the fan speed as the temperature goes up (the system is more heavily loaded)... hopefully reducing the temperature and allowing the fans to reduce their speed. If you tweak the values, you should be able to get it to the point that the fans remain off (or at low speed) during normal operation. Quote:
What logo? Quote:
hmm... should work... but, things don't always work the way you (me in this case) want them to. At least I got you pointed in the right direction... 8-} Quote:
Could you provide the mediaportal.log that I requested... I'm waiting on more data... Thanks. Regards, CybrMage It was because I had assumed (from indications in the previous logs) that the data would come in bursts of 1, 2 or 3 bytes... and coded specific routines to take care the these cases on log the data... but I forgot to clear the data buffer after handling a 3 byte burst... so the next time the WhenDataReceived() routine was called, there was 4 bytes of data... then 6 bytes, etc... and the data handling routines were never executed with more than 3 bytes in the buffer... (Yes, I know... STUPID mistake... I'm only human...) Quote:
Regards, CybrMage Last edited by cybrmage; 2008-01-01 at 22:14. Reason: Automerged Doublepost | |||||
| | |
| | #83 (permalink) | ||
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Quote:
![]() Somehow our articles are that long, that we run out of synch ![]() Btw - of course I am not using google translation to write down all this here Or is my english that bad? Darn... ![]()
__________________ Jazz oder nie! | ||
| | |
| | #84 (permalink) | ||||
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Quote:
My appologies!!! Quote:
Because the 0x00 is used as a termination, it can't be used as a character... I didn't have enough data from your logs to determine for sure that the 0x00 was the termination or that 0x08 was used in a display string... so I arbitrarily picked 0x00... bad choice 8-{... you are absolutely correct! At least we both managed to determine the character encoding correctly 8-} Quote:
Besides... I'd rather get a little out of sync, and get good information (and confirmation of said information) than be in sync with very little info or feedback... Quote:
Here is another test version... I rewrote the serial data handling rotine (again)... This time I added filtering of invalid data (why are we geting 0x3F all of a sudden???) and two rudimentary state machines ( the first to make sure we don't send a request for temperature data before we receive the data from the previous request and the second to try and properly detect a remote button that is being held down). I also changed the initialization routine to send the same data (all those 0xAA's) as the MHC program.... And, I also discovered that I was not correctly closing the serial port on shutdown... hopefully this fix will let the display restart the machine from shutdown/hibernate/sleep (fingers crossed)!! 8-} I also changed the shutdown routine to set the fan speed for both fans to 40%... Better to have a little noise from the fan than the expense of replacing a machine that has overheated.!!!.. Please make sure you have the options "Use fan control" turned on, and at least one of the fans set to "automatic" when you test this one (The temperature requests are only sent to the display if automatic fan control is needed). Regards, CybrMage Last edited by cybrmage; 2008-01-02 at 22:16. Reason: DRIVER REMOVED DUE TO NEW VERSION | ||||
| | |
| | #85 (permalink) | ||||||||
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Quote:
![]() Quote:
Quote:
Quote:
+1 is much more than -7! I won! Yeeeeehah! Honestly I'd love to move to canada, as I am somewhat northbound so to say. I speak danish, travelled all of scandinavia (finnland included) - the only country missing is greenland. I didn't want to spend some 300 € for a eight hour heli trip to greenland when I was in island. And canada and alaska amaze me. Canada would be better though, as I lived and worked in Atlanta and really wouldn't cope with these US folks generally... I mean I also was up in Seattle, which is different, very different, but in the end, the states wouldn't make me happy. But maybe I once make it to canada again. As I told you - I had a great time in tToronto and Ontario - and that's just such a small spot of your country. But the other thing is, that I am 43 already and finding a reasonable job with 43 might also be a problem in Canada - in germany it definately is and we are not talking the states. You seem to be from the east coast - where? Quote:
Quote:
Quote:
![]() Quote:
Unfortunately testing has to wait a little bit, because at the moment again I have some recordings running - yes, I am still using this software And if wouldn't freeze my screen from time to time, I would even more like it... But I think the screen freezing problem while returning from any fullscreen mode seems to be a known problem...I'll keep you updated and informed within the next 30 - 45 minutes...
__________________ Jazz oder nie! Last edited by Herr R aus B; 2008-01-02 at 12:02. Reason: Removing terrible typos | ||||||||
| | |
| | #86 (permalink) |
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Actually (and unfortunately) it's getting worse. So this time I produced quite a bunch of logs for you. That's why it took a little bit longer - but as I can see, you must be asleep now - no wonder, it should be 5am over there ;-) Here is what I could watch: There definately are no 0x3F. I sniffed the traffic between the version 010108b with that 1 2 3 4 5 6 7 8 9 & hold 9 test. That's the same what I did then. And the COM port log doesn't show any 0x3F. Unfortunately i didn't save the MP log this time, but I think, there would be no difference. See the files V.010108b.*.txt. I repeated all the tests just having MHC running instead of MP. See the files MHC.1 2 3 4 5 6 7 8 9 hold test.*.txt. Then I installed the new version 010108c and the first thing I found out is, that this version of the driver obviously doesn't read anything from the COM port. I simply don't get any reading recordings in the COM port logs... See the files
I then tested the standby thing. As I have no remote with the new driver version I put windows to standby using the MP menu. The result is, that you still switch off the VFD as in nothing is displayed and the red indicator LED is off. See the log files
00 00 00 ... AE AE ®® Maybe "you are about being shut down"? I wonder whether these 0x00 0x000x00 are some general reset. Could also be the 0xAE 0xAE... A1 00 A7 4D 2E 50 6C 61 79 20 48 6F 6D 65 20 43 ¡.§M.Play Home C 65 6E 74 65 72 20 20 00 enter . A2 00 A7 20 20 20 20 20 20 20 20 53 74 61 6E 64 ¢.§ Stand 62 79 20 4D 6F 64 65 00 by Mode. Setting the display and this also can be watched on the display - of course... AC 47 47 ¬GG Setting the fans to 40%... A4 7E ¤~ A4 76 ¤v 02 . 0D . 02 . 1F . 04 . 01 . 0A . 0B . AE ® Hm.... ? 0xAE again.... And what is this A4? In this article you assumed, the following eight bytes after 0xA4 0x76 could be time setting information. They represent in decimal: 02 13 02 31 04 01 10 11. Well according to the COM port logs it all happened at 13:02:10 and these numbers are there (marked blue), but not following each other directly... and where is the date then? there is another 02, which would fit the day and there is also a 01, which could be january. But where then is 2008 which would be 0x07D8. Maybe if the 0x1F (31) is an offset to a base year and the 0x04 could be the day of week (should be wednesday then), but then the week would start either on saturday (0x00) oder sunday (0x01), where the latter even mitght be valid - and who knows what koreans think about what day is the first day in the week - in Germany its monday, in Java (language) it's sunday... But then, what about the 0x0B before the 0xAE? How did you get the idea, that this could be time/date information? I am confused ![]() A5 3B ¥; Dimming the display... What follows then is closing the COM port and there were no read requests during this sequence. And here are the log files - I wish I could be more helpful...
__________________ Jazz oder nie! Last edited by Herr R aus B; 2008-01-04 at 22:17. |
| | |
| | #87 (permalink) | ||||||||
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Quote:
Quote:
Quote:
Quote:
Oh... Sorry.... got a little off topic... 8-} (Nice little change of pace) Wel... It seems that, for me, the new year is getting off to a bad start... Although I did learn a few things... 1) NEVER do coding on new years day!!! 2) NEVER do coding after a "party"!! 3) When coding a state machine... TURN IT ON!!! 8-} Opps... Sorry... mea culpa... Quote:
I, of course, forgot to set the processing flag!!! (BAD PROGRAMMER!!! no caffine ration for you! 8-} ) Quote:
In the changes to the Cleanup() routine, I miscounted the numbers of bytes sent to the display, causing MediaPortal to crash... So the required shutdown commands are never sent to the display... 8-{ Quote:
Quote:
0x02 Minutes 0x0D Hours 0x02 Day 0x1F Days In Month 0x04 Day Of Week ( 1 - 7: 1 = Sunday) 0x01 Month 0x0A Seconds 0x0B Unknown (possibly the year offset) This information was provided by -Manfred- in one of his source code edits. Here is a quick fix for the last driver... complete logging is not required (yet 8-}, just the mediaportal.log for now... Feedback on it's functionality is eagerly (and fearfully) awaited 8-} Again... My appologies for all the work I caused you... hopefully, some good will come of it! 8-} Regards, CybrMage [UPDATE] Apparently, (the "COMPLETE" log you posted seems to verify it), the {0xAA, 0xAA } command is an "Identify" command... The display responds with "MZ4". During initialization, MHC open the port, sends 0xA4, 0x7D 0xAA, 0xAA 0xAA, 0xAA 0xAA, 0xAA 0xAA, 0xAA 0xAA, 0xAA 0xAA, 0xAA 0xAA, 0xAA 0xAA, 0xAA 0xAA, 0xAA 0xAA, 0xAA and closes the port... and the opens the port and starts communication with the display... so the routine MUST be part of the MHC device detection routine.... which make the 0xA$, 0x7D a "Wakeup" or "Reset" command... (I suspect it's a soft reset... MHC sends 10 "Identify" commands, but only receives 8 responses...) Last edited by cybrmage; 2008-01-02 at 22:13. Reason: DRIVER REMOVED DUE TO NEW VERSION | ||||||||
| | |
| | #88 (permalink) | ||
| Portal Member | Quote:
Ingenious idea, but I'm affraid that can't solve my problem I want to control other SW by my remote too, not only MP. So I need to have run some control SW in moment when I leave MP. My idea was, that this remote plugin will have option where I can specify executable file which it will search in memory when plugin started. It will close it on start if detects it and run it again on plugin exit. | ||
| | |
| | #89 (permalink) |
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Now I logged some sending to standby while fiddling with time and date settings. The result is, that the sequence sent by MHC to the VFD is 00 00 00 AE AE A1 00 A7 4D 2E 50 6C 61 79 20 48 6F 6D 65 20 43 65 6E 74 65 72 20 20 00 A2 00 A7 20 20 20 20 20 20 20 20 53 74 61 6E 64 62 79 20 4D 6F 64 65 00 AC 47 47 A4 7E A4 76 {8 bytes} AE A5 3B Here are the 8 bytes for different time and date settings (decimal values in brackets):
One also has to find out, whether day of month starts on sunday being 0x01 or on saturday being 0x02. Unfortunately at the moment I can't do any COM port analyzing as this port monitor was a 14 days trial and due to setting the year back to 2007 and then again to 2008 the license has expired after 4 days ![]() Any good hint for a FREE com port monitor that runs under XP64? ![]()
__________________ Jazz oder nie! |
| | |
| | #90 (permalink) | ||
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Quote:
At the moment, we are trying to get the display and the remote control fully functional.... That is the priority... other embelishments will be considered after the priority work is completed. I don't think that the year is transmitted... Byte 4 is the number of days in the month... (28 in february 2007, 29 in February 2008). That would only be significant IF the display does have an on-board calender, hence needs to know the number of days in the month so that it can change the month at the appropriate time. Quote:
Regards, CybrMage Last edited by cybrmage; 2008-01-02 at 17:41. Reason: Automerged Doublepost | ||
| | |
![]() |
| Bookmarks |
| Tags |
| hd135, mplay, vfd, vlsys, zalman |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Zalman VFD in PM | Takke | General Support | 3 | 2008-01-04 13:20 |
| Zalman HD160XT Gehäuse Diskusion | Muschi | Hardware | 10 | 2007-12-29 18:18 |
| Set-up Zalman HD160XT Remote | Giorgio_ap | Support | 4 | 2007-07-05 12:44 |
| Zalman HD160 advice | aarond | Hardware Selection Help | 13 | 2007-01-12 09:06 |
| Problems with Zalman HD160 | steviweavi | HTPC Projects | 6 | 2006-06-09 15:46 |