HP2133

Differences between revisions 88 and 188 (spanning 100 versions)
Revision 88 as of 2009-02-02 23:29:35
Size: 41562
Editor: gate-ca119
Comment:
Revision 188 as of 2010-09-22 22:04:54
Size: 10747
Editor: ppp-94-66-138-204
Comment: Installs freeze before ending(about 79%)
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was copied from LaptopTestingTeam/Old/HP2133
## page was renamed from LaptopTestingTeam/HP2133
Line 11: Line 13:

== Current Issues ==

 * VIA has recently released a binary driver for Ubuntu 8.10 which adds support for video output to an external lcd. Please see /DisplayConfig810 for a full description of how to use the drivers.
<<BR>>
 * Launchpad HP2133 Related Info Quick Link: [[https://wiki.ubuntu.com/LaptopTestingTeam/HP2133?action=fullsearch&context=180&value=hp2133&titlesearch=Titles|HP 2133 QuickLink]]
 * Use Quick Link to find OLD HP2133 setup articles.
== Current Issues/News ==

 * This page being re-worked for a clean informative step by step guide to Ubuntu on the HP2133.

 * There are now VIA binary drivers available for Ubuntu 9.10 and 10.04 from the VIA Linux Portal. <<BR>>
       5.75.32.87a-u910-55689 for Ubuntu 9.10 (Released 04.08.2010) <<BR>>
       5.75.32.87a-u1004-55689 for Ubuntu 10.04 (Released 04.08.2010)

 * Due to video issues with some models, Ubuntu 10.04 LTS Alternate CD install is recommended. (Text Install)

 * Install/Boot may fail even using failsafe Vesa with the latest BIOS versions. <<BR>>
   (Blank screen or Screen corruption followed by lock up) <<BR>>
 It may be necessary to re-flash the BIOS with an earlier version (download these from the HP website). <<BR>>
 (Recommend BIOS Version F.04).


== Ubuntu 10.04 LTS Notes ==
VIA Binary Video Drivers Working. <<BR>>
CPU Scaling is supported with Ubuntu 10.04. <<BR>>
Webcam works out of the box (Webcam tested with Cheese & Skype). <<BR>>
Wifi works out of the box (Wifi drivers installed via Hardware Drivers Tool). <<BR>>
ALSA (Sound) drivers shipped with 10.04 require update from 1.0.21 to 1.0.23.

If you install from USB pen drive you may have problems mounting USB pen drives after install. <<BR>>
See this thread for more information on how to correct the problem: [[http://ubuntuforums.org/showthread.php?t=574988|Fix USB mounting]]


== Default Installs ==
Ubuntu - Works fine. <<BR>>
XUbuntu - Works fine.

UNR - The interface to Ubuntu Netbook Release performs poorly and NEEDS hardware acceleration to be usable. <<BR>>

== ALSA Update ==
The ALSA driver version 1.0.21 shipped with Ubuntu 10.04 causes the HP 2133 sound device (VT1708/A) to disappear shortly after boot. <<BR>>
If you have this issue, You will need to update ALSA drivers. <<BR>>
Please use the script from [[http://ubuntuforums.org/showthread.php?t=1046137|ALSA-Update]], to fix this issue.

== Microphone Fix ==
The microphone inputs on the HP2133 need to be remapped for loud and clear internal microphone usage. <<BR>>
We will map the Internal Microphone to Port C of the (VT1708/A) sound device.
<<BR>> <<BR>>
==== First we will set the sound chip pin configuration to "mobile". ====
Open a terminal and type.
{{{
    sudo gedit /etc/modprobe.d/alsa-base.conf
}}}

Add the line at the end of the file (Or modify any existing one).
{{{
    options snd_hda_intel model=mobile
}}}
Reboot to make this change take effect. <<BR>>
<<BR>>
==== Second we will map the microphone to port C. ====
The HDA-Verb tool is needed to do this. Download the latest version from [[http://kernel.org/pub/linux/kernel/people/tiwai/misc/hda-verb/|kernel.org]] <<BR>>
The following example shows how to download, extract and make (compile) the program. <<BR>>
Example, Open a terminal and type the following lines.
{{{
wget http://kernel.org/pub/linux/kernel/people/tiwai/misc/hda-verb/hda-verb-0.3.tar.bz2

tar -xvjf hda-verb-0.3.tar.bz2

cd hda-verb-0.3

make
}}}

Then copy it to your system.
{{{
sudo cp hda-verb /bin
}}}

Now you have hda-verb ready, You can map the Microphone.
{{{
sudo hda-verb /dev/snd/hwC0D0 0x15 SET_PIN_WIDGET_CONTROL 0x03a1
}}}
<<BR>>
==== Third, We will set Internal Mic & Capture levels. ====
Use amixer (or alsamixer/gnome-alsamixer) to set your Capture and Internal Mic levels. <<BR>>
{{{
amixer set "Internal Mic" 100
amixer set "Capture" 39
}}}

You can now test the Microphone with Sound Recorder or some similar Audio program. <<BR>>
(alsa mixer settings and hda-verb must be run each reboot) <<BR>>

==== Fourth, Map the Microphone on Bootup ====
We will edit rc.local so Mic is mapped on bootup. <<BR>>
Open a terminal and type.
{{{
    sudo gedit /etc/rc.local
}}}

Add the line at the end of the file.
{{{
hda-verb /dev/snd/hwC0D0 0x15 SET_PIN_WIDGET_CONTROL 0x03a1
}}}

Note, I'm unable to get "Internal Mic" volume to stick on reboot. <<BR>>
You have to manually set it with amixer, alsamixer or gnome-alsamixer each reboot. <<BR>>

Reference material: <<BR>>
[[http://www.analog.com/static/imported-files/data_sheets/AD1984A.pdf|Chip verb settings]] <<BR>>
[[http://kernel.org/pub/linux/kernel/people/tiwai/misc/hda-verb/|HD-Verb program]]




== 5.75.32.87a-u1004-55689 VIA Binary Video Drivers for Ubuntu (Released 04.08.2010) ==
The 5.75.32.87a-u1004-55689 drivers appear to install without issue. <<BR>>
Non-RandR configuration is working. <<BR>>
RandR configuration is not working. (Under Investigation) <<BR>>
Here is a sample Non-RandR xorg.conf file for LCD display only. <<BR>>
{{{
Section "ServerLayout"
       Identifier "Default Layout"
       Screen "Default Screen"
       InputDevice "Mouse"
       InputDevice "Keyboard"
 Option "RandR" "false"
EndSection

Section "Files"
# RgbPath "/usr/local/share/X11/rgb"
       ModulePath "/usr/lib/xorg/modules"
# FontPath "/usr/share/fonts/X11/misc/"
# FontPath "/usr/share/fonts/X11/TTF/"
# FontPath "/usr/share/fonts/X11/OTF"
# FontPath "/usr/share/fonts/X11/Type1/"
# FontPath "/usr/share/fonts/X11/100dpi/"
# FontPath "/usr/share/fonts/X11/75dpi/"
EndSection

Section "InputDevice"
       Identifier "Keyboard"
       Driver "kbd"
       Option "XkbRules" "xorg"
       Option "XkbModel" "pc105"
       Option "XkbLayout" "cn"
EndSection

Section "InputDevice"
       Identifier "Mouse"
       Driver "mouse"
       Option "CorePointer"
EndSection

Section "Monitor"
       Identifier "LCD"
       Option "Enable" "true"
EndSection

Section "Monitor"
       Identifier "CRT"
       Option "Enable" "false"
EndSection

Section "Monitor"
       Identifier "DVI"
       Option "Enable" "false"
EndSection

Section "Monitor"
       Identifier "TV"
       Option "Ignore" "true"
EndSection

Section "Monitor"
       Identifier "HDMI"
       Option "Ignore" "true"
EndSection

Section "Monitor"
       Identifier "CRT-2"
       Option "Ignore" "true"
EndSection

Section "Monitor"
       Identifier "LCD-2"
       Option "Ignore" "true"
EndSection

Section "Monitor"
       Identifier "DVI-2"
       Option "Ignore" "true"
EndSection

Section "Monitor"
       Identifier "TV-2"
       Option "Ignore" "true"
EndSection

Section "Device"
 BusID "PCI:01:00:0"
 Driver "via"
 VendorName "VIA Tech"
 BoardName "via"
 Identifier "Configured Video Device"
 Option "AccelMethod" "EXA"
 Option "MigrationHeuristic" "greedy"
 Option "ActiveDevice" "LCD"
EndSection

Section "Screen"
       DefaultDepth 24
       SubSection "Display"
# Virtual 2000 2000
              Modes "1280x768"
              Depth 24
       EndSubSection
       Identifier "Default Screen"
       Device "Configured Video Device"
EndSection

Section "Module"
      Load "glx"
      Load "dri"
      Load "extmod"
EndSection

Section "DRI"
       Group 0
       Mode 0666
EndSection

Section "Extensions"
 Option "Composite" "Enable"
EndSection

}}}
Line 16: Line 249:
 * OpenChrome driver not working

== Issues with 8.04.1 LTS ==
## List any issues you have with the current development release here
 * CPU Scaling '''(fix below)'''
 * Wireless NIC '''(works fine with ndiswrapper, and with the new Broadcom STA driver)'''
  * Native kernel driver b43.ko doesn't work (misses PIO support according to the logs)
  * b43.ko prevents machine from suspending by crashing
   * Quick fix to disable the problematic driver: echo 'blacklist b43' | sudo tee -a /etc/modprobe.d/blacklist
 * Correct audio driver not available (ADI SoundMax AD1984A)
  * Headphone jack detection doesn't work '''(fixed with ALSA 1.0.17)'''
  * Microphone jack and internal microphone not recognized '''(fixed with ALSA 1.0.17)'''
 * USB stick might not be mounted automatically '''(fix below)'''
 * Webcam is detected by UVC driver, but won't display image (green or black image displayed depending on application). Works fine in cheese.

'''Note:''' Both wireless NIC and audio driver (along with correct mixer and microphone input) work natively (no ndiswrapper required) out-of-the box with vanilla kernel 2.6.26-rc5. Wireless NIC alone works correctly with 2.6.25.4. If you decide to use this kernel, you're obviously missing VIA's binary unichrome driver, in that case you're left with openchrome which may be a usable alternative to some. You'll also need to recompile the out-of-tree Linux UVC driver by hand for the webcam to work if you use these kernels.

== System Info ==
## Put the output of the following commands here
## $ sudo dmidecode -s system-manufacturer
## $ sudo dmidecode -s system-product-name
## $ sudo dmidecode -s system-version

'''(KX868/9AT)'''

System: Hewlett-Packard HP 2133 F.02

Kernel Version: 2.6.24-19-generic

lspci:{{{
00:00.0 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M900 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M900 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M900 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M900 PCI to PCI Bridge Controller (rev 80)
00:03.0 PCI bridge: VIA Technologies, Inc. P4M900 PCI to PCI Bridge Controller (rev 80)
00:0f.0 IDE interface: VIA Technologies, Inc. Unknown device 5372
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237S PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. Chrome9 HC IGP (rev 01)
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
07:03.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
80:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
}}}

'''(KX872AA) (UK version)'''

Same as above, but: {{{
02:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)
}}}

'''Ubuntu 8.10 on Japanese "High-Performance Model"'''
{{{
00:00.0 Host bridge: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. CN896/VN896/P4M900 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. CN896/VN896/P4M900 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. CN896/VN896/P4M900 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. CN896/VN896/P4M900 PCI to PCI Bridge Controller (rev 80)
00:03.0 PCI bridge: VIA Technologies, Inc. CN896/VN896/P4M900 PCI to PCI Bridge Controller (rev 80)
00:0f.0 IDE interface: VIA Technologies, Inc. Device 5372
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev b0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237S PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] (rev 01)
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 02)
07:03.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)
}}}

== Hardware details ==

||<-8 tablewidth="75%"> '''HP 2133 Model Matrix''' ||
|| '''Model''' || '''CPU/FSB''' || '''RAM''' || '''Drive''' || '''WiFi''' || '''BT''' || '''OS''' || '''Remarks''' ||
|| '''KR922UT''' || 1.0/400 || 512MB || 4GB SSD || b/g || No || SUSE || ||
|| '''KX869AT''' || 1.2/800 || 1GB || 120GB || a/b/g || No || SUSE || ||
|| '''KX872AA''' || 1.2/800 || 1GB || 120GB || b/g || Yes || SUSE || UK ||
|| '''KX867AA''' || 1.2/800 || 1GB || 120GB || a/b/g || Yes || Vista || UK ||
|| '''KX868AT''' || 1.2/800 || 1GB || 120GB || a/b/g || No || Vista || ||
|| '''KR939UT''' || 1.2/800 || 1GB || 120GB || a/b/g || Yes || XP/Vista || ||
|| '''KR954UT''' || 1.6/800 || 1GB || 120GB || a/b/g || Yes || XP/Vista || ||
|| '''KX870AT''' || 1.6/800 || 2GB || 120GB || a/b/g || Yes || Vista || ||
|| '''KR948UT''' || 1.2/800 || 2GB || 160GB || a/b/g || Yes || XP/Vista || ||
|| '''KR964UT''' || 1.6/800 || 2GB || 160GB || a/b/g || Yes || XP/Vista || ||
|| '''"Standard Model"''' || 1.2/800 || 1GB || 120GB || b/g || No || Vista || Japan ||
|| '''"High-Performance Model"''' || 1.6/800 || 2GB || 160GB || a/b/g || Yes || Vista || Japan ||

||<-5 tablewidth="75%"> '''Screen & Monitors''' ||
||<|2> '''Device''' ||<-3> '''Works?''' ||<|2> '''Bug #''' ||
|| Hardy 8.06 LTS || Intrepid 8.10 Alpha 1 || Intrepid 8.10 ||
|| Screen || Yes || Yes || Yes || ||
|| Correct resolution? || Yes (1280x768) || Yes || Yes || ||
|| Correct refresh rate? || Yes (60 Hz) || Yes || Yes || ||
|| '''Graphics''' ||<-3> Chrome9 HC IGP || ||
|| 3D Acceleration || With VIA driver || No || No || ||
|| External monitor works? || Yes || Untested || Yes || ||
|| External monitor - mirrors || Yes || Untested || Yes || ||
|| External monitor - extend desktop || No || Untested || No || ||
||<-5> '''Power Management''' ||
|| Battery detected || Yes || Yes || Yes || ||
|| Hibernates || Yes || Untested || Yes || ||
|| Suspend || Yes || Untested || Yes || ||
|| Dim monitor on battery || Yes || Yes || Yes || ||
|| Blank monitor on inactivity || Yes || Untested || Untested || ||
|| Lid Close || Yes || Yes || Yes || ||
|| CPU frequency scaling || Yes (with fix) || No || Yes (with fix) || ||
|| '''Sound''' ||<-4> Appears as "HDA VIA VT82XX Sound Card (rev 10)" or "VT1708/A [Azalia HDAC] (rev 10)"; actually ADI SoundMax AD1984A||
|| Sound works? || Yes || || Yes || ||
|| Correct volume? || Yes || || Yes || ||
|| Hardware volume switch || Yes || || Yes || ||
|| Headphone jack || Yes || || Yes (without fix) || ||
|| Mic jack || Yes (with fix) || || Untested || ||
|| '''Wired Networking''' ||<-4> NetXtreme BCM5788 Gigabit Ethernet (rev 03) ||
|| Wired NIC || Yes || Yes || Yes || ||
|| '''Wireless Networking''' ||<-4> BCM4312 802.11a/b/g (rev 02) ||
|| Wireless NIC || Yes (with ndiswrapper) || No || Yes (Broadcom STA) || ||
|| ExpressCard NIC || Untested || Untested || Untested || ||
|| Firewire || Yes (With ExpressCard) || Untested || Untested || ||
|| Bluetooth || Yes || Untested || Yes || ||
|| Modem ||<-3> None || ||
|| Infrared ||<-3> None || ||
||<-5> '''Touchpad & Mice''' ||
|| Touchpad || Yes || Yes || Yes || ||
|| Touchpad - Doubletap = double click || Yes || Yes || Yes || ||
|| Touchpad - Scroll down side || Yes || Yes|| Yes || ||
|| Touchpad - On/Off Button || Yes || Yes || Yes || ||
|| External mouse - USB || Yes || Yes || Yes || ||
||<-5> '''Docking Station/Port Replicator''' ||
|| AC through replicator || Untested || || || ||
|| USB || Untested || Untested || || ||
|| Serial || Untested || Untested || || ||
|| Parallel || Untested || Untested || || ||
|| External Monitor - VGA || Untested || Untested || || ||
|| External Monitor - DVI || Untested || Untested || || ||
|| Modem || Untested || Untested || || ||
|| NIC || Untested || Untested || || ||
|| PS/2 || Untested || Untested || || ||
||<-5> '''Additional Hardware''' ||
|| Fingerprint reader ||<-3> None || ||
|| CD/DVD drive || USB External Works and is Bootable || Yes || USB External || ||
|| ExpressCard/54 || Yes || Untested || Untested || ||
|| SD Card Reader || Yes || Yes || Yes || ||

## Add or remove keys as needed for your laptop. Fill out action
||<-8 tablewidth="75%"> '''Function and other keys''' ||
||<|2> '''Fn key''' ||<|2> '''Operation''' ||<|2> '''Keycode''' ||<-3> '''Works?''' ||<|2> Bug # ||
|| Hardy 8.06 LTS || Intrepid 8.10 Alpha 1 || Intrepid 8.10 ||
|| + Space || || || || || || ||
|| + Esc || || || || || || ||
|| + F1 || Suspend || || Yes || || Yes|| ||
|| + F2 || Ext Monitor || || No || || No || ||
|| + F3 || Dim Screen || || Yes || || Yes || ||
|| + F4 || Brighten Screen || || Yes || || Yes || ||
|| + F5 || || || || || || ||
|| + F6 || Lock || || No || || No || ||
|| + F7 || || || || || || ||
|| + F8 || Mute || || Yes || || Yes || ||
|| + F9 || || || || || || ||
|| + F10 || Volume Down || || Yes || || Yes || ||
|| + F11 || Volume Up || || Yes || || Yes || ||
|| + F12 || || || || || || ||
|| + Pause || Break || || Untested || || || ||
|| + Scroll || Num Lock || || Untested || || Yes || ||
|| + Insert || Print Screen || || Yes || || Yes || ||
|| + Delete || Sys Rq || || Print Screen || || Print Screen || ||
|| + Arrow Up || Page Up || || Yes || || Yes || ||
|| + Arrow Down || Page Up || || Yes || || Yes || ||
|| + Arrow Left || Home || || Yes || || Yes || ||
|| + Arrow Right || End || || Yes || || Yes || ||
## ||<-> '''Other special keys''' ||
## ||<|2> '''Key''' ||<|2> '''Operation''' ||<|2> '''Keycode''' ||<-3> '''Works?''' ||<|2> Bug # ||
## || in Ubuntu 6.06 LTS || in Gutsy || in Hardy 8.06 LTS ||
## || ''KEY'' || || || Untested || Untested || Untested || ||
## === Notes ===
## Add any notes here

== How-To: Installing Ubuntu 8.10 from USB/SD Card on the HP 2133 Mini-Note ==

=== Pre-Boot ===

==== Installing from a USB/SD Flash Drive ====
  1. If an external CD/DVD drive is unavailable, you can also install from a USB Flash Drive or SD Card. The instructions below rely heavily on the instructions and converter file found on the [[http://www.pendrivelinux.com/2008/10/06/usb-ubuntu-810-install-from-windows-non-persistent/]] site and the previous how-to. Many thanks to the talented people on that site and the previous author. Check on the [[http://www.pendrivelinux.com|PenDriveLinux]] site for updates if you encounter difficulties with the converter file.

1. Ensure you have the following:

   * A Windows PC to run the conversion program
   * A downloaded copy of the Ubuntu 8.10 ISO image
   * A 1GB or larger USB flash drive or SD Card
   * [[http://www.pendrivelinux.com/downloads/Ubuntu810.exe|The PenDriveLinux converter file]]

1. Launch Ubuntu810.exe, which creates a folder named Ubuntu810.

1. Place the Ubuntu 8.10 ISO file in the Ubuntu810 folder. Click on the Ubuntu810.bat file (also within the Ubuntu810 folder) and follow the onscreen instructions. This step takes a while and you can check its progress by viewing the size of the casper directory (in the root directory of the USB stick/SD card) which is just under 700MB once complete.

1. Restart the computer and press F9, which will bring up the Boot Device menu. Select your USB flash drive or SD card and hit enter.

=== Base Installation ===
1. At the Ubuntu install menu select the help option, which will bring up the Boot Options line. Type <I>live xforcevesa</I> and hit enter. The installer will then load the kernel and begin the installation process. It is normal for the progress bar to freeze for a short period of time. Have patience.

1. Eventually you should hear the welcoming sounds of Ubuntu through the Mini-Note's speakers, and see the Intrepid Live session desktop. Wireless and wired networking is available at this point, if necessary. Double-click on the "Install" icon and follow the wizard through the subsequent screens, selecting your location and keyboard layout.

1. Step 4 will ask you how you'd like to partition the disk. If you're comfortable with losing everything currently on the disk, select "Guided - use entire disk". Otherwise, choose the option that makes the most sense for you. Ubuntu works just fine sharing the drive with a Windows install, and it will even read and write to your NTFS partition out-of-the box. REMEMBER - If you choose the entire disk, you will kill everything else on your hard drive. BACK UP FIRST! Continue through the wizard, filling in your user information, password and computer name. When you're sure you're ready to make changes to your hard-disk, hit "Install" on the final page.

1. The "Installing System" dialog will come up next. Grab a tasty beverage and watch the progress bar slowly creep across the screen. When installation is complete, hit Restart Now. The installer will prompt you to eject the CD, so it is now safe to remove the USB stick/ SD card. Press enter to restart your computer.

=== Video Driver Fix ===
There is extended info about the latest Via drivers and using external monitors here /DisplayConfig810. If you want to use Compiz or have full screen Flash working smoothly then you should try the latest Via 3D drivers - explained on /DiplayConfig810

With a fresh install of Ubuntu 8.10 the hp 2133 uses the wrong screen resolution. This can be fixed by editing your xorg.conf to look like this

(for FU339EA (XSVGA) see the next file):

{{{

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by reidy90, by copying correct settings from
# the xorg.conf that was provided with the SUSE hp 2133.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Device"
  BoardName "Framebuffer Graphics"
  Driver "vesa"
  Identifier "Device[0]"
  Screen 0
  VendorName "VIA Technology"
  Option "NoDDCValue"
  Option "ActiveDevice" "LCD,CRT"
  Option "PanelID" "3"
  Option "DisplayHardwareLayout" "LCD"
  Option "ForceLCD"
#[<bool>]
  Option "VideoOnDevice" "LCD"
# Option "LCDPort" "DVP0"
EndSection

Section "Monitor"
  DisplaySize 250 150
  HorizSync 28-500
  Identifier "Monitor[0]"
  ModelName "VIEWSONIC VA912-4SERIES"
  Option "DPMS"
  VendorName "VSC"
  VertRefresh 43-60
  UseModes "Modes[0]"
EndSection

Section "Modes"
  Identifier "Modes[0]"
  Modeline "1280x800" 120.33 1280 1368 1504 1728 800 801 804 839
  Modeline "1280x800" 118.88 1280 1368 1504 1728 800 801 804 839
  Modeline "1280x800" 116.21 1280 1360 1496 1712 800 801 804 838
# Modeline "1280x768" 114.53 1280 1360 1496 1712 768 769 772 806
# Modeline "1280x768" 113.01 1280 1360 1496 1712 768 769 772 805
# Modeline "1280x768" 111.63 1280 1360 1496 1712 768 769 772 805
  Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795 -HSync +Vsync
  Modeline "1024x768" 92.05 1024 1088 1200 1376 768 769 772 806
  Modeline "1024x768" 90.83 1024 1088 1200 1376 768 769 772 805
  Modeline "1024x768" 89.72 1024 1088 1200 1376 768 769 772 805
  Modeline "1280x600" 88.68 1280 1352 1488 1696 600 601 604 630
  Modeline "1280x600" 87.48 1280 1352 1488 1696 600 601 604 629
  Modeline "1280x600" 85.59 1280 1344 1480 1680 600 601 604 629
  Modeline "1024x600" 71.11 1024 1080 1192 1360 600 601 604 630
  Modeline "1024x600" 69.32 1024 1080 1184 1344 600 601 604 629
  Modeline "1024x600" 68.48 1024 1080 1184 1344 600 601 604 629
  Modeline "800x600" 55.22 800 840 928 1056 600 601 604 630
  Modeline "800x600" 54.47 800 840 928 1056 600 601 604 629
  Modeline "800x600" 53.80 800 840 928 1056 600 601 604 629
  Modeline "768x576" 50.62 768 808 888 1008 576 577 580 605
  Modeline "768x576" 49.92 768 808 888 1008 576 577 580 604
  Modeline "768x576" 49.32 768 808 888 1008 576 577 580 604
  Modeline "640x480" 34.80 640 672 736 832 480 481 484 504
  Modeline "640x480" 34.38 640 672 736 832 480 481 484 504
  Modeline "640x480" 33.90 640 672 736 832 480 481 484 503
EndSection

Section "Screen"
  SubSection "Display"
    Modes "1280x768"
  EndSubSection
  Device "Device[0]"
  Identifier "Screen[0]"
  Monitor "Monitor[0]"
EndSection

}}}
For hp Mini-Note 2133 FU339EA
discussed on [[http://forum.ubuntu-fr.org/viewtopic.php?pid=2332330#p2332330]]
{{{
# /etc/X11/xorg.conf for hp Mini-Note 2133 FU339EA ubuntu 8.10
# with ubuntu 8.04 change the PanelID option
# based on the xorg.conf published on hhttp://hp2133.umsw.de/xorg.conf

Section "Device"
    Identifier "Device 0"
    Driver "via"
    VendorName "VIA Technology"
    Option "NoDDCValue"
    Option "ActiveDevice" "LCD"
# Option "PanelID" "17" # si ubuntu 8.04
    Option "PanelID" "9" # si ubuntu 8.10
    Option "DisplayHardwareLayout" "LCD" #for chip (CX700, CX800) with LVDS/TMDS support. Not set for(CN896, CN700).
    Option "ForceLCD" "TRUE"
     Option "Refresh" "60"
EndSection

Section "Monitor"
     Identifier "Monitor 0"
     DisplaySize 196 116
     HorizSync 28-50
     VertRefresh 43-60
     Option "DPMS"
    # mode "1024x600": 49.0 MHz, 37.3 kHz, 60.0 Hz
     Modeline "1024x600_60" 48.96 1024 1064 1168 1312 600 601 604 622 -hsync +vsync # http://hp2133.umsw.de/xorg.conf
    # mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
    Modeline "800x600_60" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
    # mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
    Modeline "800x600_56" 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync
    # mode "800x480": 40.0 MHz, 37.9 kHz, 60.3 Hz
    Modeline "800x480_60" 40.00 800 832 960 1056 480 541 545 628 -hsync +vsync
    # mode "720x576": 32.7 MHz, 35.9 kHz, 60.1 Hz
    Modeline "720x576_60" 32.70 720 744 816 912 576 577 580 597 -hsync +vsync
EndSection

Section "Screen"
Identifier "Screen 0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "1024x600_60" "800x600_60" "800x600_56" "800x480_60" "720x576_60"
    EndSubSection
    SubSection "Display"
        Depth 32
        Modes "1024x600_60" "800x600_60" "800x600_56" "800x480_60" "720x576_60"
    EndSubSection
    Device "Device 0"
    Monitor "Monitor 0"
EndSection

Section "Device"
     Identifier "Device 1"
    BoardName "Chrome9 HC IGP"
    Driver "via"
    Option "DeviceSwitchHotkey" # si écran externe
        Option "MergedFB" "TRUE"
EndSection

Section "Monitor"
     Identifier "External"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "Screen 1"
    Device "Device 1"
    Monitor "External"
    Subsection "Display"
        Depth 24 # Depth 16 broke
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Screen 0"
    Screen "Screen 1"
    Option "RandR" "False" # d' après viax.conf via
EndSection
}}}
The first file was made by copying select lines of the xorg.conf that was provided with the SUSE version of the hp 2133. To edit your xorg.conf:
 * I recommend making a backup first. Press Alt F2 and type "gksu cp /etc/X11/xorg.conf /etc/X11/xorg.bak" Press enter and type your password.
 * Press Alt F2 again and type "gksu gedit /etc/X11/xorg.conf" Press Enter. Type your password.
 * Replace the existing configuration with the configuration above. Save and Exit.
 * Restart Ubuntu to see the changes.

Note: Upon restarting you may have to go into System > Preferences > Screen Resolution and manually select the size of 1280x768. (The native screen resolution)

The vesa driver works well for most tasks, however it does not support an external display. Via provides binary frame buffer (will not enable compiz effects) at [[http://linux.via.com.tw/support/downloadFiles.action| this site]]. Select Ubuntu 8.10 and download the package (desktop is fine).
 * Right click the downloaded file and click "Extract here"
 * Go into the newly extracted folder and right click via.ko. Select copy.
 * Press Alt F2 and type "gksu nautilus". Press Enter. Type your password.
 * Navigate to /usr/lib/xorg/modules/drivers and Paste the file in the directory.
 * Close nautilus.
 * Press Alt F2 and type "gksu gedit /etc/X11/xorg.conf" Press Enter. Type your password.
 * Edit "Driver" under the "Section Device" to read "via" instead of "vesa." Save and exit.

Note: Using the via driver without explicitly defining the screen modes and refresh rates results in strange cycling colours. However it does work with the xorg.conf as provided above.

== How-To: Installing Ubuntu 8.04.1 from CD on the HP 2133 Mini-Note ==

=== Tested Configuration ===
  The specific model tested for this Wiki was the KX869AT, which arrived with SUSE Linux Enterprise Desktop 10.1 pre-installed. These instructions should work for the KX868AT without modification. Other models of HP 2133 have slightly different hardware.

=== Disclaimer ===
  The following instructions assume a complete install of Ubuntu 8.04 LTS (Hardy Heron) from scratch. Be sure to back up any data you feel is important. The following instructions have been kept as simple as possible to appeal to the widest audience.

=== Pre-Boot ===

==== Installing from an external CD/DVD Drive ====
  1. If you have one available, installing from an external CD/DVD drive is the simplest installation method. Download a copy of Ubuntu 8.04.1 Hardy Heron and burn the image to an installation CD. Connect an external CD/DVD drive to the USB port and load the installation CD.

  1. Put your finger somewhere close to the F9 key, because the Mini-Note's BIOS options pass quickly. Start or restart the computer and press F9, which will bring up the Boot Device menu. Select your CD/DVD drive and hit enter.

==== Installing from a USB/SD Flash Drive ====

  1. If an external CD/DVD drive is unavailable, you can also install from a USB Flash Drive or SD Card. The instructions below rely heavily on the instructions and converter file found on the [[http://www.pendrivelinux.com/2008/04/09/usb-ubuntu-804-installation-from-windows/|PenDriveLinux]] site. Many thanks to the talented people on that site. Check there for updates if you encounter difficulties with the converter file.

  1. Ensure you have the following:

   * A Windows PC to run the conversion program
   * A downloaded copy of the Ubuntu 8.04.1 ISO installation file
   * A 1GB or larger USB flash drive or SD Card
   * [[http://www.pendrivelinux.com/downloads/Ub8convert2.exe|The PenDriveLinux converter file]]

  1. Launch Ub8convert2.exe, which creates a folder named Ubuntu8.
  
  1. Place the Ubuntu 8.04 ISO file in the Ubuntu8 folder. Click the fixu8.bat file (also within the Ubuntu8 folder) and follow the onscreen instructions.

  1. Once you've created your bootable USB drive or flash card, open it up in Windows Explorer. You should see a file named 'syslinux.cfg' in the root of the drive. Open the file in a text editor and scroll down near the bottom, where you'll find the the line: {{{
ALLOWOPTIONS 0
}}}

  Change this to: {{{
ALLOWOPTIONS 1
}}}

  This will allow you to properly configure your video settings on initial startup.

  1. Connect your USB flash drive or SD card to your Mini-Note. Put your finger somewhere close to the F9 key, because the Mini-Note's BIOS options pass quickly. Start or restart the computer and press F9, which will bring up the Boot Device menu. Select your USB flash drive or SD card and hit enter.


=== Base Installation ===
  1. When the language menu comes up, select your preferred tongue and hit enter. At the Ubuntu install menu hit F6, which will bring up the Boot Options line. Add the word ''xforcevesa'' at the end of the line and hit enter. The installer will then load the kernel and begin the installation process. It is normal for the progress bar to freeze for a short period of time. Have patience.

  1. Eventually you should hear the welcoming sounds of Ubuntu through the Mini-Note's ample speakers, and see the Hardy Live session desktop. While wireless networking is not available at this point, you should be able to connect to the internet through a wired ethernet connection if necessary. Double-click on the "Install" icon and follow the wizard through the subsequent screens, selecting your location and keyboard layout.

  1. Step 4 will ask you how you'd like to partition the disk. If you're comfortable with losing everything currently on the disk, select "Guided - use entire disk". Otherwise, choose the option that makes the most sense for you. Ubuntu works just fine sharing the drive with a Windows install, and it will even read and write to your NTFS partition out-of-the box. '''REMEMBER''' - If you choose the entire disk, you will kill everything else on your hard drive. BACK UP FIRST!

  Continue through the wizard, filling in your user information, password and computer name. When you're sure you're ready to make changes to your hard-disk, hit "Install" on the final page.

  1.#4 The "Installing System" dialog will come up next. Grab a tasty beverage and watch the progress bar slowly creep across the screen. When installation is complete, hit ''Restart Now''. The CD should eject, and remove it from the tray/slot at this time. Press enter to restart your computer.

=== Drivers and Fixes ===

  1. As Ubuntu starts for the first time you may see some video artifacts from forcing the vesa video driver. You should still get a clear Ubuntu login screen and your speakers should work right from the start. Log in with the user you created during the install process. It's probably not a bad idea to run the Update Manager (System > Administration > Update Manager) to check for the latest security patches and bug fixes. Reboot if necessary. DO NOT run the Hardware Drivers wizard (the little green computer board icon) to update the firmware on your wireless. It won't work and it'll cause more problems than it fixes.

  1. '''Video Driver Installation''' -- VIA now provides Ubuntu-ready video drivers for the HP 2133 at [[http://linux.via.com.tw/support/downloadFiles.action|this site]]. Wireless Networking is still not working, so use an ethernet connection to connect to the internet. If you have no ethernet connection, you'll need to go to the "Wireless Driver" section below and set up your wireless card before continuing.

  1. Open up Firefox and head to the VIA website at the link above. Once there, be sure to select "Ubuntu 8.04 LTS" instead of "SUSE Linux Enterprise 10 SP1" in the "OS" selection box. Click on the first GFX driver link (Stable) and save the file somewhere you'll remember it. Firefox will save it to the desktop by default. Next, you'll need to download the new [[attachment:xorg.conf]] file. Save it somewhere convenient, like the desktop.

  1. Double-click on the downloaded file, and in the window that appears click the "Extract" button. Again select somewhere that makes sense (the Desktop is fine) and click "Extract" at the bottom right of the dialog. Close any remaining windows and open Terminal, in '''Applications > Accessories > Terminal'''. Assuming you extracted the driver folder to the desktop, type: {{{
cd ~/Desktop/chrome9.83-242-u804/
sudo ./vinstall
}}}
 
  1. Be sure to use the appropriate "chrome9..." folder name for your driver version. Before the new video will work, you'll have to make a couple more tweaks. Don't restart yet!

  1. '''Video and CPU Scaling Fixes''' -- Back in Terminal, type the following:{{{
sudo gedit /boot/grub/menu.lst
}}}
  This will bring up the grub boot menu configuration file. Scroll to the bottom of the file and you'll find several boot options. Go to the first, titled "Ubuntu 8.04.1, kernel 2.6.24-19-generic" and in the "kernel" line, delete "xforcevesa". In its place, type: {{{
acpi_osi="!Windows 2006"
}}}
  This will enable CPU speed scaling, helping preserve the Mini-Note's already limited battery life. For more information about this bug (which is in the kernel, and not specific to the Mini-Note) see [[https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/177076|this link]]. Save the file and exit gedit.

  1.#7 Remember where you put the replacement xorg.conf file, because we'll back up and overwrite the old one next. Assuming you saved the new unpackaged xorg.conf file to your desktop, type: {{{
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.old
sudo cp ~/Desktop/xorg.conf /etc/X11/xorg.conf
}}}
  When that successfully completes, reboot your machine.

  '''Warning:''' it is possible that the VIA driver could cause some [[https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/236201|strange quirks]], such as such as making Rhythmbox Music Player unable to play MP3 without visualization!

  1.#8 '''Wireless Driver''' -- The new Broadcom STA driver works well for the BCM4312, and should work fine for different antennas in other models. However, it seems the Broadcom STA cannot connect to access points with hidden SSIDs. If you don't want to use restricted (closed-source) drivers, or you need to connect to a hidden SSID, ndiswrapper works fine. The below instructions were taken from the excellent tutorial [[https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff|here]].

  '''Notify'''! Make sure that the radio is not disabled from bios. Ohterwise wlan will not work (the device is detected, though)

  NOTE - If you have the 4GB SSD version of the Mini-Note, you may need a different driver! See the "Wireless Networking" section below.



   a. '''Update your apt repositories''' {{{
sudo apt-get update
}}}

   a. '''Install NDISWrapper and Blacklist Native Driver''' {{{
echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist
sudo apt-get install ndiswrapper-utils-1.9
}}}

   a. '''Download and Extract the sp38766 Drivers''' {{{
mkdir ~/bcm43xx; cd ~/bcm43xx
sudo apt-get install cabextract}}} {{{
wget ftp://ftp.hp.com/pub/softpaq/sp38501-39000/sp38766.exe
cabextract sp38766.exe
}}} If you have problems accessing hp's web site try ftp.compaq.com

   a. '''Configure NDISWrapper and WPA Supplicant''' {{{
sudo ndiswrapper -i bcmwl5.inf
ndiswrapper -l
sudo depmod -a
sudo modprobe ndiswrapper
sudo cp /etc/network/interfaces /etc/network/interfaces.orig
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
sudo ndiswrapper -m
echo 'ndiswrapper' | sudo tee -a /etc/modules
echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant
}}} Careful about line wrapping on the next bit of code. You should copy and paste everything in the box before running -- it is one long command. {{{
echo -e '#Hardy ssb/ndiswrapper workaround, added' `date` '\ninstall ndiswrapper modprobe -r b43 b44 b43legacy ssb; modprobe --ignore-install ndiswrapper $CMDLINE_OPTS; modprobe ssb; modprobe b44;' | sudo tee -a /etc/modprobe.d/ndiswrapper
}}}

   a. Reboot.

  1.#9 '''Audio Driver''' -- Out of the box, the default Ubuntu 8.04.1 install leaves you without functioning microphones or headphone jack sensing. Follow the steps below and you should be able to get them working without too much trouble.

   a. Open a terminal window and type: {{{
sudo apt-get install build-essential
}}} This will ensure you have the tools to compile your new sound architecture. Leave it open, you'll need it again soon.

   a. Open up your web browser and download the latest ALSA Development Release ('''alsa-driver-1.0.17''') from [[http://www.alsa-project.org/main/index.php/Download|the ALSA Project]]. Save it to the desktop.

   a. Back in the terminal, type: {{{
cd ~/Desktop
cd alsa*
./configure --with-cards=hda-intel
make
sudo make install
}}}

   a. The sound drivers install to the wrong place, so next you'll type the following commands. If you're using a different version of the kernel, put that in place of 2.6.24-19-generic: {{{
cd /lib/modules/2.6.24-19-generic
sudo cp -a kernel/sound/* ubuntu/sound/alsa-driver/
}}}

   a. Finally, you'll have to tell the system to use the new drivers. In terminal, type: {{{
sudo gedit /etc/modprobe.d/alsa-base
}}} This will bring up a text editor. Scroll to the bottom of the file and add the line: {{{
options snd-hda-intel model=laptop
}}}

   a. Reboot. Your sound should work from this point on. You can configure your input levels if you'd like, using the command line program ''alsamixer''.


=== What's Left? ===

==== Video Quirks ====
 * After the 2.6.24-17 kernel update, the Via video driver crashes if you attempt to enable 3D effects in Compiz. To enable them using earlier kernel versions, you have to run the following commands:{{{
sudo gedit /usr/bin/compiz
}}} Find the line that says: {{{
WHITELIST="nvidia intel ati radeon i810 fglrx"
}}} and change it to: {{{
WHITELIST="nvidia intel ati radeon i810 via"
}}} Save the file, close gedit and go back to the Terminal.

 * Additionally under 2.6.24-16, the video card and VIA driver have some limitations. In anecdotal testing, you can either enable Compiz 3D desktop effects OR watch video, but not both. Expect occasional 3D effects crashes to a standard 2D desktop.

 * With Compiz disabled Skype video works (although with no microphone input) but as soon as the "picture in picture" view comes up the video gets corrupted. Playback of remote video is fine with local video disabled, but this will be an issue for some.

==== Wireless Networking ====

 Issues have been noted with the lowest and highest-end versions of the HP 2133.

  * The 4GB SSD version has a slightly different wireless card which doesn't include 802.11a. If you're having difficulties with wireless after using this wiki, please report them in the Mini-Note forum thread [[http://ubuntuforums.org/showthread.php?t=749693|here]].

  * The KX875AA (1.6GHz, 2GB RAM, 160GB HDD) is having anectodal networking issues with the stock install above, particularly on Kubuntu. While KNetworkManager is suspected, this is far from confirmed at this point.

  * KX872AA (1.2GHz, 1GB RAM, 120GB HDD, UK version) users who can't get wireless to work via ndiswrapper using the above driver and instructions may want to try installing the bcmwl5.inf driver from the [[http://ftp.us.dell.com/network/R174291.exe|R174291.exe driver package]] from Dell's website instead (ndiswrapper -r bcmwl5, then unzip .exe file and then install the bcmwl5 driver in the DRIVER_ROW directory in the same way as described above)

==== Installing an ExpressCard ====

 * ExpressCard/34 and ExpressCard/54 have been successfully tested after following the instructions [[https://help.ubuntu.com/community/ExpressCard|here]]. Briefly, after plugging the ExpressCard into the slot, you may have to enable it via this command: {{{
sudo modprobe pciehp pciehp_force=1
}}}

 Troubleshooting instructions can be found by following the link above. Cards successfully tested include:

  * FireWire - ADS PYRO1394a ExpressCard/34 (Part Number API-650)

  To enable video capture (for programs like Kino) you have to grant read-write permission to /dev/raw1394: {{{
$ sudo chmod +rw /dev/raw1394
}}}

  * SmartCard - GEMPLUS GemPC Express Compact SmartCard Reader (ExpressCard/54)

  Instructions on SmartCard reader setup can be found [[https://help.ubuntu.com/community/CommonAccessCard|here]] and are too extensive for this wiki.
==== Automatically mount USB stick ====
  Fix can be found [[http://ubuntuforums.org/showthread.php?t=574988|here]].

==== Different panel sizes ====
  If you have a different physical display size (say, the display can handle 1024x600), change the PanelID value in "Device" section of xorg.conf.
  Correct PanelID value for 1024x600 is 17 (add the following line to xorg.conf)

  {{{
    option "PanelID" "17"
  }}}

  In Ubuntu 8.10 (and newer Via driver) this is not needed.

==== Additional Info ====
  The various forum posts below are good places to watch for the solution to this and other quirks. If you find solutions, please update this Wiki.


== Helpful Links ==
 * [[http://ubuntuforums.org/showthread.php?t=749693|HP Compaq 2133 Mini-Note PC thread from Ubuntu Forums]]
 Without this I would never have been able to get my Mini-Note up and running. Most of the tricks in the Installation How-To come from the talented folks in that thread. Thank you.
 * [[http://linux.via.com.tw/support/downloadFiles.action|VIA Graphics Driver Download Page]]
 * Correct [[attachment:xorg.conf]] File
 * [[attachment:alsa-driver-1.0.16_linux-headers-2.6.24-16-generic-1_i386.deb]] Modified ALSA Sound Driver
 * [[https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/177076|Hardy CPU Scaling Bug]]
 * [[https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff|WiFi Driver with ndiswrapper]]
 * Information about the new linux Driver released by Broadcom. I've verified it working consistently with the 4GB SSD version [[http://ubuntuforums.org/showthread.php?t=880218]]
 * [[http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=321957&prodSeriesId=3687084&swItem=ob-60382-1&prodNameId=3687085&swEnvOID=2020&swLang=8&taskId=135&mode=4&idx=0|HP 2133 Mini-Note PC - SLED 10.1 Source RPMs]]

=== Other links (not necessarily from Ubuntu community or HP) ===
 * Ubuntu [[http://forums.mininoteuser.com/viewforum.php?f=11&sid=3694fe1bf12fe8e44ab59258baa45865|forum]] on Mini-Note user site. Includes pre-packaged Mini-note specific Minbuntu
 * 'Other' Linux [[http://www.hp2133guide.com/forums/viewforum.php?f=8&sid=5d5c6b315ab9566a5e193b2d4bbf28b0|forum]] at HP 2133 Guide
 * Liliputing posts on [[http://www.liliputing.com/search/label/minbuntu|Minbuntu]] and [[http://www.liliputing.com/search/label/ubuntu|Ubuntu]] (NB this site includes other machines besides Mini-note such as EEE PC)
 * Gentoo HP 2133 hardware [[http://gentoo-wiki.com/HARDWARE_HP_2133_Mini-Note_PC|Howto]]

----
CategoryLaptop






== User Related Comments (Some issues may be resolved) ==
VIA Video Binaries MUST be used for a pleasant experience.

There are minor problems as follows: <<BR>>

Known issues:
 * [[https://bugs.launchpad.net/netbook-remix/+bug/358793|358793]] - UNR jaunty: Slow menu interface, high CPU load
 * [[https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/233920|233920]] - Sleep on lid close work only 1 time

Fix available for issues:

 * [[https://bugs.launchpad.net/ubuntu/+bug/359291|359291]] - Broadcom wi-fi card doesn't work after suspend/hibernate
 * [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/355918|355918]] - resolution problem starting X with the wlan network controler activated - Fixed in Karmic Koala in openchrome 1:0.2.903+svn758-0ubuntu1

[Dirk-Heine Hofstede] I installed it at my HP mini-note 2133, and except that the UNR interface reacts slow ([[https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-openchrome/+bug/358793|workaround available]]) I didn't encounter any problems so far. My wi-fi card just ran normal and made connection again after I woke my mini up(I have done this only once yet). I didn't use the build in microphone yet, so I can't say anything about that.

[Dipock Das] I also installed it on my HP mini-note 2133 and did not have any problems. The WIFI runs fine even after suspend/hibernate.

[lean-mini] I updated my Ubuntu 9.04 Jaunty Karmic Koala to 9.10, the update ran alone, and why in a moment I switched off the wifi, data was saved and reconnect everything was running fine.
While at first the touchpad was a little stuck, restarting solved the little problem. Although in the beginning you could hear the sound of drums, then do not reproduced sound. Just an update with the manager and reboot for this to be solved (or at least it happened to me, not if related). Everything is working well. More info http://ubuntuforums.org/showthread.php?t=1312633&highlight=2133

[ Oz''Falcon ]
A flawless 10.04 Alternate CD install using external usb cd drive. <<BR>>
The Broadcom Wi''Fi appeared to lock up the system when trying to do initial updates. <<BR>>
This was resolved by temporally disabling the Wi''Fi (Slide button so led is orange), And immediately installing Broadcom STA drivers (Via the hardware drivers utility) <<BR>>
Video playback, resize & fullscreen works well using 5.75.32.87a-u1004-55689 VIA Binary Video Drivers. <<BR>>
No 3d using 5.75.32.87a-u1004-55689 VIA Binary Video Drivers in Non-Rand Mode. (Under Investigation) <<BR>>

[vagrale13] If try to install Ubuntu 10.04.1 LTS and freeze before ending(about 79%), then must be start again the install and add to boot options acpi=off <<BR>>
  • Contact: HP2133 Contact Needed
  • Make: Hewlett-Packard
  • Brand: Mini-Note
  • Model: 2133
  • Website: HP 2133 Mini-Note


  • Launchpad HP2133 Related Info Quick Link: HP 2133 QuickLink

  • Use Quick Link to find OLD HP2133 setup articles.

Current Issues/News

  • This page being re-worked for a clean informative step by step guide to Ubuntu on the HP2133.
  • There are now VIA binary drivers available for Ubuntu 9.10 and 10.04 from the VIA Linux Portal.

    • 5.75.32.87a-u910-55689 for Ubuntu 9.10 (Released 04.08.2010)
      5.75.32.87a-u1004-55689 for Ubuntu 10.04 (Released 04.08.2010)

  • Due to video issues with some models, Ubuntu 10.04 LTS Alternate CD install is recommended. (Text Install)
  • Install/Boot may fail even using failsafe Vesa with the latest BIOS versions.

    • (Blank screen or Screen corruption followed by lock up)

    It may be necessary to re-flash the BIOS with an earlier version (download these from the HP website).
    (Recommend BIOS Version F.04).

Ubuntu 10.04 LTS Notes

VIA Binary Video Drivers Working.
CPU Scaling is supported with Ubuntu 10.04.
Webcam works out of the box (Webcam tested with Cheese & Skype).
Wifi works out of the box (Wifi drivers installed via Hardware Drivers Tool).
ALSA (Sound) drivers shipped with 10.04 require update from 1.0.21 to 1.0.23.

If you install from USB pen drive you may have problems mounting USB pen drives after install.
See this thread for more information on how to correct the problem: Fix USB mounting

Default Installs

Ubuntu - Works fine.
XUbuntu - Works fine.

UNR - The interface to Ubuntu Netbook Release performs poorly and NEEDS hardware acceleration to be usable.

ALSA Update

The ALSA driver version 1.0.21 shipped with Ubuntu 10.04 causes the HP 2133 sound device (VT1708/A) to disappear shortly after boot.
If you have this issue, You will need to update ALSA drivers.
Please use the script from ALSA-Update, to fix this issue.

Microphone Fix

The microphone inputs on the HP2133 need to be remapped for loud and clear internal microphone usage.
We will map the Internal Microphone to Port C of the (VT1708/A) sound device.

First we will set the sound chip pin configuration to "mobile".

Open a terminal and type.

    sudo gedit /etc/modprobe.d/alsa-base.conf

Add the line at the end of the file (Or modify any existing one).

    options snd_hda_intel model=mobile

Reboot to make this change take effect.

Second we will map the microphone to port C.

The HDA-Verb tool is needed to do this. Download the latest version from kernel.org
The following example shows how to download, extract and make (compile) the program.
Example, Open a terminal and type the following lines.

wget http://kernel.org/pub/linux/kernel/people/tiwai/misc/hda-verb/hda-verb-0.3.tar.bz2

tar -xvjf hda-verb-0.3.tar.bz2 

cd hda-verb-0.3

make

Then copy it to your system.

sudo cp hda-verb /bin

Now you have hda-verb ready, You can map the Microphone.

sudo hda-verb /dev/snd/hwC0D0 0x15 SET_PIN_WIDGET_CONTROL 0x03a1


Third, We will set Internal Mic & Capture levels.

Use amixer (or alsamixer/gnome-alsamixer) to set your Capture and Internal Mic levels.

amixer set "Internal Mic" 100
amixer set "Capture" 39

You can now test the Microphone with Sound Recorder or some similar Audio program.
(alsa mixer settings and hda-verb must be run each reboot)

Fourth, Map the Microphone on Bootup

We will edit rc.local so Mic is mapped on bootup.
Open a terminal and type.

    sudo gedit /etc/rc.local

Add the line at the end of the file.

hda-verb /dev/snd/hwC0D0 0x15 SET_PIN_WIDGET_CONTROL 0x03a1

Note, I'm unable to get "Internal Mic" volume to stick on reboot.
You have to manually set it with amixer, alsamixer or gnome-alsamixer each reboot.

Reference material:
Chip verb settings
HD-Verb program

5.75.32.87a-u1004-55689 VIA Binary Video Drivers for Ubuntu (Released 04.08.2010)

The 5.75.32.87a-u1004-55689 drivers appear to install without issue.
Non-RandR configuration is working.
RandR configuration is not working. (Under Investigation)
Here is a sample Non-RandR xorg.conf file for LCD display only.

Section "ServerLayout"
       Identifier       "Default Layout"
       Screen           "Default Screen"
       InputDevice      "Mouse"
       InputDevice      "Keyboard"
        Option  "RandR" "false"
EndSection

Section "Files"
#     RgbPath      "/usr/local/share/X11/rgb"
       ModulePath   "/usr/lib/xorg/modules"
#     FontPath     "/usr/share/fonts/X11/misc/"
#     FontPath     "/usr/share/fonts/X11/TTF/"
#     FontPath     "/usr/share/fonts/X11/OTF"
#     FontPath     "/usr/share/fonts/X11/Type1/"
#     FontPath     "/usr/share/fonts/X11/100dpi/"
#     FontPath     "/usr/share/fonts/X11/75dpi/"
EndSection

Section "InputDevice"
       Identifier       "Keyboard"
       Driver           "kbd"
       Option           "XkbRules"      "xorg"
       Option           "XkbModel"      "pc105"
       Option           "XkbLayout"     "cn"
EndSection

Section "InputDevice"
       Identifier       "Mouse"
       Driver           "mouse"
       Option           "CorePointer"
EndSection

Section "Monitor"
       Identifier       "LCD"
       Option   "Enable"        "true"
EndSection

Section "Monitor"
       Identifier       "CRT"
       Option    "Enable"       "false"         
EndSection      

Section "Monitor"
       Identifier       "DVI"
       Option    "Enable"       "false"
EndSection      

Section "Monitor"
       Identifier       "TV"
       Option  "Ignore" "true"
EndSection      

Section "Monitor"
       Identifier       "HDMI"
       Option  "Ignore" "true"
EndSection      

Section "Monitor"
       Identifier       "CRT-2"
       Option     "Ignore"      "true"
EndSection

Section "Monitor"
       Identifier       "LCD-2"
       Option     "Ignore"      "true"
EndSection

Section "Monitor"
       Identifier       "DVI-2"
       Option     "Ignore"      "true"
EndSection

Section "Monitor"
       Identifier       "TV-2"
       Option     "Ignore"      "true"
EndSection

Section "Device"
        BusID "PCI:01:00:0"
        Driver  "via"
        VendorName      "VIA Tech"
        BoardName       "via"
        Identifier      "Configured Video Device"
        Option          "AccelMethod"   "EXA"
        Option          "MigrationHeuristic" "greedy"
        Option          "ActiveDevice"  "LCD"
EndSection

Section "Screen"
       DefaultDepth 24
       SubSection "Display"
#             Virtual 2000 2000 
              Modes "1280x768"
              Depth  24
       EndSubSection
       Identifier       "Default Screen"
       Device           "Configured Video Device"
EndSection

Section "Module"
      Load  "glx"
      Load  "dri"
      Load  "extmod"
EndSection

Section "DRI"
       Group 0
       Mode 0666
EndSection

Section "Extensions"
        Option  "Composite"                     "Enable"
EndSection

VIA Video Binaries MUST be used for a pleasant experience.

There are minor problems as follows:

Known issues:

  • 358793 - UNR jaunty: Slow menu interface, high CPU load

  • 233920 - Sleep on lid close work only 1 time

Fix available for issues:

  • 359291 - Broadcom wi-fi card doesn't work after suspend/hibernate

  • 355918 - resolution problem starting X with the wlan network controler activated - Fixed in Karmic Koala in openchrome 1:0.2.903+svn758-0ubuntu1

[Dirk-Heine Hofstede] I installed it at my HP mini-note 2133, and except that the UNR interface reacts slow (workaround available) I didn't encounter any problems so far. My wi-fi card just ran normal and made connection again after I woke my mini up(I have done this only once yet). I didn't use the build in microphone yet, so I can't say anything about that.

[Dipock Das] I also installed it on my HP mini-note 2133 and did not have any problems. The WIFI runs fine even after suspend/hibernate.

[lean-mini] I updated my Ubuntu 9.04 Jaunty Karmic Koala to 9.10, the update ran alone, and why in a moment I switched off the wifi, data was saved and reconnect everything was running fine. While at first the touchpad was a little stuck, restarting solved the little problem. Although in the beginning you could hear the sound of drums, then do not reproduced sound. Just an update with the manager and reboot for this to be solved (or at least it happened to me, not if related). Everything is working well. More info http://ubuntuforums.org/showthread.php?t=1312633&highlight=2133

[ OzFalcon ] A flawless 10.04 Alternate CD install using external usb cd drive.
The Broadcom Wi
Fi appeared to lock up the system when trying to do initial updates.
This was resolved by temporally disabling the WiFi (Slide button so led is orange), And immediately installing Broadcom STA drivers (Via the hardware drivers utility)
Video playback, resize & fullscreen works well using 5.75.32.87a-u1004-55689 VIA Binary Video Drivers.
No 3d using 5.75.32.87a-u1004-55689 VIA Binary Video Drivers in Non-Rand Mode. (Under Investigation)

[vagrale13] If try to install Ubuntu 10.04.1 LTS and freeze before ending(about 79%), then must be start again the install and add to boot options acpi=off

LaptopTestingTeam/HP2133 (last edited 2010-09-22 22:04:54 by ppp-94-66-138-204)