Translation(s): none

(!) ?Discussion

DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware.

The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware.

If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware.

Model covered
HP 2133 Mini-Note PC
This designation applies to a number of different configurations of laptop produced by HP (2133). This page applies to the following configuration:

Sub-components :
- Processor: Via C7-M (1.2G)
- Video: VIA Chrome 9
- Screen size: 8.9"
- Wireless: Broadcom 802.11a/b/g; Bluetooth 2.0
- Disk: 120GB
- Ram 1028MB

Overall Status

Core Components

hp2133.png

Boot Standard Kernel:

{OK}

LAN network card:

{OK}

Detect CD/DVD:

[-]

Detect hard drives:

{OK}

Extra Features

CPU Frequency Scaling

[?]

Hibernation

[?]

Sleep / Suspend

[?]

Xorg

{i}

- OpenGL

[?]

- Resize-and-Rotate(randr)

[?]

Switch to External Screen

[?]

Mouse

- Built-in (Trackpoint)

[?]

Modem

[?]

Wireless/Wifi

X-(

Keyboard's Hotkeys

[?]

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

(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 HP mini 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

Audio

Touchpad

It just works.

Power Management

WiFi

This chapter is BAD advice. If the b43 doesn't work, a bug report should be issued. End users should not resort to workarounds like installing buggy 3rd party drivers.

Download the source from here.

Untar the file hybrid-portsrc-x86_32_5_10_27_6.tar.gz (hybrid-portsrc-x86_64_5_10_27_6.tar.gz if you’re running on a 64-bit kernel) in its own folder:

tar -xvzf hybrid-portsrc-x86_32_5_10_27_6.tar.gz

You should now see this in your directory listing:

hybrid-portsrc-x86_32_5_10_27_6.tar.gz

lib

Makefile

src

Now build the Loadable Kernel Module (LKM) like so:

make -C /lib/modules/`uname -r`/build M=`pwd`

Of course, you need to make sure you have all the required kernel headers before building it. Once that’s done, your directory listing should look like this:

built-in.o

hybrid-portsrc-x86_32_5_10_27_6.tar.gz

lib

Makefile

modules.order

Module.symvers

src

wl.ko

wl.mod.c

wl.mod.o

wl.o

The magic file we need is wl.ko. Make sure you don’t have b43, b43legacy or b43xx loaded by running this:

rmmod bcm43xx; rmmod b43; rmmod b43legacy

And for good measure remove ndiswrapper modules:

rmmod ndiswrapper 

Now load the module ieee80211_crypt_tkip:

modprobe ieee80211_crypt_tkip 

And finally load the wl.ko module:

insmod wl.ko 

Now if you do an ifconfig, you should see wlan0 right after your eth0 and lo devices. Yippee-kay-yay! Test it out by scanning and connecting to a network. If it works, then you might want your module to load upon boot, which is something the Broadcom readme doesn’t touch on. Let me school you how.

Copy the wl.ko file to /lib/modules/2.6.26-1-686/kernel/net/wireless/

cp wl.ko /lib/modules/2.6.26-1-686/kernel/net/wireless/ 

Create the module dependencies:

depmod -a

Try loading your new module!:

modprobe wl

If you get no error on modprobe, then it worked perfectly! Next you have to tell your system to load the module at startup. On my debian system, I do this by editing the file /etc/modules to include the following:

ieee80211_crypt_tkip

Now, reboot and you’ve got official Broadcom wifi goodness!

If you are using Debian Unstable, and you get this:

{{{ Feb 17 08:23:09 Polaris kernel: [ 2519.508098] b43-phy0 ERROR: Microcode not responding Feb 17 08:23:09 Polaris kernel: [ 2519.508117] b43-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and download the latest firmware (version 4).}}}

Download this two patches:

 $ wget http://www.broadcom.com/docs/linux_sta/wl_iw.patch 

 $ wget http://www.leprosys.net/files/broadcom-sta-5.10.79.10-linux-2.6.29.patch 

Then, you have to apply them:

 $ patch -p1 -d src/wl/sys < wl_iw.patch   $ patch -p1 -d src/wl/sys < broadcom-sta-5.10.79.10-linux-2.6.29.patch 

In the case you get problems applying the first patch, do it by hand.

After you are done, you have to proceed to build the module as It was shown above. The only difference in this case it is that you have to do

 modprobe lib80211_crypt_tkip 

Instead of

 modprobe ieee80211_crypt_tkip 

Modem


System Summary

lspci

00:00.0 Host bridge [0600]: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge [1106:0364]
00:00.1 Host bridge [0600]: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge [1106:1364]
00:00.2 Host bridge [0600]: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge [1106:2364]
00:00.3 Host bridge [0600]: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge [1106:3364]
00:00.4 Host bridge [0600]: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge [1106:4364]
00:00.5 PIC [0800]: VIA Technologies, Inc. CN896/VN896/P4M900 I/O APIC Interrupt Controller [1106:5364]
00:00.6 Host bridge [0600]: VIA Technologies, Inc. CN896/VN896/P4M900 Security Device [1106:6364]
00:00.7 Host bridge [0600]: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge [1106:7364]
00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8237/VX700 PCI Bridge [1106:b198]
00:02.0 PCI bridge [0604]: VIA Technologies, Inc. CN896/VN896/P4M900 PCI to PCI Bridge Controller [1106:a364] (rev 80)
00:03.0 PCI bridge [0604]: VIA Technologies, Inc. CN896/VN896/P4M900 PCI to PCI Bridge Controller [1106:c364] (rev 80)
00:0f.0 IDE interface [0101]: VIA Technologies, Inc. Device [1106:5372]
00:10.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev b0)
00:10.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev b0)
00:10.3 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev b0)
00:10.4 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 90)
00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VT8237S PCI to ISA Bridge [1106:3372]
00:11.7 Host bridge [0600]: VIA Technologies, Inc. VT8251 Ultra VLINK Controller [1106:287e]
00:13.0 Host bridge [0600]: VIA Technologies, Inc. VT8237A Host Bridge [1106:337b]
00:13.1 PCI bridge [0604]: VIA Technologies, Inc. VT8237A PCI to PCI Bridge [1106:337a]
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] [1106:3371] (rev 01)
02:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11a/b/g [14e4:4312] (rev 02)
07:03.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet [14e4:169c] (rev 03)
80:01.0 Audio device [0403]: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) [1106:3288] (rev 10)

lsusb

lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)'

Bus 004 Device 002: ID 04f2:b107 Chicony Electronics Co., Ltd 
  bDeviceClass          239 Miscellaneous Device
  bDeviceProtocol         1 Interface Association
  iProduct                1 
      (Bus Powered)
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  bDeviceClass            9 Hub
  bDeviceProtocol         0 Full speed (or root) hub
  iProduct                2 

Resources

Attachments

Xorg.conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection

Section "Device"
        Identifier      "Video Openchrome"
        Driver          "openchrome"
        BusID           "PCI:1:0:0"
        Screen          0
        Option "ActiveDevice" "LCD,CRT"
        Option  "ForceLCD"
        Option  "SWCursor" "True"
EndSection

Section "Monitor"
        Identifier      "Monitor LCD"
        VertRefresh     50.00-100.00                    # X11 discovery claim
        HorizSync       30.00-113.00                    # X11 discovery claim
        DisplaySize     193 116                         # Approximate
        UseModes        "HP-2133 LCD Modes"
        Option          "PreferredMode"         "1280x768-60.0"
        Option          "DPMS"
EndSection

Section "Modes"         # See also "HP-2133 Known Modes" at file end for others.
        Identifier      "HP-2133 LCD Modes"
        # Default mode "1024x600": 49.0 MHz, 37.3 kHz, 60.0 Hz
        Modeline "1280x768-60.0"   48.96  1280 1064 1168 1312  768 601 604 622 -hsync +vsync
        # Default mode "1024x512": 41.3 MHz, 31.9 kHz, 60.0 Hz
        Modeline "1024x512-60.0"   41.30  1024 1056 1160 1296  512 513 516 531 -hsync +vsync
        # Default mode "720x480": 26.7 MHz, 29.8 kHz, 60.0 Hz
        Modeline "720x480-60.0"   26.70  720 736 808 896  480 481 484 497 -hsync +vsync
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Monitor LCD"
        SubSection "Display"
                Modes  "1280x768" 
                Virtual 1280 768
                Depth  24
        EndSubSection
        Device          "Video Openchrome"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Keyboard0" "CoreKeyboard"
        InputDevice     "Configured Mouse" "CorePointer"
        InputDevice     "Synaptics Touchpad"
EndSection

Section "Extensions"
        Option "Composite" "true"
        Option "DAMAGE" "true"
EndSection

== Output of dmidecode ==

None

Kernel modules

(Output of lsmod) None used

Kernel .config

None.

Credits