Change log
Last updated 11th August 2002
Adrian West
Here are my notes on on getting Linux (SuSe 7.2) running on a HP Pavillion Notebook - zt1121s. It has since been bolstered by information others with zt1xxx's have kindly shared. Most of my own experience was in putting suse7.2 on, around April 2002; so this will date a bit until I get around to updating that at some point. As its working very well for me however, there's no immediate need to change anything.
I tried to get information about how well this machine takes to linux, before taking the plunge and buying it - there wasnt any, but I went ahead anyway. So, here's my small attempt to help others thinking of acquiring one for linux use.
Thanks to those who have reported their successes and failures - I've updated this report information people have send me, and noted that in the change log at the end.
Contents |
Brief list of things I havnt got working yet. Let me know if you have.
The pavillion (zt1121s) has a celeron 1066mhz processor, and is based around the VIA ProSavage S3 PM133 integrated chipset (2-chips: VT8605 North, and VT8231 South, bridges) providing the graphics, 10/100 ethernet, AC-97 audio, modem, super-io, flat-panel driving, 4 usb ports (3 available on the pavilion) and power management. VIA seem quite linux friendly, and have linux support documentation on their pages for different distributions, including drivers. See their news pages, for example the april 12th entry.
A nicely built machine, feels solid, with a pleasant textured casing. It's light for a pretty full featured box with 14" screen. The synaptics touch pad is a very nice inclusion, and has a useful side-pad which gives wheel-mouse functionality. Aesthetically, and physically, its a nice machine to use.
The button to disable the touch pad is an excellent idea; more so in environments where you are not forced to do everything by mouse all the time (e.g. emacs), and stray touches of the pad are unhelpful. It also has some cute violet lights around the pad to let you know it is activated (this is actually useful. I've caught myself thinking the machine has locked up, when in fact I'd disabled the mouse earlier - sad I know.).
The down side is that the disable feature doesnt work under linux. (see mouse problems) - the "wheel" feature also sticks going past some page boundaries under win xp for the applications supplied.
The keyboard is very pleasant to use - my opinion of course.Cooling is by a fan that vents to the side and rear of the case, which is more sensible than the under-case venting that vacuums your clothes. In use, the hand-area does not get noticably warm.
Overall, I would say this is a nicely put together machine.
In the context of the overall positive impression, the most obvious negative in general use (any o/s) is graphics performance. The machine does not have dedicated graphics memory, and suffers visibly for this; also the S3 Twister does not support OpenGL. Serious 3D seems out of the question, but surprisingly 2D performance is quite poor too. As delivered, smooth DVD playback is not possible at full screen resolution - sound-sync gets completely lost if you try that. This despite the chipset having hardware decoding. My older slower machines (with dedicated graphics but no hardware decode) do a lot better in this regard.
Ian Gregory (a zt1150) has one way around this - using the s-video port and a tv. Thats one way of by-passing the graphics! Another hope is that video under linux is reported to run ok full screen (see video later). Another solution is to reduce the colour depth from 32 to 16 - it plays DVD's under win without problems that way. Peter Letford reports his zt1121s runs DVDs in 32 and 16, but he removed XP on delivery in favour of win 2k so we are unsure about his XP experiences. On win, he is using the PowerDVD player, so perhaps it is a sofware issue there - at least this is a hopeful report that its possible. He also suggests downloading the VIA updates http://viaarena.com/?PageID=2, as these apparently make a significant difference.
The synaptics touch pad really has potential - its just very usable. A downside under MS XP is that sometimes the "wheel" just stops working - you can re-engage it by changing something on the synaptics driver application, and applying that. More seriously, some applications such as dreamweaver, cause the mouse to disappear altogether sometimes if you use the wheel - necessitating a complete reboot. A trivial technical issue I'm sure, but from a user perspective transforms this very nice idea into an irritant (remember not to touch the mouse-wheel pad if you are using such applications!)
It does seem slow starting applications too, though I have not isolated the issues there.
|
Linux InstallpartitioningFactory config - all the disk given over to XP, with the exception of a small hidden partition at the start of the disk for hibernation. Partition Magic 7.0 repartitioned this successfully to bring the XP partition down to ~10G; create an extended partition in the freed-up second half of the drive; and create two logical partitions within that: a 9.7G ext2 linux home, and a ~300M linux swap. Good advice at this point is to create a vfat (fat32) partition too because current linux cannot write to ntfs partitions. By having say a 1G vfat partition you will have something you can read/write to from both linux and win. If you end up repartitioning later, then I've put some notes together on how you get linux going again after a repartition. |
I've used redhat quite a lot, but in recent times we have been going for SuSE professionally as it seems a lot more stable (especially when new versions are released!). To date, I have found SuSE installs to be comparatively trouble free.
As the pavillion comes without a floppy, you rely on booting from DVD for installs and rescue, which works fine. (Even when the usb floppy arrives, I've no idea how well that will sit with conventional floppy-boot-rescue operations). Tom Berkey says it worked fine under suse7.3, but suse8.0 wont create a boot floppy on the usb floppy drive.
Now reboot with the SuSe DVD in place.
I chose a standard install (without star office). This went very smoothly indeed.
I used the manual options to point it at the newly created home and swap partitions, and had it format those.
Rebooting (remove dvd first - given its a boot device), and might as well catch the bios as before and select hard-disk as the no.1 place to boot from.
A few people have reported difficulty getting sound to work however. Vincent Frison (a zt1121s) had early problems using the Alsa 0.5 driver release, but says these have gone away using the Also 0.9 beta. I don't know what linux distribution he was using. Thanassis Misaridis reports sound working fine on a zt1180, mandrake 8.2
Jeff reports a patch he found on a linux/omnibook-xt1000 site makes sound work on his pavilion, better than the aforementioned alsa drivers.
VIA's news page noted updated drivers for AC97 to version 1.14 recently (21th April), so that is a place to look for info if you are having problems. VIA seem pretty pro-linux, and have documents there about linux drivers, and linux distribution specific documentation.
CD'splay fine under kde's cd player, once the volume is turned up using the kde sound mixer.
bios volume control (fn-page{up/down}), does not do anything to change the volume, but mute (fn-backspace) toggles ok.
I use a linux dhcp server I have in the attic, and it configured itself fine from that. Manual config of ip address etc is hence also straight forward.
I run nfs/samba at home, and the pavillion/suse integrates seamlessly with these - no problems at all to date - though I have not set up printing as yet.
Wireless networking. Tom Berkey reports this working without problems (suse 8.0 I presume).
3-button setup. As with most laptops, the mouse is 2-button, so you can get 3-button emulation (essential for cut/paste between X applications) by holding both buttons down together to give the "middle" button. You need to activate the ChordMiddle, and Emulate3Buttons mouse options for XFree86, either with some graphical setup package (e.g. sax2 for SuSE), or manually by editing the XF86Config and adding the following to the mouse section:
"Section "InputDevice" Driver "Mouse" ... Option "ChordMiddle" "on" Option "Emulate3Buttons" "on" Option "Emulste3Timeout" "50" ...
Check the XF86Config you are editing is the one actually used by X - for suse this is /etc/X11/XF86Config, but there is an unused XF86Config in /etc, which can be confusing.
Thanassis Misaridis has a usb mouse working together with the touchpad successfully, (and video too, see below), under mandrake. He has sent me his xf86config
file that helps show some of that.I have not managed to get this going. Opinion is divided on whether its possible:
Either way, support for this is clearly embryonic.
One effect of this is that the notebook does not turn off properly on shutdown, which just means you need to physically power it off. Another is that the fan will come on, perhaps more than you would like.
On the positive side, VIA, who make that chipset seem quite linux friendly, and their news page announced new linux support items recently (12th April), so there is hope for this.
Using the switch (above the touchpad) to disable the mouse, is a great idea, which I thought quite inspired when I first saw it on a HP laptop. It's fundamentally useful in a *nix environment. Unfortunately what seems to be happening is that events are getting stored up (odd I know, its my best hypothesis so far.).
When you re-enable the mouse some time later, all hell lets loose, events fire off all over the place.
So, until some remedy is found, I'd suggest that you do not use the mousepad disable button under linux. (ah, the exquisite irony of it all).I have found references to a linux driver for the synaptics touchpad. I dont know what functionality this gives. I'll report if I get to try it out.
eDiags (hp's diagnostics) seems to have gone away from bios operation, this is reported by Andrew Godley on his mandrake 8.2 setup. I do not seem able to invoke it at boot either (though had not tried to previously). However, he reports that it can be run successfully from the supplied cd, should the need arise.
I am currently unable to mount the HPFS/NTFS partition (XP's home) as anything other than read-only. Attempting to do so gives the console message:
Warning! NTFS volume version is Win2K+: Mounting
read-only
Will Dukes (zt1170m Debian 3.0) has told me that stable kernels only support NTFS in read-only mode ("dangerous" to enable writes). He suggests a work around of making a separate vfat partition which will be visible from both windows and linux read/write, providing one way of getting data between the two os's. I have done that now, and its a fine solution, as you would expect.
Here's some guidance on getting linux to reboot after you have repartitioned.
Is extremely slow for large files. About 1Mbyte/minute on a 100 mbps newtwork, where other win/linux machines (also running the same suse7.2) perform fine. No idea what this is yet.
Things I havnt tried yet.
Tom Berkley had problems with pcmcia after upgrading to suse8.0. but tells me he has solved these by changing PCMCIA_SYSTEM (/etc/init.d/pcmcia) to "kernel" rather than "external" (thedefault). He notes that the 802.11b device is recognized after loading the prism2_pci module.
This is actually harder than it sounds (well, it was for me). The boot prompt flies by very quickly, and it takes a few goes to realise it's saying hit esc for bios set up, F2 to select boot device. In fairness the manual says this too - hey, I was in a hurry.
However, timing is of the essence here. Too soon or too late are no good, you have to hit F2 10-20 milliseconds after the HP logo has appeared. If it doesnt seem to be working for you, just persevere. Even after succeeding, I later thought the linux install had somehow disabled the engage-bios facility (desparate hypothesis), but I'd just not got the timing perfect again. Comes with practice. (by which I mean if you practice on tomb-raider for a bit, you develop the general skills and timing required).
As with many things, once you have developed the nack, you wonder why you ever thought it was difficult.
Eric Johanson suggests trying "pause, f2, pause, f2, pause f2. press those two as fast as you can and you're in the bios".
Mandrake 8.2: Andrew Godley has a zt1180 with Mandrake 8.2 on it, apparently working. They have no apm either, and currently have extra problems with sound. Thanasis Misaridis also reports success with Mandrake 8.2 and says sound is working fine.
Redhat 7.2: Jingcao Hu reports on his ZT1180 that "everyting works fine, except the sound, and the apm (don't mention modem of course)". Andrew Melville reports "no problems at all. absolutely none" with redhat 7.0, and a subsequent upgrade to rh 7.2 - that is used without problem on a home network with nt server, and xp/2000/98 clients.
FreeBSD 4.5 Gaston reports that freebsd 4.5 installs fine, though has not set up X yet as the graphics card does not appear listed on that installation.
Debian 3.0 Will Dukes is very positive about his debian experiences on his zt1170, and has written quite an extensive summary of his impressions, which I have put here. There is also a site about Debian on an omnibook xt1000, which is very helpful.
Suse 8.0 Tom Berkey has had some problems with suse8.0. I havnt tried this yet. For him, pcmcia no longer works, and he hasnt been able to get yast2 to make a boot floppy using the usb floppy drive (which worked under suse 7.3/yast2.
This isnt specifically related to the install, just a mistake I made that it took toooo long to figure out the answer to. Having installed, I changed my own uid from what SuSE gave me, to the one I use on my network. Thereafter I couldnt start kde, which gave a:
Please check that the "dcopserver" program is running! |
What this is, is actually a permissions problem (in my case, but I can see how this will hit quite a few people in just this way). It needs to write to your home directory as "you", which it couldnt as I had neglected to chmod my home dir at that point. It took a long time to find that permission problem and its likely you will fall over on this too sometime - as starting/restarting your desktop may well be one of the first things you do after hand-creating a user or modifying your setup. So, if you get the Cannot start dcopserver message, check that you have permission to write to your home directories, and similarly that the .DCOP... files therein are also writeable by you. A good symptom for this is that you can start KDE as root, but not as a normal user.
There are a couple of links worth noting:
Below is the chronological list of updates made to the text above, usually in response to information received.(thanks).