(Sorry this is a messy post!)
Update 01/08/2012
Wake On Lan seems to be active by default, and no option in the BIOS to disable it.
This will cause your battery to discharge when the computer if off…
Solution : disable Wake On Lan
Edit your distro’s rc.local and put this line in it :
ethtool -s eth0 wol d
Update 08/16/2011 for french readers : Article en français de Carmelo sur le paramétrage d’Ubuntu sur ce netbook : http://c.ingrao.free.fr/blog/?p=450 )
I recently purchased an HP DM1 3130 netbook (AMD Zacate E-350 based) and quickly felt the need to install Linux on it. (before that I did backup the whole hard disk containing the pre-installed windows 7 and stuff. For this task, I used a Clonezilla Live USB drive to save the whole disk to a Samba share – 32Gb free storage needed!)
Update 22/07/2011 : when using Clonezilla for restoring a disk image, you might encounter problems with GRUB not being properly rebuilt. I have noticed such problems using the standard Debian-based Clonezilla Live, but found that the “alternate” (Ubuntu-based) version solved the problem!
First, I chose to install Mageia 1 Linux 64 bits, the KDE edition (Note: the AMD Zacate platform is supported since Linux kernel 2.6.38).
As I don’t have an external DVD drive, I installed Mageia using a PXE boot environment. You’ll need to use the network boot iso, right here.
Installation went fine (be sure to select a fast mirror). When configuring X, the Mageia installer enables you to select the accelerated, proprietary AMD fglrx graphics driver, which I did. And it works great, KDE 4 with compositing effects enabled is fast and fluid.
The sound card, webcam, card reader work out of the box. Bluetooth should too, but I can’t say since I have no use for it.
It’s not the same with Wifi yet. You need to manually compile and install the correct driver. However it’s very simple, just follow the instructions :
Update 10/08/2011 : Native support for our Wifi chip is brought by the Linux kernel 3.0.1 (with the rt2800pci kernel module). If your distro has an older kernel, you have to follow the instructions below to compile and install the driver from Ralink.
As a regular user, open a Terminal :
$ cd
$ wget http://barkmunchers.com/dm1z/RT.tar.gz
$ tar xvzf RT.tar.gz
$ cd RT
$ make
then as root :
# mkdir -p /etc/Wireless/RT5390STA
# cp RT5390STA.dat /etc/Wireless/RT5390STA/RT5390STA.dat
# cp ./os/linux/rt5390sta.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
# depmod -a
Then reboot. Wifi should be recognized by now.
Note: You’ll need to recompile the driver each time your kernel is updated.
Another glitch, CPU stepping (powersaving) was not enabled by default, I had to add the powernow-k8 module in the /etc/modprobe.preload
# nano /etc/modprobe.preload
add the line :
powernow-k8
If you don’t want to reboot, enable the module right away
# modprobe powernow-k8
Next, but sure the powernowd daemon is running.
# /etc/init.d/powernowd start
Then you can issue a
# cpufreq-info
What doesn’t work properly now and need more investigation :
The Touchpad (Synaptics)
Works OK except right-clicking. You have to use 2 fingers to right-click, which is not comfortable!
I need to look further on this issue. In the meantime, an USB mouse will do
Suspend-to-RAM
Is not 100% reliable.
Update 07/23/2011 : upgraded manually with ATI’s proprietary drivers Catalyst 11.6 ( Download link : http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English ).
Then created the file :
# nano /etc/pm/config.d/hpdm1
containing the line :
SUSPEND_MODULES="hp_accel lis3lv02d"
Thanks to the following documents for helping me isolate those problematic kernel modules :
http://fedoraproject.org/wiki/KernelCommonProblems#Suspend.2FResume_failure
https://wiki.ubuntu.com/DebuggingKernelSuspend
Now the suspend-to-ram should be 100% functional!
Suspend-to-disk
Doesn’t work. Most of the time, suspending would hang, or complete until the computer turns off, but when booting again, resuming is not taken into account.
Update 07/23/2011 : after applying the modifications above, suspend-to-disk goes through and turns off the computer, but *STILL* no resume. System cold boots with some fsck’ing. Still searching…
Feedback : Carmelo reports that the above modification works both for supend and hibernate on his Ubuntu 11.04 HP DM1 system! (he uses Catalyst 11.6 drivers too)
Updated 07/21/2011
Tried some other KDE distros :
PCLinuxOS 2011.07 MiniMe KDE (32 bits)
- Same issues as with Mageia (Wifi, touchpad, suspend), but expect some more problems with sound playback (sound in KDE but missing in Firefox and other apps. See solution here )
- ATI/AMD proprietary graphics driver by default.
- Overall a nice minimal KDE distro
OpenSUSE 11.4 (32bits, KDE)
- Same issues as Mageia (Wifi)
- ATI/AMD open-source (unaccelerated
) graphics driver by default (KDE 3D effects work too). But it’s very easy to install the proprietary fglrx driver, see here.
- Touchpad works out of the box! (that is, with the right-click working as expected. But no tapping?)
- Same problems with suspend-to-ram/suspend-to-disk, unfortunately.
Update 07/24/2011 : suspend-to-ram / suspend-to-disk : both work OK if you blacklist the two modules (see above) !
Kubuntu 11.04 (32bits)
- Wifi: sames as the other distros, plus annoying KDE Wallet asking for a password each boot with Network-Manager.
- ATI/AMD open-source (unaccelerated
) graphics driver by default (KDE 3D effects work too but very slow). Again it’s very easy to install the proprietary fglrx driver.
- Touchpad : same issues, no right click button (there’s a Synaptics configuration tool)
- Same problems with suspend-to-ram/suspend-to-disk, unfortunately.
Final conclusion as of 07/24/2011
OpenSUSE 11.4 wins! (suspend works with a little modification, touchpad works ok)
Again, feedback is really appreciated, even if you run another Linux distro on this hardware (or another model with the same hardware).
Update 10/18/2011 – BackTrack 5 64bits
KDE version, startx fails, be sure to check also : http://www.backtrack-linux.org/forums/backtrack-5-fixes/40286-bt5-kde-64bit-startx-problem.html
Problem : garbled, unusable screen when booting.
Solution : boot with the following kernel options (append them to the end of line) : nomodeset vga=normal nosplash
hello !
can you explain the whole manipulation to backup the hard drive (specially the restore partition) to another drive ?
thanks
Salut, ces 2 tutos t’expliqueront la marche à suivre mieux que moi :
http://protuts.net/sauvegarder-restaurer-image-disque-ghost-clonezilla/
http://www.fredzone.org/tutoriel-clonezilla-sauvegarde-restauration-disque-dur
pour ma part, j’ai sauvegardé le disque en entier (prévoir ~32Go de libre!). J’ai fait un test de restauration bien entendu, ça fonctionne
Merci pour ta réponse
backup de toutes mes partitions dans un seul fichier image : top
petite question : est ce que la mise en veille fonctionne avec Mageia ?
la mise en veille fonctionne pas terrible sur les distros que j’ai testé (veille sur disque ; ne marche pas du tout, veille en ram : aléatoire)
il me reste à essayer quelques autres distros (Fedora, Pardus, …) pour voir, sinon je vais rester sur l’OpenSUSE en attendant les prochaines versions
et toi, quelle distro envisages-tu?
ubuntu fonctionne pas mal du tout en version 11.04 … exceptée cette mise en veille foireuse
OpenSuse ça donne quoi ? Tu as installé quelle version ? (et en 32 ou 64 bits ?)
L’OpenSUSE, c’est la seule avec laquelle le Touchpad fonctionne correctement (click droit fonctionnel). C’est la 11.4 en 32bits (j’avais déjà téléchargé l’iso, mais j’aurais pu prendre la 64bits sinon)
Ok merci je vais télécharger ça et voir ce que ça donne !
pour le trackpad, j’utilise le clic à 2 doigts pour le clic droit (comme sur un mac)
sinon pour la mise en veille, ça viendrait des drivers graphiques proprios :
http://ubuntuforums.org/showthread.php?t=1744934
J’arrive pas à m’y faire, au clic droit avec 2 doigts
si tu testes la veille sans les drivers proprio merci du feedback!
oui oui je vais tester sans les drivers proprio dans la soirée :p
et aussi dans le lien que je t’ai donné, il est dit que le problème de mise en veille est corrigé dans la version 11.6 de catalyst … je l’ai téléchargé également, pour voir ce que ça donne !
FAO: AgentOS
and any other person with HP DM1 or clickpads…
I have also been running a very similar model sub-notebook featuring the AMD E-350 zygate processor
in my case HP DM1 3100SA (purchased new – May 2011)
For me, hardware support is the lowest common denominator (deciding factor) for choosing a gnu-linux distribution.
The factor with the least amount of support at this time appears to be that ‘dreaded’ synaptic clickpad.
I installed OpenSuse 11.4 ‘stable’ release 2 months ago to gain the best input device experience possible (outside of the windows supported environment).
I was of course disappointed by the lack of gesture support afforded to me by synaptic for the clickpad under linux as a non oem customer.
Seriously, prior to testing OpenSuse – I never though I would be so pleased (or rather relieved) just to be able to regain the essential functions of a standard ‘first-generation trackpad’ from any linux distribution – having taken that basic functionality for granted for years..
The ability to perform the most simplistic contextual functions of right click and drag and drop are worth far to me than a technologically immature implementation of multi-touch (for which application support is far from wide-spead or rather seriously lacking).
Missing out on the mirage of multi-touch ‘gestural bling’ by choosing linux is a worthwhile trade-off for avoiding the many pitfalls of windows .
From what I have read (possibly mis-interpreted) a regression in the synaptic clickpad’s support under linux is to be expected in later distributions or kernel releases (google “tumbleweed and clickpad”).
Oher problems with HP DM1 or Linux or both…
1) HDMI audio output does not appear possible at this time under linux – please let me know if you have achieved any success with that.
2) Some issues with delay in presenting shutdown confirmation due to linux ACPI bugs.
3) Some minor but persistent niggles relating to OpenSuse 11.4 repository support applications. Many programs available in 11.3 repository – are yet to be compiled for the 11.4 version.
4) I am unsure of whether OpenSuse is going to be maintained since primary sponsor Novel’s take-over by consorium led by Microsoft – who have demonstrated hostility towards open-source community distributions.
Please keep me posted of any success / failures with HP DM1 3xxx series
kind regards,
ddobson at fastmail.fm
Let’s hope OpenSuse continues. Although not my distro of choice, I was pleased to see they do a fine job (btw, just installed 12.1 milestone 3 on my DM1 and touchpad configuration out of the box has regressed, as you said, no more single right click)
And yes, I can live without “evolved” touchpad features too!
As for HDMI, I did not test it so far
The suspend to ram/to disk issues are more important in my book for a laptop
thanks for the feedback AgentOss,
I have tried out the ATI Catalyst drivers with the AMD E350 zycate
( HP DM1 3100 SA ) running a linux distribution called Element
( http://www.elementmypc.com/main/index.php )
Like you, I found the Catalyst 2D driver ver. 8.78.30 to appear to work very well (both video and composite graphic acceleration).
HOWEVER (and it this is a big problem)…
An obtrusive watermark with the AMD logo & message ‘Unsupported hardware’ was displayed in the lower right corner.
Have you or anybody else been able to avoid that watermark / support issues with latest Catalyst drivers and 2.6.38+ kernels?
NOTE:
if you are considering trying out element as a desktop OS for aforementioned synaptec clickpad support THEN DON’T.
Element does not provide any right clickpad fuction and shares the same limitations as Ubuntu 10.10 distributions on which it is based.
I only chose that particular distribution as a temporary measure – because a functional ClickPad was not a requirement (instead used Nintendo wiimote over bluetooth for remote mouse-pointer control).
Hi,
I have never seen the AMD watermark on all the distros I have tried with my netbook. Right now I am using Mageia still (I recommand it!) with Catalyst 11.5 (and with a small mouse!)
I see the Element distro is discontinued now!
I found the solution for the touchpad doing this:
mkdir tmpbuild
cd tmpbuild
wget http://david.hardeman.nu/synaptics-suse-patches.tar.bz2
apt-get source xserver-xorg-input-synaptics
cd xserver-xorg-input-synaptics-
cd debian
cd patches
tar xfvj ../../../synaptics-suse-patches.tar.bz2
ls -1 2*.patch >> series
cd ..
cd ..
sudo apt-get build-dep xserver-xorg-input-synaptics
dpkg-buildpackage -us -uc -rfakeroot
sudo dpkg -i ../xserver-xorg-input-synaptics__.deb
And then restart your X server
Salutes!
Thanks, will try that!
AgentOss and HP DM1 3100sa / E-350 Fusion users.
have you had any luck with Juboba’s above solution – either under Magiea (a mandriva fork) or any other distro with this hardware?
Juboba please confirm what hardware, distro (debian vanila?) and version did you use to achieve a fully working (drag-selectable) clickpad?
Other distros I have tried with HP DM1 3100sa
- (DISTROS I WOULD OTHERWISE PREFER TO FORGET) include the following…
Fedora 15 with kernel 3.0 and new ‘gimicky’ gnome interface
PearOS 2.0 with apple-mac style tweaks which go beyond the dock to feature multi-touch and gesture support (just not support for clickpad).
bodhi 1.2.1 featuring e17 enlightenment desktop with an interactive – all be it under-polished rip-off of apple’s ipad tablet interface.
At present I am trying to see if a respin of Opensuse 11.4 called Petite linux feat. e17 enlightenment could eventually provide what I want.
wish list is:
basic clickpad functionality – without clumsy work-arounds as per opensuse
a lightweight window manager (preferably e17),
and a tablet style interface (as per bodhi 1.2.1).
Has anybody here had any success transferring the e17 based tablet-profile/theme from bodhi linux over to petite linux (which also happens to run the e17 version of enlightenment)?
While I have both distros – I am not sure how to go about migrating the localised settings for this.
Perhaps it will be easier to learn how to get bodhi itself to boot past the plymouth bootsplash – and then also work out how to patch bodhi with Juboba’s fix for the clickpad?
Any advice on how to do either would be greatly appreciated.
- ddobson at fastmail.fm
GOOD NEWS regression reverted.
The clickpad now works a treat with the OpenSuse 12.1 distribution using both KDE and GNOME live installs.
On another subject,
I have a suspicion that the HP dm1′s UEFI default settings are somehow involved in screwing up some linux boot-ups – like the bodhi one.
Can anybody enlighten me on what HP implementation of UEFI does / whether it can be surpressed/modified without flashing firmware. Beyond pressing F9 and choosing external DVD to boot – I often end up obstructed by GRUB of the installed linux getting in the way of a live optical disc based boot (could just be crap hardware / connections dropping the dvd from the directed boot priority).
I still like the ‘web-portal’ approach to software distribution on bodhi and paired to the tablet profile (enlightenment e17 window manager) it can bring more readily accessible documented installation to the masses.
though this centralisation (dependence) as apoosed to multi-sourced approach of repos and mirrors (superior inter-dependence) could be a fools paradise eh?
Alas, I still have had no success booting on e-350 fusion system with bodhi 1.2.1 – and that for me would be an android system alternative worth considering for this sub-notebook.
Talking of foolish paradises – anybody here manged to run that google cloud platform android 4 ‘icecream’ on HP dm1 yet?
I have amd e-450 cpu and wifi is still not working and even the latest amd linux graphics driver is working
What is your wifi chipset? (try the command “lspci -v” in a shell)