在 HP NX6325上安装Ubuntu6.10
霄航译
[email protected]
A .以下是我在HP NX 6325上安装Ubuntu 6.10 / EDgy EFT (i386)的全过程。机器CPU为AMD Sempron 3500+;之前未安装windows;BIOS为2006年7月6日的。
如果你不需要WLAN,蓝牙,读卡器和麦克风功能的话可以看下面的简版:
请确定你的NX6325有最后一版的BIOS文件(译者注:作者当时为F.04版,我的为F.06),再从Live CD引导启动,安装,然后是开始享受你的Ubuntu.
升级Bios的提示:
BIOS升级文件下载来之后是一个EXE文件包,然而,你并不一定要从windows来升级。你可以到HP网站上下载一个FreeDos版本,然后在在终端窗口中用CAB解压(解压方法可以参考ndiswrapper那一段),从中提取.ISO的文件,此文件可以用来引导启动电脑(我解压出来的文件名为ROM.ISO)(译者注:真的吗?)。然后在Ubuntu里面刻盘,再按照提示来做就OK了,非常简单。
如果你需要所有的多媒体功能,你可以安装BUMPS(一些并未包括在Ubuntu安装CD里的脚本和安装文件,包括Acrobat Reader, Sun Jave,DVD Video support,大部分视频和音频解码器等)(译者注:具体是什么我也不知道),你可以去网上下载(霄航注:原文You can download BUMPS here可能加了链接,但是我找不到原文)
B .下面是一个完整版本,此版本的方法可以使用内置无线网卡,蓝牙,和麦克风等:
1.硬盘分区:
我的6325硬盘一共有60G的空间,我的分区方式如下:
一个20G的主分区两个逻分区分区分别是20G和16G,这三个分区都使用EXT3文件系统,第四个分区为1GB的交换分区,设成主分区(译者注:非主流啊,还有3G分哪了?可能和我一样,明明说了有80G的硬盘可是最后分出来却只有75G,HP的1G=1000M)。
我使用GParted软件分的区(译者注:作者给了链接,但是我也无从得知),事实上,你并不是非使用这个不可,你也可以用使用Ubuntu自带的Gparted程序,只是个人感觉GParted LiveCD比较好用。
注意:无论你怎么分区都别忘了分一个1GB的交换分区,这步必不可少,否则不管你有多少内存,你的电脑可能非常慢而或者随时崩溃。
2.从Ubuntu Live CD启动电脑,我用的是6.10(Edgy EFt)版本的Ubuntu。装好之后直接就听到音箱里发出Gnome新的开机声,显示属性也被正确设置为1024*768,看起来非常舒服。触摸板也OK,到目前为止,一切都很傻瓜化,甚至连CPU都能支持自动降频,现在电脑工作在800Hz状态下,我从Gnome的工具栏上的CPU状态指示软件上看到的。
网络自动被我的路由的DHCP配置好了,我可以直接通过内置的网卡访问网络(译者注:我还没装,我的机器也是6325,等翻译完了我再装,看一下真的有这么智能么,呵呵)。
但是在机器启动的时候机器提示找不到内置无线网卡的驱动程序,不过这个问题之前已经在网上知道,无线网卡需要NDiswrapper来驱动,直到内核支持这只“笨猪”(译者注:原文为beast,作者写东西蛮口语化的,哈哈,我就翻成笨猪了)
我想下一个版本(代号为Feisty Fawn)应该可以支持它,新的2.6.19的内核也支持它。不过,用Ndiswrapper也不难,我们继续。
3.通过Ubuntu LiveCD 引导成功后进入到Gnome桌面,点击桌面的安装图标便开始安装,我直接选择根分区安装(“/”),也就是第一个主分区sda1,安装程序默认选择了sda5为根分区,这是典型的安装windows和Ubuntu双系统时的选择(译者注:把Ubuntu安装在最后一个分区。)
注意:在安装的时候,GRUB显示其要安装到设备“(hda0)”,但是我的电脑硬盘明明是SATA的,所以我决定自己把它改成了“(sda0)”。现在你知道,这绝对是一个错误的决定,导致我后来重装。千万不要乱改GRUB的预设参数,即使GRUB提示它将安装到并不存在的“hda1”
4.使用BUMPS调整Ubuntu
安装完成后,重启电脑。直接便可以通过内置网卡访问网络,之后是开始使用BUMPS调整新装好的Ubuntu,包括安装JAVA,Acrobat Reader,Flash 9.0等,非常有用。然后修改/ect/fstab 提高硬盘进入的速度。我在所有的驱动器入口加上 “noatime”和“nodiratime”参数。(译者注:我也不知道怎么加,在哪加,慢慢研究吧)。如果没有这两个参数,那么系统每次都会记录进入驱动器时间(包括读取文件的时间),这对于服务器来说是非常好的,但是对于桌面用户来说没有必要,这不但降低了进入硬盘的速度,特别是在使用电池的时候浪费电量。
顺便说一下,你也可以用Automatix来代替BUMPS。
5.无线网络
内置的无线网卡是BCM4310的,刚装好的系统不能使用此设备,因为内核中没有它的驱动程序(难道是因为版权问题),那为什么2.6.17的内核就有呢?答案只有一个,那就是忘了加!!!有关这方面的问题你可以到Ubuntu Wiki去查阅。
所以就只有两个方法使无线网卡工作了:
要么你自己去载入忘掉的驱动,或者通过Ndiswrapper使用windows的驱动程序。使用Ndiswrapper方法的话,如果你使用的是64位的Ubuntu Edgy,那么你也要找64位的windows的驱动,它可以方便以后使用,因为所有的BCM4310无线网卡都支持WPA2加密技术的,也可以更容易的使用网络管理。当然,Ndiswrapper方法在升级内核后依然有效。
然后,这一步花了我将近35分钟的时间(包括编译最新的Ndiswrapper)。你可以使用链接中的方法来完成,不过只有德文,如果你不懂德文,那么可以用下面这个英文版。
a.先从HP网站下载windows版最新的无线网卡驱动,如果你使用的是64位的Ubuntu,那么不用说了,下载64位版的驱动。
可能64位的驱动和32位的放在一起,如果你不能确定请下载完后双击查看。如果是在一起也不用担心,Ndiswrapper会自动选择。
我下载的版本是2006年5月24日的,版本号为6.00A,文件名为sp33008.exe。两个版本的放在一起。
b.解压你刚才下载的驱动:
在桌面新建一个文件夹,把刚才下载的驱动文件放进去,打开一个终端窗口,进入刚才新建的文件夹,然后使用cabexract解压。输入以下命令:
cabextract sp33008.exe
sp33008.exe只是针对作者而言,各位请自行调整。
c.安装Ndiswrapper
从Feisty资源库下载最新版的ndiswrapper-common 和 ndiswrapper-utils,你需要二进制格式的文件包,然后用GDebi安装(右击文件,然后选择“用GDebi打开文件”即可)。
d.安装Windows驱动和Ndiswrapper
首先打开一个终端窗口,进入刚才那个解压无线网卡windows驱动的文件夹。
输入以下命令:
sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -m
e. 把Linux内核中的bcm43xx的驱动加入黑名单
以root用户登录,把以下文字加入到/etc/modprobe.d/blacklist文件中
# exclude the kernel Broadcom driver
blacklist bcm43xx
f.在“系统-管理-网络”里激活或关闭无线网络,如果你使用“网络管理器”(推荐大家使用此软件)请先在这里关闭无线网络。网络管理器可以在Gnome设置里独立的激活无线网络设备(谢谢Anders的提醒,之前我忘了提及这一点)。
g.安装“网络管理器”
“网络管理器”是一个管理WLAN(WPA加密及所有相关东西)网络的必备工具,虽然它并不跟NX6325密切相关,但是我还是强烈建议你把它装上。从Ubuntu的资源库安装“网络-管理器-gnome”软件包。更多相关信息查这里(译者:偶也想知道)
h.如果“网络管理器”没有找到无线网卡,或者无线网卡指示灯不亮,请试着进行以下步骤。
-为了在系统启动时自动载入ndiswrapper模块,请在/etc/modules加入以下文字:
ndiswrapper
-按住开启无线网络快捷键30-60秒左右。
-关闭系统,拔掉电池,然后等几秒后再重启(有时候,有线网络连通后无线网卡不能工作)
6.待机/休眠模式
待机和休眠都能在安装了Ubuntu Edgy 的NX6325上正常使用,如果不能使用,请检查你的bios是否是最新的版本。在待机状态唤醒后,无线网卡不能立即进入激活使用状态,我的无线网卡在90秒后被“网络管理器”激活并成功连接到我的无线路由器。
为了使NX6325在最新版本的bios下工作不出现问题(HP笔记本 “bad state”问题是众所周知了),再加上其它一些原因,我们得卸载psmouse内核模块(具体看下面的注释),方法是把modprobe -r psmouse加入到关机和重启脚本中。
在/etc/init.d/halt中查找function do_stop ()这个程序段,然后加入modprobe -r psmouse
...
log_action_msg "Will now halt"
# unload psmouse to work around the bad state bug
modprobe -r psmouse
sleep 1
halt -d -f -i $poweroff $hddown
...
同样在/etc/init.d/reboot中的do_stop ()程序段中也加入上面的内容。
...
do_stop () {
# Message should end with a newline since kFreeBSD may
# print more stuff (see #323749)
# unload psmouse to work around the bad state bug
modprobe -r psmouse
log_action_msg "Will now restart"
reboot -d -f -i
}
...
7.ACPI/温度控制
这两个都没有问题(重启除外,bad state问题详见第6点),尽管有些报告称CPU风扇总是很晚才启动,这样会造成CPU因为过热而被烧的风险(特别是Turion版的NX6325)。但是我仅能以我自己为例来说一下,所有的东西都工作得非常好,为了证实你也如此,你可以打开一个终端窗口,然后输入以下命令:
watch cat /proc/acpi/thermal_zone/TZ*/*
你就可以看到CPU的当前温度,显卡的当前温度,你也能看到如active[3]: and active[2]:等,然后在active[X]跟着数字,这些是风扇随着温度逐步提速的限制。
现在打开另一个终端窗口并输入:
openssl speed
它会给CPU一个高工作量并提升CPU的温度,风扇声音会在CPU温度到达第一个active[3]:level的时候变得更大
8.快捷键
三个声音快捷键工作正常,无线网络快捷键可以关闭无线网络也工作正常,无线网络关闭后重新再开需要几秒才会重新连接上无线网络。在电源键旁边的那个信息快捷键会打开Ubuntu Help Centre.
调节屏幕高度的F9和F10工作正常,你可能不信,连休眠键F3也正常使用。好像所有的快捷键都工作正常,Ubuntu 的工程师做得真的非常不错。尤其是休眠功能,工作得非常好,甚至无线网络也会在唤醒后自动激活,有时候你可能需要手动去激活,但是这并不影响我对Ubuntu的评价,恕我直言。
9.读卡器
NX6325上的读卡器还没有被Ubuntu认可,不过要它工作起来并不是件很难的事情。打一一个终端窗口并输入:
lspci
此命令可获得一个可使用的PCI设备列表。
然后找到类似以下条目Texas Instrument的集成存储设备(一般在表的最后):
02:04.2 Mass storage controller: Texas Instruments Unknown device 803b
记下或复制最前面的数字。在我的电脑上,最前面的数字是“02:04.2”,这些可能在你的机器上会有些细微的变化。
现在在终端窗口里输入:
sudo setpci -s 02:04.2 4c=0x22
当然,你得把02:04.2替换成刚才看到的你自己电脑上的数字。这是读卡器的PCI总线的地址。
之后再插入一张存储卡,惊讶吧?Ubuntu会提醒你发现数码相机。现在你可以在存储卡中上传下载文件了,并且桌面上会有一个专门的存储卡图标。
为了使这个命令在系统启动时自动运行,可以在终端里输入以下命令:
sudo gedit /etc/rc.local
这是以根用户权限运行gedit编辑器来编辑rc.local,然后在“exit 0″之前加上:
setpci -s 02:04.2 4c=0×22
(当然,还是别忘了把PCI总线地址换成你自己的)
10.内置麦克风
NX6325可以用耳机听音乐,当耳机插入时,内置扬声器会自动静音,你可以用SKYPE电话测试来检验。然而,通过内置麦克风来录制声音却需要一些手动的调节。
依然是打开一个终端窗口并输入:
sudo gedit /etc/modprobe.d/alsa-base
在打开的编辑器中,把光标滚动到最后,可以看到类似以下的文字:
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
在后面加入以下内容:
options snd-hda-intel model=hp position_fix=1 enable=yes
这步是对系统进行欺骗,因为混音器设置可能让人糊里糊涂,我推荐大家安装使用gnome-alsamixer,在gnome-alsamixer中,请确认你的设置像这个(译者注:又是一个链接~~`````而且是看不到的)
11.3D桌面(AIXGL/XGL, Bery/compiz)
这里要告诉大家一些好消息和一些坏消息^_^ :
首先,NX6325支持3D桌面。
但是,这是需要付出代价的,你需要使用XGL和binary/proprietary的ATI驱动。
用AIXGL不能使3D桌面运转起来(至少,我现在还没成功)。用最新的ATI驱动官方驱动(ATI 8.31.5)及来自X.org的开源ati/radeon驱动都没有成功。开源的ati/radeon驱动明显不支持NX6325上ATI1150芯片组中的ATI 200M GPU,而官方的ATI复合驱动不支持AIXGL。
因此,此刻,你不得不遭受来自XGL和ATI复合驱动的打击。
因为XGL是xserver桌面最其本的额外层,所以它非常的耗费资源(CPU,GPU,电源,内存),AIGLX是内建的OpenGL 3D指令安装到xserver,并不是xserver桌面的额外的层。所以AIGLX方案能提高运行速度和节能。可是,很不幸,复合的ATI官方驱动并不支持AIGLX(包括ATI 8.31.5版的驱动),XGL不只是效果不能和AIGLX比,而且ATI 8.28.0版的复合ATI驱动在Ubuntu repos会有一些问题。驱动是能运行,但是当我使用它时却让我产生一些不愉快的经历(系统死机)。
另外,3D桌面非常消耗GPU的渲染能力,CPU更加。而且,在执行一些命令时会感觉到一些延迟。比如旋转桌面方体,你感觉到有点动作迟缓。
SO,你完全可以使用3D桌面,但是恕我直言,这个非常的消耗系统资源,并且整个东西都不是很稳写,至少在我的尝试过程中感觉是这样的。
如果你想自己试试,你可以点此链接进入AIXGL方案或者点此用ATI复合驱动的XGL方案。(译者注:不是我忘了加链接~~`````)
更新:
另一个用户通过修改/etc/xorg.conf启动 AIXGLX成功,他加入以下文字:
Section “Extensions”
Option “Composite” “false”
EndSection
12.蓝牙
NX6325有几种配置,有些有内建蓝牙设备,有些则没有。我所使用的是非常便宜的Sempron 3500版本,没有内建蓝牙设备,所以没办法试验它是否能在Ubuntu上面工作。
然后,根据这里一个读者所说(看下面的回贴),蓝牙可以在Ubuntu Edgy Eft上面工作。只需要保证安装了所以有关蓝牙文件转换器相关的文件包(整个Obex文件包),而且装上Ubuntu资源库中所有类似“bluez” 或者 “bluetooth”的程序包。
为了消除Edgy中令人讨厌的蓝牙BUG(在Gnome/KDE应用程序中搜索,看不到像手机等蓝牙设备),请在/etc/rc.local加上以下文字:
# to work around the nasty bluetooth bug in Edgy
hciconfig hci0 inqmode 0
13.TV-out
TV-out在官方的ATI驱动下工作正常(8.28.0或更高版本),驱动包可以直接在用BUMPS 或者Automatix加强过的资源库中找到。(在Synaptic中搜索xorg-driver-fglrx,然后安装fglrx-control,然后确定“fglrx”在驱动/etc/X11/xorg.conf中),使用fireglcontrol来设置TV-out效果,如果你想它的效果和你的桌面是一样的,那么可以打开一个终端窗口并输入:
sudo fireglcontrol
然后选择你所要的设置。
在repos里面有一个名叫“atitvout”有文件包,-我猜Xorg的驱动和这个功能是一样的,但是我并没有测试。
更多有关ATI官方驱动的信息可以去Ubuntu Wiki.去查阅。
14.一些有用的链接
在tuxmobil.org上的在HP NX6325安装Ubuntu的过程。--此教程可以帮助你在笔记本上安装Linux
在Ubuntu Wiki.上的有关HP NX6325的信息。--这里有你所需要的有关Ubuntu和硬件相关的信息。
德国Ubuntu社区有关HP NX6325的帖子。--有相当多这里未提及的技巧和提示
15.一个/etc/rc.local的参考
以下是我电脑上的/etc/rc.local(你需要把里面的PCI总线地址改成你自己的,具体见上面)
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0″ on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# to detect the card reader on the HP NX6325
setpci -s 02:04.2 4c=0×22
# to work around the nasty bluetooth bug in Edgy
hciconfig hci0 inqmode 0
exit 0
待进行的:
-指纹识别模块(这将是一个难题…)
END!霄航译
[分享]在 HP NX6325上安装Ubuntu
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 4
- 注册时间: 2007-04-13 19:46
-
- 帖子: 4
- 注册时间: 2007-04-13 19:46
下面是英文原版帖子,如果我翻得不清楚的地方,大家可以参照下文纠正一下。谢谢了
Ubuntu Linux 6.10 (Edgy Eft) on the HP Compaq NX6325
http://vale.homelinux.net/wordpress/?p=106
Here comes my my installation walkthrough for the installation of Ubuntu Linux 6.10 / Edgy Eft (i386) on the HP Compaq NX6325 notebook (AMD Sempron 3500+, 579 EUR, no Windows pre-installed, BIOS version as of 6th of July 2006 ):
Short version, if you do not need WLAN, bluetooth, the card reader and the microphone:
Make sure you have the latest BIOS version for your NX6325 (currently F.04 as of 6 Nov 06). Boot the Edgy LiveCD, install Edgy, enjoy.
Hint for the BIOS update: The BIOS comes wrapped in a .EXE file. However, you do not need Windows in order to update your NX6325. Go and download the FreeDos installer version from HP. Now just use cabextract in a terminal window (exact usage below in the ndiswrapper section) to get the .ISO file which is actually a bootable CD image (in my case its exact name is ROM.ISO). On Ubuntu, right-click it and burn the file ROM.ISO to CD. Then boot it and follow the instructions, very simple.
If you want all the multimedia goodies, also install BUMPS ( a little script that adds some repositories and installs all the useful stuff that is not included on the Ubuntu installation CD, such as Acrobat Reader, Sun Java, DVD video support, all of the most needed audio and video codecs etc.). You can download BUMPS here. (it is in the box at the end of the first message).
The long version, for those of you who also want to use the buildt-in Broadcom WLAN interface, the multimedia card reader, full Bluetooth and the microphone:
1. Harddisk preparation
I prepared the harddisk for installation. My NX6325 comes with 60 GB harddisk so I created 4 partitions: 1 primary partition with 20 GB size, and 2 logical partitions with another 20 GB and 16 GB. All those 3 partitions use ext3 as their filesystem. The 4th partition is the swap partition, another primary partition, with 1 GB.
I used GParted for partitioning, as described here. You can download this LiveCD here. However, you can also just use GParted from the Ubuntu installation routine, actually no need to use this separate GParted LiveCD. However, the CD might come handy for future partioning activities and the menu is less confusing than the menu during the Ubuntu installation, IMHO.
Reminder: No matter how you are setting up your partitions, do NOT forget to create a swap partition with a size of about 1 GB !!!!!! You need it, no matter how much memory you have!!! Otherwise, your system might be extremely slow or crash randomly!
2. Booting Ubuntu from the LiveCD
I booted the Ubuntu 6.10 (Edgy Eft) LiveCD. I was greeted by the new Gnome welcome jingle and knew in the same moment: wow, sound is working out of the box. Same with the display - the 1024×768 XGA display was correctly recognized, and it just looks GREAT. Also the mouse pad was recognized. So far, a real no-brainer. Even CPU speed throttling was installed automatically - my NX6325 is now currently running at 800 Mhz while being idle, according to the CPU speed gadget for the Gnome tool bar.
Network was configured automatically via DHCP from my router, I could instantly go online using the buildt-in LAN interface.
I did see however a kernel message during boot-up saying that no micro-code for the buildt-in Broadcom WLAN device was found, the firmware loading attempt failed. This is a known issue of the NX6325; one needs to use the NDiswrapper solution until the kernel correctly can configure this beast. I think that the next Ubuntu version, Feisty Fawn, with the new 2.6.19 kernel will do this also, without Ndiswrapper. However, it is easy to get the WLAN up and running anyway, see below.
3. Installing Ubuntu from the LiveCD
After I the LiveCD finished booting, I was thrown on the Gnome desktop. I started the Installer from the respective desktop icon. I selected the root partition (”/”), in my case the primary partition, sda1, for installation. The installer wanted to use sda5 as root partition, obviously because there is typically a Windows installation on the primary partition (sda1). Not in my case
A warning here for all experienced Linux users: The installer told me he wanted grub to install itself on the device “(hda0)”. Since the buildt-in drive is a SATA hard disk, this message confused me and I decided to correct it with “(sda0)”. That was a wrong decision Do not change the Grub parameters suggested by the installer. I had to install a second time, this time I did not touch the Grub setting and everything went fine, even with Grub saying that it was going to install the boot sector on the non-existing hda1.
4. Tuning Ubuntu with BUMPS
After the installation finished, I rebooted. I immediately had a perfect Internet connection via LAN. I then started to tune my new Ubuntu system with BUMPS, a little script that adds all the useful sources for multimedia Packages, Java, Acrobat Reader, Flash 9.0 etc. I also modified /etc/fstab in order to speed up hard disk access: I added the noatime and nodiratime parameter to every entry of my drives. Without those paramters, the system will record the time of every access (even read access) on every file. That can be useful for server systems but is not needed for laptop systems, especially since not only slows down the hard disk access but also wastes precious energy when running on batteries.
Instead of BUMPS, you can also try Automatix.
5. WLAN
The buildt-in WLAN interface is a BCM4310. It can not be used out of the box at the moment, as the firmware for the Broadcom WLan chip currently can not be included into the Linux kernel (for legal reasons?). There is, however a driver included in all kernels from 2.6.17 on - just the firmware is missing! Read more about this issue in the Ubuntu Wiki here.
So there are basically 2 ways to get your WLan up and running:
Either you make the kernel load the missing firmware or you install the Windows driver via Ndiswrapper. The Ndiswrapper way however needs a 64 bit Windows driver if you are running the 64 Bit edition of Ubuntu Edgy. It is also the more convenient way for every day use since all the features of the BCM4310 including WPA2 etc. are supported, and it can easily used together with Network-Manager. Also, the Ndiswrapper solution will not break after a kernel upgrade.
However, it took me about 35 minutes only in order to get the buildt-in Broadcom WLAN interface up and running (including compiling an up-to-date NDdiswrapper) using this HowTo here (German language only). For you non-German speakers, here is a step-by-step explanation in English of what to do:
a) download the latest Broadcom WLAN driver for Windows from the HP website here (scroll down to the “Driver - Network” section)
Notice: If you are using the 64 Bit version of Edgy, make sure that you get the respective 64 bit Broadcom driver - should be in the same packages, but better double check. The following steps however are the same, NDiswrapper automatically uses the 64 bit driver if present.
In my case, it is version 6.00 A of 24 May 06, the filename is sp33008.exe, 64 bit driver was included.
b) Extract the driver itself from the sp33008.exe archive you downloaded:
Create a new folder on your Desktop, copy the downloaded file (sp33008.exe) into the new folder, open a terminal window, change to the new directory in which you copied the sp33008.exe file and use cabextract to extract all files from this archive:
cabextract sp33008.exe
c) Install ndiswrapper
Download the latest packages ndiswrapper-common and ndiswrapper-utils here from the Feisty repositories. You need the binary packages, of course! Then install them with GDebi (right click on the file, “Open with GDebi”).
d) Install the Windows driver with ndiswrapper:
Open a terminal, change to the folder to which you cab-extracted the Windows driver (the spxxxxx.exe file) and enter
sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -m
e) Blacklist the bcm43xx driver of the linux kernel
As root, add the following line to the file /etc/modprobe.d/blacklist
# exclude the kernel Broadcom driver
blacklist bcm43xx
f) de-activate and activate the wireless network in the “System-Administration-Network” menu
And keep it de-activated there if you use Network-Manager (which I recommend) - Network-Manager is activating the network devices independently from the Gnome settings. (Thank you Anders for the hint, I forgot to mention that)
g) Install Network Manager
Network Manager is a essential tool for painless WLAN networking (WPA encryption and all this stuff). While it is not really related to the NX6325, I strongly recommend that you install it. Just install the package network-manager-gnome from the Ubuntu repositories. More about network-manager here.
h) If Network Manager does not see your WLAN card, or the blue WLAN indicator does not work, you may try the following:
- in order to load ndiswrapper as a module automatically at start-up, add to /etc/modules the following line:
ndiswrapper
- press the WLAN key and wait 30-60 seconds
- turn your system off, remove the batteries, wait a few seconds and reboot (sometimes, the driver will not load after a cable network connection)
6. Hibernating / Sleeping mode
Both hibernating and sleeping mode worked out of the box with Ubuntu Edgy - until you reboot or after a wake up from hibernation. Make sure that you have the latest BIOS installed on your NX6325, see above. The WLAN did not immediately come back after wake up after hibernating. However, network manager re-connected successfully to my acces point after about 90 sec.
In order to work around a problem with the latest BIOS of the HP NX6325 (the well-known bad state issue for which HP notebooks seem to be “famous”), you need, for some reason, to unload the psmouse kernel module (also see the comment section below). Add modprobe -r psmouse to the halt and reboot scripts:
In /etc/init.d/halt, look for the function do_stop () and this passage and add the line modprobe -r psmouse :
...
log_action_msg "Will now halt"
# unload psmouse to work around the bad state bug
modprobe -r psmouse
sleep 1
halt -d -f -i $poweroff $hddown
...
Same in the do_stop () function in /etc/init.d/reboot :
...
do_stop () {
# Message should end with a newline since kFreeBSD may
# print more stuff (see #323749)
# unload psmouse to work around the bad state bug
modprobe -r psmouse
log_action_msg "Will now restart"
reboot -d -f -i
}
...
7. ACPI / temperature control
No problems here either (until reboot, see the bad state problem in Nr. 6). Although there are some reports that the CPU fan is being activated very late and there is a risk of overheating the CPU (especially with the Turion version of the NX 6325), I can only say that in my case, everything worked perfectly. To make sure that you are also on the safe side, open a terminal window and enter the following:
watch cat /proc/acpi/thermal_zone/TZ*/*
You can now see the current CPU temperature, video chip temperature and the temperature inside the laptop. You also see something like active[3]: and active[2]: etc. The numbers following this active[x]: entries are the temperature limits for the fan to step up the cooling.
Now open another terminal window and enter
openssl speed
That gives the CPU a high workload and will increase temperature. The fan should get louder as soon as the CPU temperature has reached the first active[3]: level.
You may add the bad state workaround, though - see Nr. 6.
8. Special keys:
All three sound control keys are working. The WLAN key does turn off the WLAN connection, and is turning it on again - together with network-manager, you will also get re-connected after a few seconds after turning on WLAN again. The information button next to the power button is bringing up the Ubuntu Help Centre.
The display brightness keys, F9/F10 work without any problem, as does, you won’t believe it, the hibernation key, F3.
All special keys seem to work very well - the Ubuntu guys did an outstanding job here, especially when it comes to hibernating - it really works, even WLAN does come back up again. You might need however to reconnect manually to your access point, but that is not an issue, IMHO.
9. Media Card Reader
The Media Card reader is currently not being recognized by Ubuntu. However, no big deal to get it up and running. Open a terminal and enter
lspci
in order to get a listing of the available PCI devices.
Now look for the following entry of a Texas Instrument mass storage device (at the end of the listing):
02:04.2 Mass storage controller: Texas Instruments Unknown device 803b
Write down or copy the leading number, in my example the “02:04.2″ - might be slightly different on your machine.
Now type in your terminal
sudo setpci -s 02:04.2 4c=0x22
–> of course, replace 02:04.2 with YOUR number - it is the address on the PCI bus for the multimedia cardreader
Now enter a memory card and, surprise, Ubuntu will inform you that at a camera was detected. You can now download the pics and files on the memory card and you have a new icon for the repsective memory card on your desktop.
In order to execute this command automatically on boot-up, just enter the following in the terminal:
sudo gedit /etc/rc.local
in order to start the editor “gedit” in superuser mode and insert a line before the “exit 0″ command containing
setpci -s 02:04.2 4c=0×22
(of course, with YOUR respective number for the PCI address)
10. Microphone
Headphones can be used to listen audio - the speakers get automatically muted when one plugs in the headphones. Listening to the Skype testing call voice therefore not an issue. However, recording via the microphone again needs some (minor) manual interaction:
Open a terminal and enter
sudo gedit /etc/modprobe.d/alsa-base
In the editor, scroll down to the last line (should look like
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
and add the following line:
options snd-hda-intel model=hp position_fix=1 enable=yes
This should do the trick. Since the sound mixer settings can also be very confusing, I recommend to install the package gnome-alsamixer. In gnome-alsamixer, make sure that your mixer settings look like this:
gnome-alsamixer settings for Skype
11. 3D-Desktop (AIXGL/XGL, Bery/compiz)
Some good and some not so good news here: First of all, you can get a working 3D desktop on your HP NX6325.
But: It comes at a price - you need to use XGL and the binary/proprietary ATI driver.
The 3D desktop is *currently* not working (at least *I* did not get it up and running) with AIXGL, neither with the latest binary ATI drivers (ATI 8.31.5) nor with the open source ati/radeon drivers that come with X.org. The xorg ati/radeon driver does obviously not support the ATI 200M GPU that comes with the ATI 1150 chipset in your NX6325, and the binary ATI driver currently does not support AIXGL.
So, at the moment, you are stuck with XGL and the binary ATI driver.
Since XGL is basically an additional layer on top of your xserver, it is eating ressources (CPU, GPU, power, memory). AIGLX is a build-in OpenGL 3D-instruction set in the xserver, not another layer on top of your xserver. That makes the AIGLX solution somewhat more elegant and less power hungry. Unfortunately, the binary ATI driver does not yet support AIXGLX ( as of version ATI 8.31.5). But not only is XGL not as slick as AIXGLX, there are also some issues at least with the binary ATI driver in the Ubuntu repos (ATI 8.28.0). The driver itself works, but I had some bad experiences (system freezes) when I used the the binary ATI driver 8.28.0.
In addition, the 3D effekts are, even when using the rendering power of the GPU, very CPU intensive. Also, there was always a little delay between command and execution - turning the desktop cube for example felt a little bit sluggish.
So yes, you can use the 3D effects, but in my humble opinion, they need to much resources at this point and the whole thing is currently too unstable - at least for my taste.
If you want to check that out on your own, try this link for the AIXGL solution and this link here for XGL with the binary ATI drivers.
UPDATE:
Another Ubuntu user got AIXGLX up and running by changing /etc/xorg.conf, where he added:
Section “Extensions”
Option “Composite” “false”
EndSection
12. Bluetooth
There are 2 different types of the NX6325 - one comes with, the other one comes without buildt-in Bluetooth device. My version, the very cheap Sempron 3500 based model, does not have Bluetooth, so I can not check whether it works or not.
However, according to here and a reader (see comment below), Bluetooth is said to work out of the box with Ubuntu Edgy Eft. Just make sure you install the necessary packages for file transfer via Bluetooth (the whole Obex stuff) and everything that looks like “bluez” or “bluetooth” in the repositories
In order to work around the nasty Bluetooth bug in Edgy (devices such as mobile phones not seen during search for devices by Gnome/KDE Bluetooth applications), add this to /etc/rc.local:
# to work around the nasty bluetooth bug in Edgy
hciconfig hci0 inqmode 0
13. TV-Out
TV-Out works without problems when you use the proprietary ATI drivers (8.28.0 or higher); the driver package is available directly from the repositories when you have enhanced them with BUMPS or Automatix (In Synaptic, search for xorg-driver-fglrx, also install the fglrx-control package, and make sure that “fglrx” is your driver in /etc/X11/xorg.conf). Use fireglcontrol to select wether you want your TV as a clone of the laptop screen etc. In a terminal, type
sudo fireglcontrol
in order to select your settings.
There is also a package in the repos called “atitvout” - I guess it will do the same for the buildt-in Ati driver that comes with Xorg, but I have not tested it.
More about installing the proprietary ATI drivers here in the Ubuntu Wiki.
14. Useful Links
Installation reports for the HP Compaq NX6325 on tuxmobil.org - THE leading source for help for Linux on a laptop or notebook
The HP Compaq NX6325 on the Ubuntu Wiki - another source for all your information needs regarding Ubuntu and hardware
HP NX6325 thread in the German Ubuntu forum - many hints that are not covered here
15. Sample /etc/rc.local
Here is my /etc/rc.local file as a sample (you need to change the pci address after the setpci command according to your system, see above!!!!):
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0″ on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# to detect the card reader on the HP NX6325
setpci -s 02:04.2 4c=0×22
# to work around the nasty bluetooth bug in Edgy
hciconfig hci0 inqmode 0
exit 0
To do:
- Fingerprint sensor (that will be a hard one…)
Ubuntu Linux 6.10 (Edgy Eft) on the HP Compaq NX6325
http://vale.homelinux.net/wordpress/?p=106
Here comes my my installation walkthrough for the installation of Ubuntu Linux 6.10 / Edgy Eft (i386) on the HP Compaq NX6325 notebook (AMD Sempron 3500+, 579 EUR, no Windows pre-installed, BIOS version as of 6th of July 2006 ):
Short version, if you do not need WLAN, bluetooth, the card reader and the microphone:
Make sure you have the latest BIOS version for your NX6325 (currently F.04 as of 6 Nov 06). Boot the Edgy LiveCD, install Edgy, enjoy.
Hint for the BIOS update: The BIOS comes wrapped in a .EXE file. However, you do not need Windows in order to update your NX6325. Go and download the FreeDos installer version from HP. Now just use cabextract in a terminal window (exact usage below in the ndiswrapper section) to get the .ISO file which is actually a bootable CD image (in my case its exact name is ROM.ISO). On Ubuntu, right-click it and burn the file ROM.ISO to CD. Then boot it and follow the instructions, very simple.
If you want all the multimedia goodies, also install BUMPS ( a little script that adds some repositories and installs all the useful stuff that is not included on the Ubuntu installation CD, such as Acrobat Reader, Sun Java, DVD video support, all of the most needed audio and video codecs etc.). You can download BUMPS here. (it is in the box at the end of the first message).
The long version, for those of you who also want to use the buildt-in Broadcom WLAN interface, the multimedia card reader, full Bluetooth and the microphone:
1. Harddisk preparation
I prepared the harddisk for installation. My NX6325 comes with 60 GB harddisk so I created 4 partitions: 1 primary partition with 20 GB size, and 2 logical partitions with another 20 GB and 16 GB. All those 3 partitions use ext3 as their filesystem. The 4th partition is the swap partition, another primary partition, with 1 GB.
I used GParted for partitioning, as described here. You can download this LiveCD here. However, you can also just use GParted from the Ubuntu installation routine, actually no need to use this separate GParted LiveCD. However, the CD might come handy for future partioning activities and the menu is less confusing than the menu during the Ubuntu installation, IMHO.
Reminder: No matter how you are setting up your partitions, do NOT forget to create a swap partition with a size of about 1 GB !!!!!! You need it, no matter how much memory you have!!! Otherwise, your system might be extremely slow or crash randomly!
2. Booting Ubuntu from the LiveCD
I booted the Ubuntu 6.10 (Edgy Eft) LiveCD. I was greeted by the new Gnome welcome jingle and knew in the same moment: wow, sound is working out of the box. Same with the display - the 1024×768 XGA display was correctly recognized, and it just looks GREAT. Also the mouse pad was recognized. So far, a real no-brainer. Even CPU speed throttling was installed automatically - my NX6325 is now currently running at 800 Mhz while being idle, according to the CPU speed gadget for the Gnome tool bar.
Network was configured automatically via DHCP from my router, I could instantly go online using the buildt-in LAN interface.
I did see however a kernel message during boot-up saying that no micro-code for the buildt-in Broadcom WLAN device was found, the firmware loading attempt failed. This is a known issue of the NX6325; one needs to use the NDiswrapper solution until the kernel correctly can configure this beast. I think that the next Ubuntu version, Feisty Fawn, with the new 2.6.19 kernel will do this also, without Ndiswrapper. However, it is easy to get the WLAN up and running anyway, see below.
3. Installing Ubuntu from the LiveCD
After I the LiveCD finished booting, I was thrown on the Gnome desktop. I started the Installer from the respective desktop icon. I selected the root partition (”/”), in my case the primary partition, sda1, for installation. The installer wanted to use sda5 as root partition, obviously because there is typically a Windows installation on the primary partition (sda1). Not in my case
A warning here for all experienced Linux users: The installer told me he wanted grub to install itself on the device “(hda0)”. Since the buildt-in drive is a SATA hard disk, this message confused me and I decided to correct it with “(sda0)”. That was a wrong decision Do not change the Grub parameters suggested by the installer. I had to install a second time, this time I did not touch the Grub setting and everything went fine, even with Grub saying that it was going to install the boot sector on the non-existing hda1.
4. Tuning Ubuntu with BUMPS
After the installation finished, I rebooted. I immediately had a perfect Internet connection via LAN. I then started to tune my new Ubuntu system with BUMPS, a little script that adds all the useful sources for multimedia Packages, Java, Acrobat Reader, Flash 9.0 etc. I also modified /etc/fstab in order to speed up hard disk access: I added the noatime and nodiratime parameter to every entry of my drives. Without those paramters, the system will record the time of every access (even read access) on every file. That can be useful for server systems but is not needed for laptop systems, especially since not only slows down the hard disk access but also wastes precious energy when running on batteries.
Instead of BUMPS, you can also try Automatix.
5. WLAN
The buildt-in WLAN interface is a BCM4310. It can not be used out of the box at the moment, as the firmware for the Broadcom WLan chip currently can not be included into the Linux kernel (for legal reasons?). There is, however a driver included in all kernels from 2.6.17 on - just the firmware is missing! Read more about this issue in the Ubuntu Wiki here.
So there are basically 2 ways to get your WLan up and running:
Either you make the kernel load the missing firmware or you install the Windows driver via Ndiswrapper. The Ndiswrapper way however needs a 64 bit Windows driver if you are running the 64 Bit edition of Ubuntu Edgy. It is also the more convenient way for every day use since all the features of the BCM4310 including WPA2 etc. are supported, and it can easily used together with Network-Manager. Also, the Ndiswrapper solution will not break after a kernel upgrade.
However, it took me about 35 minutes only in order to get the buildt-in Broadcom WLAN interface up and running (including compiling an up-to-date NDdiswrapper) using this HowTo here (German language only). For you non-German speakers, here is a step-by-step explanation in English of what to do:
a) download the latest Broadcom WLAN driver for Windows from the HP website here (scroll down to the “Driver - Network” section)
Notice: If you are using the 64 Bit version of Edgy, make sure that you get the respective 64 bit Broadcom driver - should be in the same packages, but better double check. The following steps however are the same, NDiswrapper automatically uses the 64 bit driver if present.
In my case, it is version 6.00 A of 24 May 06, the filename is sp33008.exe, 64 bit driver was included.
b) Extract the driver itself from the sp33008.exe archive you downloaded:
Create a new folder on your Desktop, copy the downloaded file (sp33008.exe) into the new folder, open a terminal window, change to the new directory in which you copied the sp33008.exe file and use cabextract to extract all files from this archive:
cabextract sp33008.exe
c) Install ndiswrapper
Download the latest packages ndiswrapper-common and ndiswrapper-utils here from the Feisty repositories. You need the binary packages, of course! Then install them with GDebi (right click on the file, “Open with GDebi”).
d) Install the Windows driver with ndiswrapper:
Open a terminal, change to the folder to which you cab-extracted the Windows driver (the spxxxxx.exe file) and enter
sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -m
e) Blacklist the bcm43xx driver of the linux kernel
As root, add the following line to the file /etc/modprobe.d/blacklist
# exclude the kernel Broadcom driver
blacklist bcm43xx
f) de-activate and activate the wireless network in the “System-Administration-Network” menu
And keep it de-activated there if you use Network-Manager (which I recommend) - Network-Manager is activating the network devices independently from the Gnome settings. (Thank you Anders for the hint, I forgot to mention that)
g) Install Network Manager
Network Manager is a essential tool for painless WLAN networking (WPA encryption and all this stuff). While it is not really related to the NX6325, I strongly recommend that you install it. Just install the package network-manager-gnome from the Ubuntu repositories. More about network-manager here.
h) If Network Manager does not see your WLAN card, or the blue WLAN indicator does not work, you may try the following:
- in order to load ndiswrapper as a module automatically at start-up, add to /etc/modules the following line:
ndiswrapper
- press the WLAN key and wait 30-60 seconds
- turn your system off, remove the batteries, wait a few seconds and reboot (sometimes, the driver will not load after a cable network connection)
6. Hibernating / Sleeping mode
Both hibernating and sleeping mode worked out of the box with Ubuntu Edgy - until you reboot or after a wake up from hibernation. Make sure that you have the latest BIOS installed on your NX6325, see above. The WLAN did not immediately come back after wake up after hibernating. However, network manager re-connected successfully to my acces point after about 90 sec.
In order to work around a problem with the latest BIOS of the HP NX6325 (the well-known bad state issue for which HP notebooks seem to be “famous”), you need, for some reason, to unload the psmouse kernel module (also see the comment section below). Add modprobe -r psmouse to the halt and reboot scripts:
In /etc/init.d/halt, look for the function do_stop () and this passage and add the line modprobe -r psmouse :
...
log_action_msg "Will now halt"
# unload psmouse to work around the bad state bug
modprobe -r psmouse
sleep 1
halt -d -f -i $poweroff $hddown
...
Same in the do_stop () function in /etc/init.d/reboot :
...
do_stop () {
# Message should end with a newline since kFreeBSD may
# print more stuff (see #323749)
# unload psmouse to work around the bad state bug
modprobe -r psmouse
log_action_msg "Will now restart"
reboot -d -f -i
}
...
7. ACPI / temperature control
No problems here either (until reboot, see the bad state problem in Nr. 6). Although there are some reports that the CPU fan is being activated very late and there is a risk of overheating the CPU (especially with the Turion version of the NX 6325), I can only say that in my case, everything worked perfectly. To make sure that you are also on the safe side, open a terminal window and enter the following:
watch cat /proc/acpi/thermal_zone/TZ*/*
You can now see the current CPU temperature, video chip temperature and the temperature inside the laptop. You also see something like active[3]: and active[2]: etc. The numbers following this active[x]: entries are the temperature limits for the fan to step up the cooling.
Now open another terminal window and enter
openssl speed
That gives the CPU a high workload and will increase temperature. The fan should get louder as soon as the CPU temperature has reached the first active[3]: level.
You may add the bad state workaround, though - see Nr. 6.
8. Special keys:
All three sound control keys are working. The WLAN key does turn off the WLAN connection, and is turning it on again - together with network-manager, you will also get re-connected after a few seconds after turning on WLAN again. The information button next to the power button is bringing up the Ubuntu Help Centre.
The display brightness keys, F9/F10 work without any problem, as does, you won’t believe it, the hibernation key, F3.
All special keys seem to work very well - the Ubuntu guys did an outstanding job here, especially when it comes to hibernating - it really works, even WLAN does come back up again. You might need however to reconnect manually to your access point, but that is not an issue, IMHO.
9. Media Card Reader
The Media Card reader is currently not being recognized by Ubuntu. However, no big deal to get it up and running. Open a terminal and enter
lspci
in order to get a listing of the available PCI devices.
Now look for the following entry of a Texas Instrument mass storage device (at the end of the listing):
02:04.2 Mass storage controller: Texas Instruments Unknown device 803b
Write down or copy the leading number, in my example the “02:04.2″ - might be slightly different on your machine.
Now type in your terminal
sudo setpci -s 02:04.2 4c=0x22
–> of course, replace 02:04.2 with YOUR number - it is the address on the PCI bus for the multimedia cardreader
Now enter a memory card and, surprise, Ubuntu will inform you that at a camera was detected. You can now download the pics and files on the memory card and you have a new icon for the repsective memory card on your desktop.
In order to execute this command automatically on boot-up, just enter the following in the terminal:
sudo gedit /etc/rc.local
in order to start the editor “gedit” in superuser mode and insert a line before the “exit 0″ command containing
setpci -s 02:04.2 4c=0×22
(of course, with YOUR respective number for the PCI address)
10. Microphone
Headphones can be used to listen audio - the speakers get automatically muted when one plugs in the headphones. Listening to the Skype testing call voice therefore not an issue. However, recording via the microphone again needs some (minor) manual interaction:
Open a terminal and enter
sudo gedit /etc/modprobe.d/alsa-base
In the editor, scroll down to the last line (should look like
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
and add the following line:
options snd-hda-intel model=hp position_fix=1 enable=yes
This should do the trick. Since the sound mixer settings can also be very confusing, I recommend to install the package gnome-alsamixer. In gnome-alsamixer, make sure that your mixer settings look like this:
gnome-alsamixer settings for Skype
11. 3D-Desktop (AIXGL/XGL, Bery/compiz)
Some good and some not so good news here: First of all, you can get a working 3D desktop on your HP NX6325.
But: It comes at a price - you need to use XGL and the binary/proprietary ATI driver.
The 3D desktop is *currently* not working (at least *I* did not get it up and running) with AIXGL, neither with the latest binary ATI drivers (ATI 8.31.5) nor with the open source ati/radeon drivers that come with X.org. The xorg ati/radeon driver does obviously not support the ATI 200M GPU that comes with the ATI 1150 chipset in your NX6325, and the binary ATI driver currently does not support AIXGL.
So, at the moment, you are stuck with XGL and the binary ATI driver.
Since XGL is basically an additional layer on top of your xserver, it is eating ressources (CPU, GPU, power, memory). AIGLX is a build-in OpenGL 3D-instruction set in the xserver, not another layer on top of your xserver. That makes the AIGLX solution somewhat more elegant and less power hungry. Unfortunately, the binary ATI driver does not yet support AIXGLX ( as of version ATI 8.31.5). But not only is XGL not as slick as AIXGLX, there are also some issues at least with the binary ATI driver in the Ubuntu repos (ATI 8.28.0). The driver itself works, but I had some bad experiences (system freezes) when I used the the binary ATI driver 8.28.0.
In addition, the 3D effekts are, even when using the rendering power of the GPU, very CPU intensive. Also, there was always a little delay between command and execution - turning the desktop cube for example felt a little bit sluggish.
So yes, you can use the 3D effects, but in my humble opinion, they need to much resources at this point and the whole thing is currently too unstable - at least for my taste.
If you want to check that out on your own, try this link for the AIXGL solution and this link here for XGL with the binary ATI drivers.
UPDATE:
Another Ubuntu user got AIXGLX up and running by changing /etc/xorg.conf, where he added:
Section “Extensions”
Option “Composite” “false”
EndSection
12. Bluetooth
There are 2 different types of the NX6325 - one comes with, the other one comes without buildt-in Bluetooth device. My version, the very cheap Sempron 3500 based model, does not have Bluetooth, so I can not check whether it works or not.
However, according to here and a reader (see comment below), Bluetooth is said to work out of the box with Ubuntu Edgy Eft. Just make sure you install the necessary packages for file transfer via Bluetooth (the whole Obex stuff) and everything that looks like “bluez” or “bluetooth” in the repositories
In order to work around the nasty Bluetooth bug in Edgy (devices such as mobile phones not seen during search for devices by Gnome/KDE Bluetooth applications), add this to /etc/rc.local:
# to work around the nasty bluetooth bug in Edgy
hciconfig hci0 inqmode 0
13. TV-Out
TV-Out works without problems when you use the proprietary ATI drivers (8.28.0 or higher); the driver package is available directly from the repositories when you have enhanced them with BUMPS or Automatix (In Synaptic, search for xorg-driver-fglrx, also install the fglrx-control package, and make sure that “fglrx” is your driver in /etc/X11/xorg.conf). Use fireglcontrol to select wether you want your TV as a clone of the laptop screen etc. In a terminal, type
sudo fireglcontrol
in order to select your settings.
There is also a package in the repos called “atitvout” - I guess it will do the same for the buildt-in Ati driver that comes with Xorg, but I have not tested it.
More about installing the proprietary ATI drivers here in the Ubuntu Wiki.
14. Useful Links
Installation reports for the HP Compaq NX6325 on tuxmobil.org - THE leading source for help for Linux on a laptop or notebook
The HP Compaq NX6325 on the Ubuntu Wiki - another source for all your information needs regarding Ubuntu and hardware
HP NX6325 thread in the German Ubuntu forum - many hints that are not covered here
15. Sample /etc/rc.local
Here is my /etc/rc.local file as a sample (you need to change the pci address after the setpci command according to your system, see above!!!!):
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0″ on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# to detect the card reader on the HP NX6325
setpci -s 02:04.2 4c=0×22
# to work around the nasty bluetooth bug in Edgy
hciconfig hci0 inqmode 0
exit 0
To do:
- Fingerprint sensor (that will be a hard one…)
-
- 帖子: 1
- 注册时间: 2007-03-22 12:27
Thanks a lot.
Very useful.
-
- 帖子: 2
- 注册时间: 2007-08-23 15:48