| | #131 (permalink) |
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Here is a new version. I discovered the problem with setting the fan speed that was introduced with the automtic fan control option... (I need to actually WRITe the values to the display... not just calculate them 8-} ) I also, hopefully eliminated the problem with the temperature readings... Regards, CybrMage Last edited by cybrmage; 2008-03-14 at 08:07. |
| | |
| | #132 (permalink) | |||||||||||||||
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Quote: btw - that is how ABBA became popular - they won that contest in the 70s with "Waterloo".Quote:
Brilliant idea! Ppl will love you!Quote:
I dunno how you treat the incoming data, but please don't regard the 0x7E as being part of a single button press! The remote is simply crap and produces random repeats because of the bad button material. You should have these buttons pressed yourself once - than you wuld understand :-) I mean it. And you can also see it in that Hyper Terminal screenshot I attached ![]() What I get now is something like this: I press the UP button several times and then if I press the DOWN button once, I obviously get an UP event... And I just found out that the same is happening if the repeats are disabled in the configuration. I several times press the UP button, then press the DOWN button and get an UP event... The next time I press the DOWN button, I get a DOWN event.... Then pressing the DOWN button for several times and then pressing the UP button once results in another DOWN event. The next time I press the UP button I get an UP event and so on and so on... Quote:
Quote:
As if things weren't complicated enough... But obviously the same happened here as well - I didn't see how long your article was - it was not shown correctly - when qutoing it, I've got your rather log description... Maybe our articles are too long I have to read that first, then think it over. This really is complicated...Quote:
this is all terrible. But the good information is, that the are using an event driven model. Just to get it right - the event handler for the same event is called several times when the event is not handled fast enough, or how was I supposed to understand that? ![]() Here is what I think right now - this display driver originally wasn't thought to handle remote codes or any input. It's a plain output driver. Connecting to the VFD when needed, writing contrents to it, then going asleep. If it is like that, then we are just raping the concept a little bit So now I come up with a completely different idea:I already started to set up a pure C++ project to test this damn device... Now, if I succeed, then why not setting up something as shown in the attached picture. Doing so your driver would simply access this socket on port 22000 and write the display contents to it. ANother driver then would connect to the remote service which might be a IRTrans servce - that's why I wrote port 21000. The administation service then could be used to read temperatures, set fan speeds and so on... Quote: ![]() Quote:
Quote:
At least even if you accessed all the offered interface, the background service can do all the sorting, so that you get your information prepared, sorted and in the right order....Quote: Quote: Quote: ![]() Sorry for the delayed response - I was close to several heart attacks here, as my notebook broke down again and again until I finally got the idea that I once when I bought it some 4 years ago got a tools CD with it. On that CD I found a power management tool I completely ignored. After having installed it, the notebook fan - which always made terrible noises - went off after a while and the notbook itself doesn't heat up any longer as it did before... Now there's silence, the notebook keeps running and unfortunately now I have to go to the kitchen to fry eggs... well... Remember I am a computer scientist and I really sat her for a long time thinking "why the heck did ASUS construct a notebook with such a bad heat and energy management..." Fortunately Firefox has this option to restore the last session... WELL! Quote:
Quote: Greets Axel
__________________ Jazz oder nie! Last edited by Herr R aus B; 2008-01-04 at 22:17. | |||||||||||||||
| | |
| | #134 (permalink) | |
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Quote:
Good idea to do anything beyond calculating BUT! It'd be a rather great feature, if one could set separate standby values, because the 40% are rather loud and the case is that well cooled by the fans controlled by the mainboard, that the 40% fan speed in standby is just a wasting of energy and ears Btw I looked at the MHC again. I don't think, that fan speeds are restricted to these intervals (0,40,50,60,70,80,90,100) but can be set linear from 0 through 100 in 1% steps. At least this can be done using MHC's direct fan speed setting option. But I just looked at the values we assumed for the steps - they don't match linear values, because they are increased by 0x11 or 0x12 instead of 0xA - any idea what the systematic would be? The difference beteen 0x47 for 40% and 0xB1 is 106 decimal... strange...The repeat behaviour is still naughty And judged from the logs you're stillr eading 0x3F - do you requst the temperature with 0x00 0xAF or just sending 0xAF?
__________________ Jazz oder nie! Last edited by Herr R aus B; 2008-01-04 at 22:17. | |
| | |
| | #135 (permalink) | |
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Quote:
![]()
__________________ Jazz oder nie! | |
| | |
| | #136 (permalink) |
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Here is a new version.... I changed the device initialization to, hopefully, re-enable temperature readings.... I changed to serial data processing routine again... it now works like this: 1) If we receive a valid button code, fire the event immediately 2) If we receive a repeat code, a) if a button code was just received, ignore it b) if the repeat delay period has expired, and it has been less than 2.5 times the delay period, fire the last button event b) if the repeat delay period has expired, and it has been more than 2.5 times the delay period, ignore it I also fixed the control of the M.Play Home Center software... If enabled, the driver will stop MHC when it starts, and restart it when it finishes. Regards, CybrMage Last edited by cybrmage; 2008-03-14 at 08:07. |
| | |
| | #137 (permalink) | ||||||||
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Quote:
Quote:
The com port logs did not. Quote:
and frustrating!! Quote:
Here is what I think right now - this display driver originally wasn't thought to handle remote codes or any input. It's a plain output driver. Connecting to the VFD when needed, writing contrents to it, then going asleep. If it is like that, then we are just raping the concept a little bit So now I come up with a completely different idea:Quote:
Mushrooms destined for the consumer market (IE: not wild mushrooms) are grown in large, dark underground caverns and fertilized with manure... The are literally "kept in the dark and fed SH**" 8-} Quote:
That issue has been resolved... You can get the executable path with the System.Diagnostic.Process namespace and the Process.MainModule.Filename proprty. That way, we don't need to search the registry... What??? You want up to date information??? You want to make life easier??? 8-} Quote:
I actually think that the fan controller is just a fan voltage controller rather than a fan speed controller... (one of the people on another forum mentioned that two different brands of fan ran at different speeds with the same settings)... This means that the 0x00 value will shut the fan off completely (0V), and a value of 0xFF will turn it on at full speed (12V)... but a value of 0x20 (1.5V - 12.5% of full scale) will probably not turn on any fan (except for a very high efficiency low voltage unit). This makes it hard to find a starting point to use as a benchmark for when the fan is actually turned on... The Linux driver uses a base of 0x6E (5.1V - 42% of full scale) as an "on" point. Quote:
Regards, CybrMage | ||||||||
| | |
| | #138 (permalink) | |
| Portal Member Join Date: Dec 2007 Location: Berlin Age: 44
Posts: 80
Thanks: 2
Thanked 2 Times in 2 Posts
Country: | Quote:
![]()
__________________ Jazz oder nie! Last edited by Herr R aus B; 2008-01-04 at 22:17. | |
| | |
| | #139 (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:
But looking at MP's HP they already pointed out that the entire plugin model might not be very sufficient... Quote:
btw. do you have a source for a valid, understandable and complete description of the IRTRans protocol? As the vendors say, the software is open source... any documentation you could advise? Quote:
As for the dark - open your windows Or do you mean your workplace? That was one of the reasons I never wanted to work in the states unless having a german contract... These 4m² booths would make me most depressive I think. But they have the same in England as I could see, when I was working in London... Terrible customs!Quote:
![]() Quote: I also tried to get this into the ppl in the software development teams I led later on until now - almost impossible... They all are bound to this damn KISS principle. And when it gets to a desasterous point, they all cry for good documentation... I also could start a long discussion on total quality management, on the extra money we have to spend for dealing with those bugs we've got, because we saved some money in the beginning for the sake of quick results... You know what? I hate economists! Well - now I am ranting. In the end I again end up with Tom DeMarco and Timothy Lister - the said, it would be much better to get together making spaghetti than to sit in endless formal meetings... ![]() YES! A NICE DOCUMENTATION OF THE ACHIEVED WOULD BE GREAT! ![]() Eventhough it might be against the unspoken RTFM law, where we are not explaining things to ppl, because it took us days to find out about the proper solution but then could be explained in minutes - so why should these ppl have an easier life? Let them go through the entire frustrating procedure themselves... A collegue of mine, who mastered in philosophy and sociology once said, that this is the usual process of desolidarization (!) Well - he definately is an intellectual - but he writes the most comprehensive infrastructure and security concepts I ever read...True - most of the ppl would use these results without even saying thank you and at the same time would also keep on with the practice of information hiding theirselves. Well then... Poor characters. I like to give and get... Usually it pays back from time to time... And if Zalman or VL System would simply have answered my requests they probably wouldn't have lost anything, as ppl obviously still want to use their software, that btw free anyways. They could just have gained respect by simply documenting the interface and publishing it... As in a nice guesture... Well - so far with this little baseline speech... Maybe I am demanding too much... ![]()
__________________ Jazz oder nie! Last edited by Herr R aus B; 2008-01-04 at 13:17. | ||||||||
| | |
| | #140 (permalink) | |||||||
| Portal Developer Join Date: May 2007
Posts: 498
Thanks: 1
Thanked 83 Times in 39 Posts
Country: | Quote:
Good... Good... Quote:
BTW, a log with some remote button presses would be useful 8-} New behaviour in new version... see the configuration page. [quote=Herr R aus B;220705][*]the splash screen [/QUOTE} What??? Are you halucinating??? (Too much german beer at new years???) 8-} Quote:
I saw it... and I'm not saying that you are wrong... I'm just saying that this device doesn't always seem to react predictably... And I'd like to be able to account for unpredictable data being received... It could be that if a button is press quickly, the 0x7E is not generated, but it it is pressed more slowly (but not actually held) the 0x7E is generated (indicating that the device's repeat delay is really too short for normal operation).... The damn thing should be sending a "button pressed and held" code and a "button released", but I guess that is asking too much 8-} Quote:
They are using an alternate definition... Artificial: Not genuine. Artificial: imitation; simulated; sham MediaPortal does not have any serial port handling... The SerialPort control is a .NET v2 Framework component. Quote:
Quote:
Quote:
[quote=Herr R aus B;220727]As for the dark[/QUOTE "darK" = lack of information If the cubicle is that size, the employer is being very generous with space... I actually like my workplace.... It has all the amenities of home and a 12 second commute from "home". Now your just getting TOO damn demanding!!! 8-} Regards, CybrMage Last edited by cybrmage; 2008-03-14 at 08:07. | |||||||
| | |