Subject: Text-mode display after LCD-Resume under X11 on z50
To: None <port-hpcmips@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: port-hpcmips
Date: 04/27/2002 11:19:17
Hi,

I am running a quite recent 1.5ZC on my z50, and have to say that it's
runnign very smoothly. Most of the time. And I get 15+ hours of
battery life on the high-capacity battery. Now that's truly mobile.

I have, however, some minor problems. I added the kernel option
ITE8181_LCD_CONTROL_ENABLE and now I can use the suspend button to
suspend the machine/turn off the LCD backlight. That works fine most
of the time, however, when I do this under X, after the resume is
complete, the kernel will display the text console instead of the X11
display, although the X11 display is still working. When I force a
redraw, everything is fine agian. I have an xconsole running, which
intercepts the kernel messages on the text console, so this is not the
problem.

Another strange thing: I see that my video display attaches as
follows (dmesg excerpt):

  ite8181video0 at vr4102ip0 addr 0x0a000000-7fffff: ITE8181 Rev.04, console
  ite8181video0: framebuffer address: 0xaa000000
  hpcfb0 at ite8181video0: 640x480 pixels, 65536 colors, 80x48 chars
  wsdisplay0 at hpcfb0 kbdmux 1: console (std, vt100 emulation), using wskbd0
  wsmux1: connecting to wsdisplay0

So I assume that my hpcfb is at ite8181video0 and I do not need
"bivideo0 at mainbus0" and "hpcfb* at bivideo0". However, when I
remove the bivideo entries from the kernel, I get an endless stream of
panics/traps right after the kernel starts on a black-on-white console
with a different font, instead of the normal white-on-black.

They scroll by too fast to write them down precisely.

The third thing has been mentioned before on other mechines, when I
try to shutdown the machine (poweroff or shutdown -p), the machines
powers down alright, but I cannot switch it back on. I have to remove
all the batteries and the power feed for some seconds and only then
can I turn it back on. The in-kernel boot-loader helps if I want to
reboot NetBSD, but not if I want to turn it off.


For reference: This is an IBM z50 with the Kingston 32MB memeory
expansion kit (total 4 MB Video and 44MB main memory), I use 1.5ZC
sources from a few days ago plus the trackpoint patches.

Does anyone have similar problems and are there known workarounds?


Kind regards,

Bernd

-- 
Bernd Sieker

NetBSD: Servers' choice!
		-- Lars-Johan Liman