Subject: Re: ofb proposal
To: Michael <macallan18@earthlink.net>
From: Chris Tribo <ctribo@dtcc.edu>
List: port-macppc
Date: 02/05/2005 21:41:22
here it is. It does go to full screen now, but doesn't scroll right.  
When you reach the bottom of the screen the text starts to show up at  
the top of the screen and there are vertical lines missing from the  
text and it appears to be only about 1/4 of the normal text brightness.  
*shrug*

NetBSD 2.99.15 (GENERIC) #25: Sat Feb  5 18:07:16 EST 2005
	ml@Macallan:/data/src/sys/arch/macppc/compile/GENERIC
total memory = 256 MB
avail memory = 241 MB
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 3.2), ID 0 (primary)
cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>, PS=1
cpu0: 500.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
grackle0 at mainbus0
pci0 at grackle0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
obio0 at pci0 dev 13 function 0: addr 0xf4000000
zsc0 at obio0 offset 0x13000: cannot find interrupt property
mediabay0 at obio0 offset 0x34 irq 27 level-triggered
obio1 at pci0 dev 16 function 0: addr 0xf3000000
mesh0 at obio1 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target
escc at obio1 offset 0x13000 not configured
bm0 at obio1 offset 0x11000 irq 42,33: address 00:05:02:f3:79:d2
davbus at obio1 offset 0x14000 not configured
mediabay1 at obio1 offset 0x34 irq 29 level-triggered
wdc0 at mediabay1 offset 0x21000 irq 14
atabus0 at wdc0 channel 0
wdc1 at obio1 offset 0x20000 irq 13: DMA transfer
atabus1 at wdc1 channel 0
adb0 at obio1 offset 0x16000 irq 18: 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: PowerBook G3 keyboard
wskbd0 at akbd0: console keyboard
ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
wsmouse0 at ams0 mux 0
abtn0 at adb0 addr 7: buttons
apm0 at adb0: battery flags 0x5, 98% charged
machfb0 at pci0 dev 17 function 0: ATI Technologies 3D Rage LT Pro  
(rev. 0xdc)
machfb0: 16 MB aperture at 0x82000000, 4 KB registers at 0x00000000
machfb0: 4096 KB SGRAM 30.741 MHz, maximum RAMDAC clock 230 MHz
machfb0: initial resolution 1024x768 at 8 bpp
wsdisplay0 at machfb0 kbdmux 1: console (default, vt100 emulation),  
using wskbd0
wsmux1: connecting to wsdisplay0
cbb0 at pci0 dev 19 function 0: Texas Instruments PCI1131 PCI-CardBus  
Bridge (rev. 0x01)
cbb1 at pci0 dev 19 function 1: Texas Instruments PCI1131 PCI-CardBus  
Bridge (rev. 0x01)
cbb0: interrupting at irq 22
cbb0: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 23
cbb1: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
cardslot1 at cbb1 slot 1 flags 0
pcmcia1 at cardslot1
scsibus0: waiting 2 seconds for devices to settle...
cbb0: wait took 0.016376s
atapibus0 at atabus0: 2 targets
com0 at pcmcia0 function 0: <33.6K Fax/Modem                 , PCMCIA    
, F3SK>
com0: ns16550a, working fifo
cd0 at atapibus0 drive 0: <MATSHITA CR-174, , A011> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(wdc0:0:0): using PIO mode 4
wd0 at atabus1 drive 0: <IBM-DARA-206000>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120  
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

On Feb 5, 2005, at 6:57 PM, Michael wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
>> It didn't get the resolution wrong, it was driving my external studio  
>> display at 1600x1200. If I don't plug it in, it comes up on the LCD  
>> at 1024x768 like it should. It just has a 2" band of black above and  
>> below the area where text is being drawn and doesn't scroll on the  
>> powerbook.
> Ok, I found the reason for the black bands - a stupid typo made it  
> assume you use an 8x16 font but the kernel only contains an 8x8 one.  
> Fixed that, should work with any font now.
> No idea why the LT Pro in your PowerBook doesn't scroll though.
>
> I made a new test kernel:
> http://macallan.homeunix.org:6704/stuff/BSD/ 
> netbsd_GENERIC_framebuffer_02.bz2
>
> It contains a few bugfixes and the machfb driver will output some  
> informations which will hopefully help me to figure out why your  
> PowerBook doesn't scroll, so please try them and send me the dmesg  
> output :)
>
> have fun
> Michael
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iQEVAwUBQgVdfMpnzkX8Yg2nAQKP2ggAm4ODoAzmmOJGBRDAp+g+JYH7XquYCjAg
> Dm3sHYs9Fdy/e8z96OKWvKQI5582IJTMWxN1HLZxP3kJFXPlWTk3RWMuL6nbAVvh
> c+K2sRiqr4+A3C5Cmc6Ag3guVOPRtbU6QpzHK0wRRdC+nVD+ltjVc+fsNGcP0oeD
> 5JO3WNV3IWWBnKlJhSpc55SiWBcQHKXWOKfb55pXgJbeRzauNrLj7lWO8VdFWOhf
> hEn6hBwaxdlap93WWVIG4eUCnNET05PL1bEAd5phc9aNklKdIZXH4FEnAYFspFOH
> 7K1odZU3VSSNeToFj5//dIXAD4tzMHmzra81Cj3I+TT0olSCudEhpg==
> =zu4Y
> -----END PGP SIGNATURE-----