One line summary: Linux works, a power-management crash issue that seems to be resolved, X is not accelerated but may be in the future.
The HP Pavilion 3190 is a low/midrange laptop introduced in winter 99. I picked this machine mostly for it's speed, screen, and looks. In appearance the machine somewhat resembles the recent (slightly curved) Mac G3 laptops, a nice change from the `russian dump truck' (compaq/toshiba) school of industrial design. (In fact I wanted to get one of the G3s -- equivalent cost, better speed, keyboard -- but I run the linux/intel version of Matlab which of course does not run under linuxppc.)
An install of RedHat 6.1 was painless. Dual boot (W98), 24bit 1024x768 X display, pcmcia ethernet, APM all work with no kernel recompilation! (What a change...I've been using linux since Slackware 3, which took me a full two weeks to get working).
On the down side:
Evidently a driver is on the way, see below.
Since the Pavilion's graphics chip is not supported, however, the new GUI-based install in RH6.1 did not work (I believe it dies with something like "Fatal server error - no valid modes found"). This problem will likely apply to Caldera and other modern distributions as well. RedHat still allows the vga-based installation (present in RH through version 6) by typing "text" at the install prompt.
Using text/vga mode, the install went smoothly until the X configuration came up. I selected a "unsupported" card and "Laptop 1024x768" as the monitor type. The install tried several probes which failed, and then it dumped out with an unsurprising "unable to configure X" message.
You may want to read about FB installs. Start with the Omnibook XE linux laptop page, the /usr/doc/HOWTO/Framebuffer-HOWTO, and/or the vesa guide
Do
cd /etc/X11 ls -l X rm X ln -s ../../usr/X11R6/bin/XF86_FBDev X
Both the 16bit and 24bit entries below seem to work, but adding several Display subsections seemed to break things. Thus I leave the 24bit one commented out as shown.
Section "Device" Identifier "My Video Card" VendorName "Unknown" BoardName "Unknown" #VideoRam 4096 EndSection # seems like the fbdev cannot have multiple Display sections, gets confused? Section "Screen" Driver "FBDev" Device "My Video Card" Monitor "LCD Panel 1024x768" Subsection "Display" Modes "1024x768" Depth 16 Modes "default" EndSubsection EndSection # uncomment for 24bit mode #Section "Screen" # Driver "FBDev" # Device "My Video Card" # Monitor "LCD Panel 1024x768" # Subsection "Display" # #Modes "1024x768" # #Depth 32 # Depth 24 # Modes "default" # ViewPort 0 0 # EndSubsection #EndSection
For the lower-end 3150,3110 models the VGA line will be different.
Run /sbin/lilo as root when this edit is done.
boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=50 default=linux-fbdev16 image=/boot/vmlinuz-2.2.12-20 label=linux-fbdev16 VGA=791 initrd=/boot/initrd-2.2.12-20.img read-only root=/dev/hda5 image=/boot/vmlinuz-2.2.12-20 label=linux-fbdev VGA=792 initrd=/boot/initrd-2.2.12-20.img read-only root=/dev/hda5 image=/boot/vmlinuz-2.2.12-20 label=linux initrd=/boot/initrd-2.2.12-20.img read-only root=/dev/hda5
Also, an ASUS notebook listing on the LL home page mentions the existence of a (as yet buggy) driver, see http://www.mat.univie.ac.at/~gerald/laptop/asus.html
I suspected either the FBdev stuff or else some interaction with APM, based on reading several other laptop experiences. I believe that each crash occurred either while suspending (usually) or trying to resume from a suspend. Also, the first suspend or hibernate-to-disk generally worked; it was only on the second or third (or fourth) suspend that it hung.
I re-read the entry on the Sony F series laptops on the LL home page. This talks about freezes following a suspend/resume under RH 6.1. On those machines the nascent USB support interferes with APM. The HP machine appears to have an identical USB setup (including it's location on the PCI bus).
This was done by (see the F-series page)
/sbin/setpci -d "8086:7112" command = 0 # this command should say "disabled" now: /sbin/lspci -v | grep fce0
Disabling USB support did not fix the problem.
Guided here by wild guesses, I thought about some interaction between the disk and power management, and noticed that "ACPI" (the new standard that subsumes APM power management) is in the same pci "area"(?) as IDE and USB:
IDE 7.1 USB 7.2 now disabled ACPI 7.3so I tried disabling ACPI the same way to see what happened. Nothing visible happened- /sbin/lspci -v did not report this device as being disabled, suspend/hibernate still worked but still caused crashes.
Finally, I searched the web and found a post that talked about incompatibilities between ACPI and Soundblaster cards. This was a stretch - the post was talking about a windows desktop. But I tried it, and it seems to have fixed the problem! Here are the commands:
echo turning off usb /sbin/setpci -d "8086:7112" command=0 echo turning off audio /sbin/setpci -d "125d:1998" command=0 /sbin/lspci -v | grep disabledI put this in a script and modified one of the startup files to call it (put it in /etc/init.d/apmd in the 'start' section since it's possibly related to apm. Is there a better place to put this?).
Note that I'm still turning off USB as well - I do not know if both USB and audio both need to be off.