Re: Lenovo 8744-J2U - several questions

2007-08-12 Thread Eric Elena
Le jeudi 09 aoC;t 2007 C  20:59 -0400, Frank Bax a C)crit :
 I'm trying to get 1680x1050; but so far only 1280x1024 works at the moment.
 dmesg and xorg.conf were in original post, found here:
 http://permalink.gmane.org/gmane.os.openbsd.misc/127104
 Xorg.0.log is available here:
  http://www.execulink.com/~fbax/Xorg.0.log

(WW) VESA(0): Unable to estimate virtual size
(--) VESA(0): Virtual size is 1280x1024 (pitch 1280)

It seems vesa (or xorg) is not abble to do correctly its job :)
Try to add Virtual 1680 1050 (without double quotes) in the subsection
display (section screen). It worked for me, the desktop was
1680x1050.

Eric



Re: Lenovo 8744-J2U - several questions

2007-08-10 Thread Frank Bax

At 06:36 AM 8/9/07, Eric Elena wrote:


Le mercredi 08 aoC;t 2007 C  10:55 -0400, Frank Bax a C)crit :
 At 04:49 AM 8/7/07, Eric Elena wrote:

 Le lundi 06 aoC;t 2007 C  21:21 -0400, Stephan Andre' a C)crit :
   On Monday 06 August 2007 18:29:12 Matthieu Herrb wrote:
On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
 Just got a new Lenovo 8744-J2U laptop and installed the Aug.1 
snapshot:


 vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 
0x71d4 rev

 0x00
   
Oh and I forgot: this is a Mobility FireGL V5250, which is indeed not
supported by the current X.Org ati driver. It should be supported by
the new 'avivo'  driver, but this driver is not yet available for
OpenBSD.
  
   Matthieu,  I'm also looking at the Lenovo T60.  Is the avivo driver
   ready for use, and how much effort is there in incorporating it
   into Xenocara?   I'd really like a new laptop--my A31p is old.
  
   Thanks, STeve Andre'
  
 
 I tested the avivo driver running linux, it works fine with a firegl
 5200 card. There is only one trouble with DPMS: the screen displays
 something weird when it switches off then switches on.
 Running openbsd stable, I use the vesa driver but there is no problem
 here.


 Does your laptop have a wide-screen monitor like mine?

No, my t60p has a normal screen monitor.

 In T60p BIOS, there
 is an option HV expansion which will stretch output to always fill the
 screen.  With this option enabled, I am able to fill the monitor, but
 images do not have proper aspect ratio; so for now I have disabled the 
option.


There is also this option in older thinkpad bios. I have it enabled and
as I said it works fine. What is the resolution you would like to work?



I'm trying to get 1680x1050; but so far only 1280x1024 works at the moment.
dmesg and xorg.conf were in original post, found here:
http://permalink.gmane.org/gmane.os.openbsd.misc/127104
Xorg.0.log is available here:
http://www.execulink.com/~fbax/Xorg.0.log



Re: Lenovo 8744-J2U - several questions

2007-08-09 Thread Eric Elena
Le mercredi 08 aoC;t 2007 C  10:55 -0400, Frank Bax a C)crit :
 At 04:49 AM 8/7/07, Eric Elena wrote:
 
 Le lundi 06 aoC;t 2007 C  21:21 -0400, Stephan Andre' a C)crit :
   On Monday 06 August 2007 18:29:12 Matthieu Herrb wrote:
On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
 Just got a new Lenovo 8744-J2U laptop and installed the Aug.1 
 snapshot:

 vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x71d4 rev
 0x00
   
Oh and I forgot: this is a Mobility FireGL V5250, which is indeed not
supported by the current X.Org ati driver. It should be supported by
the new 'avivo'  driver, but this driver is not yet available for
OpenBSD.
  
   Matthieu,  I'm also looking at the Lenovo T60.  Is the avivo driver
   ready for use, and how much effort is there in incorporating it
   into Xenocara?   I'd really like a new laptop--my A31p is old.
  
   Thanks, STeve Andre'
  
 
 I tested the avivo driver running linux, it works fine with a firegl
 5200 card. There is only one trouble with DPMS: the screen displays
 something weird when it switches off then switches on.
 Running openbsd stable, I use the vesa driver but there is no problem
 here.
 
 
 Does your laptop have a wide-screen monitor like mine?

No, my t60p has a normal screen monitor.

 In T60p BIOS, there 
 is an option HV expansion which will stretch output to always fill the 
 screen.  With this option enabled, I am able to fill the monitor, but 
 images do not have proper aspect ratio; so for now I have disabled the 
 option. 

There is also this option in older thinkpad bios. I have it enabled and
as I said it works fine. What is the resolution you would like to work?

Eric



Re: Lenovo 8744-J2U - several questions

2007-08-08 Thread Frank Bax

At 04:49 AM 8/7/07, Eric Elena wrote:


Le lundi 06 aoC;t 2007 C  21:21 -0400, Stephan Andre' a C)crit :
 On Monday 06 August 2007 18:29:12 Matthieu Herrb wrote:
  On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
   Just got a new Lenovo 8744-J2U laptop and installed the Aug.1 snapshot:
  
   vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x71d4 rev
   0x00
 
  Oh and I forgot: this is a Mobility FireGL V5250, which is indeed not
  supported by the current X.Org ati driver. It should be supported by
  the new 'avivo'  driver, but this driver is not yet available for
  OpenBSD.

 Matthieu,  I'm also looking at the Lenovo T60.  Is the avivo driver
 ready for use, and how much effort is there in incorporating it
 into Xenocara?   I'd really like a new laptop--my A31p is old.

 Thanks, STeve Andre'


I tested the avivo driver running linux, it works fine with a firegl
5200 card. There is only one trouble with DPMS: the screen displays
something weird when it switches off then switches on.
Running openbsd stable, I use the vesa driver but there is no problem
here.



Does your laptop have a wide-screen monitor like mine?  In T60p BIOS, there 
is an option HV expansion which will stretch output to always fill the 
screen.  With this option enabled, I am able to fill the monitor, but 
images do not have proper aspect ratio; so for now I have disabled the option.  





Re: Lenovo 8744-J2U - several questions

2007-08-08 Thread Frank Bax

At 04:30 AM 8/7/07, Pierre Riteau wrote:


Le 7 ao{t 07 ` 05:23, Frank Bax a icrit :


At 06:26 PM 8/6/07, Matthieu Herrb wrote:


On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
 Just got a new Lenovo 8744-J2U laptop and installed the Aug.1
snapshot:

 1) When I shutdown X, text resolution is messed up.  Chars are
bigger, they
 are 40 per line, with wrap.  All Ctrl-Alt-Fn sessions are
affected.  If I
 issue a command like 'date', then hit enter several time, I find
that the
 command and its output are finally visible.

Since you're using the vesa driver, it means that the VESA BIOS on
your laptop is broken.
Check for updates on Lenovo's web site.

 2) ATI adapter is not recognized. Changing depth to 24 works;
but I can't
 seem to change resolution - always comes up 1280x1024; but this
is a 15.4
 widescreen display; which i believe should run at 1680x1050.

Again, broken bios. Lenovo should provide a bios with resolutions
matching the physical size of the screen.
Try using i915resolution from ports. It has been reported to work
with
other BIOSes too.



Thanks for the prompt response.  I updated BIOS from 1.08 to 1.11;
one line changed in dmesg.

$ diff dmesg_0803.txt dmesg_0806.txt
8c8
 bios0 at mainbus0: AT/286+ BIOS, date 04/30/07, BIOS32 rev. 0 @
0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
---
 bios0 at mainbus0: AT/286+ BIOS, date 07/13/07, BIOS32 rev. 0 @
0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)


Still no change on initial problems though.

I tried 915resolution, but I'm thinking it's not compatible:

$ sudo /usr/local/sbin/915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.2

Unable to open the BIOS file: Operation not permitted


IIRC it must be run in secure level -1.

From the description of the port :
Because 915resolution requires write access to /dev/mem, the system
must be at a securelevel = 0.



OK.  I added some lines to /etc/securelevel ...

/usr/local/sbin/915resolution -l  /tmp/915a.log 21
Unable to determine bios type.
Please run the program 'dump_bios' as root and
email the file 'vbios.dmp' to [EMAIL PROTECTED]
Chipset: 945GM
Mode Table Offset: $C + $51
Mode Table Entries: 416
Intel 800/900 Series VBIOS Hack : version 0.5.2

/usr/local/sbin/915resolution 4d 1680 1050  /tmp/915.log 21
Unable to determine bios type.
Please run the program 'dump_bios' as root and
email the file 'vbios.dmp' to [EMAIL PROTECTED]
Chipset: 945GM
Mode Table Offset: $C + $51
Mode Table Entries: 416
Intel 800/900 Series VBIOS Hack : version 0.5.2


/usr/local/sbin/915resolution -l  /tmp/915b.log 21
Unable to determine bios type.
Please run the program 'dump_bios' as root and
email the file 'vbios.dmp' to [EMAIL PROTECTED]
Chipset: 945GM
Mode Table Offset: $C + $51
Mode Table Entries: 416
Intel 800/900 Series VBIOS Hack : version 0.5.2


Would Xorg.0.log provide any clues to anyone that know how to decode 
it?  It's 120K, so I made it available here:

http://www.execulink.com/~fbax/Xorg.0.log

Frank 



Re: Lenovo 8744-J2U - several questions

2007-08-07 Thread Pierre Riteau

Le 7 ao{t 07 ` 05:23, Frank Bax a icrit :


At 06:26 PM 8/6/07, Matthieu Herrb wrote:


On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
 Just got a new Lenovo 8744-J2U laptop and installed the Aug.1
snapshot:

 1) When I shutdown X, text resolution is messed up.  Chars are
bigger, they
 are 40 per line, with wrap.  All Ctrl-Alt-Fn sessions are
affected.  If I
 issue a command like 'date', then hit enter several time, I find
that the
 command and its output are finally visible.

Since you're using the vesa driver, it means that the VESA BIOS on
your laptop is broken.
Check for updates on Lenovo's web site.

 2) ATI adapter is not recognized. Changing depth to 24 works;
but I can't
 seem to change resolution - always comes up 1280x1024; but this
is a 15.4
 widescreen display; which i believe should run at 1680x1050.

Again, broken bios. Lenovo should provide a bios with resolutions
matching the physical size of the screen.
Try using i915resolution from ports. It has been reported to work
with
other BIOSes too.



Thanks for the prompt response.  I updated BIOS from 1.08 to 1.11;
one line changed in dmesg.

$ diff dmesg_0803.txt dmesg_0806.txt
8c8
 bios0 at mainbus0: AT/286+ BIOS, date 04/30/07, BIOS32 rev. 0 @
0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
---
 bios0 at mainbus0: AT/286+ BIOS, date 07/13/07, BIOS32 rev. 0 @
0xfd6b0, SMBIOS rev. 2.4 @ 0xe0010 (68 entries)


Still no change on initial problems though.

I tried 915resolution, but I'm thinking it's not compatible:

$ sudo /usr/local/sbin/915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.2

Unable to open the BIOS file: Operation not permitted


IIRC it must be run in secure level -1.

From the description of the port :
Because 915resolution requires write access to /dev/mem, the system
must be
at a securelevel = 0.

Pierre Riteau





 vga1 at pci1 dev 0 function 0 vendor ATI, unknown product
0x71d4 rev 0x00

Oh and I forgot: this is a Mobility FireGL V5250, which is indeed not
supported by the current X.Org ati driver. It should be supported by
the new 'avivo'  driver, but this driver is not yet available for
OpenBSD.



Is there someplace where I can monitor OpenBSD status of this?




Re: Lenovo 8744-J2U - several questions

2007-08-07 Thread Eric Elena
Le lundi 06 aoC;t 2007 C  21:21 -0400, Stephan Andre' a C)crit :
 On Monday 06 August 2007 18:29:12 Matthieu Herrb wrote:
  On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
   Just got a new Lenovo 8744-J2U laptop and installed the Aug.1 snapshot:
  
   vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x71d4 rev
   0x00
 
  Oh and I forgot: this is a Mobility FireGL V5250, which is indeed not
  supported by the current X.Org ati driver. It should be supported by
  the new 'avivo'  driver, but this driver is not yet available for
  OpenBSD.
 
 Matthieu,  I'm also looking at the Lenovo T60.  Is the avivo driver
 ready for use, and how much effort is there in incorporating it 
 into Xenocara?   I'd really like a new laptop--my A31p is old.
 
 Thanks, STeve Andre'
 

I tested the avivo driver running linux, it works fine with a firegl
5200 card. There is only one trouble with DPMS: the screen displays
something weird when it switches off then switches on.
Running openbsd stable, I use the vesa driver but there is no problem
here.

Eric



Re: Lenovo 8744-J2U - several questions

2007-08-07 Thread Matthew Szudzik
 Matthieu,  I'm also looking at the Lenovo T60.  Is the avivo driver

Get a T60 with the Intel graphics chipset and an XGA display.  You won't 
have any problems with X Windows.



Re: Lenovo 8744-J2U - several questions

2007-08-07 Thread Matthieu Herrb
On 8/7/07, Stephan Andre' [EMAIL PROTECTED] wrote:


 Matthieu,  I'm also looking at the Lenovo T60.  Is the avivo driver
 ready for use, and how much effort is there in incorporating it
 into Xenocara?   I'd really like a new laptop--my A31p is old.


The avivo driver needs X server 1.3 and libpciaccess to work. xserver
1.3 works on OpenBSD, but won't be in Xenocara for OpenBSD 4.2.
I'm working on libpciaccess but it is not in a working state yet.



Re: Lenovo 8744-J2U - several questions

2007-08-06 Thread Matthieu Herrb
On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
 Just got a new Lenovo 8744-J2U laptop and installed the Aug.1 snapshot:

 vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x71d4 rev 0x00

Oh and I forgot: this is a Mobility FireGL V5250, which is indeed not
supported by the current X.Org ati driver. It should be supported by
the new 'avivo'  driver, but this driver is not yet available for
OpenBSD.



Re: Lenovo 8744-J2U - several questions

2007-08-06 Thread Matthieu Herrb
On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
 Just got a new Lenovo 8744-J2U laptop and installed the Aug.1 snapshot:

 1) When I shutdown X, text resolution is messed up.  Chars are bigger, they
 are 40 per line, with wrap.  All Ctrl-Alt-Fn sessions are affected.  If I
 issue a command like 'date', then hit enter several time, I find that the
 command and its output are finally visible.

Since you're using the vesa driver, it means that the VESA BIOS on
your laptop is broken.
Check for updates on Lenovo's web site.


 2) ATI adapter is not recognized. Changing depth to 24 works; but I can't
 seem to change resolution - always comes up 1280x1024; but this is a 15.4
 widescreen display; which i believe should run at 1680x1050.

Again, broken bios. Lenovo should provide a bios with resolutions
matching the physical size of the screen.
Try using i915resolution from ports. It has been reported to work with
other BIOSes too.


 3) The keyboard has a couple of 'dead' keys near cursor keys which are
 Alt-left and Alt-right in windows.  I'd like to map these to PgUp and
 PgDn.  How do I do that?

Check with xev if those keys return some keycodes. Then use xmodmap(1)
to map them.



Re: Lenovo 8744-J2U - several questions

2007-08-06 Thread Stephan Andre'
On Monday 06 August 2007 18:29:12 Matthieu Herrb wrote:
 On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
  Just got a new Lenovo 8744-J2U laptop and installed the Aug.1 snapshot:
 
  vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x71d4 rev
  0x00

 Oh and I forgot: this is a Mobility FireGL V5250, which is indeed not
 supported by the current X.Org ati driver. It should be supported by
 the new 'avivo'  driver, but this driver is not yet available for
 OpenBSD.

Matthieu,  I'm also looking at the Lenovo T60.  Is the avivo driver
ready for use, and how much effort is there in incorporating it 
into Xenocara?   I'd really like a new laptop--my A31p is old.

Thanks, STeve Andre'



Re: Lenovo 8744-J2U - several questions

2007-08-06 Thread Frank Bax

At 06:26 PM 8/6/07, Matthieu Herrb wrote:


On 8/6/07, Frank Bax [EMAIL PROTECTED] wrote:
 Just got a new Lenovo 8744-J2U laptop and installed the Aug.1 snapshot:

 1) When I shutdown X, text resolution is messed up.  Chars are bigger, they
 are 40 per line, with wrap.  All Ctrl-Alt-Fn sessions are affected.  If I
 issue a command like 'date', then hit enter several time, I find that the
 command and its output are finally visible.

Since you're using the vesa driver, it means that the VESA BIOS on
your laptop is broken.
Check for updates on Lenovo's web site.

 2) ATI adapter is not recognized. Changing depth to 24 works; but I can't
 seem to change resolution - always comes up 1280x1024; but this is a 15.4
 widescreen display; which i believe should run at 1680x1050.

Again, broken bios. Lenovo should provide a bios with resolutions
matching the physical size of the screen.
Try using i915resolution from ports. It has been reported to work with
other BIOSes too.



Thanks for the prompt response.  I updated BIOS from 1.08 to 1.11; one line 
changed in dmesg.


$ diff dmesg_0803.txt dmesg_0806.txt
8c8
 bios0 at mainbus0: AT/286+ BIOS, date 04/30/07, BIOS32 rev. 0 @ 0xfd6b0, 
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)

---
 bios0 at mainbus0: AT/286+ BIOS, date 07/13/07, BIOS32 rev. 0 @ 0xfd6b0, 
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)



Still no change on initial problems though.

I tried 915resolution, but I'm thinking it's not compatible:

$ sudo /usr/local/sbin/915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.2

Unable to open the BIOS file: Operation not permitted



 vga1 at pci1 dev 0 function 0 vendor ATI, unknown product 0x71d4 rev 0x00

Oh and I forgot: this is a Mobility FireGL V5250, which is indeed not
supported by the current X.Org ati driver. It should be supported by
the new 'avivo'  driver, but this driver is not yet available for OpenBSD.



Is there someplace where I can monitor OpenBSD status of this?