Charmed Quark Systems
Google
WWW CharmedQuark.com

Go Back   Charmed Quark Systems > General Discussion > Beta Driver Development
Register FAQ Members List Calendar Mark Forums Read

Beta Driver Development Discussion of new drivers, finding someone to write a new driver, etc...

Reply
 
Thread Tools Display Modes
  #1  
Old 07-29-2007, 04:24 PM
wuench wuench is offline
 
Join Date: Jan 2006
Location: Saint Louis, MO US
Posts: 2,550
Default Epson ESC/VP21 Projector Driver



Epson ESC/VP21 Projector Driver
Version 1.5

Attached is the Epson ESC/VP21 Projector driver based on the Epson TW1000/2000 driver by Robertmee. I have expanded the driver to support all current Epson projectors (that use the ESC/VP21 serial protocol). This includes the TW500, TW1000, TW2000, TW3000/4000/5000 and earlier models.

Release Info
Quote:
Version 1.0
Version 1.1
  • Support for all known models (ESC/VP21)
  • Aspect, Color Mode, and Lamp Life Commands
  • Configurable hold down timers for power cycles
  • Configurable Polling Interval
  • Command Queuing during power cycles
  • Selectable Model Command Profiles for TW500 and TW1000

Version 1.2
  • Fixed TW1000 Color Modes to match User Manual
  • Added additional logging
  • Clear Command Queues on Connect/Timeout

Version 1.3
  • Added support for TW2000 (Epson Cinema 1080UB)

Version 1.4
  • Added support for TW3000/TW4000/TW5000 (Epson Cinema 6100, 6500UB, 8100)

Verson 1.5
  • Projector Models moved to Manifest File
  • DebugMode w/ AutoDebugMode
  • Report Abnormal Power Condition in Log
  • PassThru/Reply Fields

Adding New Projector Models
To add new models to the projector the following lines need to be modified/added to the manifest file...
Code:
<CQCCfg:CfgPrompts> <!-- Projector Model Prompt ===================================================--> <CQCCfg:CfgLPrompt CQCCfg:Title="Projector Model" CQCCfg:Name="Model" CQCCfg:ItemList="TW500,TW1000,TW2000,TW3000/TW4000/TW5000,Other,MyModel"> .... .... <!--====================================================================================== Model Configurations - FixedVal CQCCfg:Name=ModelName (in list above) FixedValItem CQCCfg:Name=<Inputs,ColorModes,Aspects> FixedValItem CQCCfg:Values="Comma delim list of Name|Cmd" =======================================================================================--> <!-- Model MyModel --> <CQCCfg:FixedVal CQCCfg:Name="MyModel"> <!-- Inputs --> <CQCCfg:FixedValItem CQCCfg:Name="Inputs" CQCCfg:Value="InputA(Cycle)|10, InputA(RGB)|11, InputA(RGBVideo)|13, InputA(yCbCr)|14, InputA(yPbPr)|15, InputA(Auto)|1F, InputB(Cycle)|20, InputB(RGB)|21, InputB(RGBVideo)|23, InputB(yCbCr)|24, InputB(yPbPr)|25, InputB(Auto)|2F, HDMI|30, D4(Cycle)|sC0, D4(yCbCr)|C4, D4(yPbPr)|C5, D4(Auto)|CF, Video(Cycle)|40, Composite|41, SVideo|42"/> <!-- ColorModes --> <CQCCfg:FixedValItem CQCCfg:Name="ColorModes" CQCCfg:Value="sRGB|01, Theater|05, LivingRoom|06, Natural|07, Dynamic|08, Theater Black|09"/> <!-- Aspects --> <CQCCfg:FixedValItem CQCCfg:Name="Aspects" CQCCfg:Value="Auto|00, Normal|20, Squeeze|21, Zoom|22, Through|23, SqueezeThrough|24, Wide|25"/> </CQCCfg:FixedVal>

Available in CQC 4.2.922+

Attached Files
File Type: html EsponESC-VP21.html (11.1 KB, 0 views)

Last edited by wuench : 04-20-2013 at 05:02 AM. Reason: Version 1.5 Update
Reply With Quote
  #2  
Old 07-29-2007, 04:54 PM
Dean Roddey's Avatar
Dean Roddey Dean Roddey is online now
Administrator
 
Join Date: Aug 2002
Location: Mountain View, CA
Posts: 32,471
Default

Be sure to put a reasonable maximum size on the vector (I assume you are using a vector to hold them, as a deque type of thing) and to flush it on a Connect, so that it doesn't start doing commands that were posted yesterday or something.
__________________
Dean Roddey
Software Geek Extraordinaire
Reply With Quote
  #3  
Old 07-29-2007, 05:25 PM
wuench wuench is offline
 
Join Date: Jan 2006
Location: Saint Louis, MO US
Posts: 2,550
Default

Quote:
Originally Posted by Dean Roddey
Be sure to put a reasonable maximum size on the vector (I assume you are using a vector to hold them, as a deque type of thing) and to flush it on a Connect, so that it doesn't start doing commands that were posted yesterday or something.

No vectors. I created a string for each command type and on the stringwrite I load it if in holddown. Then when I come out of holddown I check the individual strings and send the commands. I only store the last command of each type (Input, ColorMode, Aspect, and Mute). So if you change a parameter (Input for example) several times, the last one will be the one sent to the projector. I didn't clear them in the connect. I will look into that.

I thought I would add this, because in my TW500 driver, I have to do all this stuff in the IV and it seems much easier just to let the driver handle it. Behold the power of CML
Reply With Quote
  #4  
Old 07-29-2007, 09:09 PM
ellisr63 ellisr63 is offline
 
Join Date: Jan 2006
Location: Concord, California
Posts: 6,552
Default

With the Epson 1080p /TW1000....
none of the inputs work... I get the following error..
"The value written to field Projector.Input was rejected by the driver"
The power status is working but when I click to turn the power off I get...
"Driver 'Projector' is not currently connected to it's device" which is strange because admin shows it connected.
The color modes are different than the 1080p also... I tried them and they are a no go too.
So basically the only thing that worked was showing the power status as on.
Ron
__________________
Ron

Last edited by ellisr63 : 07-29-2007 at 09:31 PM.
Reply With Quote
  #5  
Old 07-30-2007, 02:56 AM
wuench wuench is offline
 
Join Date: Jan 2006
Location: Saint Louis, MO US
Posts: 2,550
Default

Turn on Verbose Logging and send me the log.

It looks like the protocol doc I thought was for the TW1000 was for the Epson Pro Cinema 1080 (not sure of the model number). So that is why the color mode names don't match up. I am looking at your User Guide and it looks like they are actually a lot closer to the TW500. But the inputs and aspect ratio's should still match the TW1000 profile. Another thing you can try is to select the "Other" profile and run though the Inputs and tell me which ones match up to your projector (if those work). But definitely send me the log.

Last edited by wuench : 07-30-2007 at 03:38 AM.
Reply With Quote
  #6  
Old 07-30-2007, 08:44 AM
ellisr63 ellisr63 is offline
 
Join Date: Jan 2006
Location: Concord, California
Posts: 6,552
Default

Quote:
Originally Posted by wuench
Turn on Verbose Logging and send me the log.

It looks like the protocol doc I thought was for the TW1000 was for the Epson Pro Cinema 1080 (not sure of the model number). So that is why the color mode names don't match up. I am looking at your User Guide and it looks like they are actually a lot closer to the TW500. But the inputs and aspect ratio's should still match the TW1000 profile. Another thing you can try is to select the "Other" profile and run though the Inputs and tell me which ones match up to your projector (if those work). But definitely send me the log.
Ok.. will do.. and btw the tw1000 and the 1080p are the same as far as protocol... and i am using the Epson Pro Cinema 1080
__________________
Ron

Last edited by ellisr63 : 07-30-2007 at 08:53 AM.
Reply With Quote
  #7  
Old 07-30-2007, 09:14 AM
ellisr63 ellisr63 is offline
 
Join Date: Jan 2006
Location: Concord, California
Posts: 6,552
Default

How do I send a log?

Here is what I'm seeing...
CheckHoldDown:-Power Transition, 29 Secs Left
CheckHoldDown:-Power Transition, 32 Secs Left
CheckHoldDown:-Power Transition, 36 Secs Left
CheckHoldDown:-Power Transition, 39 Secs Left
CheckHoldDown:-Power Transition, 42 Secs Left
CheckHoldDown:-Power Transition, 45 Secs Left
Driver 'Projector' has connected to it's device
CheckHoldDown:-Power Transition, 45 Secs Left
Driver 'Projector' is trying to connect to it's device
Driver 'Projector' has lost connection to it's device
EnableHoldDown:-Start Holddown 45 secs
Poll:-Timeout, Iniatate Holddown
CheckHoldDown:-Power Transition, 2 Secs Left
CheckHoldDown:-Power Transition, 5 Secs Left
CheckHoldDown:-Power Transition, 8 Secs Left
CheckHoldDown:-Power Transition, 11 Secs Left
CheckHoldDown:-Power Transition, 14 Secs Left
CheckHoldDown:-Power Transition, 17 Secs Left
CheckHoldDown:-Power Transition, 20 Secs Left
CheckHoldDown:-Power Transition, 23 Secs Left
CheckHoldDown:-Power Transition, 26 Secs Left
CheckHoldDown:-Power Transition, 29 Secs Left
CheckHoldDown:-Power Transition, 32 Secs Left
CheckHoldDown:-Power Transition, 35 Secs Left
CheckHoldDown:-Power Transition, 38 Secs Left
CheckHoldDown:-Power Transition, 41 Secs Left
CheckHoldDown:-Power Transition, 45 Secs Left

as you can see it is never seeing the input selections.... i got this with the "other" selection.
__________________
Ron
Reply With Quote
  #8  
Old 07-30-2007, 09:24 AM
wuench wuench is offline
 
Join Date: Jan 2006
Location: Saint Louis, MO US
Posts: 2,550
Default

Fire up the CQC log server monitor, let it run for a few minutes and then do a snap to file.

It looks like it keeps timing out. Although, that snapshot isn't enough to tell me what command it is timing out on. Send me the log, just email it to me. The next step may be to try LogMeIn.

This might be the same power/sleep thing Robert was referring to. There was something in one of the protocol docs about the TW200 needing a wake up command. I wonder if it is something like that.

Last edited by wuench : 07-30-2007 at 11:05 AM.
Reply With Quote
  #9  
Old 07-30-2007, 02:03 PM
ellisr63 ellisr63 is offline
 
Join Date: Jan 2006
Location: Concord, California
Posts: 6,552
Default

I sent it to you
__________________
Ron
Reply With Quote
  #10  
Old 07-30-2007, 02:20 PM
ellisr63 ellisr63 is offline
 
Join Date: Jan 2006
Location: Concord, California
Posts: 6,552
Default

installed the new driver and sent you the snap file.
tia,
ron
__________________
Ron
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:14 AM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.