[Openchrome-users] [openChrome] #317: DVI monitor not working

OpenChrome Trac trac
Wed Sep 9 01:49:31 PDT 2009


#317: DVI monitor not working
--------------------+-------------------------------------------------------
 Reporter:  aidy12  |        Owner:  somebody
     Type:  defect  |       Status:  new     
 Priority:  major   |    Component:  dvi-out 
  Version:  trunk   |   Resolution:          
 Keywords:          |     Blocking:          
Blockedby:          |  
--------------------+-------------------------------------------------------

Comment(by gang65):

 Replace ViaDFPPower function in via_mode.c file to the following:

 {{{
 void
 ViaDFPPower(ScrnInfoPtr pScrn, Bool On)
 {
 #ifdef HAVE_DEBUG
     if (On)
         xf86DrvMsg(pScrn->scrnIndex, X_INFO, "ViaDFPPower: On.\n");
     else
         xf86DrvMsg(pScrn->scrnIndex, X_INFO, "ViaDFPPower: Off.\n");
 #endif
     vgaHWPtr hwp = VGAHWPTR(pScrn);

     /* Display Channel Select */
     ViaCrtcMask(hwp, 0xD2, 0x30, 0x30);

     if (On)
         /* Power on TMDS */
         ViaCrtcMask(hwp, 0xD2, 0x08, 0x08);
     else
         /* Power off TMDS */
         ViaCrtcMask(hwp, 0xD2, 0x00, 0x08);
 }
 }}}

 Is it works for you?

-- 
Ticket URL: <http://www.openchrome.org/trac/ticket/317#comment:11>
openChrome <http://www.openchrome.org/>
The openChrome project



More information about the Openchrome-users mailing list