Ubuntu Linux on a Hewlett Packard Pavilion dv1000 (dv1066ea) notebook

TuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones

The HP dv1066ea notebook

closed.png This page is left here as a historical reference only. The dv1066 hardware and its immediate successors are no longer available to buy, and I think there will be less interest in getting this particular model running with Linux. The laptop is still in daily use, running Ubuntu 9.04 without issues. At the time of writing 9.10 is only a month from release and it will be upgraded to that when available. I don't expect to be updating this page any more. -- MartinRowe - 23 Sep 2009

I'd been looking for a replacement laptop for some months and finally settled on one of HP's 'Entertainment' dv1000 series of notebooks - the dv1066ea. (UPDATED This model is now obsolete - the dv1200 is the nearest current model). It's relatively small and light, but enough power and capacity for what I need. Plus it's really good for watching DVDs on smile

At the time, the UK seemed to only get two dv1000 models; the 1066 and the slightly less powerful 1049. HP's online UK shop doesn't seem to cater for home buyers, so I had to settle for a standard model. Ideally I would have liked the BrightView screen and the 80Gb hard drive, but I'm happy enough with the 1066.

The 1066 and 1049 seem to be identical except for the CPU (1.6GHz vs 1.4Ghz) and hard drive (60Gb vs 40Gb). I wanted more disk space and it never hurts to have a faster CPU wink

The QuickPlay function is handy, as it turns the dv1066 into a standalone DVD/CD/MP3 player with no need to boot into Windows (or Linux) first. Actually, that's not quite true, as QuickPlay is a Linux based system that occupies around 200Mb of the disk and gets DVDs playing in about 10 seconds from power off.

Installing Ubuntu Linux

Having researched as much as I could, it seemed that the dv1066 should be well supported by Linux. Other laptops with the same Intel Pro 2200 Wireless chipset had been reported to work with Ubuntu and I really like the distribution (Debian based but with almost all the hard work configuring it working 'out of the box'). I took the Ubuntu Hoary LiveCD along with me to my local PC World store (I don't often use them, but the price was pretty much the same wherever I looked, and they are close) and asked if I could give it a go. The assistant I got seemed quite bemused by the request, but was happy to let me try.

The first, default, bootup failed part way through (Googling later revealed it needs the noapic boot option). I tried again with the failsafe option and waited for a while until it came up with the Ubuntu login screen. It was a bit streched-looking, as the chosen resolution was 1024x768 rather than the native 1280x768. It appeared to have picked up all the hardware (from the ouput of dmesg, lspci and lsmod) so I bought it smile

I started off by resizing the Windows (XP Home, would have preferred XP Pro) NTFS partition using PartitionMagic which I thought the safer option than Parted or similar. I was wrong. Right at the end of the resize it threw up an error, and the Windows partition was hosed. I could see it from a Linux session (SystemRescueCd) but it wouldn't boot. I ended up deleting the NTFS partition and creating a 10Gb FAT32 partition to replace it. Out came the product recovery CDs - Windows went on okay, but the HP driver/utilities disk locked up twice before it was all running okay. The dv1066 came with a raft of MS software (Works, Autoroute, Money, etc), none of which I'm interested in, so I didn't bother reinstalling any of that.

Installing Ubuntu was much easier by comparison. Other than the noapic issue (I didn't resolve that until later) there were no major problems. I opted for an expert install so I could make sure the install went onto the 45Gb unused space, rather than the recently recovered XP partition. The GUI logon came up in its stretched form, and I hadn't been able to get the wireless network running, but otherwise all was okay. Sound worked, which was good wink The wireless side was fine once I realised the wireless card wasn't always enabled at boot up, and I had to press the wireless button to get it working. In Windows it starts automatically, and even lights up a blue LED to show it. The button still works in Linux, but the LED doesn't frown I had pressed this several times, but it sometimes takes a few seconds to activate, and I assumed it hadn't been detected at first. UPDATED Breezy supports this okay - I have it running now. Other than that, there is the Gnome wireless applet showing wireless availability and it is also possible to find the state of the wireless hardware from the command line

$ cat /sys/bus/pci/drivers/ipw2200/*/rf_kill

should give 0 if the kill switch is off (ie wireless is up). If the kill switch is on (no wireless) you get 1 on Warty (2.6.8 kernel) or 2 on Hoary (2.6.10) UPDATED To get the LED working (with the 2.6.12 kernel from Breezy) run this

sudo echo 1 > /sys/bus/pci/drivers/ipw2200/{pci-id}/led

where pci-id is the id for the Intel BG2200 chipset in lspci - for me that's 0000:02:06.0 Network controller: Intel Corp. Intel(R) PRO/Wireless 2200BG (rev 05) I have this in a boot script /etc/rcS.d/S40wireless-led to make sure it's there for use later. You can also get the same result when loading the ipw2200 module:

$ sudo modprobe ipw2200 led=1

To get the correct aspect ratio on the screen I added "1280x768" to the list of screen sizes in /etc/X11/XF86Config-4 but it had no effect. More Googling identified a need for a Modeline entry to match 1280x768 - once that was done I got the native 1280x768 resolution. It looks really good smile 3D acceleration works fine (glxgears reports around 470 fps), so I can play Tuxracer on it...

UPDATED for Hoary: The live CD generates the right screen size smile The upgrade from XFree86 to XOrg went very smoothly. XF86Config? was copied over to xorg.conf without changes.

I'll add more details as I find out what works and what doesn't.

UPDATED for Hoary: Even more hardware is supported now - this is what I have working

  • Screen: 1280x768 native resolution
  • Sound (Hoary uses esd which required a few tweaks for non-Ubuntu apps like mplayer. UPDATED Esd is still there in Breezy, but apps seem to work without tweaking now)
  • CPU scaling: Steps of 200Mhz from 600MHz to 1.6GHz
  • 3D: UPDATED GLXGears on Feisty gives 676 fps
  • Onboard card reader. UPDATED With Feisty it reads/writes to my SD cards okay.
  • CD writer, DVD writer
  • MPlayer: Xv output works for dvd:// links, now XOrg is used. The remote control works well for MPlayer navigation wink
  • Suspend/hibernate: Both suspend to Ram and suspend to disk work well once configured. See HoaryPM for details. Suspend disappeared from the logout menu following the upgrade to Breezy. I haven't investigated it further as yet, as I rarely use suspend. UPDATED Both suspend & hibernate are working again now. I needed to edit /etc/default/acpi-support and uncomment the ACPI_SLEEP=true line. Fn+F5 now correctly suspends to RAM as well as selecting the option from the logout menu. UPDATED With Dapper these still work fine - no changes required after the upgrade.
  • Networking: The onboard wired (eth0) and wireless (eth1) work, though I had an issue with eth1 and suspend to RAM on Hoary - I had to reload ipw2200 manually even though it gets done as part of the resume function. UPDATED With Breezy the network comes back up again fine for both suspend/hibernate, but the wireless LED goes out. For now I can reactivate it with the script mentioned earlier sudo /etc/rcS.d/S40wireless-led. UPDATED With Dapper I'm currently unable to get wireless working with WPA-PSK using the scripts that worked fine in Breezy. Switching to Gnome Network Manager gets round that problem, but does mean that I can't get the network to load automatically before logging on. It's not a big issue, but I'd like to know what's broken, so I can try to fix it. Otherwise everything is the same as with Breezy.
  • USB: I use USB for a mouse and digital camera with no issues.

Issues Past and Present

I couldn't get wireless encryption working with Warty, though I must admit I didn't spend much time on it. With Hoary and a little bit of help from GTKWifi getting WEP working was easy. What was a problem until Breezy's 2.6.12 kernel was the wireless connection dying early on after bootup. Within the first twenty minutes or so, the connection would die, and the only way to get it back was to unload, then reload the ipw2200 module. Once that was done the connection would stay up indefinitely. Using the 2.6.12 kernel from Ubuntu's Breezy Badger adds LED support to the ipw2200 module (the driver is now at version 1.0.6 - Hoary's 2.6.10 kernel included version 0.19). UPDATED Following the instructions on the Ubuntu Breezy WPA HOWTO Setting up WPA-PSK was easy. Note that the OPTIONS line should read like this for the dv1000 hardware: OPTIONS="-D ipw -i eth1 -c /etc/wpa_supplicant.conf -w"

I made made the move to Dapper. All seemed to go well until I rebooted; no wireless network frown wpa_supplicant has changed somehow, and my congig files got renamed out of the way. Reinstating them didn't help. Looking on the Ubuntu forums showed I might have more success with Gnome Network Manager. That's now installed & working.

UPDATED I had upgraded to Edgy a while back, with no change in hardware support over Dapper that I could see. I've just run the upgrade to Feisty and everything seems to be okay. I notice that glxgears gives a higher fps reading of 676 but 3D is still too poor to run Neverball in anything but the smallest window, and with graphic settings turned low frown Also the card reader now appears to work, though one of the pins in the first row of 20 snagged on my SD card and now sticks up frown It joins the broken remote control... Loading Gnome seems to take longer after logging in, but I haven't looked into it yet.

Links

There are quite a few other sites that include good information on getting Linux working on the dv1000 series. I'll add them here as I find them. If you know of any that should be included, let me know.

Appendix

Here are some of my config files and other generated output, in case they're of use.

/etc/X11/XF86Config-4 - These are the changes from Ubuntu generated default. Generally I've just added a few lines, but a few were changed. You can also view the full XF86Config-4.
Section "Device"
        Option          "XaaNoOffscreenPixmaps"
EndSection

Section "Monitor"
        Modeline        "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
EndSection

Section "Screen"
        DefaultDepth    16
        SubSection "Display"
                Depth           16
                Modes           "1280x768" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24   
           Modes           "1280x768" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
The output from lspci and lsmod may help

-- MartinRowe - 12 Aug 2005
Topic revision: r13 - 01 Oct 2014 - 19:37:01 - UnknownUser
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DBG/400? Send feedback