https://wiki.archlinux.org/api.php?action=feedcontributions&user=Stealthsheath&feedformat=atomArchWiki - User contributions [en]2024-03-29T16:03:50ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=170103ASUS Eee PC T101MT2011-11-14T23:44:21Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script (note the following script can also be bound to the expressgate button itself to generate rotations (bypass any menu):<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#Written by Mark Lee<br />
#New and improved script to rotate the touch screen by pressing the 'Express Gate Button'<br />
#Has both a command line interface as well as a single button click interface<br />
#Records rotation in the ram disk directory as 'cur_rot'<br />
#Does not require cur_rot to be initially created, only that all rotations use this script.<br />
<br />
<br />
#works in the ram disk directory<br />
cd /dev/shm/<br />
<br />
#Obtains the current rotation<br />
cur_rot=`cat cur_rot`;<br />
<br />
#Increases the current rotation variable by 1 to signify a change: $[++cur_rot]; increases cur_rot by 1.<br />
#Takes the modulus of the cur_rot by 4: var=$[$a % $b]; where $b is the modulus<br />
new_rot=$[$[++cur_rot] % 4];<br />
<br />
#Command line interface for rotating the monitor<br />
#If an argument is specified, it is converted to a digit<br />
case "$1" in<br />
normal)<br />
new_rot=0<br />
;;<br />
left)<br />
new_rot=1<br />
;;<br />
right)<br />
new_rot=3<br />
;;<br />
upside_down)<br />
new_rot=2<br />
;;<br />
esac<br />
<br />
#Rotates the screen based on current rotation<br />
case $new_rot in<br />
0)<br />
#Rotates the display<br />
xrandr -o 0;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
#Sets the new cur_rot as a file<br />
echo $new_rot >cur_rot;<br />
#Exits the script<br />
exit;<br />
;;<br />
1)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
2)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
3)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=170102ASUS Eee PC T101MT2011-11-14T23:39:07Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script (note the following script can also be bound to the expressgate button itself to generate rotations (bypass any menu):<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#Written by Mark Lee<br />
#New and improved script to rotate the touch screen by pressing the 'Express Gate Button'<br />
#Has both a command line interface as well as a single button click interface<br />
#Records rotation in the ram disk directory as 'cur_rot'<br />
#Does not require cur_rot to be initially created, only that all rotations use this script.<br />
<br />
<br />
#works in the home directory<br />
cd /dev/shm/<br />
<br />
#Obtains the current rotation<br />
cur_rot=`cat cur_rot`;<br />
<br />
#Increases the current rotation variable by 1 to signify a change: $[++cur_rot]; increases cur_rot by 1.<br />
#Takes the modulus of the cur_rot by 4: var=$[$a % $b]; where $b is the modulus<br />
new_rot=$[$[++cur_rot] % 4];<br />
<br />
#Command line interface for rotating the monitor<br />
#If an argument is specified, it is converted to a digit<br />
case "$1" in<br />
normal)<br />
new_rot=0<br />
;;<br />
left)<br />
new_rot=1<br />
;;<br />
right)<br />
new_rot=3<br />
;;<br />
upside_down)<br />
new_rot=2<br />
;;<br />
esac<br />
<br />
#Rotates the screen based on current rotation<br />
case $new_rot in<br />
0)<br />
#Rotates the display<br />
xrandr -o 0;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
#Sets the new cur_rot as a file<br />
echo $new_rot >cur_rot;<br />
#Exits the script<br />
exit;<br />
;;<br />
1)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
2)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
3)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=170101ASUS Eee PC T101MT2011-11-14T23:31:25Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script (note the following script can also be bound to the expressgate button itself to generate rotations (bypass any menu):<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#Written by Mark Lee<br />
#New and improved script to rotate the touch screen by pressing the 'Express Gate Button'<br />
#Has both a command line interface as well as a single button click interface<br />
#Requires a file named 'cur_rot' in the home directory with a number '0'<br />
#Requires appending 'echo 0 >~/cur_rot' to '/etc/rc.local.shutdown'; this ensures that the initial current rotation from a fresh boot up is always '0'<br />
<br />
#works in the home directory<br />
cd ~/<br />
<br />
#Obtains the current rotation<br />
cur_rot=`cat cur_rot`;<br />
<br />
#Increases the current rotation variable by 1 to signify a change: $[++cur_rot]; increases cur_rot by 1.<br />
#Takes the modulus of the cur_rot by 4: var=$[$a % $b]; where $b is the modulus<br />
new_rot=$[$[++cur_rot] % 4];<br />
<br />
#Command line interface for rotating the monitor<br />
#If an argument is specified, it is converted to a digit<br />
case "$1" in<br />
normal)<br />
new_rot=0<br />
;;<br />
left)<br />
new_rot=1<br />
;;<br />
right)<br />
new_rot=3<br />
;;<br />
upside_down)<br />
new_rot=2<br />
;;<br />
esac<br />
<br />
#Rotates the screen based on current rotation<br />
case $new_rot in<br />
0)<br />
#Rotates the display<br />
xrandr -o 0;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
#Sets the new cur_rot as a file<br />
echo $new_rot >cur_rot;<br />
#Exits the script<br />
exit;<br />
;;<br />
1)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
2)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
3)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=170100ASUS Eee PC T101MT2011-11-14T23:25:38Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#Written by Mark Lee<br />
#New and improved script to rotate the touch screen by pressing the 'Express Gate Button'<br />
#Has both a command line interface as well as a single button click interface<br />
<br />
#works in the home directory<br />
cd ~/<br />
<br />
#Obtains the current rotation<br />
cur_rot=`cat cur_rot`;<br />
<br />
#Increases the current rotation variable by 1 to signify a change: $[++cur_rot]; increases cur_rot by 1.<br />
#Takes the modulus of the cur_rot by 4: var=$[$a % $b]; where $b is the modulus<br />
new_rot=$[$[++cur_rot] % 4];<br />
<br />
#Command line interface for rotating the monitor<br />
#If an argument is specified, it is converted to a digit<br />
case "$1" in<br />
normal)<br />
new_rot=0<br />
;;<br />
left)<br />
new_rot=1<br />
;;<br />
right)<br />
new_rot=3<br />
;;<br />
upside_down)<br />
new_rot=2<br />
;;<br />
esac<br />
<br />
#Rotates the screen based on current rotation<br />
case $new_rot in<br />
0)<br />
#Rotates the display<br />
xrandr -o 0;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
#Sets the new cur_rot as a file<br />
echo $new_rot >cur_rot;<br />
#Exits the script<br />
exit;<br />
;;<br />
1)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
2)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
3)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
echo $new_rot >cur_rot;<br />
exit;<br />
;;<br />
esac<br />
</pre><br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox or console<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated<br />
#stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
#rotate display left<br />
xrandr -o 1;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
#tells nitrogen to rescale the wallpaper (~/wallpaper.jpg<br />
#located in home under the name wallpaper.jpg) for the new orientation<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
#exit the script<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=157261ASUS Eee PC T101MT2011-09-07T16:41:17Z<p>Stealthsheath: </p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 3.0.0<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox or console<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated<br />
#stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
#rotate display left<br />
xrandr -o 1;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
#tells nitrogen to rescale the wallpaper (~/wallpaper.jpg<br />
#located in home under the name wallpaper.jpg) for the new orientation<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
#exit the script<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=Extra_keyboard_keys/Xorg&diff=156231Extra keyboard keys/Xorg2011-09-05T23:13:29Z<p>Stealthsheath: /* Using your Desktop Environment tools */</p>
<hr />
<div>[[Category:Input devices (English)]]<br />
[[Category:X Server (English)]]<br />
{{i18n|Extra Keyboard Keys in Xorg}}<br />
<br />
When we are in a graphical environment we may want a key to print a special character or execute a command. There are some ways of doing that and they are covered in this HOWTO.<br />
<br />
{{Box Note |This article assumes that your keys already have keycodes and that you know these codes, if not, see the [[Extra Keyboard Keys]] article where it is explained.}}<br />
<br />
=Map keycodes to symbols=<br />
==Introduction==<br />
The most traditional and proficient way to make a key output a character when you are in X is to use xmodmap. Xmodmap is roughly the X equivalent of ''loadkeys'': it reads a file containing some directives. As ''loadkeys'', it can be used to modify many aspects of the behaviour of your keyboard (such as modifiers, etc.), but I will not cover these aspects in this article. The only kind of directive I am interested in here associates an X keycode to a keysym. ''xmodmap'' is included in the ''xorg-server-utils'' package.<br />
# pacman -S xorg-server-utils<br />
<br />
==Step 1: Create the xmodmap file==<br />
In this file, you have to list the keycode directives, with the following syntax:<br />
keycode <Xkeycode> = <keysym><br />
The list of X keysyms can be read in {{Filename|/usr/include/X11/keysymdef.h}}. Anyway, most of them are intuitive. Let us say that the X keycode of my hotkey is 239. If I want it to output a literal 'e', I will write the following directive:<br />
keycode 239 = e<br />
If I want it to output the symbol of the American currency, I will write the following directive:<br />
keycode 239 = dollar<br />
<br />
This can also be used to assign functions to multimedia keys. Special functions can be found in {{Filename|/usr/share/X11/XKeysymDB}}.<br />
<br />
An example {{Filename|~/.Xmodmap}}:<br />
keycode 160 = XF86AudioMute<br />
keycode 176 = XF86AudioRaiseVolume<br />
keycode 174 = XF86AudioLowerVolume<br />
<br />
Multimedia programs such as Rhythmbox and Exaile are designed to work with keys assigned to XF86 Symbols out-of-the-box, without the need to configure a third-party application.<br />
<br />
==Step 2: Testing==<br />
Finally I have to source the file with xmodmap:<br />
$ xmodmap ~/.Xmodmap<br />
<br />
==Step 3: Making it permanent==<br />
Obviously, this will work only for the current X session, use [[xprofile]] to make it permanent.<br />
<br />
=Map keycodes to actions=<br />
<br />
==Using your Desktop Environment tools==<br />
===Gnome===<br />
Gnome Control Center is quite complete for the extra keyboard keys management. In fact it can directly detect scancodes which means that it can map any key seen by the kernel.<br />
<br />
===KDE===<br />
Keyboard shortcuts can be configured in '''System Settings''' -> '''Shortcuts and Gestures'''.<br />
<br />
===Xfce4===<br />
You can change the keyboard shortcuts in Keyboard Settings, which can be run using {{Codeline|xfce4-keyboard-settings}}.<br />
<br />
===Openbox===<br />
You can set keyboard shortcuts and actions in the keyboard section of your {{Filename|~/.config/openbox/rc.xml}} file. For example, the following will lower the volume with a media key:<br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<execute>amixer set Master 5- unmute</execute><br />
</action><br />
</keybind><br />
For more information, please visit [http://urukrama.wordpress.com/openbox-guide/#Key_mouse urukrama's Openbox Guide] or the [http://openbox.org/wiki/Help:Actions Openbox Wiki].<br />
<br />
===PekWM===<br />
Setting keys in PekWM is accomplished by editing your {{Filename|~/.pekwm/keys}} file. For example, adding the following at the bottom of the Global section will lower the volume with a media key:<br />
KeyPress = "XF86AudioLowerVolume" { Actions = "exec amixer set Master 5%- unmute &" }<br />
<br />
===Xmonad===<br />
If you use Xmonad as a stand alone window manager, you can edit the xmonad.hs to add unbinded keyboard keys. You just need to find the Xf86 name of the key (such as XF86PowerDown) and look it up in {{Codeline|/usr/include/X11/XF86keysym.h}} it will give you a keycode like 0x1008FF2A. than using that keycode you can just add a line like the following in the keybindings section of your xmonad.hs<br />
((0, 0x1008FF2A), spawn "sudo pm-suspend")<br />
<br />
==Using third-party programs==<br />
===keytouch===<br />
KeyTouch is a program which allows you to easily configure the extra function keys of your keyboard. This means that you can define, for every individual function key, what to do if it is pressed.<br />
<br />
''See the detailed article: [[keytouch]].''<br />
<br />
===Using actkbd===<br />
From [http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/ actkbd home page]:<br />
<blockquote><br />
'''actkbd''' (available [http://aur.archlinux.org/packages.php?ID=8056 in AUR]) is a simple daemon that binds actions to keyboard events. It recognises key combinations and can handle press, repeat and release events. Currently it only supports the linux-2.6 evdev interface. It uses a plain-text configuration file which contains all the bindings.<br />
</blockquote><br />
<br />
A sample configuration and guide is available [http://users.softlab.ece.ntua.gr/~thkala/projects/actkbd/latest/README here].<br />
<br />
<br />
===Using xbindkeys===<br />
''[[xbindkeys]]'' (available in the extra repository) allows advanced mapping of keycodes to actions independently of the Desktop Environment.<br />
<br />
A GUI called ''xbindkeys_config'' is available in [[AUR]].</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155988ASUS Eee PC T101MT2011-09-05T16:29:45Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox or console<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated<br />
#stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
#rotate display left<br />
xrandr -o 1;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
#tells nitrogen to rescale the wallpaper (~/wallpaper.jpg<br />
#located in home under the name wallpaper.jpg) for the new orientation<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
#exit the script<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155977ASUS Eee PC T101MT2011-09-05T15:57:21Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox or console<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated,stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
#rotate display left<br />
xrandr -o 1;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
#tells nitrogen to rescale the wallpaper (~/wallpaper.jpg<br />
#located in home under the name wallpaper.jpg) for the new orientation<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
#exit the script<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155976ASUS Eee PC T101MT2011-09-05T15:56:43Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox or console<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated,stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
#rotate display left<br />
xrandr -o 1;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
#tells nitrogen to rescale the wallpaper (~/wallpaper.jpg; located in home under the name wallpaper.jpg) for the new orientation<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
#exit the script<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155970ASUS Eee PC T101MT2011-09-05T15:53:42Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox or console<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated,stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
#rotate display left<br />
xrandr -o 1;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
#tells nitrogen to rescale the wallpaper for the new orientation<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
#exit the script<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155966ASUS Eee PC T101MT2011-09-05T15:44:02Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox or console<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated,stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
#rotate display left<br />
xrandr -o 1;<br />
#find the device id of the touch screen with 'xinput list | grep Asus'<br />
#set the device id by switching out '10' with your device id number.<br />
#invert touch axes for (x,y) for device with id=10<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
#swaps the x and y axes of the touch screen for device with id=10<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
#tells nitrogen to rescale the wallpaper for the new orientation<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
#exit the script<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155950ASUS Eee PC T101MT2011-09-05T05:01:55Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox or console<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated,stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155949ASUS Eee PC T101MT2011-09-05T05:00:10Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#This script rotates the touchscreen based on input from openbox<br />
<br />
#checks to see if the type of rotation is specified as the first argument<br />
if [ "$1" = "" ];<br />
then<br />
{<br />
echo 'Which orientation do you want the screen to be rotated?';<br />
#asks which orientation the user wants the screen to be rotated,stores answer as variable 'rot'<br />
select rot in "left" "right" "upside_down" "normal";<br />
do<br />
#rotates the screen<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
done<br />
}<br />
else<br />
{<br />
#user already specified the rotation desired; stored as variable 'rot'<br />
rot=$1;<br />
#rotates the screen according to 'rot'<br />
case $rot in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
exit;<br />
;;<br />
esac<br />
}<br />
fi<br />
<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155948ASUS Eee PC T101MT2011-09-05T04:17:53Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code under <keyboard>:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155947ASUS Eee PC T101MT2011-09-05T04:17:01Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>); this was taken from https://wiki.archlinux.org/index.php/Openbox:<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155946ASUS Eee PC T101MT2011-09-05T04:16:10Z<p>Stealthsheath: /* Camera */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155945ASUS Eee PC T101MT2011-09-05T04:15:27Z<p>Stealthsheath: /* Camera */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
#get the architecture of the system<br />
arch=`uname -m`<br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155944ASUS Eee PC T101MT2011-09-05T04:12:08Z<p>Stealthsheath: /* Hardware */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br><br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
#get the architecture of the system<br />
arch=`uname -m`<br><br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
For N450 versions:<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
For N570 versions:<br />
<pre><br />
00:00.0 Host bridge: Intel Corporation N10 Family DMI Bridge (rev 02)<br />
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:02.1 Display controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)<br />
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation N10/ICH7 Family SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications AR8132 Fast Ethernet (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155943ASUS Eee PC T101MT2011-09-05T04:10:59Z<p>Stealthsheath: /* On Screen Keyboard */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br><br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
#get the architecture of the system<br />
arch=`uname -m`<br><br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<pre><br />
kvkbd &<br />
</pre><br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155942ASUS Eee PC T101MT2011-09-05T04:09:55Z<p>Stealthsheath: /* Camera */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command:<br />
<br />
for x86_x64<br><br />
<pre><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br />
</pre><br />
for i686<br />
<pre><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
</pre><br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
#get the architecture of the system<br />
arch=`uname -m`<br><br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155941ASUS Eee PC T101MT2011-09-05T04:08:35Z<p>Stealthsheath: /* Camera */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<pre><br />
#!/bin/bash<br />
#get the architecture of the system<br />
arch=`uname -m`<br><br />
<br />
#corrects upside down webcam in skype<br />
case $arch in<br />
x86_64)<br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
;;<br />
i686)<br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
;;<br />
esac<br />
</pre><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155940ASUS Eee PC T101MT2011-09-05T04:07:39Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<pre><br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
</pre><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155939ASUS Eee PC T101MT2011-09-05T04:06:21Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<pre><br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
</pre><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<pre><br />
#!/bin/bash<br />
#This script rotates the touchscreen based on input from openbox<br />
case $1 in<br />
left)<br />
xrandr -o 1;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
right)<br />
xrandr -o 3;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
xinput set-prop 10 "Evdev Axes Swap" 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
upside_down)<br />
xrandr -o 2;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
;;<br />
normal)<br />
xrandr -o 0;<br />
xinput set-prop 10 "Evdev Axes Swap" 0;<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
nitrogen --set-scaled ~/wallpaper.jpg;<br />
esac<br />
</pre><br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155938ASUS Eee PC T101MT2011-09-05T04:04:24Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<br>#!/bin/bash<br />
<br>#This script rotates the touchscreen based on input from openbox<br />
<br>case $1 in<br />
<br> left)<br />
<br> xrandr -o 1;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> right)<br />
<br> xrandr -o 3;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> upside_down)<br />
<br> xrandr -o 2;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> normal)<br />
<br> xrandr -o 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br>esac<br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<pre><br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
</pre><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155937ASUS Eee PC T101MT2011-09-05T04:01:51Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<br>#!/bin/bash<br />
<br>#This script rotates the touchscreen based on input from openbox<br />
<br>case $1 in<br />
<br> left)<br />
<br> xrandr -o 1;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> right)<br />
<br> xrandr -o 3;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> upside_down)<br />
<br> xrandr -o 2;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> normal)<br />
<br> xrandr -o 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br>esac<br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155936ASUS Eee PC T101MT2011-09-05T04:01:07Z<p>Stealthsheath: /* Rotating the touch screen in openbox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<br>#!/bin/bash<br />
<br>#This script rotates the touchscreen based on input from openbox<br />
<br>case $1 in<br />
<br> left)<br />
<br> xrandr -o 1;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> right)<br />
<br> xrandr -o 3;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> upside_down)<br />
<br> xrandr -o 2;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> normal)<br />
<br> xrandr -o 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br>esac<br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155935ASUS Eee PC T101MT2011-09-05T04:00:20Z<p>Stealthsheath: /* Installing OpenBox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/'.<br />
<br />
==Rotating the touch screen in openbox==<br />
Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<br>#!/bin/bash<br />
<br>#This script rotates the touchscreen based on input from openbox<br />
<br>case $1 in<br />
<br> left)<br />
<br> xrandr -o 1;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> right)<br />
<br> xrandr -o 3;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> upside_down)<br />
<br> xrandr -o 2;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> normal)<br />
<br> xrandr -o 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br>esac<br />
<br />
Save this script as 'rotate_touch_screen' (or whatever you want to name it) and make it executable with '#chmod +x rotate_touch_screen'. Move it to /usr/bin with '#mv rotate_touch_screen /usr/bin/'.<br />
<br />
Edit '~/.config/openbox/menu.xml' to include the following code:<br />
<br />
<menu id="root-menu-773645" label="Rotate Screen"><br />
<item label="Normal"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen normal<br />
</execute><br />
</action><br />
</item><br />
<item label="Right"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen right<br />
</execute><br />
</action><br />
</item><br />
<item label="Upside Down"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen upside_down<br />
</execute><br />
</action><br />
</item><br />
<item label="Left"><br />
<action name="Execute"><br />
<execute><br />
rotate_touch_screen left<br />
</execute><br />
</action><br />
</item><br />
<br />
You can edit the position of this piece of code (if you know XML) or just add it in somewhere before the last line '</openbox_menu>' of the script. Change the position by using obmenu (GUI interface for editing openbox menu).<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155934ASUS Eee PC T101MT2011-09-05T03:52:11Z<p>Stealthsheath: /* Installing OpenBox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen, use the following script:<br />
<br />
<br>#!/bin/bash<br />
<br />
<br>#This script rotates the touchscreen based on input from openbox<br />
<br />
<br>case $1 in<br />
<br> left)<br />
<br> xrandr -o 1;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> right)<br />
<br> xrandr -o 3;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 1;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> upside_down)<br />
<br> xrandr -o 2;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 1 1;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br> ;;<br />
<br> normal)<br />
<br> xrandr -o 0;<br />
<br> xinput set-prop 10 "Evdev Axes Swap" 0;<br />
<br> xinput set-prop 10 "Evdev Axis Inversion" 0 0;<br />
<br> nitrogen --set-scaled ~/wallpaper.jpg;<br />
<br>esac<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155933ASUS Eee PC T101MT2011-09-05T03:48:11Z<p>Stealthsheath: /* Installing OpenBox */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked.<br />
<br />
To rotate the screen<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155932ASUS Eee PC T101MT2011-09-05T03:45:23Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>):<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155931ASUS Eee PC T101MT2011-09-05T03:45:12Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending (under <keyboard>:<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155930ASUS Eee PC T101MT2011-09-05T03:44:40Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending:<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155929ASUS Eee PC T101MT2011-09-05T03:44:29Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending:<br />
<br />
rem <!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155928ASUS Eee PC T101MT2011-09-05T03:44:06Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending:<br />
<br />
"<!-- Keybindings for audio control -->"<br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155927ASUS Eee PC T101MT2011-09-05T03:43:53Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending:<br />
<br />
<!-- Keybindings for audio control --><br><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155926ASUS Eee PC T101MT2011-09-05T03:43:41Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending:<br />
<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155925ASUS Eee PC T101MT2011-09-05T03:42:43Z<p>Stealthsheath: /* Function Keys */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
In openbox, editting ~/.config/rc.xml and appending:<br />
<!-- Keybindings for audio control --><br />
<keybind key="XF86AudioRaiseVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%+ unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioLowerVolume"><br />
<action name="Execute"><br />
<command>amixer set Master 5%- unmute</command><br />
</action><br />
</keybind><br />
<keybind key="XF86AudioMute"><br />
<action name="Execute"><br />
<command>amixer set Master toggle</command><br />
</action><br />
</keybind><br />
<br />
will make the audio keys work if alsa is installed.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155924ASUS Eee PC T101MT2011-09-05T03:39:37Z<p>Stealthsheath: /* Camera */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155923ASUS Eee PC T101MT2011-09-05T03:39:12Z<p>Stealthsheath: /* Camera */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br><br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155922ASUS Eee PC T101MT2011-09-05T03:38:51Z<p>Stealthsheath: /* Camera */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br />
<br />
<br>#!/bin/bash<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br>#corrects upside down webcam in skype<br><br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
Save this script as "skyp" and '#chmod +x skyp'. Move this script to '/usr/bin/' with '#mv skyp /usr/bin/'. From now on typing in skyp should load skype with the proper webcam orientation.<br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155921ASUS Eee PC T101MT2011-09-05T03:36:36Z<p>Stealthsheath: </p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
== Installing Arch ==<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
===Following the Beginners Guide===<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
===Camera===<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
To make this happen automatically just create a script named skyp (or anything you want it to be)<br><br />
<br />
<br>#!/bin/bash<br />
<br />
<br>#get the architecture of the system<br />
<br>arch=`uname -m`<br><br />
<br />
<br>#corrects upside down webcam in skype<br><br />
<br>case $arch in<br />
<br> x86_64)<br />
<br> LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br> i686)<br />
<br> LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype;<br />
<br> ;;<br />
<br>esac<br><br />
<br />
===Function Keys===<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
===Installing OpenBox===<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
===On Screen Keyboard===<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
===Suspend2RAM===<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
===Hibernate===<br />
<br />
Not Working.<br />
<br />
===Multi-Touch===<br />
<br />
Not Working.<br />
<br />
==Hardware==<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
==More Resources==<br />
* [[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
* [http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheathhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_T101MT&diff=155193ASUS Eee PC T101MT2011-09-03T06:45:11Z<p>Stealthsheath: </p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{| style="float:right; border: 1px solid #000;" <br />
| '''Device''' || '''Status''' || '''Information'''<br />
|- <br />
| Graphics || style="color:green" | '''Working''' || Intel GMA 3150<br />
|- <br />
| Ethernet || style="color:green" | '''Working''' || <br />
|-<br />
| Wireless || style="color:green" | '''Working''' || <br />
|-<br />
| Audio || style="color:green" | '''Working''' || <br />
|-<br />
| Camera || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Card Reader || style="color:green" | '''Working''' || <br />
|-<br />
| Function Keys || style="color:yellow" | '''Working''' || <br />
|-<br />
| Suspend2RAM || style="color:yellow" | '''Working''' ||<br />
|-<br />
| Hibernate || style="color:red" | '''Not working''' || <br />
|-<br />
| Touchscreen || style="color:green" | '''Working''' || 2.6.35<br />
|-<br />
| Multi-Touch || style="color:red" | '''Not working''' || <br />
|}<br />
<br />
= Installing Arch =<br />
<br />
This wiki page supplements these pages: '''[[Beginners Guide]]''', the '''[[Official Arch Linux Install Guide|Official Install Guide]]''', and '''[[Installing Arch Linux on the Asus EEE PC]]'''. Please refer to those guides ''first'' before following the eeepc-specific pointers on this page.<br />
<br />
==Following the Beginners Guide==<br />
<br />
Graphics, Ethernet, Wireless, Audio and the Card Reader work "out of the box". <br />
<br />
==Camera==<br />
<br />
Is working fine with Ekiga, Skype displays the image upside-down<br><br />
to fix this use command<br><br />
for x86_x64<br><br />
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype<br><br />
and for i686<br><br />
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype<br />
<br />
==Function Keys==<br />
<br />
Suspend-, Brightness- and Audiokeys work. Others may need special configuration.<br />
My Suspendkey was executing the suspend from KDE and from the acpi Interface. I disabled the KDE event, and now Suspend works.<br />
<br />
==Installing OpenBox==<br />
<br />
OpenBox can be installed by issuing #pacman -S openbox. Follow the instructions on screen to copy the openbox scripts to '~/.config/openbox/' . Editing the openbox rc.xml file in '~/.config/openbox/rc.xml' will allow configuration of the Express Gate button. Open a terminal and run $xev (non-root) to find out the key associated with the Express Gate button (just click it while in xev). For my system it was key 248 (0xF8) in hexadecimal. Edit your ~/.config/openbox/rc.xml to include the following code:<br />
<br />
<!-- Keybindings for express gate button --> <br />
<keybind key="0xF8"><br />
<action name="ShowMenu"><br />
<menu>root-menu</menu><br />
</action><br />
</keybind><br />
</keyboard><br />
<br />
This will bind the express gate key to show the openbox menu whenever clicked. Then generate user scripts and mark them executable to rotate the screen. To rotate the screen:<br />
<br />
right:<br />
<br />
#This script is for rotating the touch screen right<br />
xrandr -o 3<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 1<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
<br />
left:<br />
<br />
#This script is to rotate the touch screen left<br />
xrandr -o 1<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 0<br />
xinput set-prop 10 "Evdev Axes Swap" 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
upside down:<br />
<br />
#This script is to rotate the touch screen upside down<br />
<br />
xrandr -o 2<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 1 1<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
normal:<br />
<br />
#This script is to reset the screen rotation back to normal<br />
<br />
xrandr -o 0<br />
xinput set-prop 10 "Evdev Axes Swap" 0<br />
xinput set-prop 10 "Evdev Axis Inversion" 0 0<br />
nitrogen --set-scaled ~/wallpaper.jpg<br />
<br />
Save each script as a file (for me it was touch_rotate_script_<direction>) where <direction> was replaced with the direction the touch screen will rotate. I then made each of these scripts executable with chmod +x <name_of_script> and moved them into '/usr/bin/' with 'sudo mv <name of script> '/usr/bin'. Edit the openbox menu with obmenu (obtained from #pacman -S obmenu) and each executable file as a menu item. Now you will be able to rotate the display and the touch screen axes. Also setting the express gate button to menu for me proved to be more useful.<br />
<br />
==On Screen Keyboard==<br />
<br />
Install kvkbd with from the Arch user repository (if using packer : packer -S kvkbd). Make sure you have some sort of system tray (I used tint2) and edit '~/.config/openbox/autostart' to include the following statement:<br />
<br />
kvkbd &<br />
<br />
This will start up kvkbd everytime openbox starts up. Once kvkbd is started up it will appear in the system tray, simply clicking the icon in the tray will pop out the virtual keyboard.<br />
<br />
<br />
==Suspend2RAM==<br />
<br />
Touchscreen is not working afterwards.<br />
<br />
==Hibernate==<br />
<br />
Not Working.<br />
<br />
==Multi-Touch==<br />
<br />
Not Working.<br />
<br />
=Hardware=<br />
<br />
<pre><br />
$ lspci<br />
00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge<br />
00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:02.1 Display controller: Intel Corporation Pineview Integrated Graphics Controller<br />
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)<br />
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)<br />
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)<br />
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)<br />
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)<br />
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)<br />
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)<br />
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)<br />
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)<br />
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)<br />
00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 02)<br />
00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) SATA AHCI Controller (rev 02)<br />
01:00.0 Ethernet controller: Atheros Communications Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)<br />
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)<br />
</pre><br />
<br />
=More Resources=<br />
[[Asus Eee PC]] General Guide for EEE PCs on Arch<br />
<br />
[http://ubuntuforums.org/showthread.php?t=1468376 Ubuntu T101MT Howto]</div>Stealthsheath