SUMMARY: Sun Monitors and Graphics Cards

From: <bernard.mcauley_at_mindspeed.com>
Date: Tue Jul 03 2001 - 05:33:19 EDT
This is a multipart message in MIME format.
--=_alternative 003487FF80256A7E_=
Content-Type: text/plain; charset="us-ascii"

HI,

Thanks to all who responded with several good ideas but the prize goes to 
Mark MacManus and Gerard Henry who came up trumps.  To quote Mark:-

The following should show you which boards are assigned to which link.

sc-omni2# ls -l /dev/fb*

lrwxrwxrwx   1 root     root          27 Jun 18 15:54 /dev/fb -> 
/devices/SUNW,ffb@1e,0:ffb0
lrwxrwxrwx   1 root     root           8 Apr 13 08:14 /dev/fb0 -> fbs/ffb0
lrwxrwxrwx   1 root     root           8 Apr 13 08:14 /dev/fb1 -> fbs/m640
[snip]



The following file will show you which one is the console.
(first device defined  "fb0" which is the "ffb" card)

sc-omni2# tail -1 /etc/dt/config/Xservers
   :0   Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner 
-dev /dev/fb0 -dev /dev/fb1



These should give specific information (as root).

sc-omni2# /usr/sbin/m64config -dev /dev/fbs/m640 -prconf

--- Hardware Configuration for /dev/fbs/m640 ---
ASIC: version 0x41004754
DAC: version 0x0
PROM: version 106
Card possible resolutions:  720x400x85, 640x480x60, 640x480x72, 640x480x75
        800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x60
        1024x768x70, 1024x768x75, 1280x1024x75, 1024x768x85, 800x600x85
        640x480x85, 1280x1024x60, 1152x900x66, 1152x900x76, 1280x1024x67
        1600x1280x76, 1280x800x76, 1440x900x76, 1600x1000x66
        1600x1000x76, 1280x1024x85, 1280x1024x76, 1152x864x75
        1600x1200x75, 1024x768x85, 800x600x75, 640x480x85, vga, svga
        1152, 1280, 800x600, 1024x768, 1280x1024, 1152x900, 1600x1280
        1600x1000, 1600x1200
Monitor possible resolutions:  720x400x70, 720x400x85, 640x480x60
        640x480x67, 640x480x72, 640x480x75, 800x600x56, 800x600x60
        800x600x72, 800x600x75, 832x624x75, 1024x768x87, 1024x768x60
        1024x768x70, 1024x768x75, 1280x1024x75, 1152x900x66, 1152x900x76
        1280x1024x67, 1280x1024x76, 800x600x75, vga, svga, 1152, 1280
        800x600, 1024x768, 1280x1024, 1152x900
Possible depths:  8, 24
Current resolution setting: 1280x1024x76
Current depth: 8

sc-omni2# 


sc-omni2# /usr/sbin/fbconfig -dev /dev/fbs/ffb0 -prconf 

The key bit being the setting of the card in the /etc/dt/config/Xservers 
file.  Of course if you haven't set up the CDE environment then these 
files are actually in /usr/dt/config and need to be copied to /etc/dt to 
take effect.  A few other pointed out that I could tell which was the m64 
card as it would have VGA output whilst the ffb card has the large output 
socket (whose type I dont' know).

Thanks to you all,

Bernard McAuley,

--=_alternative 003487FF80256A7E_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">HI,</font>
<br>
<br><font size=2 face="sans-serif">Thanks to all who responded with several good ideas but the prize goes to Mark MacManus and Gerard Henry who came up trumps. &nbsp;To quote Mark:-</font>
<br>
<br><font size=2 face="Courier New">The following should show you which boards are assigned to which link.<br>
<br>
sc-omni2# ls -l /dev/fb*<br>
<br>
lrwxrwxrwx &nbsp; 1 root &nbsp; &nbsp; root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;27 Jun 18 15:54 /dev/fb -&gt; /devices/SUNW,ffb@1e,0:ffb0<br>
lrwxrwxrwx &nbsp; 1 root &nbsp; &nbsp; root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8 Apr 13 08:14 /dev/fb0 -&gt; fbs/ffb0<br>
lrwxrwxrwx &nbsp; 1 root &nbsp; &nbsp; root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8 Apr 13 08:14 /dev/fb1 -&gt; fbs/m640<br>
[snip]<br>
<br>
<br>
<br>
The following file will show you which one is the console.<br>
(first device defined &nbsp;&quot;fb0&quot; which is the &quot;ffb&quot; card)<br>
<br>
sc-omni2# tail -1 /etc/dt/config/Xservers<br>
 &nbsp; :0 &nbsp; Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner -dev /dev/fb0 -dev /dev/fb1<br>
<br>
<br>
<br>
These should give specific information (as root).<br>
<br>
sc-omni2# /usr/sbin/m64config -dev /dev/fbs/m640 -prconf<br>
<br>
--- Hardware Configuration for /dev/fbs/m640 ---<br>
ASIC: version 0x41004754<br>
DAC: version 0x0<br>
PROM: version 106<br>
Card possible resolutions: &nbsp;720x400x85, 640x480x60, 640x480x72, 640x480x75<br>
 &nbsp; &nbsp; &nbsp; &nbsp;800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x60<br>
 &nbsp; &nbsp; &nbsp; &nbsp;1024x768x70, 1024x768x75, 1280x1024x75, 1024x768x85, 800x600x85<br>
 &nbsp; &nbsp; &nbsp; &nbsp;640x480x85, 1280x1024x60, 1152x900x66, 1152x900x76, 1280x1024x67<br>
 &nbsp; &nbsp; &nbsp; &nbsp;1600x1280x76, 1280x800x76, 1440x900x76, 1600x1000x66<br>
 &nbsp; &nbsp; &nbsp; &nbsp;1600x1000x76, 1280x1024x85, 1280x1024x76, 1152x864x75<br>
 &nbsp; &nbsp; &nbsp; &nbsp;1600x1200x75, 1024x768x85, 800x600x75, 640x480x85, vga, svga<br>
 &nbsp; &nbsp; &nbsp; &nbsp;1152, 1280, 800x600, 1024x768, 1280x1024, 1152x900, 1600x1280<br>
 &nbsp; &nbsp; &nbsp; &nbsp;1600x1000, 1600x1200<br>
Monitor possible resolutions: &nbsp;720x400x70, 720x400x85, 640x480x60<br>
 &nbsp; &nbsp; &nbsp; &nbsp;640x480x67, 640x480x72, 640x480x75, 800x600x56, 800x600x60<br>
 &nbsp; &nbsp; &nbsp; &nbsp;800x600x72, 800x600x75, 832x624x75, 1024x768x87, 1024x768x60<br>
 &nbsp; &nbsp; &nbsp; &nbsp;1024x768x70, 1024x768x75, 1280x1024x75, 1152x900x66, 1152x900x76<br>
 &nbsp; &nbsp; &nbsp; &nbsp;1280x1024x67, 1280x1024x76, 800x600x75, vga, svga, 1152, 1280<br>
 &nbsp; &nbsp; &nbsp; &nbsp;800x600, 1024x768, 1280x1024, 1152x900<br>
Possible depths: &nbsp;8, 24<br>
Current resolution setting: 1280x1024x76<br>
Current depth: 8<br>
<br>
sc-omni2# <br>
<br>
<br>
sc-omni2# /usr/sbin/fbconfig -dev /dev/fbs/ffb0 -prconf</font><font size=2 face="sans-serif"> </font>
<br>
<br><font size=2 face="sans-serif">The key bit being the setting of the card in the /etc/dt/config/Xservers file. &nbsp;Of course if you haven't set up the CDE environment then these files are actually in /usr/dt/config and need to be copied to /etc/dt to take effect. &nbsp;A few other pointed out that I could tell which was the m64 card as it would have VGA output whilst the ffb card has the large output socket (whose type I dont' know).</font>
<br>
<br><font size=2 face="sans-serif">Thanks to you all,</font>
<br>
<br><font size=2 face="sans-serif">Bernard McAuley,<br>
</font>
--=_alternative 003487FF80256A7E_=--
Received on Tue Jul 3 10:33:19 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:58 EDT