This page was blank, which is a shame as the 4310s runs Linux well, so I have added my experience after having this laptop about 5 days.
This page is just for discussing using Linux on the HP ProBook 4310s. For a general discussion about this laptop you can visit the HP ProBook 4310s page on LapWik.
I booted Ubuntu 9.04 (Jaunty, i386) from the live CD, all seemed OK so I installed from there. Pretty much everything I tried so far just worked with 3 exceptions. I have also run the 64bit version (AMD64) and that runs well.
a) The screen would randomly either come up correctly in X at 1366×768 or sometimes at 1024×768 (4:3). It turns out by looking in the logs that the video chip was randomly detecting a TV attached, which there wasn't, and so dropping the resolution to suit the TV. The fix I found at http://ubuntuforums.org/..., my working xorg.conf looks like this
b) Audio didn't produce any error, or sound either. The fix was found at https://help.ubuntu.com/... and http://forums.opensuse.org/... and is simply appending ”options snd-pcsp index=-2” and ”options snd-hda-intel model=laptop” to your /etc/modprobe.d/alsa-base.conf file. Using model=mobile instead also works, and gives more sliders in the volume control, not sure what the difference is exactly.
c) When it comes out of suspend the CPU fan goes to 100% and stays there. The fix I used was at https://bugs.launchpad.net/.... Create the file ”/etc/pm/sleep.d/99funguj”, insert the code below and chmod 755 it.
#!/bin/sh # # 99funguj: sprav co se da
case “$1” in hibernate|suspend) # Stopping is not required. ;; thaw|resume) # sprav to for x in /proc/acpi/fan/*; do if [ -f “$x/state” ] && [ “`grep on $x/state`” ]; then echo -n 3 > $x/state; echo -n 0 > $x/state; fi done for x in /proc/acpi/fan/*; do if [ -f “$x/state” ] && [ “`grep off $x/state`” ]; then echo “echo -n 0 > $x/state;” » /tmp/fanstate0 echo “echo -n 3 > $x/state;” » /tmp/fanstate3 fi done sh /tmp/fanstate0 sleep 1 sh /tmp/fanstate3
So far it runs very well. I haven't had any problems like not being able to adjust the screen brightness as I've read here for the 4510s, that all works as expected. All the touch sensitive and 'fn' buttons work (at least as well as they do in Windows -which isn't great), including the wireless, but I haven't figured out how to individually enable/disable the wifi & bluetooth. As I still dual boot I do that in windows and it sticks when I return to Linux.
Note written weeks later: To individually enable/disable the bluetooth/wifi I read that “rfkill” is the app you need. It isn't part of Ubuntu 9.04 Jaunty, but 9.10 Karmic has it from what I can tell so hopefully when that gets released the problem will be solved. Also, with Ubuntu 9.04 the 2.6.28 kernel isn't great for this laptop. I've downloaded and installed the Debian Sid 2.6.30 kernel and things seem to run better.
I don't use the battery much, but it's around 4-5 hours.
dave, Saturday 15 of May, 2010 [19:03:26]
on Ubuntu 9.10 i must only add “options snd-hda-intel model=laptop” line to alsa-base to have a sound. And sometimes there is something wrong with volume touch slider which is turning volume up itself.
Arjen, Wednesday 31 of March, 2010 [16:06:16]
Hello, if you're still reading this, I'm interested to hear how you've set up your partitions for dual booting, as I'm having problems with it.
What I did: - Shrink the main (C:) NTFS partition to 40G using GParted - Create a new NTFS partition (E:, data partition) using Windows 7 Disk Management of 100G, leaving 143G of unallocated space for Linux.
However, after this GParted uncorrectly shows one large “unknown” partition after “C:” comprising the unallocated space and the following partitions.
Cfdisk says “bad primary partition 3: partition ends in the final partial cylinder”. After googling this, the only solution I found so far is wiping the drive and starting over, which is not what I want!
So now there is no way to install Linux as none of the partition tools show any unallocated space.
I'd be thankful if you could let me know how you managed to make the dual boot work.
Bill Giannikos, Tuesday 06 of April, 2010 [06:21:24]
You could try using something like Bootit NG and see if that will fix the partition table for you.
Search
Sister Sites Lination - Blogging site for Linux users LinWik - Linux guides in wiki format
Discussion
How is the battery life like?
Thanks
I don't use the battery much, but it's around 4-5 hours.
on Ubuntu 9.10 i must only add “options snd-hda-intel model=laptop” line to alsa-base to have a sound. And sometimes there is something wrong with volume touch slider which is turning volume up itself.
Hello, if you're still reading this, I'm interested to hear how you've set up your partitions for dual booting, as I'm having problems with it.
What I did:
- Shrink the main (C:) NTFS partition to 40G using GParted
- Create a new NTFS partition (E:, data partition) using Windows 7 Disk Management of 100G, leaving 143G of unallocated space for Linux.
However, after this GParted uncorrectly shows one large “unknown” partition after “C:” comprising the unallocated space and the following partitions.
Cfdisk says “bad primary partition 3: partition ends in the final partial cylinder”. After googling this, the only solution I found so far is wiping the drive and starting over, which is not what I want!
So now there is no way to install Linux as none of the partition tools show any unallocated space.
I'd be thankful if you could let me know how you managed to make the dual boot work.
You could try using something like Bootit NG and see if that will fix the partition table for you.