https://wiki.archlinux.org/api.php?action=feedcontributions&user=Rognon&feedformat=atomArchWiki - User contributions [en]2024-03-28T20:53:22ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=58388Lenovo ThinkPad T4002009-01-19T21:26:02Z<p>Rognon: /* Bluetooth */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics/Xorg Configuration==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.3<br />
*xf86-video-ati version 6.10.0<br />
*xf86-video-radeonhd 1.2.4<br />
*catalyst version 8.12<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
'''Note : '''Some people have encountered problems with 3D on 2.6.28 kernels and xf86-video-intel version 2.4.3. <br />
<br />
The following xorg.conf file was tested on a T400 with an integrated card with the 1280x800 resolution provided by the default Intel Integrated Intel GMA 4500MHD (I included the Input devices for reference)<br />
<br />
<br />
Section "InputDevice"<br />
Identifier "Generic Keyboard"<br />
Driver "kbd"<br />
Option "XkbRules" "xorg"<br />
Option "XkbModel" "pc104"<br />
Option "XkbLayout" "us"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "SendCoreEvents"<br />
Option "Device" "/dev/input/mice"<br />
Option "Emulate3Buttons" "true"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Synaptics Touchpad"<br />
Driver "synaptics"<br />
Option "CorePointer"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "Emulate3Buttons" "true"<br />
Option "HorizScrollDelta" "0"<br />
Option "Emulate3Buttons" "true"<br />
Option "LeftEdge" "1700"<br />
Option "RightEdge" "5300"<br />
Option "TopEdge" "1700"<br />
Option "BottomEdge" "4200"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.10"<br />
Option "AccelFactor" "0.0010"<br />
#Option "SHMConfig" "1"<br />
Option "UpDownScrolling" "1"<br />
Option "CircularScrolling" "0"<br />
Option "LockedDrags" "0"<br />
Option "TouchpadOff" "0"<br />
#Option "Repeater" "/dev/ps2mouse"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "HDMI-1"<br />
Option "Ignore" "True"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "HDMI-2"<br />
Option "Ignore" "True"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Driver "intel"<br />
Option "monitor-HDMI-1" "HDMI-1"<br />
Option "monitor-HDMI-2" "HDMI-2"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
DefaultDepth 24<br />
SubSection "Display"<br />
Modes "1280x800"<br />
EndSubSection<br />
EndSection<br />
<br />
Section "ServerLayout"<br />
Identifier "Default Layout"<br />
Screen "Default Screen"<br />
InputDevice "Synaptics Touchpad"<br />
InputDevice "Configured Mouse"<br />
EndSection<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is both [[ATI#Open-Source_ATI_Drivers|open-source drivers]] (<code>xf86-video-ati</code> and <code>xf86-video-radeonhd</code>) and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the <code>catalyst</code> proprietary drivers).<br />
<br />
I could not get the <code>xf86-video-radeonhd</code> drivers to detect my external monitor, but <code>xf86-video-ati</code> worked fine. Remember to remove <code>catalyst</code> and <code>catalyst-utils</code> before using an [[ATI#Open-Source_ATI_Drivers|open source ATI drivers]]. ATI uses its own OpenGL library in its proprietary drivers, which is included in <code>catalyst-utils</code> and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
=== Synaptic, UltraNav ===<br />
If you want to be able to use horizontal and vertical scroll with your touchpad add this lines to your xorg.conf<br />
Section "Module"<br />
......<br />
Load "synaptics"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Touchpad"<br />
Driver "synaptics"<br />
Option "AlwaysCore"<br />
Option "Device" "/dev/input/mouse1"<br />
Option "Protocol" "auto-dev"<br />
Option "SendCoreEvents" "true"<br />
Option "LeftEdge" "1632"<br />
Option "RightEdge" "5312"<br />
Option "TopEdge" "1575"<br />
Option "BottomEdge" "4281"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "VertEdgeScroll" "on"<br />
Option "HorizEdgeScroll" "on"<br />
# Option HorizScrollDelta""0" <br />
Option "SHMConfig" "on"<br />
EndSection <br />
<br />
for trakpoint with third button paste & scroll add this few lines to xorg.conf too<br />
<br />
Section "InputDevice"<br />
Identifier "Trackpoint"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "Auto"<br />
Option "Emulate3Buttons"<br />
Option "Emulate3Timeout" "50"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelTimeout" "200" # adjust third button paste timeout. <br />
Option "EmulateWheelButton" "2"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
Option "YAxisMapping" "4 5"<br />
EndSection<br />
finally update your layout<br />
Section "ServerLayout"<br />
InputDevice "Trackpoint" "CorePointer"<br />
InputDevice "Touchpad"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make sure that sound is not muted. You might also want to press the Volume Up or Volume Down button. It seems than the Mute button mutes everything, even system beeps. Pressing the Volume Up or Volume Down button can unmute, but not pressing the Mute button again.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
The screen brightness controls and the flashlight work without any tweaking. As for the mute button, it mutes everything, even system beeps, with no tweaking necessary. To unmute, you do have to press the Volume Up or Volume Down button since the mute button does not seem to unmute. The other keys can be mapped using [[Extra_Keyboard_Keys#Using_xev|xev]] and xbindkeys. By following [http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Enabling_Keyboard_Multimedia_Keys this guide] you should be able to get everything working, but here's summary :<br />
<br />
*First, open a terminal and type <code>xev</code>. This starts the "Event tester".<br />
*Place your cursor on the "Event tester" window.<br />
*When you press a key on your keyboard or move your mouse, it should get displayed in a terminal. For instance, this is what shows up if you press Fn+F2 <br />
KeyRelease event, serial 33, synthetic NO, window 0x3000001,<br />
root 0x86, subw 0x0, time 5537544, (76,110), root:(81,938),<br />
state 0x0, '''keycode 146''' (keysym 0x0, '''NoSymbol'''), same_screen YES,<br />
XLookupString gives 0 bytes:<br />
XFilterEvent returns: False<br />
It basically says that '''keycode 146''' is not bound ('''NoSymbol''').<br />
Here are all the keycodes of all multimedia buttons:<br />
<br />
Volume Down : keycode 174<br />
Volume Up : keycode 176<br />
Fn+F2 : keycode 146<br />
Fn+F3 : keycode 241<br />
Fn+F4 : keycode 223<br />
Fn+F5 : Not responding to events ??<br />
Fn+F7 : keycode 214<br />
Fn+F8 : keycode 249<br />
Fn+F9 : keycode 207<br />
Fn+F12 : keycode 165<br />
Fn+Up : keycode 164<br />
Fn+Down : keycode 162<br />
Fn+Left : keycode 144<br />
Fn+Right : keycode 153<br />
Fn+Home : keycode 212<br />
Fn+End : keycode 101<br />
*Type <code>xmodmap -pke > ~/.Xmodmap</code> in a terminal. This creates a file, <code>.Xmodmap</code>, containing your current keyboard mapping.<br />
*Now open the file with a text editor and find the keycodes you're interested in. You can map any keycode with a symbol from [http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols this list].<br />
*To get your new <code>.Xmodmap</code> loaded when you start X, just add <code>xmodmap ~/.Xmodmap</code> to your .xinitrc.<br />
*To get your new <code>.Xmodmap</code> loaded immediately, type <code>xmodmap ~/.Xmodmap</code> in a terminal.<br />
<br />
You can now assign functions to your newly bound keys by using [[Extra_Keyboard_Keys_in_Xorg#Using_your_Desktop_Environment_tools|facilities provided by your window desktop environment]] or by using <code>xbindkeys</code>.<br />
<br />
To use <code>xbindkeys</code>,<br />
*Start by installing it<br />
pacman -S xbindkeys<br />
*Then add <code>xbindkeys &</code> to your .xinitrc.<br />
*And finally, in your home directory, create a file called <code>.xbindkeysrc.scm</code> with content that would look something like <br />
(xbindkey '("XF86Standby") "sudo killall dhcpcd && sudo pm-suspend")<br />
(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")<br />
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")<br />
<br />
==ACPI==<br />
TODO<br />
<br />
==Bluetooth==<br />
The procedure described in the [[Bluetooth]] section of the Arch Wiki worked perfectly for me.</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=58387Lenovo ThinkPad T4002009-01-19T21:16:42Z<p>Rognon: </p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics/Xorg Configuration==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.3<br />
*xf86-video-ati version 6.10.0<br />
*xf86-video-radeonhd 1.2.4<br />
*catalyst version 8.12<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
'''Note : '''Some people have encountered problems with 3D on 2.6.28 kernels and xf86-video-intel version 2.4.3. <br />
<br />
The following xorg.conf file was tested on a T400 with an integrated card with the 1280x800 resolution provided by the default Intel Integrated Intel GMA 4500MHD (I included the Input devices for reference)<br />
<br />
<br />
Section "InputDevice"<br />
Identifier "Generic Keyboard"<br />
Driver "kbd"<br />
Option "XkbRules" "xorg"<br />
Option "XkbModel" "pc104"<br />
Option "XkbLayout" "us"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Configured Mouse"<br />
Driver "mouse"<br />
Option "SendCoreEvents"<br />
Option "Device" "/dev/input/mice"<br />
Option "Emulate3Buttons" "true"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Synaptics Touchpad"<br />
Driver "synaptics"<br />
Option "CorePointer"<br />
Option "Device" "/dev/psaux"<br />
Option "Protocol" "auto-dev"<br />
Option "Emulate3Buttons" "true"<br />
Option "HorizScrollDelta" "0"<br />
Option "Emulate3Buttons" "true"<br />
Option "LeftEdge" "1700"<br />
Option "RightEdge" "5300"<br />
Option "TopEdge" "1700"<br />
Option "BottomEdge" "4200"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.10"<br />
Option "AccelFactor" "0.0010"<br />
#Option "SHMConfig" "1"<br />
Option "UpDownScrolling" "1"<br />
Option "CircularScrolling" "0"<br />
Option "LockedDrags" "0"<br />
Option "TouchpadOff" "0"<br />
#Option "Repeater" "/dev/ps2mouse"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "Configured Monitor"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "HDMI-1"<br />
Option "Ignore" "True"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "HDMI-2"<br />
Option "Ignore" "True"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Configured Video Device"<br />
Driver "intel"<br />
Option "monitor-HDMI-1" "HDMI-1"<br />
Option "monitor-HDMI-2" "HDMI-2"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Default Screen"<br />
Monitor "Configured Monitor"<br />
Device "Configured Video Device"<br />
DefaultDepth 24<br />
SubSection "Display"<br />
Modes "1280x800"<br />
EndSubSection<br />
EndSection<br />
<br />
Section "ServerLayout"<br />
Identifier "Default Layout"<br />
Screen "Default Screen"<br />
InputDevice "Synaptics Touchpad"<br />
InputDevice "Configured Mouse"<br />
EndSection<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is both [[ATI#Open-Source_ATI_Drivers|open-source drivers]] (<code>xf86-video-ati</code> and <code>xf86-video-radeonhd</code>) and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the <code>catalyst</code> proprietary drivers).<br />
<br />
I could not get the <code>xf86-video-radeonhd</code> drivers to detect my external monitor, but <code>xf86-video-ati</code> worked fine. Remember to remove <code>catalyst</code> and <code>catalyst-utils</code> before using an [[ATI#Open-Source_ATI_Drivers|open source ATI drivers]]. ATI uses its own OpenGL library in its proprietary drivers, which is included in <code>catalyst-utils</code> and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
=== Synaptic, UltraNav ===<br />
If you want to be able to use horizontal and vertical scroll with your touchpad add this lines to your xorg.conf<br />
Section "Module"<br />
......<br />
Load "synaptics"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Touchpad"<br />
Driver "synaptics"<br />
Option "AlwaysCore"<br />
Option "Device" "/dev/input/mouse1"<br />
Option "Protocol" "auto-dev"<br />
Option "SendCoreEvents" "true"<br />
Option "LeftEdge" "1632"<br />
Option "RightEdge" "5312"<br />
Option "TopEdge" "1575"<br />
Option "BottomEdge" "4281"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "VertEdgeScroll" "on"<br />
Option "HorizEdgeScroll" "on"<br />
# Option HorizScrollDelta""0" <br />
Option "SHMConfig" "on"<br />
EndSection <br />
<br />
for trakpoint with third button paste & scroll add this few lines to xorg.conf too<br />
<br />
Section "InputDevice"<br />
Identifier "Trackpoint"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "Auto"<br />
Option "Emulate3Buttons"<br />
Option "Emulate3Timeout" "50"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelTimeout" "200" # adjust third button paste timeout. <br />
Option "EmulateWheelButton" "2"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
Option "YAxisMapping" "4 5"<br />
EndSection<br />
finally update your layout<br />
Section "ServerLayout"<br />
InputDevice "Trackpoint" "CorePointer"<br />
InputDevice "Touchpad"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make sure that sound is not muted. You might also want to press the Volume Up or Volume Down button. It seems than the Mute button mutes everything, even system beeps. Pressing the Volume Up or Volume Down button can unmute, but not pressing the Mute button again.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
The screen brightness controls and the flashlight work without any tweaking. As for the mute button, it mutes everything, even system beeps, with no tweaking necessary. To unmute, you do have to press the Volume Up or Volume Down button since the mute button does not seem to unmute. The other keys can be mapped using [[Extra_Keyboard_Keys#Using_xev|xev]] and xbindkeys. By following [http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Enabling_Keyboard_Multimedia_Keys this guide] you should be able to get everything working, but here's summary :<br />
<br />
*First, open a terminal and type <code>xev</code>. This starts the "Event tester".<br />
*Place your cursor on the "Event tester" window.<br />
*When you press a key on your keyboard or move your mouse, it should get displayed in a terminal. For instance, this is what shows up if you press Fn+F2 <br />
KeyRelease event, serial 33, synthetic NO, window 0x3000001,<br />
root 0x86, subw 0x0, time 5537544, (76,110), root:(81,938),<br />
state 0x0, '''keycode 146''' (keysym 0x0, '''NoSymbol'''), same_screen YES,<br />
XLookupString gives 0 bytes:<br />
XFilterEvent returns: False<br />
It basically says that '''keycode 146''' is not bound ('''NoSymbol''').<br />
Here are all the keycodes of all multimedia buttons:<br />
<br />
Volume Down : keycode 174<br />
Volume Up : keycode 176<br />
Fn+F2 : keycode 146<br />
Fn+F3 : keycode 241<br />
Fn+F4 : keycode 223<br />
Fn+F5 : Not responding to events ??<br />
Fn+F7 : keycode 214<br />
Fn+F8 : keycode 249<br />
Fn+F9 : keycode 207<br />
Fn+F12 : keycode 165<br />
Fn+Up : keycode 164<br />
Fn+Down : keycode 162<br />
Fn+Left : keycode 144<br />
Fn+Right : keycode 153<br />
Fn+Home : keycode 212<br />
Fn+End : keycode 101<br />
*Type <code>xmodmap -pke > ~/.Xmodmap</code> in a terminal. This creates a file, <code>.Xmodmap</code>, containing your current keyboard mapping.<br />
*Now open the file with a text editor and find the keycodes you're interested in. You can map any keycode with a symbol from [http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols this list].<br />
*To get your new <code>.Xmodmap</code> loaded when you start X, just add <code>xmodmap ~/.Xmodmap</code> to your .xinitrc.<br />
*To get your new <code>.Xmodmap</code> loaded immediately, type <code>xmodmap ~/.Xmodmap</code> in a terminal.<br />
<br />
You can now assign functions to your newly bound keys by using [[Extra_Keyboard_Keys_in_Xorg#Using_your_Desktop_Environment_tools|facilities provided by your window desktop environment]] or by using <code>xbindkeys</code>.<br />
<br />
To use <code>xbindkeys</code>,<br />
*Start by installing it<br />
pacman -S xbindkeys<br />
*Then add <code>xbindkeys &</code> to your .xinitrc.<br />
*And finally, in your home directory, create a file called <code>.xbindkeysrc.scm</code> with content that would look something like <br />
(xbindkey '("XF86Standby") "sudo killall dhcpcd && sudo pm-suspend")<br />
(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")<br />
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")<br />
<br />
==ACPI==<br />
TODO<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=55190Lenovo ThinkPad T4002008-12-09T21:20:10Z<p>Rognon: </p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics/Xorg Configuration==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is both [[ATI#Open-Source_ATI_Drivers|open-source drivers]] (<code>xf86-video-ati</code> and <code>xf86-video-radeonhd</code>) and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the <code>catalyst</code> proprietary drivers).<br />
<br />
I could not get the <code>xf86-video-radeonhd</code> drivers to detect my external monitor, but <code>xf86-video-ati</code> worked fine. Remember to remove <code>catalyst</code> and <code>catalyst-utils</code> before using an [[ATI#Open-Source_ATI_Drivers|open source ATI drivers]]. ATI uses its own OpenGL library in its proprietary drivers, which is included in <code>catalyst-utils</code> and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
=== Synaptic, UltraNav ===<br />
If you want to be able to use horizontal and vertical scroll with your touchpad add this lines to your xorg.conf<br />
Section "Module"<br />
......<br />
Load "synaptics"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Touchpad"<br />
Driver "synaptics"<br />
Option "AlwaysCore"<br />
Option "Device" "/dev/input/mouse1"<br />
Option "Protocol" "auto-dev"<br />
Option "SendCoreEvents" "true"<br />
Option "LeftEdge" "1632"<br />
Option "RightEdge" "5312"<br />
Option "TopEdge" "1575"<br />
Option "BottomEdge" "4281"<br />
Option "FingerLow" "25"<br />
Option "FingerHigh" "30"<br />
Option "MaxTapTime" "180"<br />
Option "MaxTapMove" "220"<br />
Option "VertScrollDelta" "100"<br />
Option "MinSpeed" "0.06"<br />
Option "MaxSpeed" "0.12"<br />
Option "AccelFactor" "0.0010"<br />
Option "VertEdgeScroll" "on"<br />
Option "HorizEdgeScroll" "on"<br />
# Option HorizScrollDelta""0" <br />
Option "SHMConfig" "on"<br />
EndSection <br />
<br />
for trakpoint with third button past & scroll add this few lines to xorg.conf too<br />
<br />
Section "InputDevice"<br />
Identifier "Trackpoint"<br />
Driver "mouse"<br />
Option "CorePointer"<br />
Option "Device" "/dev/input/mice"<br />
Option "Protocol" "Auto"<br />
Option "Emulate3Buttons"<br />
Option "Emulate3Timeout" "50"<br />
Option "EmulateWheel" "on"<br />
Option "EmulateWheelTimeout" "200" # adjust third button past timeout. <br />
Option "EmulateWheelButton" "2"<br />
Option "YAxisMapping" "4 5"<br />
Option "XAxisMapping" "6 7"<br />
Option "YAxisMapping" "4 5"<br />
EndSection<br />
finally update your layout<br />
Section "ServerLayout"<br />
InputDevice "Trackpoint" "CorePointer"<br />
InputDevice "Touchpad"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make sure that sound is not muted. You might also want to press the Volume Up or Volume Down button. It seems than the Mute button mutes everything, even system beeps. Pressing the Volume Up or Volume Down button can unmute, but not pressing the Mute button again.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
The screen brightness controls and the flashlight work without any tweaking. As for the mute button, it mutes everything, even system beeps, with no tweaking necessary. To unmute, you do have to press the Volume Up or Volume Down button since the mute button does not seem to unmute. The other keys can be mapped using [[Extra_Keyboard_Keys#Using_xev|xev]] and xbindkeys. By following [http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Enabling_Keyboard_Multimedia_Keys this guide] you should be able to get everything working, but here's summary :<br />
<br />
*First, open a terminal and type <code>xev</code>. This starts the "Event tester".<br />
*Place your cursor on the "Event tester" window.<br />
*When you press a key on your keyboard or move your mouse, it should get displayed in a terminal. For instance, this is what shows up if you press Fn+F2 <br />
KeyRelease event, serial 33, synthetic NO, window 0x3000001,<br />
root 0x86, subw 0x0, time 5537544, (76,110), root:(81,938),<br />
state 0x0, '''keycode 146''' (keysym 0x0, '''NoSymbol'''), same_screen YES,<br />
XLookupString gives 0 bytes:<br />
XFilterEvent returns: False<br />
It basically says that '''keycode 146''' is not bound ('''NoSymbol''').<br />
Here are all the keycodes of all multimedia buttons:<br />
<br />
Volume Down : keycode 174<br />
Volume Up : keycode 176<br />
Fn+F2 : keycode 146<br />
Fn+F3 : keycode 241<br />
Fn+F4 : keycode 223<br />
Fn+F5 : Not responding to events ??<br />
Fn+F7 : keycode 214<br />
Fn+F8 : keycode 249<br />
Fn+F9 : keycode 207<br />
Fn+F12 : keycode 165<br />
Fn+Up : keycode 164<br />
Fn+Down : keycode 162<br />
Fn+Left : keycode 144<br />
Fn+Right : keycode 153<br />
Fn+Home : keycode 212<br />
Fn+End : keycode 101<br />
*Type <code>xmodmap -pke > ~/.Xmodmap</code> in a terminal. This creates a file, <code>.Xmodmap</code>, containing your current keyboard mapping.<br />
*Now open the file with a text editor and find the keycodes you're interested in. You can map any keycode with a symbol from [http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols this list].<br />
*To get your new <code>.Xmodmap</code> loaded when you start X, just add <code>xmodmap ~/.Xmodmap</code> to your .xinitrc.<br />
*To get your new <code>.Xmodmap</code> loaded immediately, type <code>xmodmap ~/.Xmodmap</code> in a terminal.<br />
<br />
You can now assign functions to your newly bound keys by using [[Extra_Keyboard_Keys_in_Xorg#Using_your_Desktop_Environment_tools|facilities provided by your window desktop environment]] or by using <code>xbindkeys</code>.<br />
<br />
To use <code>xbindkeys</code>,<br />
*Start by installing it<br />
pacman -S xbindkeys<br />
*Then add <code>xbindkeys &</code> to your .xinitrc.<br />
*And finally, in your home directory, create a file called <code>.xbindkeysrc.scm</code> with content that would look something like <br />
(xbindkey '("XF86Standby") "sudo killall dhcpcd && sudo pm-suspend")<br />
(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")<br />
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")<br />
<br />
==ACPI==<br />
TODO<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=54103Lenovo ThinkPad T4002008-11-24T03:02:44Z<p>Rognon: /* ACPI */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is both [[ATI#Open-Source_ATI_Drivers|open-source drivers]] (<code>xf86-video-ati</code> and <code>xf86-video-radeonhd</code>) and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the <code>catalyst</code> proprietary drivers).<br />
<br />
I could not get the <code>xf86-video-radeonhd</code> drivers to detect my external monitor, but <code>xf86-video-ati</code> worked fine. Remember to remove <code>catalyst</code> and <code>catalyst-utils</code> before using an [[ATI#Open-Source_ATI_Drivers|open source ATI drivers]]. ATI uses its own OpenGL library in its proprietary drivers, which is included in <code>catalyst-utils</code> and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make sure that sound is not muted. You might also want to press the Volume Up or Volume Down button. It seems than the Mute button mutes everything, even system beeps. Pressing the Volume Up or Volume Down button can unmute, but not pressing the Mute button again.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
The screen brightness controls and the flashlight work without any tweaking. As for the mute button, it mutes everything, even system beeps, with no tweaking necessary. To unmute, you do have to press the Volume Up or Volume Down button since the mute button does not seem to unmute. The other keys can be mapped using [[Extra_Keyboard_Keys#Using_xev|xev]] and xbindkeys. By following [http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Enabling_Keyboard_Multimedia_Keys this guide] you should be able to get everything working, but here's summary :<br />
<br />
*First, open a terminal and type <code>xev</code>. This starts the "Event tester".<br />
*Place your cursor on the "Event tester" window.<br />
*When you press a key on your keyboard or move your mouse, it should get displayed in a terminal. For instance, this is what shows up if you press Fn+F2 <br />
KeyRelease event, serial 33, synthetic NO, window 0x3000001,<br />
root 0x86, subw 0x0, time 5537544, (76,110), root:(81,938),<br />
state 0x0, '''keycode 146''' (keysym 0x0, '''NoSymbol'''), same_screen YES,<br />
XLookupString gives 0 bytes:<br />
XFilterEvent returns: False<br />
It basically says that '''keycode 146''' is not bound ('''NoSymbol''').<br />
Here are all the keycodes of all multimedia buttons:<br />
<br />
Volume Down : keycode 174<br />
Volume Up : keycode 176<br />
Fn+F2 : keycode 146<br />
Fn+F3 : keycode 241<br />
Fn+F4 : keycode 223<br />
Fn+F5 : Not responding to events ??<br />
Fn+F7 : keycode 214<br />
Fn+F8 : keycode 249<br />
Fn+F9 : keycode 207<br />
Fn+F12 : keycode 165<br />
Fn+Up : keycode 164<br />
Fn+Down : keycode 162<br />
Fn+Left : keycode 144<br />
Fn+Right : keycode 153<br />
Fn+Home : keycode 212<br />
Fn+End : keycode 101<br />
*Type <code>xmodmap -pke > ~/.Xmodmap</code> in a terminal. This creates a file, <code>.Xmodmap</code>, containing your current keyboard mapping.<br />
*Now open the file with a text editor and find the keycodes you're interested in. You can map any keycode with a symbol from [http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols this list].<br />
*To get your new <code>.Xmodmap</code> loaded when you start X, just add <code>xmodmap ~/.Xmodmap</code> to your .xinitrc.<br />
*To get your new <code>.Xmodmap</code> loaded immediately, type <code>xmodmap ~/.Xmodmap</code> in a terminal.<br />
<br />
You can now assign functions to your newly bound keys by using [[Extra_Keyboard_Keys_in_Xorg#Using_your_Desktop_Environment_tools|facilities provided by your window desktop environment]] or by using <code>xbindkeys</code>.<br />
<br />
To use <code>xbindkeys</code>,<br />
*Start by installing it<br />
pacman -S xbindkeys<br />
*Then add <code>xbindkeys &</code> to your .xinitrc.<br />
*And finally, in your home directory, create a file called <code>.xbindkeysrc.scm</code> with content that would look something like <br />
(xbindkey '("XF86Standby") "sudo killall dhcpcd && sudo pm-suspend")<br />
(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")<br />
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")<br />
<br />
==ACPI==<br />
TODO<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=54102Lenovo ThinkPad T4002008-11-24T03:02:30Z<p>Rognon: /* Multimedia Keys */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is both [[ATI#Open-Source_ATI_Drivers|open-source drivers]] (<code>xf86-video-ati</code> and <code>xf86-video-radeonhd</code>) and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the <code>catalyst</code> proprietary drivers).<br />
<br />
I could not get the <code>xf86-video-radeonhd</code> drivers to detect my external monitor, but <code>xf86-video-ati</code> worked fine. Remember to remove <code>catalyst</code> and <code>catalyst-utils</code> before using an [[ATI#Open-Source_ATI_Drivers|open source ATI drivers]]. ATI uses its own OpenGL library in its proprietary drivers, which is included in <code>catalyst-utils</code> and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make sure that sound is not muted. You might also want to press the Volume Up or Volume Down button. It seems than the Mute button mutes everything, even system beeps. Pressing the Volume Up or Volume Down button can unmute, but not pressing the Mute button again.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
The screen brightness controls and the flashlight work without any tweaking. As for the mute button, it mutes everything, even system beeps, with no tweaking necessary. To unmute, you do have to press the Volume Up or Volume Down button since the mute button does not seem to unmute. The other keys can be mapped using [[Extra_Keyboard_Keys#Using_xev|xev]] and xbindkeys. By following [http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Enabling_Keyboard_Multimedia_Keys this guide] you should be able to get everything working, but here's summary :<br />
<br />
*First, open a terminal and type <code>xev</code>. This starts the "Event tester".<br />
*Place your cursor on the "Event tester" window.<br />
*When you press a key on your keyboard or move your mouse, it should get displayed in a terminal. For instance, this is what shows up if you press Fn+F2 <br />
KeyRelease event, serial 33, synthetic NO, window 0x3000001,<br />
root 0x86, subw 0x0, time 5537544, (76,110), root:(81,938),<br />
state 0x0, '''keycode 146''' (keysym 0x0, '''NoSymbol'''), same_screen YES,<br />
XLookupString gives 0 bytes:<br />
XFilterEvent returns: False<br />
It basically says that '''keycode 146''' is not bound ('''NoSymbol''').<br />
Here are all the keycodes of all multimedia buttons:<br />
<br />
Volume Down : keycode 174<br />
Volume Up : keycode 176<br />
Fn+F2 : keycode 146<br />
Fn+F3 : keycode 241<br />
Fn+F4 : keycode 223<br />
Fn+F5 : Not responding to events ??<br />
Fn+F7 : keycode 214<br />
Fn+F8 : keycode 249<br />
Fn+F9 : keycode 207<br />
Fn+F12 : keycode 165<br />
Fn+Up : keycode 164<br />
Fn+Down : keycode 162<br />
Fn+Left : keycode 144<br />
Fn+Right : keycode 153<br />
Fn+Home : keycode 212<br />
Fn+End : keycode 101<br />
*Type <code>xmodmap -pke > ~/.Xmodmap</code> in a terminal. This creates a file, <code>.Xmodmap</code>, containing your current keyboard mapping.<br />
*Now open the file with a text editor and find the keycodes you're interested in. You can map any keycode with a symbol from [http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols this list].<br />
*To get your new <code>.Xmodmap</code> loaded when you start X, just add <code>xmodmap ~/.Xmodmap</code> to your .xinitrc.<br />
*To get your new <code>.Xmodmap</code> loaded immediately, type <code>xmodmap ~/.Xmodmap</code> in a terminal.<br />
<br />
You can now assign functions to your newly bound keys by using [[Extra_Keyboard_Keys_in_Xorg#Using_your_Desktop_Environment_tools|facilities provided by your window desktop environment]] or by using <code>xbindkeys</code>.<br />
<br />
To use <code>xbindkeys</code>,<br />
*Start by installing it<br />
pacman -S xbindkeys<br />
*Then add <code>xbindkeys &</code> to your .xinitrc.<br />
*And finally, in your home directory, create a file called <code>.xbindkeysrc.scm</code> with content that would look something like <br />
(xbindkey '("XF86Standby") "sudo killall dhcpcd && sudo pm-suspend")<br />
(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")<br />
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=54101Lenovo ThinkPad T4002008-11-24T02:59:33Z<p>Rognon: /* Discrete Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is both [[ATI#Open-Source_ATI_Drivers|open-source drivers]] (<code>xf86-video-ati</code> and <code>xf86-video-radeonhd</code>) and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the <code>catalyst</code> proprietary drivers).<br />
<br />
I could not get the <code>xf86-video-radeonhd</code> drivers to detect my external monitor, but <code>xf86-video-ati</code> worked fine. Remember to remove <code>catalyst</code> and <code>catalyst-utils</code> before using an [[ATI#Open-Source_ATI_Drivers|open source ATI drivers]]. ATI uses its own OpenGL library in its proprietary drivers, which is included in <code>catalyst-utils</code> and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make sure that sound is not muted. You might also want to press the Volume Up or Volume Down button. It seems than the Mute button mutes everything, even system beeps. Pressing the Volume Up or Volume Down button can unmute, but not pressing the Mute button again.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
The screen brightness controls and the flashlight work without any tweaking. As for the mute button, it mutes everything, even system beeps, with no tweaking necessary. To unmute, you do have to press the Volume Up or Volume Down button since the mute button does not seem to unmute. The other keys can be mapped using [[Extra_Keyboard_Keys#Using_xev|xev]] and xbindkeys. By following [http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Enabling_Keyboard_Multimedia_Keys this guide] you should be able to get everything working, but here's summary :<br />
<br />
*First, open a terminal and type '''xev'''. This starts the "Event tester".<br />
*Place your cursor on the "Event tester" window.<br />
*When you press a key on your keyboard or move your mouse, it should get displayed in a terminal. For instance, this is what shows up if you press Fn+F2 <br />
KeyRelease event, serial 33, synthetic NO, window 0x3000001,<br />
root 0x86, subw 0x0, time 5537544, (76,110), root:(81,938),<br />
state 0x0, '''keycode 146''' (keysym 0x0, '''NoSymbol'''), same_screen YES,<br />
XLookupString gives 0 bytes:<br />
XFilterEvent returns: False<br />
It basically says that '''keycode 146''' is not bound ('''NoSymbol''').<br />
Here are all the keycodes of all multimedia buttons:<br />
<br />
Volume Down : keycode 174<br />
Volume Up : keycode 176<br />
Fn+F2 : keycode 146<br />
Fn+F3 : keycode 241<br />
Fn+F4 : keycode 223<br />
Fn+F5 : Not responding to events ??<br />
Fn+F7 : keycode 214<br />
Fn+F8 : keycode 249<br />
Fn+F9 : keycode 207<br />
Fn+F12 : keycode 165<br />
Fn+Up : keycode 164<br />
Fn+Down : keycode 162<br />
Fn+Left : keycode 144<br />
Fn+Right : keycode 153<br />
Fn+Home : keycode 212<br />
Fn+End : keycode 101<br />
*Type '''xmodmap -pke > ~/.Xmodmap''' in a terminal. This creates a file, '''.Xmodmap''', containing your current keyboard mapping.<br />
*Now open the file with a text editor and find the keycodes you're interested in. You can map any keycode with a symbol from [http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols this list].<br />
*To get your new '''.Xmodmap''' loaded when you start X, just add '''xmodmap ~/.Xmodmap''' to your .xinitrc.<br />
*To get your new '''.Xmodmap''' loaded immediately, type '''xmodmap ~/.Xmodmap''' in a terminal.<br />
<br />
You can now assign functions to your newly bound keys by using [[Extra_Keyboard_Keys_in_Xorg#Using_your_Desktop_Environment_tools|facilities provided by your window desktop environment]] or by using '''xbindkeys'''.<br />
<br />
To use '''xbindkeys''',<br />
*Start by installing it<br />
pacman -S xbindkeys<br />
*Then add '''xbindkeys &''' to your .xinitrc.<br />
*And finally, in your home directory, create a file called '''.xbindkeysrc.scm''' with content that would look something like <br />
(xbindkey '("XF86Standby") "sudo killall dhcpcd && sudo pm-suspend")<br />
(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")<br />
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=ATI&diff=54100ATI2008-11-24T02:48:49Z<p>Rognon: /* Open-Source ATI Drivers */ Added references to radeonhd</p>
<hr />
<div>[[Category: Graphics (English)]]<br />
[[Category: X Server (English)]]<br />
[[Category: HOWTOs (English)]]<br />
<br />
{{i18n_links_start}}<br />
<br />
{{i18n_entry|English|ATI}}<br />
{{i18n_entry|简体中文|ATI (简体中文)}}<br />
<br />
{{i18n_links_end}}<br />
= Introduction =<br />
ATI owners have two options for drivers. If you are unsure which driver to use, try the open-source one first. The open-source driver will suit most needs and is generally less problematic.<br />
<br />
The proprietary driver, version 7.10 (8.42.3) and later, supports [[AIGLX]] (though buggy). To use composite managers such as [[Compiz Fusion]] or [[Compiz]] you can now use the open-source driver or the proprietary driver. Currently, the performance of the open-source driver is not on par with that of the proprietary one. It also lacks TV-out, dual-link DVI support, and possibly other features. On the other hand, it has better dual-head support.<br />
<br />
= Open-Source ATI Drivers =<br />
There are 2 different open-source ATI drivers, <code>xf86-video-ati</code> and <code>xf86-video-radeonhd</code>.<br />
<br />
<code>xf86-video-ati</code> will work to some degree on Radeon chipsets up to the Radeon X850. Radeons up to the 9200 series are fully featured, stable, and support full 2D and 3D acceleration. Radeons from 9500 to X850 have full 2D acceleration, they provide 3D acceleration as well but it doesn't support all the features that the proprietary drivers do. A full list of supported chipsets can be found [http://dri.freedesktop.org/wiki/ATI here].<br />
<br />
<code>xf86-video-radeonhd</code> is a driver for ATI R500 chipsets (Radeon X1000 series) and newer. It is written by Novell with specifications provided to the public by AMD. It does support RandR 1.2 and is pretty much a work in progress.<br />
<br />
== Installation and Configuration ==<br />
'''Note:''' If you have previously installed the proprietary driver, make sure to remove <code>catalyst</code> and <code>catalyst-utils</code>.<br />
<br />
To install <code>xf86-video-ati</code> :<br />
pacman -S xf86-video-ati libgl<br />
<br />
To install <code>xf86-video-radeonhd</code> : <br />
pacman -S xf86-video-radeonhd libgl<br />
<br />
Edit your [[xorg.conf]], and add or make sure you have the following in their given sections. For <br />
<br />
Section "Module"<br />
Load "glx"<br />
Load "dri"<br />
Load "drm"<br />
EndSection<br />
<br />
Device section for <code>xf86-video-ati</code> :<br />
Section "Device"<br />
Identifier "name" # your alias<br />
Driver "radeon"<br />
Option "XAANoOffscreenPixmaps" "true" #needed for aiglx<br />
EndSection<br />
<br />
Device section for <code>xf86-video-radeonhd</code> :<br />
Section "Device"<br />
Identifier "name" # your alias<br />
Driver "radeonhd"<br />
Option "XAANoOffscreenPixmaps" "true" #needed for aiglx<br />
EndSection<br />
<br />
Section "DRI"<br />
Group "video"<br />
Mode 0666<br />
EndSection<br />
<br />
When using this driver, make sure you do not have <code>catalyst-utils</code> installed but use <code>libgl-dri</code> instead. Otherwise, you'll have the wrong <code>libGL.so</code> which will cause direct rendering not to work.<br />
<br />
=== Performance tuning ===<br />
<br />
The following options apply to Section "Device":<br />
<br />
By design, the open-source driver runs at AGP 1x speed. It is generally safe to modify this. If you notice hangs, try reducing the value or removing the line entirely.<br />
Option "AGPMode" "4"<br />
ColorTiling is completely safe to enable and supposedly is enabled by default. People have noticed a performance increase when enabled via xorg.conf.<br />
Option "ColorTiling" "on"<br />
Acceleration architecture; this will work only on newer cards. If you enable this and then can't get back into X, remove it.<br />
Option "AccelMethod" "EXA"<br />
Page Flip is generally safe to enable. This would mostly be used on older cards, as enabling this would disable EXA. With recent drivers can be used together with EXA.<br />
Option "EnablePageFlip" "on" <br />
This will enable fast writes. This one can be problematic, so be prepared to remove it if you can't get into X.<br />
Option "AGPFastWrite" "yes"<br />
<br />
See the manpage for more configuration options. <br />
<br />
A fine tool to try is [http://aur.archlinux.org/packages.php?do_Details=1&ID=2994 driconf]. It will allow you to modify several settings, like vsync, anisotropic filtering, texture compression, etc.<br />
Using this tool it is also possible to "disable Low Impact fallback" needed by some programs (e.g. Google Earth).<br />
<br />
=== TV out ===<br />
<br />
Since August 2007, there is tv-out support for all radeons with integrated tv-out.<br />
<br />
It is somewhat limited for now, it doesn't always autodetect the output correctly and only NTSC mode works.<br />
<br />
However, it works pretty well for me with my Radeon 7000. Here's how I did it:<br />
<br />
First, check that you have an S-video output: <code>xrandr</code> should give you something like<br />
<br />
Screen 0: minimum 320x200, current 1024x768, maximum 1280x1200<br />
...<br />
S-video disconnected (normal left inverted right x axis y axis)<br />
<br />
Now we should tell Xorg that it is actually connected (it ''is'', right?)<br />
<br />
xrandr --output S-video --set load_detection 1<br />
<br />
Setting tv standard to use:<br />
<br />
xrandr --output S-video --set tv_standard ntsc<br />
<br />
Adding a mode for it (currently it supports only 800x600):<br />
<br />
xrandr --addmode S-video 800x600<br />
<br />
I'll go for a clone mode:<br />
xrandr --output S-video --same-as VGA-0<br />
<br />
So far so good. Now let's try to see what we have:<br />
<br />
xrandr --output S-video --mode 800x600<br />
<br />
At this point you should see a 800x600 version of your desktop on your TV.<br />
<br />
To disable the output, do<br />
xrandr --output S-video --off<br />
<br />
Also you may notice that the video is being played on monitor only and not on the TV. Where the Xv overlay is sent is controlled by XV_CRTC attribute.<br />
<br />
To send the output to the TV, I do<br />
<br />
xvattr -a XV_CRTC -v 1<br />
<br />
To switch back to my monitor, I change this to <code>0</code>. <code>-1</code> is used for automatic switching in dualhead setups.<br />
<br />
= ATI Catalyst proprietary driver=<br />
<br />
Formerly known as the fglrx, ATI has rebranded their proprietary Linux driver now known as Catalyst. Currently, only the package name has changed, while the kernel module retains its original 'fglrx' name, therefore any mention of fglrx below is specifically in reference to the kernel module, ''not the package.''<br />
<br />
== Supported Devices ==<br />
<br />
See [http://www2.ati.com/drivers/linux/catalyst_88_linux.html ATI Catalyst 8.8 (Linux) Release Notes] for a list of supported devices by this version of the drivers.<br />
<br />
== Installation ==<br />
<br />
From the release of Xorg 7, Arch has provided pre-compiled catalyst packages in the <code>extra</code> repository. If you use either of the kernels provided in the core or extra repos, the process is simple. If you use a custom kernel, a few extra steps need to be taken.<br />
<br />
=== Stock Kernel ===<br />
<br />
====kernel26====<br />
<br />
To install ATI's fglrx drivers for the <code>kernel26</code> package, you need to install the <code>catalyst</code> package.<br />
<br />
# pacman -S catalyst<br />
<br />
This package contains '''only''' the kernel module, but also installs the <code>catalyst-utils</code> package as a dependency. The <code>catalyst-utils</code> package is kernel-independent and provides the libraries and utilities for Xorg, including ATI's own <code>libGL.so</code>.<br />
<br />
=== Custom Kernels ===<br />
<br />
To install catalyst for a custom kernel, you'll need to build your own <code>catalyst-$kernel</code> package containing the kernel module compiled specifically for your kernel.<br />
<br />
If you are at all uncomfortable or inexperienced making packages, read up the [[ABS]] wiki page first so things go smoothly.<br />
<br />
==== Obtaining PKGBUILD ====<br />
Obtain the <code>PKGBUILD</code> and <code>catalyst.install</code> files from CVS or ABS. Either:<br />
<br />
* Visit http://archlinux.org/packages/search/?q=catalyst and select your architecture then click "View SVN Entries" to find them<br />
or <br />
* Run <code>abs</code> as root and locate the files in <code>/var/abs/extra/catalyst</code>.<br />
<br />
==== Editing the PKGBUILD and building ====<br />
Three changes need to be made here: <br />
<br />
'''First''', change<br />
pkgname=catalyst<br />
to<br />
pkgname=catalyst-KERNEL_NAME<br />
where KERNEL_NAME is whatever you want (e.g. custom, mm, themostawesomekernelever)<br />
<br />
'''Second''', remove <code>kernel26</code> from the dependencies list.<br />
<br />
'''Third''', change<br />
_kernver=${_kernel_version}-ARCH<br />
to<br />
_kernver=`uname -r`<br />
(or directly insert the output of uname -r '''when running your custom kernel''' there)<br />
<br />
Finally, build and install the package. (<code>makepkg -i</code> or <code>makepkg</code> followed by <code>pacman -A pkgname.pkg.tar.gz</code>)<br />
<br />
==== Notes ====<br />
* If you run multiple kernels from the repos, then install catalyst module packages for all kernels. They won't conflict with one another.<br />
<br />
* No changes need to be made to the <code>catalyst-utils</code> package, which is completely kernel-independent. '''All''' you need to do is compile a kernel module.<br />
<br />
=== ATI/AMD Installer ===<br />
'''WARNING: Using the installer from ati.com/amd.com is NOT recommended!'''<br />
<br />
Doing so will cause file conflicts with various pacman packages and likely cause X failures. The packages available through pacman are configured specifically for Arch Linux and so should be used instead.<br />
<br />
If you have attempted a manual install from the official installer, and are finding that nothing works correctly anymore, there should be an uninstall script placed at /usr/share/ati - run that, then try the pacman packages.<br />
<br />
If you ''must'' use the installer from ATI/AMD for some reason, the following steps '''might''' work for you:<br />
<br />
*Download AMD/ATI driver installer<br />
*Make it executable<br />
*Install mesa package<br />
#pacman -S mesa<br />
*Install Xorg if you need to<br />
*Check for other required things for ATI/AMD installer listed on their website<br />
#pacman -Q | grep NameOfPackage<br />
*Use aticonfig as described below to update xorg.conf<br />
*Add ModulesPath into xorg.conf pointing at fglrx.so module if necessary<br />
<br />
== Configuration ==<br />
ATI provides the <code>aticonfig</code> tool to modify an existing <code>xorg.conf</code> file and configure essentially every aspect of the card. For a complete list of <code>aticonfig</code> options, run:<br />
$ aticonfig --help<br />
<br />
If you don't have an xorg.conf file yet, run the following command to generate one:<br />
# Xorg -configure<br />
<br />
The simplest way to use <code>aticonfig</code> to adapt your <code>xorg.conf</code> file is listed in the examples at the end of the output if you run <code>aticonfig</code> without any command-line parameters:<br />
Examples:<br />
1. Setting up fglrx for the first time.<br />
Single head : aticonfig --initial --input=/etc/X11/xorg.conf<br />
Dual head : aticonfig --initial=dual-head --screen-layout=above<br />
This command will generate a dual head configuration<br />
file with the second screen located above the first<br />
screen.<br />
<br />
Just adapt one of those two lines for your personal setup.<br />
<br />
<font color="red">'''Warning:''' Please check the generated xorg.conf file before you copy it to /etc/X11/xorg.conf and happily startx or reboot. Otherwise, you'll probably get a locked blank screen and won't be able to use your system anymore.</font> The config files generated by preceding steps are sometimes incorrect. If you want, you can compare the generated files to one of the [http://wiki.archlinux.org/index.php?title=Xorg7#Sample_Xorg.conf_Files Sample Xorg.conf files] listed on the Xorg wiki page.<br />
<br />
Please ensure that in the "Screen" section you have "DefaultDepth 24" and there is a "DRI" section with "Mode 666" in it. The fglrx driver needs those lines to work, but the generated files by preceding programs don't have it. Without those lines, you might get an unresponsive black screen after reboot. Besides, since most of the parts are now automatically detected in modern Xorg, you don't need to write so many things in xorg.conf as you did before with ancient Xorg versions.<br />
So, some config sections/values in the generated xorg.conf are redundant.<br />
<br />
Here is a minimal working example:<br />
<pre><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 "xtrap"<br />
Load "record"<br />
Load "dri"<br />
Load "glx"<br />
Load "GLcore"<br />
Load "freetype"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<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 />
Identifier "Monitor0"<br />
VendorName "Monitor Vendor"<br />
ModelName "Monitor Model"<br />
EndSection<br />
<br />
Section "Device"<br />
Identifier "Card0"<br />
Driver "fglrx"<br />
VendorName "ATI Technologies Inc"<br />
BoardName "Radeon Mobility X1400"<br />
BusID "PCI:1:0:0"<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
DefaultDepth 24<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
EndSubSection<br />
EndSection<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
</pre><br />
<br />
Finally, run Xorg with <code>startx</code> and verify that direct rendering is enabled by running the following command in a terminal:<br />
$ glxinfo | grep direct<br />
If it says "direct rendering: yes" then you're good to go! If the glxinfo command is not found, you may need to install the mesa package as well.<br />
<br />
<font color="red">Note: In recent versions of Xorg, the paths of libs are changed. So, sometimes libGL.so cannot be correctly loaded even if it's installed. Don't forget to check this if your GL is not working. Please read "trouble shooting" section for detail.</font><br />
<br />
== Troubleshooting ==<br />
<br />
=== Rectangle/Checkerbox corruption with OpenGL programs ===<br />
This was fixed in catalyst 8.9.<br />
OpenGL programs like e.g. blender in windowed mode, show a rectangle/checkerbox corruption.<br />
This can be solved by using a Virtual display setting with a multiple of 64 bigger than you<br />
actual resolution like 1664 instead 1600 for width:<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
SubSection "Display"<br />
Depth 24<br />
Virtual 1664 1200<br />
EndSubSection<br />
EndSection<br />
<br />
===Black screen with complete lockups / hangs after reboot or startx===<br />
This is sometimes reported. Please get a live cd (The arch installer cd itself can be used).<br />
#Reboot your computer and boot it from the live cd.<br />
#Mount your system partition, and read /var/log/Xorg.0.log in it.<br />
#Find lines start with "(EE)" which contains error messages.<br />
#Check if you can resolve the problems listed in those error messages.<br />
#Refer to the "Configuration" section, and ensure you have set "DefaultDepth 24".<br />
#Reboot your system to test the revised xorg.conf.<br />
#If you still have no luck after endless trying, replace "fglrx" with "radeon", and reboot. At least this open source driver should work (No 3D hardware acceleration).<br />
<br />
===KDM disapears after logout===<br />
If you are running the catalyst proprietary driver and you get a console (vc/1) instead of the expected KDM greeting when you log out, you must instruct KDM to restart the X server after each logout:<br />
$ sudo vim /usr/share/config/kdm/kdmrc<br />
<br />
Uncomment the following line under the section titled [X-:*-Core]:<br />
TerminateServer=True<br />
<br />
KDM should now appear when you log out of KDE.<br />
<br />
===Direct Rendering Doesn't Work===<br />
<br />
Having trouble getting direct rendering to work? Run<br />
$ LIBGL_DEBUG=verbose glxinfo > /dev/null<br />
at the command prompt. At the very start of the output, it'll usually give you a nice error message saying why you don't have direct rendering.<br />
<br />
Common errors, and their solutions, are:<br />
<br />
'''libGL error: XF86DRIQueryDirectRenderingCapable returned false'''<br />
<br />
* Ensure that you are loading the correct agp modules for your AGP chipset before you load the fglrx kernel module. To determine which agp modules you'll need, run <code>hwdetect --show-agp</code>, then ensure that all modules listed from that command are in the <code>MODULES=</code> array in rc.conf, '''before''' fglrx.<br />
<br />
'''libGL error: failed to open DRM: Operation not permitted'''<br />
'''libGL error: reverting to (slow) indirect rendering'''<br />
<br />
* For this, make sure you have the following section in your <code>xorg.conf</code> somewhere:<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
'''libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//fglrx_dri.so'''<br />
'''libGL error: dlopen /usr/lib/xorg/modules/dri//fglrx_dri.so failed (/usr/lib/xorg/modules/dri//fglrx_dri.so: cannot open shared object file: No such file or directory)'''<br />
'''libGL error: unable to find driver: fglrx_dri.so'''<br />
<br />
* Something hasn't been installed correctly. If the paths in the error message are <code>/usr/X11R6/lib/modules/dri/fglrx_dri.so</code>, then ensure you've logged completely out of your system, then back in. If you're using a graphical login manager (gdm, kdm, xdm), ensure that /etc/profile is sourced every time you log in. This is usually accomplished by adding <code>source /etc/profile</code> into <code>~/.xsession</code> or <code>~/.xinitrc</code>, but may vary between login managers.<br />
<br />
* If the paths above in your error message _are_ <code>/usr/lib/xorg/modules/dri/fglrx_dri.so</code>, then something hasn't been correctly installed. Try reinstalling the <code>fglrx-utils</code> package.<br />
<br />
<br />
'''fglrx: libGL version undetermined - OpenGL module is using glapi fallback'''<br />
<br />
* This could be caused by having multiple versions of <code>libGL.so</code> on your system. Run:<br />
$ sudo updatedb<br />
$ locate libGL.so<br />
<br />
This should return the following output:<br />
$ locate libGL.so<br />
/usr/lib/libGL.so<br />
/usr/lib/libGL.so.1<br />
/usr/lib/libGL.so.1.2<br />
$<br />
<br />
These are the only three libGL.so files you should have on your system. If you have any more (e.g. <code>/usr/X11R6/lib/libGL.so.1.2</code>), then remove them. This should fix your problem. <br />
<br />
You might not get any error to indicate that this is a problem. If you are using X11R7, make sure you do '''not''' have these files on your system:<br />
/usr/X11R6/lib/libGL.so.1.2<br />
/usr/X11R6/lib/libGL.so.1<br />
<br />
===Hibernate/Sleep Issues===<br />
==== Video fails to enter suspend/hibernate ====<br />
If <code>fglrx</code> returns an error when attempting to suspend through hibernate scripts, a solution may be to add the following line to your "Device" section in <code>/etc/X11/xorg.conf</code>, which should allow the <tt>fglrx</tt> module to enter suspend mode.<br />
<br />
Option "UseInternalAGPGart" "no"<br />
<br />
==== Video fails to resume from suspend2ram ====<br />
ATI's proprietary <tt>catalyst</tt> driver cannot resume from suspend if the framebuffer is enabled. To disable the framebuffer, add '''vga=0''' to your kernel options in <code>/boot/grub/menu.lst</code>, for example:<br />
# (0) Arch Linux<br />
title Arch Linux<br />
root (hd0,0)<br />
kernel /vmlinuz26 root=/dev/sda3 resume=/dev/sda2 ro '''''vga=0'''''<br />
initrd /kernel26.img<br />
<br />
===System Freezes/Hard locks===<br />
<br />
* To prevent system lockups, try adding the following lines to your fglrx "Device" section in <code>xorg.conf</code><br />
Option "UseInternalAGPGART" "no"<br />
Option "KernelModuleParm" "agplock=0" # AGP locked user pages: disabled<br />
<br />
Note: Neither option is necessary anymore since 8.24.18 because ATI has removed the internal AGP GART support from the driver.<br />
<br />
* As well, the <code>radeonfb</code> framebuffer drivers have been known in the past to cause problems of this nature. If your kernel has radeonfb support compiled in, you may want to try a different kernel and see if this helps. <br />
<br />
===Hardware Conflicts===<br />
<br />
Radeon cards used in conjunction with some versions of the nForce3 chipset (e.g. nForce 3 250Gb) won't have 3D acceleration. Currently the cause of this issue is unknown, but some sources indicate that it may be possible to get acceleration with this combination of hardware by booting Windows with the drivers from nVIDIA and then rebooting the system. This can be verified by issuing in a root console the following command:<br />
<br />
dmesg | grep agp<br />
<br />
If you get something similar to this (using an nForce3-based system)<br />
<br />
agpgart: Detected AGP bridge 0<br />
agpgart: Setting up Nforce3 AGP.<br />
agpgart: aperture base > 4G<br />
<br />
and also if issuing this command...<br />
<br />
tail -n 100 /var/log/Xorg.0.log | grep agp<br />
<br />
...gets something similar to:<br />
<br />
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"<br />
<br />
Then you have this bug.<br />
<br />
Some sources indicate that in some situations, downgrading the motherboard BIOS may help, but this cannot be verified in all cases. Also, a bad BIOS downgrade can render your hardware useless, so beware.<br />
<br />
See bug http://bugzilla.kernel.org/show_bug.cgi?id=6350 for more information and a potential fix.<br />
<br />
===Compaq Presario Laptops===<br />
Even after installing the drivers and editing the configuration file as required, some laptops (e.g. Presario R4000 with Xpress 200M) just come up with a blank screen.<br />
<br />
The problem seems to be incorrect memory detected by the kernel(even if you have 128M of video memory lspci -v always reports 256M). Changing the BIOS settings so that it uses the "SidePort+UMA" option and 128M video memory plus another 128M taken from the system seems to work fine.<br />
<br />
It could be a bug in the BIOS or in the Linux PCI code.<br />
<br />
= External Resources =<br />
More info can be found here<br />
* [http://ati.cchtml.com/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=&content= Unofficial ATI Linux Bugtracker]<br />
* [http://www.rage3d.com/board/forumdisplay.php?f=88 Rage3D ATI Linux Forums]<br />
* [http://www.thinkwiki.org/wiki/Problems_with_fglrx ThinkWiki fglrx Problems page]<br />
* [http://www.phoronix.com/scan.php?page=article&item=560 ATI R300: Open v. Closed Drivers]<br />
* [http://www.thinkwiki.org/wiki/Additional_options_for_the_radeon_driver Additional options for the radeon driver]<br />
* [http://www.phoronix.com/scan.php?page=article&item=936&num=1 Hidden ATI Feature For Textured XRendering]</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=54097Lenovo ThinkPad T4002008-11-24T00:03:34Z<p>Rognon: /* Audio */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in its proprietary drivers, which is included in catalyst-utils and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make sure that sound is not muted. You might also want to press the Volume Up or Volume Down button. It seems than the Mute button mutes everything, even system beeps. Pressing the Volume Up or Volume Down button can unmute, but not pressing the Mute button again.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
The screen brightness controls and the flashlight work without any tweaking. As for the mute button, it mutes everything, even system beeps, with no tweaking necessary. To unmute, you do have to press the Volume Up or Volume Down button since the mute button does not seem to unmute. The other keys can be mapped using [[Extra_Keyboard_Keys#Using_xev|xev]] and xbindkeys. By following [http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Enabling_Keyboard_Multimedia_Keys this guide] you should be able to get everything working, but here's summary :<br />
<br />
*First, open a terminal and type '''xev'''. This starts the "Event tester".<br />
*Place your cursor on the "Event tester" window.<br />
*When you press a key on your keyboard or move your mouse, it should get displayed in a terminal. For instance, this is what shows up if you press Fn+F2 <br />
KeyRelease event, serial 33, synthetic NO, window 0x3000001,<br />
root 0x86, subw 0x0, time 5537544, (76,110), root:(81,938),<br />
state 0x0, '''keycode 146''' (keysym 0x0, '''NoSymbol'''), same_screen YES,<br />
XLookupString gives 0 bytes:<br />
XFilterEvent returns: False<br />
It basically says that '''keycode 146''' is not bound ('''NoSymbol''').<br />
Here are all the keycodes of all multimedia buttons:<br />
<br />
Volume Down : keycode 174<br />
Volume Up : keycode 176<br />
Fn+F2 : keycode 146<br />
Fn+F3 : keycode 241<br />
Fn+F4 : keycode 223<br />
Fn+F5 : Not responding to events ??<br />
Fn+F7 : keycode 214<br />
Fn+F8 : keycode 249<br />
Fn+F9 : keycode 207<br />
Fn+F12 : keycode 165<br />
Fn+Up : keycode 164<br />
Fn+Down : keycode 162<br />
Fn+Left : keycode 144<br />
Fn+Right : keycode 153<br />
Fn+Home : keycode 212<br />
Fn+End : keycode 101<br />
*Type '''xmodmap -pke > ~/.Xmodmap''' in a terminal. This creates a file, '''.Xmodmap''', containing your current keyboard mapping.<br />
*Now open the file with a text editor and find the keycodes you're interested in. You can map any keycode with a symbol from [http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols this list].<br />
*To get your new '''.Xmodmap''' loaded when you start X, just add '''xmodmap ~/.Xmodmap''' to your .xinitrc.<br />
*To get your new '''.Xmodmap''' loaded immediately, type '''xmodmap ~/.Xmodmap''' in a terminal.<br />
<br />
You can now assign functions to your newly bound keys by using [[Extra_Keyboard_Keys_in_Xorg#Using_your_Desktop_Environment_tools|facilities provided by your window desktop environment]] or by using '''xbindkeys'''.<br />
<br />
To use '''xbindkeys''',<br />
*Start by installing it<br />
pacman -S xbindkeys<br />
*Then add '''xbindkeys &''' to your .xinitrc.<br />
*And finally, in your home directory, create a file called '''.xbindkeysrc.scm''' with content that would look something like <br />
(xbindkey '("XF86Standby") "sudo killall dhcpcd && sudo pm-suspend")<br />
(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")<br />
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=54091Lenovo ThinkPad T4002008-11-23T22:47:56Z<p>Rognon: /* Multimedia Keys */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in its proprietary drivers, which is included in catalyst-utils and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make that sound is not muted.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
The screen brightness controls and the flashlight work without any tweaking. As for the mute button, it mutes everything, even system beeps, with no tweaking necessary. To unmute, you do have to press the Volume Up or Volume Down button since the mute button does not seem to unmute. The other keys can be mapped using [[Extra_Keyboard_Keys#Using_xev|xev]] and xbindkeys. By following [http://wiki.linuxquestions.org/wiki/Configuring_keyboards#Enabling_Keyboard_Multimedia_Keys this guide] you should be able to get everything working, but here's summary :<br />
<br />
*First, open a terminal and type '''xev'''. This starts the "Event tester".<br />
*Place your cursor on the "Event tester" window.<br />
*When you press a key on your keyboard or move your mouse, it should get displayed in a terminal. For instance, this is what shows up if you press Fn+F2 <br />
KeyRelease event, serial 33, synthetic NO, window 0x3000001,<br />
root 0x86, subw 0x0, time 5537544, (76,110), root:(81,938),<br />
state 0x0, '''keycode 146''' (keysym 0x0, '''NoSymbol'''), same_screen YES,<br />
XLookupString gives 0 bytes:<br />
XFilterEvent returns: False<br />
It basically says that '''keycode 146''' is not bound ('''NoSymbol''').<br />
Here are all the keycodes of all multimedia buttons:<br />
<br />
Volume Down : keycode 174<br />
Volume Up : keycode 176<br />
Fn+F2 : keycode 146<br />
Fn+F3 : keycode 241<br />
Fn+F4 : keycode 223<br />
Fn+F5 : Not responding to events ??<br />
Fn+F7 : keycode 214<br />
Fn+F8 : keycode 249<br />
Fn+F9 : keycode 207<br />
Fn+F12 : keycode 165<br />
Fn+Up : keycode 164<br />
Fn+Down : keycode 162<br />
Fn+Left : keycode 144<br />
Fn+Right : keycode 153<br />
Fn+Home : keycode 212<br />
Fn+End : keycode 101<br />
*Type '''xmodmap -pke > ~/.Xmodmap''' in a terminal. This creates a file, '''.Xmodmap''', containing your current keyboard mapping.<br />
*Now open the file with a text editor and find the keycodes you're interested in. You can map any keycode with a symbol from [http://wiki.linuxquestions.org/wiki/XF86_keyboard_symbols this list].<br />
*To get your new '''.Xmodmap''' loaded when you start X, just add '''xmodmap ~/.Xmodmap''' to your .xinitrc.<br />
*To get your new '''.Xmodmap''' loaded immediately, type '''xmodmap ~/.Xmodmap''' in a terminal.<br />
<br />
You can now assign functions to your newly bound keys by using [[Extra_Keyboard_Keys_in_Xorg#Using_your_Desktop_Environment_tools|facilities provided by your window desktop environment]] or by using '''xbindkeys'''.<br />
<br />
To use '''xbindkeys''',<br />
*Start by installing it<br />
pacman -S xbindkeys<br />
*Then add '''xbindkeys &''' to your .xinitrc.<br />
*And finally, in your home directory, create a file called '''.xbindkeysrc.scm''' with content that would look something like <br />
(xbindkey '("XF86Standby") "sudo killall dhcpcd && sudo pm-suspend")<br />
(xbindkey '("XF86AudioRaiseVolume") "amixer set Master 2dB+ unmute")<br />
(xbindkey '("XF86AudioLowerVolume") "amixer set Master 2dB- unmute")<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=54087Lenovo ThinkPad T4002008-11-23T21:39:21Z<p>Rognon: Added the Audio section</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in its proprietary drivers, which is included in catalyst-utils and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Once you have [[ALSA]] installed, fire up alsamixer and make that sound is not muted.<br />
<br />
Here's the modules I have loaded that are relevant to sound :<br />
$ lsmod | grep snd<br />
snd_seq_oss 35584 0<br />
snd_seq_midi_event 9344 1 snd_seq_oss<br />
snd_seq 58336 4 snd_seq_oss,snd_seq_midi_event<br />
snd_seq_device 9364 2 snd_seq_oss,snd_seq<br />
snd_hda_intel 474672 2<br />
snd_hwdep 10632 1 snd_hda_intel<br />
snd_pcm_oss 45568 0<br />
snd_pcm 82440 2 snd_hda_intel,snd_pcm_oss<br />
snd_timer 24720 2 snd_seq,snd_pcm<br />
snd_page_alloc 10640 2 snd_hda_intel,snd_pcm<br />
snd_mixer_oss 18944 1 snd_pcm_oss<br />
snd 64840 16 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss<br />
soundcore 9632 1 snd<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=54086Lenovo ThinkPad T4002008-11-23T21:15:46Z<p>Rognon: /* Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "Config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in its proprietary drivers, which is included in catalyst-utils and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=54085Lenovo ThinkPad T4002008-11-23T21:15:23Z<p>Rognon: /* Discrete Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in its proprietary drivers, which is included in catalyst-utils and conflicts with libgl. As it did with the integrated graphics, running '''X -configure''' generated a working xorg.conf.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I used '''aticonfig --initial''' to generate a working xorg.conf. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53998Lenovo ThinkPad T4002008-11-23T03:48:58Z<p>Rognon: /* Discrete Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing window manager takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53997Lenovo ThinkPad T4002008-11-23T03:48:20Z<p>Rognon: /* Discrete Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] your xorg.conf properly. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53996Lenovo ThinkPad T4002008-11-23T03:41:40Z<p>Rognon: /* Ethernet Card */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is '''e1000e'''. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] it properly. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53995Lenovo ThinkPad T4002008-11-23T03:41:09Z<p>Rognon: /* Discrete Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is e1000e. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] it properly. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53994Lenovo ThinkPad T4002008-11-23T03:38:20Z<p>Rognon: /* Discrete Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is e1000e. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#Configuration|configure]] it proprely. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53993Lenovo ThinkPad T4002008-11-23T03:37:03Z<p>Rognon: /* Discrete Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is e1000e. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]], xf86-video-radeonhd and [[ATI#ATI_Catalyst_proprietary_driver|fglrx]] (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-radeonhd working, follow the same procedure used to install [[ATI#Open-Source_ATI_Drivers|xf86-video-ati]] with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the [[ATI#ATI_Catalyst_proprietary_driver|catalyst drivers]] working, you do have to [[ATI#ATI_Catalyst_proprietary_driver|configure]] it proprely. I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53992Lenovo ThinkPad T4002008-11-23T03:30:12Z<p>Rognon: /* Integrated Graphics */</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is e1000e. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though.<br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is xf86-video-ati, xf86-video-radeonhd and flgrx (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-ati working, follow those [[ATI#Open-Source_ATI_Drivers|instructions]]. The same instructions apply for xf86-video-radeonhd with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the catalyst drivers working, I followed this [[ATI#ATI_Catalyst_proprietary_driver|procedure]]. Then, I configured it by following this [[ATI#Configuration|procedure]] . I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53991Lenovo ThinkPad T4002008-11-23T03:29:39Z<p>Rognon: /* Ethernet Card */ Missing punctuation</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is e1000e. I had no problem getting it to work.<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the xf86-video-intel drivers [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though. <br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is xf86-video-ati, xf86-video-radeonhd and flgrx (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-ati working, follow those [[ATI#Open-Source_ATI_Drivers|instructions]]. The same instructions apply for xf86-video-radeonhd with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the catalyst drivers working, I followed this [[ATI#ATI_Catalyst_proprietary_driver|procedure]]. Then, I configured it by following this [[ATI#Configuration|procedure]] . I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognonhttps://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_T400&diff=53990Lenovo ThinkPad T4002008-11-23T03:24:15Z<p>Rognon: New page: Category:Laptops (English) Category:HOWTOs (English) ==System Sepcification== *CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB) *Memory : 3GB PC3-8500...</p>
<hr />
<div>[[Category:Laptops (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
==System Sepcification==<br />
*CPU : Intel® Core™2 Duo Processor T9400 (6M Cache, 2.53 GHz, 1066 MHz FSB)<br />
*Memory : 3GB PC3-8500 DDR3<br />
*WiFi : Intel WiFi Link 5300<br />
*Hard-Drive : 160GB, 7200rpm<br />
*Optical Drive : DVD Recordable<br />
*Integrated Graphics : Intel 4500MHD<br />
*Discrete Graphics : AMD M82XT Hybrid 256 MB (ATI Mobility Radeon HD 3470)<br />
*Screen : 14.1" WXGA+ TFT with LED Backlit<br />
*Gigabit Ethernet, Modem<br />
*Express Card & PC Card Slots<br />
*Integrated Bluetooth PAN<br />
*No camera<br />
*No fingerprint reader<br />
*No Intel Turbo Memory<br />
<br />
==Network==<br />
===Ethernet Card===<br />
The kernel module to get the network card to work is e1000e. I had no problem getting it to work<br />
<br />
===Wireless===<br />
The drivers are included in the 2.6.27 kernel. However, it's important to make sure that you have the correct firmware. I installed the iwlwifi-5000-ucode. See [[Wireless#iwl3945.2C_iwl4965_and_iwl5000-series|this section]] for more details.<br />
<br />
==Graphics==<br />
Note that it's not possible to switch the graphics adapter without rebooting and choosing between the Integrated and Discrete Graphics in the BIOS. This setting is under "config->Display". Note that I enabled the '''testing''' repository, which gave me access to :<br />
*xorg-server version 1.5.3<br />
*xf86-video-intel version 2.4.2<br />
*xf86-video-ati version 6.9<br />
*xf86-video-radeonhd 1.2.3<br />
*catalyst version 8.11<br />
<br />
===Integrated Graphics===<br />
After installing [[Xorg#Installing_Xorg|xorg]], I installed the xf86-video-intel drivers [[Intel_Graphics|xf86-video-intel drivers]]. As root, I then ran '''X -configure'''. The generated xorg.conf worked fine. I did apply the [[Intel_Graphics#2D|2D]] and [[Intel_Graphics#3D|3D]] optimization, and performances in compositing window managers (like compiz or kwin) seem to have increased. I have not made any scientific measurements though. <br />
<br />
===Discrete Graphics===<br />
All 3 ATI drivers worked. That is xf86-video-ati, xf86-video-radeonhd and flgrx (the catalyst proprietary drivers).<br />
<br />
To get xf86-video-ati working, follow those [[ATI#Open-Source_ATI_Drivers|instructions]]. The same instructions apply for xf86-video-radeonhd with those 2 modifications :<br />
*Install xf86-video-radeonhd instead of xf86-video-ati<br />
*Under the Device section of you xorg.conf, you should use '''Driver "radeonhd"''' instead of '''Driver "radeon"'''<br />
I could not get the xf86-video-radeonhd drivers to detect my external monitor, but xf86-video-ati worked fine. Remember to remove catalyst and catalyst-utils before using an open source ATI drivers. ATI uses its own OpenGL library in it's proprietary drivers, which is included in catalyst-utils and conflicts with libgl.<br />
<br />
To get the catalyst drivers working, I followed this [[ATI#ATI_Catalyst_proprietary_driver|procedure]]. Then, I configured it by following this [[ATI#Configuration|procedure]] . I did encounter a problem that I have not been able to solve yet : resizing a window in a compositing takes 1-2 seconds. This makes the drivers pretty much unusable.<br />
<br />
==Audio==<br />
Working, todo : document.<br />
<br />
==Multimedia Keys==<br />
Working, todo : document.<br />
<br />
==ACPI==<br />
Working, todo : document.<br />
<br />
==Bluetooth==<br />
TODO</div>Rognon