https://wiki.archlinux.org/api.php?action=feedcontributions&user=Raul+nds&feedformat=atomArchWiki - User contributions [en]2024-03-29T14:22:00ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Talk:Packard_Bell_BU45&diff=31268Talk:Packard Bell BU452007-10-23T22:52:47Z<p>Raul nds: New page: Sorry for hijacking your wiki page =) Raul</p>
<hr />
<div>Sorry for hijacking your wiki page =)<br />
<br />
Raul</div>Raul ndshttps://wiki.archlinux.org/index.php?title=Packard_Bell_BU45&diff=31267Packard Bell BU452007-10-23T22:51:56Z<p>Raul nds: /* Sound */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
<br />
= Archlinux in the Packard Bell BU45 =<br />
<br />
I have just bought this laptop from Packard Bell (model PB BU45 O O61). The configuration of xorg and wifi have been a bit (just a bit) difficult, so I will be posting here my configuration files and my experiences. '''This wiki page is still a work in progress''', if somebody is having problems, just send me an email at yiyu dot jgl at gmail.<br />
<br />
== X.org configuration ==<br />
<br />
If you want to use the screen with its native resolution of 1280x800 (absolutely recommended) you will need the last drivers from intel. The package you will need is <tt>xf86-video-intel</tt>, available (atm) from the testing repositories.<br />
<br />
Then, you will have to edit your <tt>/etc/X11/xorg.conf</tt> file in order to use this driver. Just edit your line in your <tt>Device</tt> section which tells <tt>Driver</tt> to <tt>Driver "intel"</tt>. This is my xorg.conf file:<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
Section "Files"<br />
RgbPath "/usr/share/X11/rgb"<br />
ModulePath "/usr/lib/xorg/modules"<br />
FontPath "/usr/share/fonts/misc"<br />
FontPath "/usr/share/fonts/100dpi:unscaled"<br />
FontPath "/usr/share/fonts/75dpi:unscaled"<br />
FontPath "/usr/share/fonts/TTF"<br />
FontPath "/usr/share/fonts/Type1"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "extmod"<br />
Load "dbe"<br />
Load "record"<br />
Load "dri"<br />
Load "GLcore"<br />
Load "glx"<br />
Load "xtrap"<br />
Load "type1"<br />
Load "freetype"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<br />
<br />
Option "XkbLayout" "es"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse0"<br />
Driver "mouse"<br />
Option "Protocol" "auto"<br />
Option "Device" "/dev/input/mice"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Monitor"<br />
#DisplaySize 260 160 # mm<br />
Identifier "Monitor0"<br />
VendorName "QDS"<br />
ModelName "2e"<br />
EndSection<br />
<br />
Section "Device"<br />
### Available Driver options are:-<br />
### Values: &lt;i>: integer, <f>: float, <bool>: "True"/"False",<br />
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br />
### [arg]: arg optional<br />
#Option "NoAccel" # [<bool>]<br />
#Option "SWcursor" # [<bool>]<br />
#Option "ColorKey" # &lt;i><br />
#Option "CacheLines" # &lt;i><br />
#Option "Dac6Bit" # [<bool>]<br />
#Option "DRI" # [<bool>]<br />
#Option "NoDDC" # [<bool>]<br />
#Option "ShowCache" # [<bool>]<br />
#Option "XvMCSurfaces" # &lt;i><br />
#Option "PageFlip" # [<bool>]<br />
Identifier "Card0"<br />
Driver "intel"<br />
VendorName "Intel Corporation"<br />
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"<br />
BusID "PCI:0:2:0"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 1<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 4<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 8<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 15<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"t<br />
Viewport 0 0<br />
Depth 16<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
Modes "1280x800"<br />
EndSubSection<br />
EndSection<br />
<br />
Be careful, because this file also sets my keyboard layout to Spanish. You probably won't need that line.<br />
<br />
You can also activate scrolling with the touchpad installing the <tt>synaptics</tt> package and following the instructions in [[Touchpad Synaptics]]. '''Don't forget to read the messages when you install the package'''<br />
<br />
Now, I would like to configure twin view to attach an external monitor to the laptop. It shouldn't be difficult, but I haven't tested it yet because I don't have physical space for the screen in my desktop (real life wood desktop).<br />
<br />
== Touchpad Configuration ==<br />
<br />
Since this is a small touchpad, I prefer two finger scrolling ("a la" Macintosh), instead of the edge scrolling. This section covers that.<br />
<br />
First of all:<br />
sudo pacman -Sy synaptics<br />
<br />
Then you can do:<br />
man synaptics<br />
<br />
And see all the options this amazing driver offers. Moving along, you'll have to edit your /etc/X11/xorg.conf file:<br />
<br />
(...)<br />
Section "InputDevice"<br />
Driver "synaptics"<br />
Identifier "Mouse0"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1800"<br />
Option "RightEdge" "5000"<br />
Option "TopEdge" "1600"<br />
Option "BottomEdge" "4900"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "FingerPress" "250"<br />
Option "MaxTapTime" "130"<br />
Option "MaxTapMove" "150"<br />
Option "VertScrollDelta" "300"<br />
Option "VertEdgeScroll" "false"<br />
Option "HorizEdgeScroll" "false"<br />
Option "VertTwoFingerScroll" "true"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "on"<br />
Option "EdgeMotionUseAlways" "false"<br />
EndSection<br />
(...)<br />
<br />
This configuration is what worked best for me, but you can disable VertTwoFingerScroll, and change the EdgeScrolls to "true". Be aware that to enable edge scrolling, maybe you have to change your RightEdge and BottomEdge values.<br />
<br />
Using this driver, you won't be able to plug in an external USB mouse and use it right away. Not in Arch anyway.Thsi is what I did:<br />
<br />
in /etc/X11/xorg.conf:<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse1"<br />
Driver "mouse"<br />
Option "Protocol" "IMPS/2"<br />
Option "Device" "/dev/psaux"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
and add this to the ServerLayout section:<br />
<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Mouse1" "SendCoreEvents" ##THIS<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
Option "AIGLX" "true"<br />
EndSection<br />
<br />
<br />
<br />
And that's it!! Enjoy =)<br />
<br />
This section was written by Raul Silva. Any question/remarks, contact raul_nds in the Arch Forums.<br />
<br />
== Wifi configuration ==<br />
<br />
The wireless card included in this laptop is an <i>Intel® Pro WLAN 3945 Internal Wireless (802.11a/b/g 54 Mbps)</i>. I think you can use the ipw drivers, but they will be deprecated in favour of new iwl drivers, so we will be using the last ones. You will need <tt>iwlwifi</tt> and <tt>iwlwifi-3945-ucode</tt> packages.<br />
<br />
The configuration is standard, as with any other wlan (I will try to document it more extensively in the future, but you can find good general instructions in the wiki) except that the drivers gives some problems if you don't pass the <tt>disable_hw_scan=1</tt> option to the module when you load it into the kernel. To not have to do it manually each time, add this to your <tt>/etc/modprobe.conf</tt>:<br />
<br />
options iwl3945 disable_hw_scan=1<br />
<br />
I don't know why you have to do it, neither what are its consequences, but it wasn't working and I found (I think in ubuntu forums or perhaps in some mailing list) that this little trick solves the problem.<br />
<br />
To test your wireless connection you can use the instructions found on [http://intellinuxwireless.org/?p=iwlwifi&n=HOWTO-iwlwifi HOWTO-iwlwifi].<br />
<br />
== Sound ==<br />
<br />
Sound works with alsa, so just check [[ALSA]] 's wiki page. The multimedia buttons (for volume) don't seem to work though.<br />
Even if they did, with alsa, the primary control is always the headphone's, but the one that matters is the Front control. Annoying bug.<br />
<br />
== Vista Partition ==<br />
<br />
If your laptop, like mine, was sold with Vista on an ntfs partition and you haven't completly get rid of it probably you will want to access to the data on that partition. The ntfs-3g driver works perfectly, just follow the instructions in [[NTFS Write Support]].<br />
<br />
== Bluetooth ==<br />
<br />
Bluetooth is working, just add <tt>dbus</tt> and <tt>bluetooth</th> to your daemons section in <tt>rc.conf</tt> (You will need to install the packages bluez-utils, bluez-libs and dbus with pacman). Then you can find devices with hcitool. I'm using it to connect to my mobile phone with obexfs. I created an entry in /etc/fstab to mount it with a simple <tt>mount /mnt/mobile</tt>. This is my modified /etc/fstab (it also includes the entry to mount the vista partition as a normal user):<br />
<br />
none /dev/pts devpts defaults 0 0<br />
none /dev/shm tmpfs defaults 0 0<br />
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0<br />
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0<br />
/dev/sda3 / ext3 defaults 0 1<br />
/dev/sda4 swap swap defaults 0 0<br />
/dev/sda2 /mnt/vista ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=002,locale=es_ES.utf8 0 0<br />
obexfs#-bxx-xx-xx-xx-xx-xx\040-Bx /mnt/mobile fuse user,fsname=obexfs#-bxx-xx-xx-xx-xx-xx 0 0<br />
<br />
You will have to change the xx to the values you will see for your device with hcitool. The obexftp faq was very helpful to get it working.<br />
<br />
== Web cam ==<br />
<br />
It works perfectly with the driver available in aur for syntek webcams: [http://aur.archlinux.org/packages.php?do_Details=1&ID=12669 stk11xx]<br />
<br />
== Card reader and fingerprint reader ==<br />
<br />
I have read they don't work under Linux, though haven't looked into it yet. I just know the card reader is from Genesys and the fingerprint reader is an AuthenTec Inc AES1610 (its web page tells it is supported under linux [http://www.authentec.com/products-pcsandperipherals-aes1610-spec.html]). Any help would be appreciated.<br />
<br />
== Hibernation ==<br />
<br />
If you want, you can hibernate and resume your system with the help of the kernel26suspend2 kernel. I just followed the steps in the wiki page, and then found my system was hanging during the hibernation. I solved the problems adding this two options to the kernel parameter in /boot/grub/menu.lst : highres=off nohz=off<br />
<br />
I found this solution in a forum and don't know why it wasn't working or why it works now. Some help would be welcomed.</div>Raul ndshttps://wiki.archlinux.org/index.php?title=Packard_Bell_BU45&diff=31266Packard Bell BU452007-10-23T22:50:34Z<p>Raul nds: </p>
<hr />
<div>[[Category:Laptops (English)]]<br />
<br />
= Archlinux in the Packard Bell BU45 =<br />
<br />
I have just bought this laptop from Packard Bell (model PB BU45 O O61). The configuration of xorg and wifi have been a bit (just a bit) difficult, so I will be posting here my configuration files and my experiences. '''This wiki page is still a work in progress''', if somebody is having problems, just send me an email at yiyu dot jgl at gmail.<br />
<br />
== X.org configuration ==<br />
<br />
If you want to use the screen with its native resolution of 1280x800 (absolutely recommended) you will need the last drivers from intel. The package you will need is <tt>xf86-video-intel</tt>, available (atm) from the testing repositories.<br />
<br />
Then, you will have to edit your <tt>/etc/X11/xorg.conf</tt> file in order to use this driver. Just edit your line in your <tt>Device</tt> section which tells <tt>Driver</tt> to <tt>Driver "intel"</tt>. This is my xorg.conf file:<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
Section "Files"<br />
RgbPath "/usr/share/X11/rgb"<br />
ModulePath "/usr/lib/xorg/modules"<br />
FontPath "/usr/share/fonts/misc"<br />
FontPath "/usr/share/fonts/100dpi:unscaled"<br />
FontPath "/usr/share/fonts/75dpi:unscaled"<br />
FontPath "/usr/share/fonts/TTF"<br />
FontPath "/usr/share/fonts/Type1"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "extmod"<br />
Load "dbe"<br />
Load "record"<br />
Load "dri"<br />
Load "GLcore"<br />
Load "glx"<br />
Load "xtrap"<br />
Load "type1"<br />
Load "freetype"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<br />
<br />
Option "XkbLayout" "es"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse0"<br />
Driver "mouse"<br />
Option "Protocol" "auto"<br />
Option "Device" "/dev/input/mice"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Monitor"<br />
#DisplaySize 260 160 # mm<br />
Identifier "Monitor0"<br />
VendorName "QDS"<br />
ModelName "2e"<br />
EndSection<br />
<br />
Section "Device"<br />
### Available Driver options are:-<br />
### Values: &lt;i>: integer, <f>: float, <bool>: "True"/"False",<br />
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br />
### [arg]: arg optional<br />
#Option "NoAccel" # [<bool>]<br />
#Option "SWcursor" # [<bool>]<br />
#Option "ColorKey" # &lt;i><br />
#Option "CacheLines" # &lt;i><br />
#Option "Dac6Bit" # [<bool>]<br />
#Option "DRI" # [<bool>]<br />
#Option "NoDDC" # [<bool>]<br />
#Option "ShowCache" # [<bool>]<br />
#Option "XvMCSurfaces" # &lt;i><br />
#Option "PageFlip" # [<bool>]<br />
Identifier "Card0"<br />
Driver "intel"<br />
VendorName "Intel Corporation"<br />
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"<br />
BusID "PCI:0:2:0"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 1<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 4<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 8<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 15<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"t<br />
Viewport 0 0<br />
Depth 16<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
Modes "1280x800"<br />
EndSubSection<br />
EndSection<br />
<br />
Be careful, because this file also sets my keyboard layout to Spanish. You probably won't need that line.<br />
<br />
You can also activate scrolling with the touchpad installing the <tt>synaptics</tt> package and following the instructions in [[Touchpad Synaptics]]. '''Don't forget to read the messages when you install the package'''<br />
<br />
Now, I would like to configure twin view to attach an external monitor to the laptop. It shouldn't be difficult, but I haven't tested it yet because I don't have physical space for the screen in my desktop (real life wood desktop).<br />
<br />
== Touchpad Configuration ==<br />
<br />
Since this is a small touchpad, I prefer two finger scrolling ("a la" Macintosh), instead of the edge scrolling. This section covers that.<br />
<br />
First of all:<br />
sudo pacman -Sy synaptics<br />
<br />
Then you can do:<br />
man synaptics<br />
<br />
And see all the options this amazing driver offers. Moving along, you'll have to edit your /etc/X11/xorg.conf file:<br />
<br />
(...)<br />
Section "InputDevice"<br />
Driver "synaptics"<br />
Identifier "Mouse0"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1800"<br />
Option "RightEdge" "5000"<br />
Option "TopEdge" "1600"<br />
Option "BottomEdge" "4900"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "FingerPress" "250"<br />
Option "MaxTapTime" "130"<br />
Option "MaxTapMove" "150"<br />
Option "VertScrollDelta" "300"<br />
Option "VertEdgeScroll" "false"<br />
Option "HorizEdgeScroll" "false"<br />
Option "VertTwoFingerScroll" "true"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "on"<br />
Option "EdgeMotionUseAlways" "false"<br />
EndSection<br />
(...)<br />
<br />
This configuration is what worked best for me, but you can disable VertTwoFingerScroll, and change the EdgeScrolls to "true". Be aware that to enable edge scrolling, maybe you have to change your RightEdge and BottomEdge values.<br />
<br />
Using this driver, you won't be able to plug in an external USB mouse and use it right away. Not in Arch anyway.Thsi is what I did:<br />
<br />
in /etc/X11/xorg.conf:<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse1"<br />
Driver "mouse"<br />
Option "Protocol" "IMPS/2"<br />
Option "Device" "/dev/psaux"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
and add this to the ServerLayout section:<br />
<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Mouse1" "SendCoreEvents" ##THIS<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
Option "AIGLX" "true"<br />
EndSection<br />
<br />
<br />
<br />
And that's it!! Enjoy =)<br />
<br />
This section was written by Raul Silva. Any question/remarks, contact raul_nds in the Arch Forums.<br />
<br />
== Wifi configuration ==<br />
<br />
The wireless card included in this laptop is an <i>Intel® Pro WLAN 3945 Internal Wireless (802.11a/b/g 54 Mbps)</i>. I think you can use the ipw drivers, but they will be deprecated in favour of new iwl drivers, so we will be using the last ones. You will need <tt>iwlwifi</tt> and <tt>iwlwifi-3945-ucode</tt> packages.<br />
<br />
The configuration is standard, as with any other wlan (I will try to document it more extensively in the future, but you can find good general instructions in the wiki) except that the drivers gives some problems if you don't pass the <tt>disable_hw_scan=1</tt> option to the module when you load it into the kernel. To not have to do it manually each time, add this to your <tt>/etc/modprobe.conf</tt>:<br />
<br />
options iwl3945 disable_hw_scan=1<br />
<br />
I don't know why you have to do it, neither what are its consequences, but it wasn't working and I found (I think in ubuntu forums or perhaps in some mailing list) that this little trick solves the problem.<br />
<br />
To test your wireless connection you can use the instructions found on [http://intellinuxwireless.org/?p=iwlwifi&n=HOWTO-iwlwifi HOWTO-iwlwifi].<br />
<br />
== Sound ==<br />
<br />
Sound works with alsa, so just check alsa's wiki page. The multimedia buttons (for volume) don't seem to work though.<br />
Even if they did, with alsa, the primary control is always the headphone's, but the one that matters is the Front control. Annoying bug.<br />
<br />
== Vista Partition ==<br />
<br />
If your laptop, like mine, was sold with Vista on an ntfs partition and you haven't completly get rid of it probably you will want to access to the data on that partition. The ntfs-3g driver works perfectly, just follow the instructions in [[NTFS Write Support]].<br />
<br />
== Bluetooth ==<br />
<br />
Bluetooth is working, just add <tt>dbus</tt> and <tt>bluetooth</th> to your daemons section in <tt>rc.conf</tt> (You will need to install the packages bluez-utils, bluez-libs and dbus with pacman). Then you can find devices with hcitool. I'm using it to connect to my mobile phone with obexfs. I created an entry in /etc/fstab to mount it with a simple <tt>mount /mnt/mobile</tt>. This is my modified /etc/fstab (it also includes the entry to mount the vista partition as a normal user):<br />
<br />
none /dev/pts devpts defaults 0 0<br />
none /dev/shm tmpfs defaults 0 0<br />
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0<br />
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0<br />
/dev/sda3 / ext3 defaults 0 1<br />
/dev/sda4 swap swap defaults 0 0<br />
/dev/sda2 /mnt/vista ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=002,locale=es_ES.utf8 0 0<br />
obexfs#-bxx-xx-xx-xx-xx-xx\040-Bx /mnt/mobile fuse user,fsname=obexfs#-bxx-xx-xx-xx-xx-xx 0 0<br />
<br />
You will have to change the xx to the values you will see for your device with hcitool. The obexftp faq was very helpful to get it working.<br />
<br />
== Web cam ==<br />
<br />
It works perfectly with the driver available in aur for syntek webcams: [http://aur.archlinux.org/packages.php?do_Details=1&ID=12669 stk11xx]<br />
<br />
== Card reader and fingerprint reader ==<br />
<br />
I have read they don't work under Linux, though haven't looked into it yet. I just know the card reader is from Genesys and the fingerprint reader is an AuthenTec Inc AES1610 (its web page tells it is supported under linux [http://www.authentec.com/products-pcsandperipherals-aes1610-spec.html]). Any help would be appreciated.<br />
<br />
== Hibernation ==<br />
<br />
If you want, you can hibernate and resume your system with the help of the kernel26suspend2 kernel. I just followed the steps in the wiki page, and then found my system was hanging during the hibernation. I solved the problems adding this two options to the kernel parameter in /boot/grub/menu.lst : highres=off nohz=off<br />
<br />
I found this solution in a forum and don't know why it wasn't working or why it works now. Some help would be welcomed.</div>Raul ndshttps://wiki.archlinux.org/index.php?title=Packard_Bell_BU45&diff=31265Packard Bell BU452007-10-23T19:54:56Z<p>Raul nds: </p>
<hr />
<div>[[Category:Laptops (English)]]<br />
<br />
= Archlinux in the Packard Bell BU45 =<br />
<br />
I have just bought this laptop from Packard Bell (model PB BU45 O O61). The configuration of xorg and wifi have been a bit (just a bit) difficult, so I will be posting here my configuration files and my experiences. '''This wiki page is still a work in progress''', if somebody is having problems, just send me an email at yiyu dot jgl at gmail.<br />
<br />
== X.org configuration ==<br />
<br />
If you want to use the screen with its native resolution of 1280x800 (absolutely recommended) you will need the last drivers from intel. The package you will need is <tt>xf86-video-intel</tt>, available (atm) from the testing repositories.<br />
<br />
Then, you will have to edit your <tt>/etc/X11/xorg.conf</tt> file in order to use this driver. Just edit your line in your <tt>Device</tt> section which tells <tt>Driver</tt> to <tt>Driver "intel"</tt>. This is my xorg.conf file:<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
Section "Files"<br />
RgbPath "/usr/share/X11/rgb"<br />
ModulePath "/usr/lib/xorg/modules"<br />
FontPath "/usr/share/fonts/misc"<br />
FontPath "/usr/share/fonts/100dpi:unscaled"<br />
FontPath "/usr/share/fonts/75dpi:unscaled"<br />
FontPath "/usr/share/fonts/TTF"<br />
FontPath "/usr/share/fonts/Type1"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "extmod"<br />
Load "dbe"<br />
Load "record"<br />
Load "dri"<br />
Load "GLcore"<br />
Load "glx"<br />
Load "xtrap"<br />
Load "type1"<br />
Load "freetype"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<br />
<br />
Option "XkbLayout" "es"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse0"<br />
Driver "mouse"<br />
Option "Protocol" "auto"<br />
Option "Device" "/dev/input/mice"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Monitor"<br />
#DisplaySize 260 160 # mm<br />
Identifier "Monitor0"<br />
VendorName "QDS"<br />
ModelName "2e"<br />
EndSection<br />
<br />
Section "Device"<br />
### Available Driver options are:-<br />
### Values: &lt;i>: integer, <f>: float, <bool>: "True"/"False",<br />
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br />
### [arg]: arg optional<br />
#Option "NoAccel" # [<bool>]<br />
#Option "SWcursor" # [<bool>]<br />
#Option "ColorKey" # &lt;i><br />
#Option "CacheLines" # &lt;i><br />
#Option "Dac6Bit" # [<bool>]<br />
#Option "DRI" # [<bool>]<br />
#Option "NoDDC" # [<bool>]<br />
#Option "ShowCache" # [<bool>]<br />
#Option "XvMCSurfaces" # &lt;i><br />
#Option "PageFlip" # [<bool>]<br />
Identifier "Card0"<br />
Driver "intel"<br />
VendorName "Intel Corporation"<br />
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"<br />
BusID "PCI:0:2:0"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 1<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 4<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 8<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 15<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"t<br />
Viewport 0 0<br />
Depth 16<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
Modes "1280x800"<br />
EndSubSection<br />
EndSection<br />
<br />
Be careful, because this file also sets my keyboard layout to Spanish. You probably won't need that line.<br />
<br />
You can also activate scrolling with the touchpad installing the <tt>synaptics</tt> package and following the instructions in [[Touchpad Synaptics]]. '''Don't forget to read the messages when you install the package'''<br />
<br />
Now, I would like to configure twin view to attach an external monitor to the laptop. It shouldn't be difficult, but I haven't tested it yet because I don't have physical space for the screen in my desktop (real life wood desktop).<br />
<br />
== Touchpad Configuration ==<br />
<br />
Since this is a small touchpad, I prefer two finger scrolling ("a la" Macintosh), instead of the edge scrolling. This section covers that.<br />
<br />
First of all:<br />
sudo pacman -Sy synaptics<br />
<br />
Then you can do:<br />
man synaptics<br />
<br />
And see all the options this amazing driver offers. Moving along, you'll have to edit your /etc/X11/xorg.conf file:<br />
<br />
(...)<br />
Section "InputDevice"<br />
Driver "synaptics"<br />
Identifier "Mouse0"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1800"<br />
Option "RightEdge" "5000"<br />
Option "TopEdge" "1600"<br />
Option "BottomEdge" "4900"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "FingerPress" "250"<br />
Option "MaxTapTime" "130"<br />
Option "MaxTapMove" "150"<br />
Option "VertScrollDelta" "300"<br />
Option "VertEdgeScroll" "false"<br />
Option "HorizEdgeScroll" "false"<br />
Option "VertTwoFingerScroll" "true"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "on"<br />
Option "EdgeMotionUseAlways" "false"<br />
EndSection<br />
(...)<br />
<br />
This configuration is what worked best for me, but you can disable VertTwoFingerScroll, and change the EdgeScrolls to "true". Be aware that to enable edge scrolling, maybe you have to change your RightEdge and BottomEdge values.<br />
<br />
Using this driver, you won't be able to plug in an external USB mouse and use it right away. Not in Arch anyway.Thsi is what I did:<br />
<br />
in /etc/X11/xorg.conf:<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse1"<br />
Driver "mouse"<br />
Option "Protocol" "IMPS/2"<br />
Option "Device" "/dev/psaux"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
and add this to the ServerLayout section:<br />
<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Mouse1" "SendCoreEvents" ##THIS<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
Option "AIGLX" "true"<br />
EndSection<br />
<br />
<br />
<br />
And that's it!! Enjoy =)<br />
<br />
This section was written by Raul Silva. Any question/remarks, contact raul_nds in the Arch Forums.<br />
<br />
== Wifi configuration ==<br />
<br />
The wireless card included in this laptop is an <i>Intel® Pro WLAN 3945 Internal Wireless (802.11a/b/g 54 Mbps)</i>. I think you can use the ipw drivers, but they will be deprecated in favour of new iwl drivers, so we will be using the last ones. You will need <tt>iwlwifi</tt> and <tt>iwlwifi-3945-ucode</tt> packages.<br />
<br />
The configuration is standard, as with any other wlan (I will try to document it more extensively in the future, but you can find good general instructions in the wiki) except that the drivers gives some problems if you don't pass the <tt>disable_hw_scan=1</tt> option to the module when you load it into the kernel. To not have to do it manually each time, add this to your <tt>/etc/modprobe.conf</tt>:<br />
<br />
options iwl3945 disable_hw_scan=1<br />
<br />
I don't know why you have to do it, neither what are its consequences, but it wasn't working and I found (I think in ubuntu forums or perhaps in some mailing list) that this little trick solves the problem.<br />
<br />
To test your wireless connection you can use the instructions found on [http://intellinuxwireless.org/?p=iwlwifi&n=HOWTO-iwlwifi HOWTO-iwlwifi].<br />
<br />
== Vista Partition ==<br />
<br />
If your laptop, like mine, was sold with Vista on an ntfs partition and you haven't completly get rid of it probably you will want to access to the data on that partition. The ntfs-3g driver works perfectly, just follow the instructions in [[NTFS Write Support]].<br />
<br />
== Bluetooth ==<br />
<br />
Bluetooth is working, just add <tt>dbus</tt> and <tt>bluetooth</th> to your daemons section in <tt>rc.conf</tt> (You will need to install the packages bluez-utils, bluez-libs and dbus with pacman). Then you can find devices with hcitool. I'm using it to connect to my mobile phone with obexfs. I created an entry in /etc/fstab to mount it with a simple <tt>mount /mnt/mobile</tt>. This is my modified /etc/fstab (it also includes the entry to mount the vista partition as a normal user):<br />
<br />
none /dev/pts devpts defaults 0 0<br />
none /dev/shm tmpfs defaults 0 0<br />
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0<br />
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0<br />
/dev/sda3 / ext3 defaults 0 1<br />
/dev/sda4 swap swap defaults 0 0<br />
/dev/sda2 /mnt/vista ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=002,locale=es_ES.utf8 0 0<br />
obexfs#-bxx-xx-xx-xx-xx-xx\040-Bx /mnt/mobile fuse user,fsname=obexfs#-bxx-xx-xx-xx-xx-xx 0 0<br />
<br />
You will have to change the xx to the values you will see for your device with hcitool. The obexftp faq was very helpful to get it working.<br />
<br />
== Web cam ==<br />
<br />
It works perfectly with the driver available in aur for syntek webcams: [http://aur.archlinux.org/packages.php?do_Details=1&ID=12669 stk11xx]<br />
<br />
== Card reader and fingerprint reader ==<br />
<br />
I have read they don't work under Linux, though haven't looked into it yet. I just know the card reader is from Genesys and the fingerprint reader is an AuthenTec Inc AES1610 (its web page tells it is supported under linux [http://www.authentec.com/products-pcsandperipherals-aes1610-spec.html]). Any help would be appreciated.<br />
<br />
== Hibernation ==<br />
<br />
If you want, you can hibernate and resume your system with the help of the kernel26suspend2 kernel. I just followed the steps in the wiki page, and then found my system was hanging during the hibernation. I solved the problems adding this two options to the kernel parameter in /boot/grub/menu.lst : highres=off nohz=off<br />
<br />
I found this solution in a forum and don't know why it wasn't working or why it works now. Some help would be welcomed.</div>Raul ndshttps://wiki.archlinux.org/index.php?title=Packard_Bell_BU45&diff=31264Packard Bell BU452007-10-23T19:53:16Z<p>Raul nds: </p>
<hr />
<div>[[Category:Laptops (English)]]<br />
<br />
= Archlinux in the Packard Bell BU45 =<br />
<br />
I have just bought this laptop from Packard Bell (model PB BU45 O O61). The configuration of xorg and wifi have been a bit (just a bit) difficult, so I will be posting here my configuration files and my experiences. '''This wiki page is still a work in progress''', if somebody is having problems, just send me an email at yiyu dot jgl at gmail.<br />
<br />
== X.org configuration ==<br />
<br />
If you want to use the screen with its native resolution of 1280x800 (absolutely recommended) you will need the last drivers from intel. The package you will need is <tt>xf86-video-intel</tt>, available (atm) from the testing repositories.<br />
<br />
Then, you will have to edit your <tt>/etc/X11/xorg.conf</tt> file in order to use this driver. Just edit your line in your <tt>Device</tt> section which tells <tt>Driver</tt> to <tt>Driver "intel"</tt>. This is my xorg.conf file:<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
Section "Files"<br />
RgbPath "/usr/share/X11/rgb"<br />
ModulePath "/usr/lib/xorg/modules"<br />
FontPath "/usr/share/fonts/misc"<br />
FontPath "/usr/share/fonts/100dpi:unscaled"<br />
FontPath "/usr/share/fonts/75dpi:unscaled"<br />
FontPath "/usr/share/fonts/TTF"<br />
FontPath "/usr/share/fonts/Type1"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "extmod"<br />
Load "dbe"<br />
Load "record"<br />
Load "dri"<br />
Load "GLcore"<br />
Load "glx"<br />
Load "xtrap"<br />
Load "type1"<br />
Load "freetype"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<br />
<br />
Option "XkbLayout" "es"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse0"<br />
Driver "mouse"<br />
Option "Protocol" "auto"<br />
Option "Device" "/dev/input/mice"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Monitor"<br />
#DisplaySize 260 160 # mm<br />
Identifier "Monitor0"<br />
VendorName "QDS"<br />
ModelName "2e"<br />
EndSection<br />
<br />
Section "Device"<br />
### Available Driver options are:-<br />
### Values: &lt;i>: integer, <f>: float, <bool>: "True"/"False",<br />
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br />
### [arg]: arg optional<br />
#Option "NoAccel" # [<bool>]<br />
#Option "SWcursor" # [<bool>]<br />
#Option "ColorKey" # &lt;i><br />
#Option "CacheLines" # &lt;i><br />
#Option "Dac6Bit" # [<bool>]<br />
#Option "DRI" # [<bool>]<br />
#Option "NoDDC" # [<bool>]<br />
#Option "ShowCache" # [<bool>]<br />
#Option "XvMCSurfaces" # &lt;i><br />
#Option "PageFlip" # [<bool>]<br />
Identifier "Card0"<br />
Driver "intel"<br />
VendorName "Intel Corporation"<br />
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"<br />
BusID "PCI:0:2:0"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 1<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 4<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 8<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 15<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"t<br />
Viewport 0 0<br />
Depth 16<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
Modes "1280x800"<br />
EndSubSection<br />
EndSection<br />
<br />
Be careful, because this file also sets my keyboard layout to Spanish. You probably won't need that line.<br />
<br />
You can also activate scrolling with the touchpad installing the <tt>synaptics</tt> package and following the instructions in [[Touchpad Synaptics]]. '''Don't forget to read the messages when you install the package'''<br />
<br />
Now, I would like to configure twin view to attach an external monitor to the laptop. It shouldn't be difficult, but I haven't tested it yet because I don't have physical space for the screen in my desktop (real life wood desktop).<br />
<br />
== Touchpad Configuration ==<br />
<br />
Since this is a small touchpad, I prefer two finger scrolling ("a la" Macintosh), instead of the edge scrolling. This section covers that.<br />
<br />
First of all:<br />
sudo pacman -Sy synaptics<br />
<br />
Then you can do:<br />
man synaptics<br />
<br />
And see all the options this amazing driver offers. Moving along, you'll have to edit your /etc/X11/xorg.conf file:<br />
<br />
(...)<br />
Section "InputDevice"<br />
Driver "synaptics"<br />
Identifier "Mouse0"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1800"<br />
Option "RightEdge" "5000"<br />
Option "TopEdge" "1600"<br />
Option "BottomEdge" "4900"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "FingerPress" "250"<br />
Option "MaxTapTime" "130"<br />
Option "MaxTapMove" "150"<br />
Option "VertScrollDelta" "300"<br />
Option "VertEdgeScroll" "false"<br />
Option "HorizEdgeScroll" "false"<br />
Option "VertTwoFingerScroll" "true"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "on"<br />
Option "EdgeMotionUseAlways" "false"<br />
EndSection<br />
(...)<br />
<br />
This configuration is what worked best for me, but you can disable VertTwoFingerScroll, and change the EdgeScrolls to "true". Be aware that to enable edge scrolling, maybe you have to change your RightEdge and BottomEdge values.<br />
<br />
Using this driver, you won't be able to plug in an external USB mouse and use it right away. Not in Arch anyway.Thsi is what I did:<br />
<br />
in /etc/X11/xorg.conf:<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse1"<br />
Driver "mouse"<br />
Option "Protocol" "IMPS/2"<br />
Option "Device" "/dev/psaux"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
and add this to the ServerLayout section:<br />
<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Mouse1" "SendCoreEvents" ##THIS<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
Option "AIGLX" "true"<br />
EndSection<br />
<br />
<br />
<br />
And that's it!! Enjoy =)<br />
<br />
This section was written by Raul Silva. Any question/remarks, contact raul_nds in the Arch Forums.<br />
<br />
== Wifi configuration ==<br />
<br />
The wireless card included in this laptop is an <i>Intel® Pro WLAN 3945 Internal Wireless (802.11a/b/g 54 Mbps)</i>. I think you can use the ipw drivers, but they will be deprecated in favour of new iwl drivers, so we will be using the last ones. You will need <tt>iwlwifi</tt> and <tt>iwlwifi-3945-ucode</tt> packages.<br />
<br />
The configuration is standard, as with any other wlan (I will try to document it more extensively in the future, but you can find good general instructions in the wiki) except that the drivers gives some problems if you don't pass the <tt>disable_hw_scan=1</tt> option to the module when you load it into the kernel. To not have to do it manually each time, add this to your <tt>/etc/modprobe.conf</tt>:<br />
<br />
options iwl3945 disable_hw_scan=1<br />
<br />
I don't know why you have to do it, neither what are its consequences, but it wasn't working and I found (I think in ubuntu forums or perhaps in some mailing list) that this little trick solves the problem.<br />
<br />
To test your wireless connection you can use the instructions found on [http://intellinuxwireless.org/?p=iwlwifi&n=HOWTO-iwlwifi HOWTO-iwlwifi].<br />
<br />
== Vista Partition ==<br />
<br />
If your laptop, like mine, was sold with Vista on an ntfs partition and you haven't completly get rid of it probably you will want to access to the data on that partition. The ntfs-3g driver works perfectly, just follow the instructions in [[NTFS Write Support]].<br />
<br />
== Bluetooth ==<br />
<br />
Bluetooth is working, just add <tt>dbus</tt> and <tt>bluetooth</th> to your daemons section in <tt>rc.conf</tt> (You will need to install the packages bluez-utils, bluez-libs and dbus with pacman). Then you can find devices with hcitool. I'm using it to connect to my mobile phone with obexfs. I created an entry in /etc/fstab to mount it with a simple <tt>mount /mnt/mobile</tt>. This is my modified /etc/fstab (it also includes the entry to mount the vista partition as a normal user):<br />
<br />
none /dev/pts devpts defaults 0 0<br />
none /dev/shm tmpfs defaults 0 0<br />
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0<br />
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0<br />
/dev/sda3 / ext3 defaults 0 1<br />
/dev/sda4 swap swap defaults 0 0<br />
/dev/sda2 /mnt/vista ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=002,locale=es_ES.utf8 0 0<br />
obexfs#-bxx-xx-xx-xx-xx-xx\040-Bx /mnt/mobile fuse user,fsname=obexfs#-bxx-xx-xx-xx-xx-xx 0 0<br />
<br />
You will have to change the xx to the values you will see for your device with hcitool. The obexftp faq was very helpful to get it working.<br />
<br />
== Web cam ==<br />
<br />
It works perfectly with the driver available in aur for syntek webcams: [http://aur.archlinux.org/packages.php?do_Details=1&ID=12669 stk11xx]<br />
<br />
== Card reader and fingerprint reader ==<br />
<br />
I have read they don't work under Linux, though haven't looked into it yet. I just know the card reader is from Genesys and the fingerprint reader is an AuthenTec Inc AES1610 (its web page tells it is supported under linux [http://www.authentec.com/products-pcsandperipherals-aes1610-spec.html]). Any help would be appreciated.<br />
<br />
== Hibernation ==<br />
<br />
If you want, you can hibernate and resume your system with the help of the kernel26suspend2 kernel. I just followed the steps in the wiki page, and then found my system was hanging during the hibernation. I solved the problems adding this two options to the kernel parameter in /boot/grub/menu.lst : highres=off nohz=off<br />
<br />
I found this solution in a forum and don't know why it wasn't working or why it works now. Some help would be welcomed.</div>Raul ndshttps://wiki.archlinux.org/index.php?title=Packard_Bell_BU45&diff=31263Packard Bell BU452007-10-23T19:51:09Z<p>Raul nds: </p>
<hr />
<div>[[Category:Laptops (English)]]<br />
<br />
= Archlinux in the Packard Bell BU45 =<br />
<br />
I have just bought this laptop from Packard Bell (model PB BU45 O O61). The configuration of xorg and wifi have been a bit (just a bit) difficult, so I will be posting here my configuration files and my experiences. '''This wiki page is still a work in progress''', if somebody is having problems, just send me an email at yiyu dot jgl at gmail.<br />
<br />
== X.org configuration ==<br />
<br />
If you want to use the screen with its native resolution of 1280x800 (absolutely recommended) you will need the last drivers from intel. The package you will need is <tt>xf86-video-intel</tt>, available (atm) from the testing repositories.<br />
<br />
Then, you will have to edit your <tt>/etc/X11/xorg.conf</tt> file in order to use this driver. Just edit your line in your <tt>Device</tt> section which tells <tt>Driver</tt> to <tt>Driver "intel"</tt>. This is my xorg.conf file:<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
Section "Files"<br />
RgbPath "/usr/share/X11/rgb"<br />
ModulePath "/usr/lib/xorg/modules"<br />
FontPath "/usr/share/fonts/misc"<br />
FontPath "/usr/share/fonts/100dpi:unscaled"<br />
FontPath "/usr/share/fonts/75dpi:unscaled"<br />
FontPath "/usr/share/fonts/TTF"<br />
FontPath "/usr/share/fonts/Type1"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "extmod"<br />
Load "dbe"<br />
Load "record"<br />
Load "dri"<br />
Load "GLcore"<br />
Load "glx"<br />
Load "xtrap"<br />
Load "type1"<br />
Load "freetype"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<br />
<br />
Option "XkbLayout" "es"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse0"<br />
Driver "mouse"<br />
Option "Protocol" "auto"<br />
Option "Device" "/dev/input/mice"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Monitor"<br />
#DisplaySize 260 160 # mm<br />
Identifier "Monitor0"<br />
VendorName "QDS"<br />
ModelName "2e"<br />
EndSection<br />
<br />
Section "Device"<br />
### Available Driver options are:-<br />
### Values: &lt;i>: integer, <f>: float, <bool>: "True"/"False",<br />
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br />
### [arg]: arg optional<br />
#Option "NoAccel" # [<bool>]<br />
#Option "SWcursor" # [<bool>]<br />
#Option "ColorKey" # &lt;i><br />
#Option "CacheLines" # &lt;i><br />
#Option "Dac6Bit" # [<bool>]<br />
#Option "DRI" # [<bool>]<br />
#Option "NoDDC" # [<bool>]<br />
#Option "ShowCache" # [<bool>]<br />
#Option "XvMCSurfaces" # &lt;i><br />
#Option "PageFlip" # [<bool>]<br />
Identifier "Card0"<br />
Driver "intel"<br />
VendorName "Intel Corporation"<br />
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"<br />
BusID "PCI:0:2:0"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 1<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 4<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 8<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 15<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"t<br />
Viewport 0 0<br />
Depth 16<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
Modes "1280x800"<br />
EndSubSection<br />
EndSection<br />
<br />
Be careful, because this file also sets my keyboard layout to Spanish. You probably won't need that line.<br />
<br />
You can also activate scrolling with the touchpad installing the <tt>synaptics</tt> package and following the instructions in [[Touchpad Synaptics]]. '''Don't forget to read the messages when you install the package'''<br />
<br />
Now, I would like to configure twin view to attach an external monitor to the laptop. It shouldn't be difficult, but I haven't tested it yet because I don't have physical space for the screen in my desktop (real life wood desktop).<br />
<br />
== Touchpad Configuration ==<br />
<br />
Since this is a small touchpad, I prefer two finger scrolling ("a la" Macintosh), instead of the edge scrolling. This section covers that.<br />
<br />
First of all:<br />
sudo pacman -Sy synaptics<br />
<br />
Then you can do:<br />
man synaptics<br />
<br />
And see all the options this amazing driver offers. Moving along, you'll have to edit your /etc/X11/xorg.conf file:<br />
<br />
(...)<br />
Section "InputDevice"<br />
Driver "synaptics"<br />
Identifier "Mouse0"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1800"<br />
Option "RightEdge" "5000"<br />
Option "TopEdge" "1600"<br />
Option "BottomEdge" "4900"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "FingerPress" "250"<br />
Option "MaxTapTime" "130"<br />
Option "MaxTapMove" "150"<br />
Option "VertScrollDelta" "300"<br />
Option "VertEdgeScroll" "false"<br />
Option "HorizEdgeScroll" "false"<br />
Option "VertTwoFingerScroll" "true"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "on"<br />
Option "EdgeMotionUseAlways" "false"<br />
EndSection<br />
(...)<br />
<br />
This configuration is what worked best for me, but you can disable VertTwoFingerScroll, and change the EdgeScrolls to "true". Be aware that to enable edge scrolling, maybe you have to change your RightEdge and BottomEdge values.<br />
<br />
Using this driver, you won't be able to plug in an external USB mouse and use it right away. Not in Arch anyway.Thsi is what I did:<br />
<br />
in /etc/X11/xorg.conf:<br />
<br />
(...)<br />
Section "InputDevice"<br />
Identifier "Mouse1"<br />
Driver "mouse"<br />
Option "Protocol" "IMPS/2"<br />
Option "Device" "/dev/psaux"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
(...)<br />
<br />
and add this to the ServerLayout section:<br />
<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
[b]InputDevice "Mouse1" "SendCoreEvents"[/b]<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
Option "AIGLX" "true"<br />
EndSection<br />
<br />
<br />
<br />
And that's it!! Enjoy =)<br />
<br />
This section was written by Raul Silva. Any question/remarks, contact raul_nds in the Arch Forums.<br />
<br />
== Wifi configuration ==<br />
<br />
The wireless card included in this laptop is an <i>Intel® Pro WLAN 3945 Internal Wireless (802.11a/b/g 54 Mbps)</i>. I think you can use the ipw drivers, but they will be deprecated in favour of new iwl drivers, so we will be using the last ones. You will need <tt>iwlwifi</tt> and <tt>iwlwifi-3945-ucode</tt> packages.<br />
<br />
The configuration is standard, as with any other wlan (I will try to document it more extensively in the future, but you can find good general instructions in the wiki) except that the drivers gives some problems if you don't pass the <tt>disable_hw_scan=1</tt> option to the module when you load it into the kernel. To not have to do it manually each time, add this to your <tt>/etc/modprobe.conf</tt>:<br />
<br />
options iwl3945 disable_hw_scan=1<br />
<br />
I don't know why you have to do it, neither what are its consequences, but it wasn't working and I found (I think in ubuntu forums or perhaps in some mailing list) that this little trick solves the problem.<br />
<br />
To test your wireless connection you can use the instructions found on [http://intellinuxwireless.org/?p=iwlwifi&n=HOWTO-iwlwifi HOWTO-iwlwifi].<br />
<br />
== Vista Partition ==<br />
<br />
If your laptop, like mine, was sold with Vista on an ntfs partition and you haven't completly get rid of it probably you will want to access to the data on that partition. The ntfs-3g driver works perfectly, just follow the instructions in [[NTFS Write Support]].<br />
<br />
== Bluetooth ==<br />
<br />
Bluetooth is working, just add <tt>dbus</tt> and <tt>bluetooth</th> to your daemons section in <tt>rc.conf</tt> (You will need to install the packages bluez-utils, bluez-libs and dbus with pacman). Then you can find devices with hcitool. I'm using it to connect to my mobile phone with obexfs. I created an entry in /etc/fstab to mount it with a simple <tt>mount /mnt/mobile</tt>. This is my modified /etc/fstab (it also includes the entry to mount the vista partition as a normal user):<br />
<br />
none /dev/pts devpts defaults 0 0<br />
none /dev/shm tmpfs defaults 0 0<br />
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0<br />
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0<br />
/dev/sda3 / ext3 defaults 0 1<br />
/dev/sda4 swap swap defaults 0 0<br />
/dev/sda2 /mnt/vista ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=002,locale=es_ES.utf8 0 0<br />
obexfs#-bxx-xx-xx-xx-xx-xx\040-Bx /mnt/mobile fuse user,fsname=obexfs#-bxx-xx-xx-xx-xx-xx 0 0<br />
<br />
You will have to change the xx to the values you will see for your device with hcitool. The obexftp faq was very helpful to get it working.<br />
<br />
== Web cam ==<br />
<br />
It works perfectly with the driver available in aur for syntek webcams: [http://aur.archlinux.org/packages.php?do_Details=1&ID=12669 stk11xx]<br />
<br />
== Card reader and fingerprint reader ==<br />
<br />
I have read they don't work under Linux, though haven't looked into it yet. I just know the card reader is from Genesys and the fingerprint reader is an AuthenTec Inc AES1610 (its web page tells it is supported under linux [http://www.authentec.com/products-pcsandperipherals-aes1610-spec.html]). Any help would be appreciated.<br />
<br />
== Hibernation ==<br />
<br />
If you want, you can hibernate and resume your system with the help of the kernel26suspend2 kernel. I just followed the steps in the wiki page, and then found my system was hanging during the hibernation. I solved the problems adding this two options to the kernel parameter in /boot/grub/menu.lst : highres=off nohz=off<br />
<br />
I found this solution in a forum and don't know why it wasn't working or why it works now. Some help would be welcomed.</div>Raul ndshttps://wiki.archlinux.org/index.php?title=Packard_Bell_BU45&diff=31262Packard Bell BU452007-10-23T19:50:26Z<p>Raul nds: </p>
<hr />
<div>[[Category:Laptops (English)]]<br />
<br />
= Archlinux in the Packard Bell BU45 =<br />
<br />
I have just bought this laptop from Packard Bell (model PB BU45 O O61). The configuration of xorg and wifi have been a bit (just a bit) difficult, so I will be posting here my configuration files and my experiences. '''This wiki page is still a work in progress''', if somebody is having problems, just send me an email at yiyu dot jgl at gmail.<br />
<br />
== X.org configuration ==<br />
<br />
If you want to use the screen with its native resolution of 1280x800 (absolutely recommended) you will need the last drivers from intel. The package you will need is <tt>xf86-video-intel</tt>, available (atm) from the testing repositories.<br />
<br />
Then, you will have to edit your <tt>/etc/X11/xorg.conf</tt> file in order to use this driver. Just edit your line in your <tt>Device</tt> section which tells <tt>Driver</tt> to <tt>Driver "intel"</tt>. This is my xorg.conf file:<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
Section "Files"<br />
RgbPath "/usr/share/X11/rgb"<br />
ModulePath "/usr/lib/xorg/modules"<br />
FontPath "/usr/share/fonts/misc"<br />
FontPath "/usr/share/fonts/100dpi:unscaled"<br />
FontPath "/usr/share/fonts/75dpi:unscaled"<br />
FontPath "/usr/share/fonts/TTF"<br />
FontPath "/usr/share/fonts/Type1"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "extmod"<br />
Load "dbe"<br />
Load "record"<br />
Load "dri"<br />
Load "GLcore"<br />
Load "glx"<br />
Load "xtrap"<br />
Load "type1"<br />
Load "freetype"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<br />
<br />
Option "XkbLayout" "es"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse0"<br />
Driver "mouse"<br />
Option "Protocol" "auto"<br />
Option "Device" "/dev/input/mice"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Monitor"<br />
#DisplaySize 260 160 # mm<br />
Identifier "Monitor0"<br />
VendorName "QDS"<br />
ModelName "2e"<br />
EndSection<br />
<br />
Section "Device"<br />
### Available Driver options are:-<br />
### Values: &lt;i>: integer, <f>: float, <bool>: "True"/"False",<br />
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br />
### [arg]: arg optional<br />
#Option "NoAccel" # [<bool>]<br />
#Option "SWcursor" # [<bool>]<br />
#Option "ColorKey" # &lt;i><br />
#Option "CacheLines" # &lt;i><br />
#Option "Dac6Bit" # [<bool>]<br />
#Option "DRI" # [<bool>]<br />
#Option "NoDDC" # [<bool>]<br />
#Option "ShowCache" # [<bool>]<br />
#Option "XvMCSurfaces" # &lt;i><br />
#Option "PageFlip" # [<bool>]<br />
Identifier "Card0"<br />
Driver "intel"<br />
VendorName "Intel Corporation"<br />
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"<br />
BusID "PCI:0:2:0"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 1<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 4<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 8<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 15<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"t<br />
Viewport 0 0<br />
Depth 16<br />
Modes "1280x800"<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
Modes "1280x800"<br />
EndSubSection<br />
EndSection<br />
<br />
Be careful, because this file also sets my keyboard layout to Spanish. You probably won't need that line.<br />
<br />
You can also activate scrolling with the touchpad installing the <tt>synaptics</tt> package and following the instructions in [[Touchpad Synaptics]]. '''Don't forget to read the messages when you install the package'''<br />
<br />
Now, I would like to configure twin view to attach an external monitor to the laptop. It shouldn't be difficult, but I haven't tested it yet because I don't have physical space for the screen in my desktop (real life wood desktop).<br />
<br />
== Touchpad Configuration ==<br />
<br />
Since this is a small touchpad, I prefer two finger scrolling ("a la" Macintosh), instead of the edge scrolling. This section covers that.<br />
<br />
First of all:<br />
sudo pacman -Sy synaptics<br />
<br />
Then you can do:<br />
man synaptics<br />
<br />
And see all the options this amazing driver offers. Moving along, you'll have to edit your /etc/X11/xorg.conf file:<br />
<br />
(...)<br />
Section "InputDevice"<br />
Driver "synaptics"<br />
Identifier "Mouse0"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "LeftEdge" "1800"<br />
Option "RightEdge" "5000"<br />
Option "TopEdge" "1600"<br />
Option "BottomEdge" "4900"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "FingerPress" "250"<br />
Option "MaxTapTime" "130"<br />
Option "MaxTapMove" "150"<br />
Option "VertScrollDelta" "300"<br />
Option "VertEdgeScroll" "false"<br />
Option "HorizEdgeScroll" "false"<br />
Option "VertTwoFingerScroll" "true"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "SHMConfig" "on"<br />
Option "EdgeMotionUseAlways" "false"<br />
EndSection<br />
(...)<br />
<br />
This configuration is what worked best for me, but you can disable VertTwoFingerScroll, and change the EdgeScrolls to "true". Be aware that to enable edge scrolling, maybe you have to change your RightEdge and BottomEdge values.<br />
<br />
Using this driver, you won't be able to plug in an external USB mouse and use it right away. Not in Arch anyway.Thsi is what I did:<br />
<br />
in /etc/X11/xorg.conf:<br />
<br />
(...)<br />
Section "InputDevice"<br />
Identifier "Mouse1"<br />
Driver "mouse"<br />
Option "Protocol" "IMPS/2"<br />
Option "Device" "/dev/psaux"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
(...)<br />
<br />
and add this to the ServerLayout section:<br />
<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
[b]InputDevice "Mouse1" "SendCoreEvents"[/b]<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
Option "AIGLX" "true"<br />
EndSection<br />
<br />
<br />
<br />
And that's it!! Enjoy =)<br />
<br />
This section was written by Raul Silva. Any question/remarks, contact raul_nds in the Arch Forums.<br />
<br />
== Wifi configuration ==<br />
<br />
The wireless card included in this laptop is an <i>Intel® Pro WLAN 3945 Internal Wireless (802.11a/b/g 54 Mbps)</i>. I think you can use the ipw drivers, but they will be deprecated in favour of new iwl drivers, so we will be using the last ones. You will need <tt>iwlwifi</tt> and <tt>iwlwifi-3945-ucode</tt> packages.<br />
<br />
The configuration is standard, as with any other wlan (I will try to document it more extensively in the future, but you can find good general instructions in the wiki) except that the drivers gives some problems if you don't pass the <tt>disable_hw_scan=1</tt> option to the module when you load it into the kernel. To not have to do it manually each time, add this to your <tt>/etc/modprobe.conf</tt>:<br />
<br />
options iwl3945 disable_hw_scan=1<br />
<br />
I don't know why you have to do it, neither what are its consequences, but it wasn't working and I found (I think in ubuntu forums or perhaps in some mailing list) that this little trick solves the problem.<br />
<br />
To test your wireless connection you can use the instructions found on [http://intellinuxwireless.org/?p=iwlwifi&n=HOWTO-iwlwifi HOWTO-iwlwifi].<br />
<br />
== Vista Partition ==<br />
<br />
If your laptop, like mine, was sold with Vista on an ntfs partition and you haven't completly get rid of it probably you will want to access to the data on that partition. The ntfs-3g driver works perfectly, just follow the instructions in [[NTFS Write Support]].<br />
<br />
== Bluetooth ==<br />
<br />
Bluetooth is working, just add <tt>dbus</tt> and <tt>bluetooth</th> to your daemons section in <tt>rc.conf</tt> (You will need to install the packages bluez-utils, bluez-libs and dbus with pacman). Then you can find devices with hcitool. I'm using it to connect to my mobile phone with obexfs. I created an entry in /etc/fstab to mount it with a simple <tt>mount /mnt/mobile</tt>. This is my modified /etc/fstab (it also includes the entry to mount the vista partition as a normal user):<br />
<br />
none /dev/pts devpts defaults 0 0<br />
none /dev/shm tmpfs defaults 0 0<br />
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0<br />
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0<br />
/dev/sda3 / ext3 defaults 0 1<br />
/dev/sda4 swap swap defaults 0 0<br />
/dev/sda2 /mnt/vista ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=002,locale=es_ES.utf8 0 0<br />
obexfs#-bxx-xx-xx-xx-xx-xx\040-Bx /mnt/mobile fuse user,fsname=obexfs#-bxx-xx-xx-xx-xx-xx 0 0<br />
<br />
You will have to change the xx to the values you will see for your device with hcitool. The obexftp faq was very helpful to get it working.<br />
<br />
== Web cam ==<br />
<br />
It works perfectly with the driver available in aur for syntek webcams: [http://aur.archlinux.org/packages.php?do_Details=1&ID=12669 stk11xx]<br />
<br />
== Card reader and fingerprint reader ==<br />
<br />
I have read they don't work under Linux, though haven't looked into it yet. I just know the card reader is from Genesys and the fingerprint reader is an AuthenTec Inc AES1610 (its web page tells it is supported under linux [http://www.authentec.com/products-pcsandperipherals-aes1610-spec.html]). Any help would be appreciated.<br />
<br />
== Hibernation ==<br />
<br />
If you want, you can hibernate and resume your system with the help of the kernel26suspend2 kernel. I just followed the steps in the wiki page, and then found my system was hanging during the hibernation. I solved the problems adding this two options to the kernel parameter in /boot/grub/menu.lst : highres=off nohz=off<br />
<br />
I found this solution in a forum and don't know why it wasn't working or why it works now. Some help would be welcomed.</div>Raul nds