!IMPORTANT

This page is WIP

This designation applies to a number of different configurations of laptop produced by HP, TM2 2000 series. This page applies to the following configuration:

Sub-components:

Overall Status

Core Components

[ATTACH]

sid (2012-05-10)

Boot Standard Kernel:

{OK}

{OK}

LAN network card:

{OK}

{OK}

Detect CD/DVD:

[-]

{OK} (external)

Detect hard drives:

{OK}

{OK}

Extra Features

CPU Frequency Scaling

[?]

[?]

Hibernation

[?]

[?]

Sleep / Suspend

[?]

[?]

Xorg

{i}

{OK}

- OpenGL

[?]

{OK}

- Resize-and-Rotate(randr)

[?]

[?]

Switch to External Screen

{OK}

{OK}

Mouse

- Built-in (Trackpad)

{OK}

{OK}

Capacitive Digitizer (touch-screen)

{OK}

{OK}

Wacom Digitizer (pen)

{OK}

{OK}

- Left-click on touch

{OK}

{OK}

- Right-click (button)

{OK}

{OK}

- Eraser

[?]

[?]

Modem

[-]

[-]

Wireless/Wifi

X-(

[OK]

Keyboard's Hotkeys

{OK}

{OK}

Legend :
{OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
{i} = Configuration Required; X-( = Only works with a proprietary driver

Important Note Before Starting

Here, we'll show all the steps you have to follow in order to install Debian.

First of all, you'll need an USB stick (formatted to FAT16). We need to convert such a device, in a bootable one. For making it, we have to download two files. One of them is boot.img.gz that you can get from http://debian.org/devel/debian-installer/ in the section "other images (netboot, usb stick, floppy, etc)". The other one, is a business card or a netinst image.

When you have downloaded them, we can proceed to make the next:

$ zcat /root/boot.img.gz > /dev/sdbX

(where sdbX should be changed for the correct device for you, maybe dmesg |tail when you insert the USB stick will help you).

When you have executed what I have stated above, then you have to copy either the business card or the netinst ISO image (just one of them ;-)). Doing this, our USB stick has become in a bootable device. You cannot copy a complete CD ISO, just netinst or business ones.

Note: If your system refuses to boot, try this:

# install-mbr /dev/sdb

(You need the mbr package: # aptitude install mbr)

(where sdb should be changed for the correct device for you, maybe dmesg |tail when you insert the USB stick will help you).

Now, you can proceed to boot your tm2 using the USB stick and proceed with the installation process. After installing Debian, I'd suggest you to boot again, in Rescue Mode, to change the file acpi-support which is in /etc/default directory. Look for the line number 92 and set SAVE_VBE_STATE to false. Doing this you will avoid the annoying white screen you get when the system tries to save such a state.

Configuration

Clock

Display

Create a xorg.conf file in /etc/X11/ like the attached one (page bottom).

Check to have these packages installed:

# aptitude search mesa | grep ^i
i   libgl1-mesa-dri                 - implementazione libera delle API di OpenGL 
i   libglu1-mesa                    - libreria Mesa OpenGL Utility (GLU)
i   mesa-utils                      - varie utilità di Mesa GL

# aptitude search xserver-xorg-video* | grep ^i
i A xserver-xorg-video-intel        - server X di X.Org - driver per display Int
i A xserver-xorg-video-radeon       - server X di X.Org - driver per display AMD

# aptitude search firmware-linux-nonfree
i   firmware-linux-nonfree                                        - Binary firmware for various drivers in the Linux kernel

If not install them

# apt-get install libgl1-mesa-dri libglu1-mesa mesa-utils xserver-xorg-video-intel xserver-xorg-video-radeon firmware-linux-nonfree

Set modeset=1 to radeon driver module (it should already be 1 by default):

# echo "options radeon modeset=1" > /etc/modprobe.d/radeon-kms.conf

Comment the i915 module configuration file:

# echo "#options i915 modeset=0" > /etc/modprobe.d/i915-kms.conf

Place these lines in /etc/default/grub

GRUB_GFXMODE=1280x800
GRUB_GFXPAYLOAD_LINUX=keep

and update grub

# update-grub

Place the line none /sys/kernel/debug debugfs defaults 0 0 in /etc/fstab with

# echo "none /sys/kernel/debug debugfs defaults 0 0" >> fstab

so you will have the file /sys/kernel/debug/vgaswitcheroo/switch, that will let you control your GPU cards.

For now use this guide http://asusm51ta-with-linux.blogspot.it/

Audio

Touchpad

It just works.

CPU Scaling

This is activated by default. To check it, use the cpufreq-info tool (in the cpufrequtils package). You can set the frequency governor with 'cpufreq-selector'; check http://www.kernel.org/doc/Documentation/cpu-freq/governors.txt for infos.

With laptop-mode-tools package you can automatically associate configurations to the battery/AC state of the laptop. You can install it with

# apt-get install laptop-mode-tools

It can be configured modifying /etc/laptop-mode/laptop-mode.conf, see man laptop-mode for infos.

To set the CPU scaling you can modify /etc/laptop-mode/conf.d/cpufreq.conf; infos with man laptop-mode. I've added these three lines:

BATT_CPU_GOVERNOR conservative
LM_AC_CPU_GOVERNOR ondemand
NOLM_AC_CPU_GOVERNOR performance

To apply changes without reboot use

/etc/init.d/laptop-mode restart

Network

Nothing to do!

WiFi

Follow this guide to install the wl module:

http://wiki.debian.org/wl

Resources

Attachments

xorg.conf

Section "Module"
        Load "radeon"
EndSection