Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Alan Hourihane
On Fri, Feb 18, 2005 at 03:39:28PM -0800, Bukie Mabayoje wrote:
 Alan Hourihane wrote:
 
 
  
   I became aware of  this problem few years back (since 2003). The first 
   time I experienced it  was with a DELL laptop, and I didn't have free 
   time then to debug it when I actually  had the laptop. I going to see if 
   I can figure the problem out (why the LCD is not working) just by reading 
   the code.
 
  I've already done work in this area.
 
  And I've got a driver up at
 
  http://www.fairlite.demon.co.uk/intel.html
 
  if anyone wants to test it.
 
 What does this driver fix?

Switching between CRT, LCD and CRT+LCD type combinations through the
Fn-F7/F8 switching. Plus a few other minor fixes.

Alan.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Alan Hourihane
Can you provide a log with that driver ?

Alan.

On Sat, Feb 19, 2005 at 12:57:38AM -0300, Nqnsome wrote:
 Hi,
 
 I tryed your driver, but could not get 1024x768 on the LCD. XFree does 
 not see the Built-in 1024x768 mode.
 
 Thanks,
 
 S?rgio
 
 Alan Hourihane wrote:
 
 I've already done work in this area.
 
 And I've got a driver up at
 
 http://www.fairlite.demon.co.uk/intel.html
 
 if anyone wants to test it.
 
 Alan.
 ___
 Devel mailing list
 Devel@XFree86.Org
 http://XFree86.Org/mailman/listinfo/devel
 
 
 
  
 
 
 
 
 -- 
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
 
 ___
 Devel mailing list
 Devel@XFree86.Org
 http://XFree86.Org/mailman/listinfo/devel
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Alan Hourihane
Actually,

From the look of your log file, the 1024x768 mode isn't supported at all
on your LCD. And although your LCD is reported at 1024x768 it looks
like your BIOS is broken.

ModeAttributes should show 0x9b, whereas it's showing 0x9a.

That first bit is dictating whether XFree86 allows the mode or not,
as it's VBE's method of saying if the mode is supported in the current
configuration.

Have you double checked for an updated BIOS ?

Alan.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Bukie Mabayoje
Alan Hourihane wrote:

 On Fri, Feb 18, 2005 at 03:39:28PM -0800, Bukie Mabayoje wrote:
  Alan Hourihane wrote:
 
  
   
I became aware of  this problem few years back (since 2003). The first 
time I experienced it  was with a DELL laptop, and I didn't have free 
time then to debug it when I actually  had the laptop. I going to see 
if I can figure the problem out (why the LCD is not working) just by 
reading the code.
  
   I've already done work in this area.
  
   And I've got a driver up at
  
   http://www.fairlite.demon.co.uk/intel.html
  
   if anyone wants to test it.
 
  What does this driver fix?

 Switching between CRT, LCD and CRT+LCD type combinations through the
 Fn-F7/F8 switching. Plus a few other minor fixes.

This  is definitely a good feature to have.



 Alan.
 ___
 Devel mailing list
 Devel@XFree86.Org
 http://XFree86.Org/mailman/listinfo/devel
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Nqnsome
Hi,
Thanks for your attention. Regarding the BIOS, I am using the latest 
version available.

Sorry to ask that but, if the BIOS is broken, why, under WindowsXp, the 
LCD works in 1024x768?  Why, with X11, the CRT works in 1024x768? Should 
not the broken BIOS prevent the LCD from working under WindowsXP and the 
CRT under X11? I am not sure if I understood correctly the role of the 
BIOS in the proccess.

Also, can´t I override this ModeAttribute? Can´t I set it to 0x9b? Would 
this fix the problem?

Thanks again.
Regards,
Sergio
Alan Hourihane wrote:
Actually,
From the look of your log file, the 1024x768 mode isn't supported at all
on your LCD. And although your LCD is reported at 1024x768 it looks
like your BIOS is broken.
ModeAttributes should show 0x9b, whereas it's showing 0x9a.
That first bit is dictating whether XFree86 allows the mode or not,
as it's VBE's method of saying if the mode is supported in the current
configuration.
Have you double checked for an updated BIOS ?
Alan.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel

 


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Christian Zietz
Nqnsome schrieb:

 Sorry to ask that but, if the BIOS is broken, why, under WindowsXp, the 
 LCD works in 1024x768?  Why, with X11, the CRT works in 1024x768?

I still suppose that your BIOS only recognizes the LCD as a 800x600 one,
while the CRT is recognized correctly as being able to display 1024x768.
The Windows XP driver doesn't care about the BIOS but bypasses it. X on
the other hand needs the BIOS to set the resolution because the
information on how to do that without the BIOS is not publicly available.

CU Christian
-- 
Christian Zietz  -  CHZ-Soft  -  [EMAIL PROTECTED]
WWW: http://www.chzsoft.com.ar/
PGP-Key-ID: 0x6DA025CA

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Nqnsome
Hi Christian,
Thanks for answering.
Christian Zietz wrote:
I still suppose that your BIOS only recognizes the LCD as a 800x600 one,
while the CRT is recognized correctly as being able to display 1024x768.
The Windows XP driver doesn't care about the BIOS but bypasses it. X on
the other hand needs the BIOS to set the resolution because the
information on how to do that without the BIOS is not publicly available.
CU Christian
 

Sorry, but what do you mean with how to do that? What kind of 
information is (not!) in the BIOS that tells X how to change the 
resolution? A function? A memory address? Something else?

I am asking this because, if I have more information about what is 
possibly broken/missing in the BIOS, I can try to contact the 
manufacturer and ask for a fix. Without specific information it is 
difficult to get a useful answer from the manufacturer (COMPAL).

Thanks again.
Sergio
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Alan Hourihane
On Sat, Feb 19, 2005 at 08:17:07PM -0300, Nqnsome wrote:
 Hi Christian,
 
 Thanks for answering.
 
 Christian Zietz wrote:
 
 I still suppose that your BIOS only recognizes the LCD as a 800x600 one,
 while the CRT is recognized correctly as being able to display 1024x768.
 The Windows XP driver doesn't care about the BIOS but bypasses it. X on
 the other hand needs the BIOS to set the resolution because the
 information on how to do that without the BIOS is not publicly available.
 
 CU Christian
  
 
 Sorry, but what do you mean with how to do that? What kind of 
 information is (not!) in the BIOS that tells X how to change the 
 resolution? A function? A memory address? Something else?
 
No. Christian is saying that the programming information is not publicly
available so that the driver can bypass using the BIOS. Which is what
the Windows drivers do.

 I am asking this because, if I have more information about what is 
 possibly broken/missing in the BIOS, I can try to contact the 
 manufacturer and ask for a fix. Without specific information it is 
 difficult to get a useful answer from the manufacturer (COMPAL).

Just tell COMPAL that the ModeAttributes field for bit 0 which is
called 'Mode supported by hardware configuration' is not being set
when asking the Video BIOS for available supported resolutions with
the LFP (Local Flat Panel). The Video BIOS call is 0x4F01 with the
mode set to 0x34 for 1024x768 at 8bpp, 0x45 for 1024x768 at 16bpp
and 0x54 for 1024x768 at 32bpp.

Alan.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: External CRT works on 1024x768 but LCD not. Please Help!!!

2005-02-19 Thread Bukie Mabayoje
Alan Hourihane wrote:

 On Sat, Feb 19, 2005 at 08:17:07PM -0300, Nqnsome wrote:
  Hi Christian,
 
  Thanks for answering.
 
  Christian Zietz wrote:
 
  I still suppose that your BIOS only recognizes the LCD as a 800x600 one,
  while the CRT is recognized correctly as being able to display 1024x768.
  The Windows XP driver doesn't care about the BIOS but bypasses it. X on
  the other hand needs the BIOS to set the resolution because the
  information on how to do that without the BIOS is not publicly available.
  
  CU Christian
  
  
  Sorry, but what do you mean with how to do that? What kind of
  information is (not!) in the BIOS that tells X how to change the
  resolution? A function? A memory address? Something else?

 No. Christian is saying that the programming information is not publicly
 available so that the driver can bypass using the BIOS. Which is what
 the Windows drivers do.

  I am asking this because, if I have more information about what is
  possibly broken/missing in the BIOS, I can try to contact the
  manufacturer and ask for a fix. Without specific information it is
  difficult to get a useful answer from the manufacturer (COMPAL).

 Just tell COMPAL that the ModeAttributes field for bit 0 which is
 called 'Mode supported by hardware configuration' is not being set
 when asking the Video BIOS for available supported resolutions with
 the LFP (Local Flat Panel). The Video BIOS call is 0x4F01 with the
 mode set to 0x34 for 1024x768 at 8bpp, 0x45 for 1024x768 at 16bpp
 and 0x54 for 1024x768 at 32bpp.

Let me write you a small program to read the value. Then can be sure if 
plugging the external crt confuses the BIOS. You have a very valid point :) WHY 
IT WORKS ON WINDOWS. Can you boot DOS?



 Alan.
 ___
 Devel mailing list
 Devel@XFree86.Org
 http://XFree86.Org/mailman/listinfo/devel
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel