Brad For Dem Bedded

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 23 November 2011

Debian 6 amd64 on HP Elitebook Workstation 8560w

Posted on 14:15 by Unknown
I got my new laptop this week, it's a spiffy HP Elitebook Workstation 8560w. Dual core i7 at 2.7 GHz, 8 GB ram, SSD, NVIDIA Quadro 1000M, all good stuff.

I've installed Debian Squeeze and found that I needed to do a few tweaks beyond what I expected in order to get the graphics and wifi working. First, get the wifi working, then deal with graphics.

You'll need to enable squeeze-backports. Follow the directions. Install the linux-kernel-2.6.38, linux-headers-2.6.38, and firmware-iwlwifi packages. Then modify your /etc/default/grub file, the 7th line should look like this:

GRUB_CMDLINE_LINUX_DEFAULT="nouveau.modeset=0 quiet"

Run update-grub2 to make the change permanent.

Now you can reboot and you should be running the 2.6.38 kernel. If you don't pass the nouveau.modeset line to your kernel when booting, it will hang. Mine likes to hang just after "hp_accel: driver loaded" which isn't very helpful.

Now, go grab the NVIDIA drivers from nvidia.com. Make sure you have gcc-4.4 installed. Go to a terminal with cmd-alt-F1 and log in as root. "killall gdm3" to shutdown X. Now run the NVIDIA installer.

Whamo! After another reboot you should be up and running with both wifi and graphics!
Sadly, with the stock kernel, the webcam worked awesomely. With 2.6.38, it's broken. If I determine the root cause I'll update.

UPDATE 20111123 5:30pm: To get webcam working again, don't use Camorama. Use something like cheese. Camorama wants the camera to be located at /dev/video0, it's not there any more. Things like Skype and cheese find the webcam with no issue. I'm happy! :)

UPDATE 20111126 10:00am: In order to get suspend working again with kernels newer than 2.6.35, you may need to blacklist a few modules, namely "firewire_ohci" and "firewire_core". Put the below in a file named /etc/modprobe.d/8560w-blacklist.conf, run and give the laptop a reboot. I've included here the pcspkr module as well to make that stupid beep go away ;) Now I have (I believe) all the hardware working on my 8560w except Firewire (I don't have any Firewire devices so I'm not that upset). Thanks go out to an Ubuntu bug report, scroll down to #50.



UPDATE 20111129 3:00pm: If you'd like ExpressCard hot plugging to work, you need to add "pciehp" to your /etc/modules and "options pciehp pciehp_force=1" to a new file called /etc/modprobe.d/pciehp. Both those are to be added without the quotes. Hat tip to Mark Lord on the LKML, part 1 and part 2.

UPDATE 20111208 7:00am: I'm going to recommend against encrypted LVM on an SSD with Debian Squeeze. The SSD in my 8560w says it supports TRIM but I'm having a hard time verifying that it's working, either automatically or manually. I have "discard" in my fstab and the 2.6.38 kernel supports it.
I'm thinking the way to go about encrypting important info is to just encrypt the directories I care about rather than the whole file system. I might do a backup, reformat, and restore, then enable just directory level encryption where needed (for example, I don't really care if my /usr directory is encrypted since it just has Debian sourced programs installed).
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in debian, linux | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Downsides and Upsides of Altera's Configuration Via Protocol
    Yesterday, I wrote a little about reconfigurable FPGAs attached to the PCI-Express bus as an addition to the general purpose computer. The...
  • Toolchain, Check! Kernel, Check!
    I've been working on the CLFS embedded book for a few months now.  I've been learning a lot and my goal has been to get a CLFS embe...
  • KDE4 Sucks
    I upgraded to Debian 6 Squeeze last weekend on my desktop.  I was very excited to get some more up-to-date packages (git, gcc, kernel, and c...
  • Low Cost ARM Computer
    I was thinking about my ARM + FPGA computer idea some more.  There's already a lot of competition in the single board computer space an...
  • Crypto Load Balancer Using Off The Shelf Hardware
    At my day job, I work a reasonable amount of time with cryptographic and authentication systems. Lately, I've been reading about OpenCL...
  • Embedded Linux and Long Term Support / Updates - Part 2
    In my previous post about embedded Linux long term support, I neglected Ubuntu. I had not realized how much effort Canonical are putting i...
  • The TuxedoBoard has a Brain! (picked out)
    I've chosen an ARM SoC (system on chip) for the TuxedoBoard! The Texas Instruments AM1707 ARM9 core will meet my requirements. The AM1...
  • Pick an ARM ABI When Building GCC
    If you follow the CLFS embedded book for ARM , you'll see that your ABI choice isn't used until compiling packages (ie: after you...
  • SanDisk iNAND
    I stumbled upon SanDisk's iNAND products today while doing some searching about SD cards. The iNAND idea looks very appealing to me co...
  • I'm Writing a Book
    I'm writing a book about embedded Linux but I'm not going to compete with traditional technical books.  O'Reilly isn't my co...

Categories

  • beagleboard
  • blog
  • book review
  • business
  • c
  • chairs
  • clfs
  • community
  • computers
  • crypto
  • db
  • debian
  • disapointment
  • embedded
  • energy
  • fedora
  • flash
  • fpga
  • gcc
  • git
  • google
  • health
  • hp
  • internet
  • iOS
  • learning
  • license
  • linux
  • market
  • microsoft
  • movie review
  • my book
  • next steps
  • open source
  • pandaboard
  • rails
  • software
  • SOPA
  • tuxedo
  • web 2.0
  • webOS
  • windows
  • work

Blog Archive

  • ►  2012 (10)
    • ►  January (10)
  • ▼  2011 (70)
    • ►  December (10)
    • ▼  November (9)
      • Dithering, NVIDIA Quadro 1000M, and HP ZR2440w
      • Google AdWords - Gone
      • Google's New Look - It Sucks
      • Debian 6 amd64 on HP Elitebook Workstation 8560w
      • Embedded Linux Long Term - Part 3
      • Build the PandaBoard or BeagleBoard-xM x-loader on...
      • The BeagleBone!
      • Bootstrapping Fedora for ARMv7 Hard Float
      • Calendar Interface
    • ►  October (7)
    • ►  September (8)
    • ►  August (1)
    • ►  July (3)
    • ►  June (3)
    • ►  May (3)
    • ►  April (8)
    • ►  March (4)
    • ►  February (5)
    • ►  January (9)
  • ►  2010 (16)
    • ►  December (6)
    • ►  November (9)
    • ►  October (1)
Powered by Blogger.

About Me

Unknown
View my complete profile