https://wiki.archlinux.org/api.php?action=feedcontributions&user=Aliasbody&feedformat=atomArchWiki - User contributions [en]2024-03-29T13:03:20ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Apache_HTTP_Server&diff=233106Apache HTTP Server2012-11-01T23:13:56Z<p>Aliasbody: </p>
<hr />
<div>[[Category:Web Server]]<br />
[[cs:LAMP]]<br />
[[de:LAMP Installation]]<br />
[[el:LAMP]]<br />
[[es:LAMP]]<br />
[[fr:Lamp]]<br />
[[it:LAMP]]<br />
[[pl:LAMP]]<br />
[[ru:LAMP]]<br />
[[sr:LAMP]]<br />
[[tr:LAMP]]<br />
[[zh-CN:LAMP]]<br />
[http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29 LAMP] refers to a common combination of software used in many web servers: '''L'''inux, '''A'''pache, '''M'''ySQL, and '''P'''HP. This article describes how to set up the [http://httpd.apache.org Apache HTTP Server] on an Arch Linux system. It also tells you how to optionally install [[PHP]] and [[MySQL]] and integrate these in the Apache server.<br />
<br />
If you only need a web server for development and testing, [[Xampp]] might be a better and easier option.<br />
<br />
==Installation==<br />
# pacman -S apache php php-apache mysql<br />
<br />
This document assumes you will install Apache, PHP and MySQL together. If desired however, you may install Apache, PHP, and MySQL separately and simply refer to the relevant sections below.<br />
<br />
{{Note|New default user and group: Instead of group "nobody", apache now runs as user/group "http" by default. You might want to adjust your httpd.conf according to this change, though you may still run httpd as nobody.}}<br />
<br />
==Configuration==<br />
<br />
===Apache===<br />
For security reasons, as soon as Apache is started by the root user (directly or via startup scripts) it switches to the UID/GID specified in {{ic|/etc/httpd/conf/httpd.conf}}<br />
<br />
* Check for the existence of the http user by looking for ''http'' in the output of the following command:<br />
# grep http /etc/passwd<br />
<br />
* Create the system user http if it does not exist already:<br />
# useradd -d /srv/http -r -s /bin/false -U http<br />
:This creates the http user with home directory {{ic|/srv/http/}}, as a system account (-r), with a bogus shell (-s {{ic|/bin/false}}) and creates a group with the same name (-U).<br />
<br />
* Add this line to {{ic|/etc/hosts}} (If the file does not exist, create it.):<br />
127.0.0.1 localhost.localdomain localhost<br />
:If you want a different hostname, append it to the end:<br />
127.0.0.1 localhost.localdomain localhost myhostname<br />
<br />
* Make sure the hostname appears in /etc/hosts or apache will fail to start. Alternatively, you can<br />
edit {{ic|/etc/httpd/conf/httpd.conf}} and comment the following module:<br />
LoadModule unique_id_module modules/mod_unique_id.so<br />
<br />
* Customize your config. At least change {{ic|httpd.conf}} and {{ic|extra/httpd-default.conf}} to your liking. For security reasons, you might want to change '''ServerTokens Full''' to '''ServerTokens Prod''' and '''ServerSignature On''' to '''ServerSignature Off''' in {{ic|extra/httpd-default.conf}}.<br />
<br />
* Run the following in a terminal to start the HTTP server:<br />
# rc.d start httpd<br />
or, for systemd users:<br />
# systemctl start httpd<br />
<br />
:Apache should now be running. Test by visiting http://localhost/ in a web browser. It should display a simple Apache test page. If you receive a 403 Error, comment out the following line in {{ic|/etc/httpd/conf/httpd.conf}}:<br />
Include conf/extra/httpd-userdir.conf<br />
<br />
* To start Apache automatically at boot, edit {{ic|/etc/rc.conf}} and add the '''httpd''' daemon:<br />
DAEMONS=(... '''httpd''' ...)<br />
: systemd users should run<br />
# systemctl enable httpd<br />
<br />
====User dirs====<br />
* If you do not want user directories to be available on the web (e.g., {{ic|~/public_html}} on the machine is accessed as http://localhost/~user/ -Note that you can change what this points to in {{ic|/etc/httpd/conf/extra/httpd-userdir.conf}}), comment the following line in {{ic|/etc/httpd/conf/httpd.conf}} since they are activated by default:<br />
Include conf/extra/httpd-userdir.conf<br />
<br />
* You must make sure that your home directory permissions are set properly so that Apache can get there. Your home directory and {{ic|~/public_html/}} must be executable for others ("rest of the world"). This seems to be enough:<br />
$ chmod o+x ~<br />
$ chmod o+x ~/public_html<br />
<br />
* More secure way to share your home folder with apache is to add '''http user''' in group that your home folder belongs. For example, if your home folder and other sub-folders in your home folder belong to group '''piter''', all you have to do is following:<br />
<br />
$ usermod -aG piter http<br />
<br />
* Of course, you have to give ''read'' and ''execute'' permissions on {{ic|~/}}, {{ic|~/public_html}}, and all other sub-folders in {{ic|~/public_html}} to the group members (group '''piter''' in our case). Do something like following ('''modify commands for your specific case'''):<br />
<br />
$ chmod g+xr-w /home/''yourusername''<br />
$ chmod -R g+xr-w /home/''yourusername''/public_html<br />
<br />
{{Note|This way you do not have to give access to your folder to every single user in order to give access to '''http user'''. Only '''http user''' and other potential users that are in '''piter''' group will have access to your home folder.}}<br />
<br />
And then<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
to restart apache.<br />
<br />
====SSL====<br />
Create self-signed certificate (you can change key size and days of validity)<br />
# cd /etc/httpd/conf<br />
# openssl genrsa -des3 -out server.key 1024<br />
# openssl req -new -key server.key -out server.csr<br />
# cp server.key server.key.org<br />
# openssl rsa -in server.key.org -out server.key<br />
# openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt<br />
In {{ic|/etc/httpd/conf/httpd.conf}} uncomment line<br />
Include conf/extra/httpd-ssl.conf<br />
Restart apache<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
====Virtual Hosts====<br />
If you want to have more than one host, make sure you have<br />
{{bc|<br />
# Virtual hosts<br />
Include conf/extra/httpd-vhosts.conf<br />
}}<br />
in {{ic|/etc/httpd/conf/httpd.conf}}.<br />
<br />
In {{ic|/etc/httpd/conf/extra/httpd-vhosts.conf}} set your virtual hosts according the example, e.g.:<br />
{{bc|<br />
NameVirtualHost *:80<br />
<br />
#this first virtualhost enables: http://127.0.0.1, or: http://localhost, <br />
#to still go to /srv/http/*index.html(otherwise it will 404_error).<br />
#the reason for this: once you tell httpd.conf to include extra/httpd-vhosts.conf, <br />
#ALL vhosts are handled in httpd-vhosts.conf(including the default one),<br />
# E.G. the default virtualhost in httpd.conf is not used and must be included here, <br />
#otherwise, only domainname1.dom & domainname2.dom will be accessible<br />
#from your web browser and NOT http://127.0.0.1, or: http://localhost, etc.<br />
#<br />
<br />
<VirtualHost *:80><br />
DocumentRoot "/srv/http"<br />
ServerAdmin root@localhost<br />
ErrorLog "/var/log/httpd/127.0.0.1-error_log"<br />
CustomLog "/var/log/httpd/127.0.0.1-access_log" common<br />
<Directory /srv/http/><br />
DirectoryIndex index.htm index.html<br />
AddHandler cgi-script .cgi .pl<br />
Options ExecCGI Indexes FollowSymLinks MultiViews +Includes<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all<br />
</Directory><br />
</VirtualHost><br />
<br />
<br />
<VirtualHost *:80><br />
ServerAdmin your@domainname1.dom<br />
DocumentRoot "/home/username/yoursites/domainname1.dom/www"<br />
ServerName domainname1.dom<br />
ServerAlias domainname1.dom<br />
<Directory /home/username/yoursites/domainname1.dom/www/><br />
DirectoryIndex index.htm index.html<br />
AddHandler cgi-script .cgi .pl<br />
Options ExecCGI Indexes FollowSymLinks MultiViews +Includes<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all<br />
</Directory><br />
</VirtualHost><br />
<br />
<VirtualHost *:80><br />
ServerAdmin your@domainname2.dom<br />
DocumentRoot "/home/username/yoursites/domainname2.dom/www"<br />
ServerName domainname2.dom<br />
ServerAlias domainname2.dom<br />
<Directory /home/username/yoursites/domainname2.dom/www/><br />
DirectoryIndex index.htm index.html<br />
AddHandler cgi-script .cgi .pl<br />
Options ExecCGI Indexes FollowSymLinks MultiViews +Includes<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all<br />
</Directory><br />
</VirtualHost><br />
}}<br />
<br />
Add your virtual host names to your {{ic|/etc/hosts}} file (NOT necessary if bind is serving these domains already, but will not hurt):<br />
{{bc|127.0.0.1 domainname1.dom<br />
127.0.0.1 domainname2.dom}}<br />
<br />
Restart Apache:<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
If you setup your virtual hosts to be in your user directory, sometimes it interferes with Apache's 'Userdir' settings. To avoid problems disable 'Userdir' by commenting it out:<br />
{{bc|<br />
# User home directories<br />
#Include conf/extra/httpd-userdir.conf}}<br />
<br />
As said above, ensure that you have the proper permissions:<br />
# chmod 0775 /home/yourusername/<br />
<br />
If you have a huge amount of virtual hosts you easily want to dis- and enable, it's recommended to create one config file per virtualhost and store them all in one folder, eg: {{ic|/etc/httpd/conf/vhosts}}.<br />
<br />
First create the folder:<br />
# mkdir /etc/httpd/conf/vhosts<br />
<br />
Then place the single config files in them:<br />
# nano /etc/httpd/conf/vhosts/domainname1.dom<br />
# nano /etc/httpd/conf/vhosts/domainname2.dom<br />
...<br />
<br />
In the last step, "Include" the single configs in your {{ic|/etc/httpd/conf/httpd.conf}}:<br />
{{bc|#Enabled Vhosts:<br />
Include conf/vhosts/domainname1.dom<br />
#Include conf/vhosts/domainname1.dom}}<br />
<br />
You can enable and disable single virtual hosts by commenting them out or uncommenting them.<br />
<br />
====Advanced Options====<br />
These options in {{ic|/etc/httpd/conf/httpd.conf}} might be interesting for you:<br />
<br />
# Listen 80<br />
This is the port Apache will listen to. For Internet-access with router, you have to forward the port.<br />
<br />
If you setup Apache for local development you may want it to be only accessible from your computer. Then change this line to:<br />
# Listen 127.0.0.1:80<br />
<br />
This is the admin's email-address which can be found on e.g. error-pages:<br />
# ServerAdmin sample@sample.com<br />
<br />
This is the directory where you should put your web pages:<br />
# DocumentRoot "/srv/http"<br />
<br />
Change it, if you want to, but do not forget to also change the<br />
<Directory "/srv/http"><br />
to whatever you changed your DocumentRoot to, or you will likely get a 403 error (lack of privileges) when you try to access the new document root. Do not forget to change the Deny from all line, otherwise you will get 403 error too.<br />
<br />
# AllowOverride None<br />
This directive in {{ic|<Directory>}} sections causes apache to completely ignore .htaccess files. If you intend to use rewrite mod or other settings in .htaccess files, you can allow which directives declared in that file can override server configuration. For more info refer to http://httpd.apache.org/docs/current/mod/core.html#allowoverride<br />
<br />
{{Note|If you have issues with your configuration you can have apache check the configuration with:<br />
{{Ic|apachectl configtest}}}}<br />
<br />
===PHP===<br />
* Install the "php-apache" package from extra using pacman.<br />
<br />
* Add these lines in {{ic|/etc/httpd/conf/httpd.conf}}:<br />
:Place this in the "LoadModule" list anywhere after {{Ic|LoadModule dir_module modules/mod_dir.so}}:<br />
LoadModule php5_module modules/libphp5.so<br />
<br />
:Place this at the end of the "Include" list:<br />
Include conf/extra/php5_module.conf<br />
<br />
:Make sure that the following line is uncommented in httpd.conf in the section/(after the line){{Ic|<IfModule mime_module>}}:<br />
TypesConfig conf/mime.types<br />
<br />
:Uncomment the following line in httpd.conf(optional):<br />
MIMEMagicFile conf/magic<br />
<br />
* Add this line in {{ic|/etc/httpd/conf/mime.types}}:<br />
application/x-httpd-php5 php php5<br />
<br />
{{Note|If you do not see {{ic|libphp5.so}} in the Apache modules directory ({{Ic|/etc/httpd/modules}}), you may have forgotten to install the ''php-apache'' package.}}<br />
<br />
* If your {{Ic|DocumentRoot}} is not {{Ic|/srv/http}}, add it to {{Ic|open_basedir}} in {{ic|/etc/php/php.ini}} as such:<br />
open_basedir=/srv/http/:/home/:/tmp/:/usr/share/pear/:/path/to/documentroot<br />
<br />
* Restart the Apache service to make changes take effect:<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
* Create the file test.php in your Apache DocumentRoot Directory(E.G. /srv/http/ or ~/public_html) and inside it put:<br />
<?php phpinfo(); ?><br />
<br />
* Remember to copy this file to {{Ic|~/public_html}} if you permitted such a configuration.<!-- Also, remember to make it executable ({{Ic|chmod o+x test.php}}).--><br />
<br />
* Test PHP: http://localhost/test.php or http://localhost/~myname/test.php<br />
<br />
:If the PHP instruction is not executed (you see : <html>...</html>), check that you have added "Includes" to the "Options" line for your root directory in {{ic|/etc/httpd/conf/httpd.conf}}. Moreover, check that TypesConfig conf/mime.types is uncommented in the <IfModule mime_module> section, you may also try adding the following to the <IfModule mime_module> in httpd.conf:<br />
AddHandler application/x-httpd-php .php<br />
<br />
====Advanced options====<br />
* Remember to add a file handler for .phtml if you need it in {{ic|/etc/httpd/conf/extra/php5_module.conf}}:<br />
DirectoryIndex index.php index.phtml index.html<br />
<br />
* If you want the libGD module, install php-gd package and uncomment in {{ic|/etc/php/php.ini}}:<br />
{{Note|php-gd requires libpng, libjpeg, and freetype2}}<br />
;extension=gd.so<br />
to<br />
extension=gd.so<br />
<br />
:Pay attention to which extension you uncomment, as this extension is sometimes mentioned in an explanatory comment before the actual line you want to uncomment.<br />
<br />
<br />
* If you want to display errors to debug your php code, change this line of {{ic|/etc/php/php.ini}}:<br />
display_errors=Off<br />
to<br />
display_errors=On<br />
<br />
* If you want the mcrypt module, install php-mcrypt package and uncomment in {{ic|/etc/php/php.ini}}:<br />
;extension=mcrypt.so<br />
:to<br />
extension=mcrypt.so<br />
{{Warning|1=If you get error like:<br />
{{bc|<br />
[XXX Debug] PHP Notice: in file /index.php on line 86: date(): It is not safe to rely on the system'XXXX<br />
[XXX Debug] PHP Notice: in file /index.php on line 86: getdate(): It is not safe to rely on the system's timezone settings.XXXX}}<br />
<br />
change this line of {{ic|/etc/php/php.ini}} <br />
;date.timezone = <br />
to <br />
{{bc|1=date.timezone = Europe/Berlin}}<br />
}}<br />
{{note| more infos about [http://php.net/manual/en/datetime.configuration.php#ini.date.timezone Time Zone in PHP] }}<br />
restart httpd with <br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
==== Using php5 with apache2-mpm-worker and mod_fcgid ====<br />
<br />
Uncomment following in {{ic|/etc/conf.d/apache}}:<br />
HTTPD=/usr/sbin/httpd.worker<br />
Uncomment following in {{ic|/etc/httpd/conf/httpd.conf}}:<br />
Include conf/extra/httpd-mpm.conf<br />
Install mod_fcgid and php-cgi packages:<br />
# pacman -S mod_fcgid php-cgi<br />
Create {{ic|/etc/httpd/conf/extra/php5_fcgid.conf}} with following content:<br />
{{bc|1=<br />
# Required modules: fcgid_module<br />
<br />
<IfModule fcgid_module><br />
AddHandler php-fcgid .php<br />
AddType application/x-httpd-php .php<br />
Action php-fcgid /fcgid-bin/php-fcgid-wrapper<br />
ScriptAlias /fcgid-bin/ /srv/http/fcgid-bin/<br />
SocketPath /var/run/httpd/fcgidsock<br />
SharememPath /var/run/httpd/fcgid_shm<br />
# If you don't allow bigger requests many applications may fail (such as WordPress login)<br />
FcgidMaxRequestLen 536870912<br />
PHP_Fix_Pathinfo_Enable 1<br />
# Path to php.ini – defaults to /etc/phpX/cgi<br />
DefaultInitEnv PHPRC=/etc/php/<br />
# Number of PHP childs that will be launched. Leave undefined to let PHP decide.<br />
#DefaultInitEnv PHP_FCGI_CHILDREN 3<br />
# Maximum requests before a process is stopped and a new one is launched<br />
#DefaultInitEnv PHP_FCGI_MAX_REQUESTS 5000<br />
<Location /fcgid-bin/><br />
SetHandler fcgid-script<br />
Options +ExecCGI<br />
</Location><br />
</IfModule><br />
}}<br />
<br />
Create needed directory and symlink for php wrapper:<br />
# mkdir /srv/http/fcgid-bin<br />
# ln -s /usr/bin/php-cgi /srv/http/fcgid-bin/php-fcgid-wrapper<br />
<br />
Edit {{ic|/etc/httpd/conf/httpd.conf:}}<br />
#LoadModule php5_module modules/libphp5.so<br />
LoadModule fcgid_module modules/mod_fcgid.so<br />
Include conf/extra/php5_fcgid.conf<br />
Make sure {{ic|/etc/php/php.ini}} has the directive enabled:<br />
cgi.fix_pathinfo=1<br />
Now you need restart apache:<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
{{Note|1=As of Apache 2.4 (available as [http://aur.archlinux.org/packages.php?ID=60719 AUR package]) you can now use [http://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html mod_proxy_fcgi] (part of the official distribution) with PHP-FPM (and the new event MPM). See [http://wiki.apache.org/httpd/PHP-FPM configuration example]}}<br />
<br />
===MySQL===<br />
* Configure MySQL as described in [[MySQL]].<br />
<br />
* Edit {{ic|/etc/php/php.ini}} (this is in {{ic|/usr/etc}} on older systems) to uncomment the following lines (''By removing {{Ic|;}}''):<br />
;extension=mysqli.so<br />
;extension=mysql.so<br />
<br />
* You can add minor privileged users for your web scripts by editing the tables found in the {{Ic|mysql}} database. You have to restart MySQL for changes to take effect. Do not forget to check the {{Ic|mysql.user}} table: {{Ic|select User,Password from mysql.user;}}. If there is a second entry for root and your hostname is left with no password set, everybody from your host probably could gain full access. Perhaps see next section for these jobs.<br />
<br />
* Run in terminal:<br />
# rc.d start mysqld<br />
or, for systemd users<br />
# systemctl restart mysqld<br />
<br />
* You may also need to restart Apache. Run in terminal:<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
* MySQL should now be running. Set the root password and test it by running:<br />
# mysqladmin -u root password ''password''<br />
# mysql -u root -p<br />
<br />
:Type ''exit'' to exit from the CLI MySQL client<br />
<br />
* Edit {{ic|/etc/rc.conf}} (to start MySQL at boot):<br />
DAEMONS=(... '''mysqld''' ...)<br />
Or add this line to {{ic|rc.local}}:<br />
# rc.d start mysqld<br />
or, for systemd users<br />
# systemctl restart mysqld<br />
<br />
* You might also need to edit {{ic|/etc/mysql/my.cnf}} and comment out the {{Ic|skip-networking}} line as such:<br />
skip-networking<br />
to<br />
#skip-networking<br />
<br />
{{Tip|You may want to install [[PhpMyAdmin|phpmyadmin]], {{AUR|mysql-workbench}} or [[Adminer|adminer]] to work with your databases.}}<br />
<br />
==See also==<br />
* [[MySQL]] - Article for MySQL<br />
* [[PhpMyAdmin]] - Web frontend for MySQL typically found in LAMP environments<br />
* [[Adminer]] - A full-featured database management tool which is available for MySQL, PostgreSQL, SQLite, MS SQL and Oracle<br />
* [[Xampp]] - Self contained web-server that supports PHP, Perl, and MySQL<br />
* [[mod_perl]] - Apache + Perl<br />
<br />
==External links==<br />
* http://www.apache.org/<br />
* http://www.php.net/<br />
* http://www.mysql.com/<br />
* http://www.akadia.com/services/ssh_test_certificate.html<br />
* http://wiki.apache.org/httpd/CommonMisconfigurations</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=Apache_HTTP_Server&diff=233104Apache HTTP Server2012-11-01T23:11:56Z<p>Aliasbody: </p>
<hr />
<div>[[Category:Web Server]]<br />
[[cs:LAMP]]<br />
[[de:LAMP Installation]]<br />
[[el:LAMP]]<br />
[[es:LAMP]]<br />
[[fr:Lamp]]<br />
[[it:LAMP]]<br />
[[pl:LAMP]]<br />
[[ru:LAMP]]<br />
[[sr:LAMP]]<br />
[[tr:LAMP]]<br />
[[zh-CN:LAMP]]<br />
[http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29 LAMP] refers to a common combination of software used in many web servers: '''L'''inux, '''A'''pache, '''M'''ySQL, and '''P'''HP. This article describes how to set up the [http://httpd.apache.org Apache HTTP Server] on an Arch Linux system. It also tells you how to optionally install [[PHP]] and [[MySQL]] and integrate these in the Apache server.<br />
<br />
If you only need a web server for development and testing, [[Xampp]] might be a better and easier option.<br />
<br />
==Installation==<br />
# pacman -S apache php php-apache mysql<br />
<br />
This document assumes you will install Apache, PHP and MySQL together. If desired however, you may install Apache, PHP, and MySQL separately and simply refer to the relevant sections below.<br />
<br />
{{Note|New default user and group: Instead of group "nobody", apache now runs as user/group "http" by default. You might want to adjust your httpd.conf according to this change, though you may still run httpd as nobody.}}<br />
<br />
==Configuration==<br />
<br />
===Apache===<br />
For security reasons, as soon as Apache is started by the root user (directly or via startup scripts) it switches to the UID/GID specified in {{ic|/etc/httpd/conf/httpd.conf}}<br />
<br />
* Check for the existence of the http user by looking for ''http'' in the output of the following command:<br />
# grep http /etc/passwd<br />
<br />
* Create the system user http if it does not exist already:<br />
# useradd -d /srv/http -r -s /bin/false -U http<br />
:This creates the http user with home directory {{ic|/srv/http/}}, as a system account (-r), with a bogus shell (-s {{ic|/bin/false}}) and creates a group with the same name (-U).<br />
<br />
* Add this line to {{ic|/etc/hosts}} (If the file does not exist, create it.):<br />
127.0.0.1 localhost.localdomain localhost<br />
:If you want a different hostname, append it to the end:<br />
127.0.0.1 localhost.localdomain localhost myhostname<br />
<br />
* Make sure the hostname appears in /etc/hosts or apache will fail to start. Alternatively, you can<br />
edit {{ic|/etc/httpd/conf/httpd.conf}} and comment the following module:<br />
LoadModule unique_id_module modules/mod_unique_id.so<br />
<br />
* Customize your config. At least change {{ic|httpd.conf}} and {{ic|extra/httpd-default.conf}} to your liking. For security reasons, you might want to change '''ServerTokens Full''' to '''ServerTokens Prod''' and '''ServerSignature On''' to '''ServerSignature Off''' in {{ic|extra/httpd-default.conf}}.<br />
<br />
* Run the following in a terminal to start the HTTP server:<br />
# rc.d start httpd<br />
:systemd users should run<br />
# systemctl start httpd<br />
<br />
:Apache should now be running. Test by visiting http://localhost/ in a web browser. It should display a simple Apache test page. If you receive a 403 Error, comment out the following line in {{ic|/etc/httpd/conf/httpd.conf}}:<br />
Include conf/extra/httpd-userdir.conf<br />
<br />
* To start Apache automatically at boot, edit {{ic|/etc/rc.conf}} and add the '''httpd''' daemon:<br />
DAEMONS=(... '''httpd''' ...)<br />
: systemd users should run<br />
# systemctl enable httpd<br />
<br />
====User dirs====<br />
* If you do not want user directories to be available on the web (e.g., {{ic|~/public_html}} on the machine is accessed as http://localhost/~user/ -Note that you can change what this points to in {{ic|/etc/httpd/conf/extra/httpd-userdir.conf}}), comment the following line in {{ic|/etc/httpd/conf/httpd.conf}} since they are activated by default:<br />
Include conf/extra/httpd-userdir.conf<br />
<br />
* You must make sure that your home directory permissions are set properly so that Apache can get there. Your home directory and {{ic|~/public_html/}} must be executable for others ("rest of the world"). This seems to be enough:<br />
$ chmod o+x ~<br />
$ chmod o+x ~/public_html<br />
<br />
* More secure way to share your home folder with apache is to add '''http user''' in group that your home folder belongs. For example, if your home folder and other sub-folders in your home folder belong to group '''piter''', all you have to do is following:<br />
<br />
$ usermod -aG piter http<br />
<br />
* Of course, you have to give ''read'' and ''execute'' permissions on {{ic|~/}}, {{ic|~/public_html}}, and all other sub-folders in {{ic|~/public_html}} to the group members (group '''piter''' in our case). Do something like following ('''modify commands for your specific case'''):<br />
<br />
$ chmod g+xr-w /home/''yourusername''<br />
$ chmod -R g+xr-w /home/''yourusername''/public_html<br />
<br />
{{Note|This way you do not have to give access to your folder to every single user in order to give access to '''http user'''. Only '''http user''' and other potential users that are in '''piter''' group will have access to your home folder.}}<br />
<br />
And then<br />
<br />
# rc.d restart httpd<br />
<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
to restart apache.<br />
<br />
====SSL====<br />
Create self-signed certificate (you can change key size and days of validity)<br />
# cd /etc/httpd/conf<br />
# openssl genrsa -des3 -out server.key 1024<br />
# openssl req -new -key server.key -out server.csr<br />
# cp server.key server.key.org<br />
# openssl rsa -in server.key.org -out server.key<br />
# openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt<br />
In {{ic|/etc/httpd/conf/httpd.conf}} uncomment line<br />
Include conf/extra/httpd-ssl.conf<br />
Restart apache<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
====Virtual Hosts====<br />
If you want to have more than one host, make sure you have<br />
{{bc|<br />
# Virtual hosts<br />
Include conf/extra/httpd-vhosts.conf<br />
}}<br />
in {{ic|/etc/httpd/conf/httpd.conf}}.<br />
<br />
In {{ic|/etc/httpd/conf/extra/httpd-vhosts.conf}} set your virtual hosts according the example, e.g.:<br />
{{bc|<br />
NameVirtualHost *:80<br />
<br />
#this first virtualhost enables: http://127.0.0.1, or: http://localhost, <br />
#to still go to /srv/http/*index.html(otherwise it will 404_error).<br />
#the reason for this: once you tell httpd.conf to include extra/httpd-vhosts.conf, <br />
#ALL vhosts are handled in httpd-vhosts.conf(including the default one),<br />
# E.G. the default virtualhost in httpd.conf is not used and must be included here, <br />
#otherwise, only domainname1.dom & domainname2.dom will be accessible<br />
#from your web browser and NOT http://127.0.0.1, or: http://localhost, etc.<br />
#<br />
<br />
<VirtualHost *:80><br />
DocumentRoot "/srv/http"<br />
ServerAdmin root@localhost<br />
ErrorLog "/var/log/httpd/127.0.0.1-error_log"<br />
CustomLog "/var/log/httpd/127.0.0.1-access_log" common<br />
<Directory /srv/http/><br />
DirectoryIndex index.htm index.html<br />
AddHandler cgi-script .cgi .pl<br />
Options ExecCGI Indexes FollowSymLinks MultiViews +Includes<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all<br />
</Directory><br />
</VirtualHost><br />
<br />
<br />
<VirtualHost *:80><br />
ServerAdmin your@domainname1.dom<br />
DocumentRoot "/home/username/yoursites/domainname1.dom/www"<br />
ServerName domainname1.dom<br />
ServerAlias domainname1.dom<br />
<Directory /home/username/yoursites/domainname1.dom/www/><br />
DirectoryIndex index.htm index.html<br />
AddHandler cgi-script .cgi .pl<br />
Options ExecCGI Indexes FollowSymLinks MultiViews +Includes<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all<br />
</Directory><br />
</VirtualHost><br />
<br />
<VirtualHost *:80><br />
ServerAdmin your@domainname2.dom<br />
DocumentRoot "/home/username/yoursites/domainname2.dom/www"<br />
ServerName domainname2.dom<br />
ServerAlias domainname2.dom<br />
<Directory /home/username/yoursites/domainname2.dom/www/><br />
DirectoryIndex index.htm index.html<br />
AddHandler cgi-script .cgi .pl<br />
Options ExecCGI Indexes FollowSymLinks MultiViews +Includes<br />
AllowOverride None<br />
Order allow,deny<br />
allow from all<br />
</Directory><br />
</VirtualHost><br />
}}<br />
<br />
Add your virtual host names to your {{ic|/etc/hosts}} file (NOT necessary if bind is serving these domains already, but will not hurt):<br />
{{bc|127.0.0.1 domainname1.dom<br />
127.0.0.1 domainname2.dom}}<br />
<br />
Restart Apache:<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
If you setup your virtual hosts to be in your user directory, sometimes it interferes with Apache's 'Userdir' settings. To avoid problems disable 'Userdir' by commenting it out:<br />
{{bc|<br />
# User home directories<br />
#Include conf/extra/httpd-userdir.conf}}<br />
<br />
As said above, ensure that you have the proper permissions:<br />
# chmod 0775 /home/yourusername/<br />
<br />
If you have a huge amount of virtual hosts you easily want to dis- and enable, it's recommended to create one config file per virtualhost and store them all in one folder, eg: {{ic|/etc/httpd/conf/vhosts}}.<br />
<br />
First create the folder:<br />
# mkdir /etc/httpd/conf/vhosts<br />
<br />
Then place the single config files in them:<br />
# nano /etc/httpd/conf/vhosts/domainname1.dom<br />
# nano /etc/httpd/conf/vhosts/domainname2.dom<br />
...<br />
<br />
In the last step, "Include" the single configs in your {{ic|/etc/httpd/conf/httpd.conf}}:<br />
{{bc|#Enabled Vhosts:<br />
Include conf/vhosts/domainname1.dom<br />
#Include conf/vhosts/domainname1.dom}}<br />
<br />
You can enable and disable single virtual hosts by commenting them out or uncommenting them.<br />
<br />
====Advanced Options====<br />
These options in {{ic|/etc/httpd/conf/httpd.conf}} might be interesting for you:<br />
<br />
# Listen 80<br />
This is the port Apache will listen to. For Internet-access with router, you have to forward the port.<br />
<br />
If you setup Apache for local development you may want it to be only accessible from your computer. Then change this line to:<br />
# Listen 127.0.0.1:80<br />
<br />
This is the admin's email-address which can be found on e.g. error-pages:<br />
# ServerAdmin sample@sample.com<br />
<br />
This is the directory where you should put your web pages:<br />
# DocumentRoot "/srv/http"<br />
<br />
Change it, if you want to, but do not forget to also change the<br />
<Directory "/srv/http"><br />
to whatever you changed your DocumentRoot to, or you will likely get a 403 error (lack of privileges) when you try to access the new document root. Do not forget to change the Deny from all line, otherwise you will get 403 error too.<br />
<br />
# AllowOverride None<br />
This directive in {{ic|<Directory>}} sections causes apache to completely ignore .htaccess files. If you intend to use rewrite mod or other settings in .htaccess files, you can allow which directives declared in that file can override server configuration. For more info refer to http://httpd.apache.org/docs/current/mod/core.html#allowoverride<br />
<br />
{{Note|If you have issues with your configuration you can have apache check the configuration with:<br />
{{Ic|apachectl configtest}}}}<br />
<br />
===PHP===<br />
* Install the "php-apache" package from extra using pacman.<br />
<br />
* Add these lines in {{ic|/etc/httpd/conf/httpd.conf}}:<br />
:Place this in the "LoadModule" list anywhere after {{Ic|LoadModule dir_module modules/mod_dir.so}}:<br />
LoadModule php5_module modules/libphp5.so<br />
<br />
:Place this at the end of the "Include" list:<br />
Include conf/extra/php5_module.conf<br />
<br />
:Make sure that the following line is uncommented in httpd.conf in the section/(after the line){{Ic|<IfModule mime_module>}}:<br />
TypesConfig conf/mime.types<br />
<br />
:Uncomment the following line in httpd.conf(optional):<br />
MIMEMagicFile conf/magic<br />
<br />
* Add this line in {{ic|/etc/httpd/conf/mime.types}}:<br />
application/x-httpd-php5 php php5<br />
<br />
{{Note|If you do not see {{ic|libphp5.so}} in the Apache modules directory ({{Ic|/etc/httpd/modules}}), you may have forgotten to install the ''php-apache'' package.}}<br />
<br />
* If your {{Ic|DocumentRoot}} is not {{Ic|/srv/http}}, add it to {{Ic|open_basedir}} in {{ic|/etc/php/php.ini}} as such:<br />
open_basedir=/srv/http/:/home/:/tmp/:/usr/share/pear/:/path/to/documentroot<br />
<br />
* Restart the Apache service to make changes take effect:<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
* Create the file test.php in your Apache DocumentRoot Directory(E.G. /srv/http/ or ~/public_html) and inside it put:<br />
<?php phpinfo(); ?><br />
<br />
* Remember to copy this file to {{Ic|~/public_html}} if you permitted such a configuration.<!-- Also, remember to make it executable ({{Ic|chmod o+x test.php}}).--><br />
<br />
* Test PHP: http://localhost/test.php or http://localhost/~myname/test.php<br />
<br />
:If the PHP instruction is not executed (you see : <html>...</html>), check that you have added "Includes" to the "Options" line for your root directory in {{ic|/etc/httpd/conf/httpd.conf}}. Moreover, check that TypesConfig conf/mime.types is uncommented in the <IfModule mime_module> section, you may also try adding the following to the <IfModule mime_module> in httpd.conf:<br />
AddHandler application/x-httpd-php .php<br />
<br />
====Advanced options====<br />
* Remember to add a file handler for .phtml if you need it in {{ic|/etc/httpd/conf/extra/php5_module.conf}}:<br />
DirectoryIndex index.php index.phtml index.html<br />
<br />
* If you want the libGD module, install php-gd package and uncomment in {{ic|/etc/php/php.ini}}:<br />
{{Note|php-gd requires libpng, libjpeg, and freetype2}}<br />
;extension=gd.so<br />
to<br />
extension=gd.so<br />
<br />
:Pay attention to which extension you uncomment, as this extension is sometimes mentioned in an explanatory comment before the actual line you want to uncomment.<br />
<br />
<br />
* If you want to display errors to debug your php code, change this line of {{ic|/etc/php/php.ini}}:<br />
display_errors=Off<br />
to<br />
display_errors=On<br />
<br />
* If you want the mcrypt module, install php-mcrypt package and uncomment in {{ic|/etc/php/php.ini}}:<br />
;extension=mcrypt.so<br />
:to<br />
extension=mcrypt.so<br />
{{Warning|1=If you get error like:<br />
{{bc|<br />
[XXX Debug] PHP Notice: in file /index.php on line 86: date(): It is not safe to rely on the system'XXXX<br />
[XXX Debug] PHP Notice: in file /index.php on line 86: getdate(): It is not safe to rely on the system's timezone settings.XXXX}}<br />
<br />
change this line of {{ic|/etc/php/php.ini}} <br />
;date.timezone = <br />
to <br />
{{bc|1=date.timezone = Europe/Berlin}}<br />
}}<br />
{{note| more infos about [http://php.net/manual/en/datetime.configuration.php#ini.date.timezone Time Zone in PHP] }}<br />
restart httpd with <br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
==== Using php5 with apache2-mpm-worker and mod_fcgid ====<br />
<br />
Uncomment following in {{ic|/etc/conf.d/apache}}:<br />
HTTPD=/usr/sbin/httpd.worker<br />
Uncomment following in {{ic|/etc/httpd/conf/httpd.conf}}:<br />
Include conf/extra/httpd-mpm.conf<br />
Install mod_fcgid and php-cgi packages:<br />
# pacman -S mod_fcgid php-cgi<br />
Create {{ic|/etc/httpd/conf/extra/php5_fcgid.conf}} with following content:<br />
{{bc|1=<br />
# Required modules: fcgid_module<br />
<br />
<IfModule fcgid_module><br />
AddHandler php-fcgid .php<br />
AddType application/x-httpd-php .php<br />
Action php-fcgid /fcgid-bin/php-fcgid-wrapper<br />
ScriptAlias /fcgid-bin/ /srv/http/fcgid-bin/<br />
SocketPath /var/run/httpd/fcgidsock<br />
SharememPath /var/run/httpd/fcgid_shm<br />
# If you don't allow bigger requests many applications may fail (such as WordPress login)<br />
FcgidMaxRequestLen 536870912<br />
PHP_Fix_Pathinfo_Enable 1<br />
# Path to php.ini – defaults to /etc/phpX/cgi<br />
DefaultInitEnv PHPRC=/etc/php/<br />
# Number of PHP childs that will be launched. Leave undefined to let PHP decide.<br />
#DefaultInitEnv PHP_FCGI_CHILDREN 3<br />
# Maximum requests before a process is stopped and a new one is launched<br />
#DefaultInitEnv PHP_FCGI_MAX_REQUESTS 5000<br />
<Location /fcgid-bin/><br />
SetHandler fcgid-script<br />
Options +ExecCGI<br />
</Location><br />
</IfModule><br />
}}<br />
<br />
Create needed directory and symlink for php wrapper:<br />
# mkdir /srv/http/fcgid-bin<br />
# ln -s /usr/bin/php-cgi /srv/http/fcgid-bin/php-fcgid-wrapper<br />
<br />
Edit {{ic|/etc/httpd/conf/httpd.conf:}}<br />
#LoadModule php5_module modules/libphp5.so<br />
LoadModule fcgid_module modules/mod_fcgid.so<br />
Include conf/extra/php5_fcgid.conf<br />
Make sure {{ic|/etc/php/php.ini}} has the directive enabled:<br />
cgi.fix_pathinfo=1<br />
Now you need restart apache:<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
{{Note|1=As of Apache 2.4 (available as [http://aur.archlinux.org/packages.php?ID=60719 AUR package]) you can now use [http://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html mod_proxy_fcgi] (part of the official distribution) with PHP-FPM (and the new event MPM). See [http://wiki.apache.org/httpd/PHP-FPM configuration example]}}<br />
<br />
===MySQL===<br />
* Configure MySQL as described in [[MySQL]].<br />
<br />
* Edit {{ic|/etc/php/php.ini}} (this is in {{ic|/usr/etc}} on older systems) to uncomment the following lines (''By removing {{Ic|;}}''):<br />
;extension=mysqli.so<br />
;extension=mysql.so<br />
<br />
* You can add minor privileged users for your web scripts by editing the tables found in the {{Ic|mysql}} database. You have to restart MySQL for changes to take effect. Do not forget to check the {{Ic|mysql.user}} table: {{Ic|select User,Password from mysql.user;}}. If there is a second entry for root and your hostname is left with no password set, everybody from your host probably could gain full access. Perhaps see next section for these jobs.<br />
<br />
* Run in terminal:<br />
# rc.d start mysqld<br />
or, for systemd users<br />
# systemctl restart mysqld<br />
<br />
* You may also need to restart Apache. Run in terminal:<br />
# rc.d restart httpd<br />
or, for systemd users<br />
# systemctl restart httpd<br />
<br />
* MySQL should now be running. Set the root password and test it by running:<br />
# mysqladmin -u root password ''password''<br />
# mysql -u root -p<br />
<br />
:Type ''exit'' to exit from the CLI MySQL client<br />
<br />
* Edit {{ic|/etc/rc.conf}} (to start MySQL at boot):<br />
DAEMONS=(... '''mysqld''' ...)<br />
Or add this line to {{ic|rc.local}}:<br />
rc.d start mysqld<br />
or, for systemd users<br />
# systemctl restart mysqld<br />
<br />
* You might also need to edit {{ic|/etc/mysql/my.cnf}} and comment out the {{Ic|skip-networking}} line as such:<br />
skip-networking<br />
to<br />
#skip-networking<br />
<br />
{{Tip|You may want to install [[PhpMyAdmin|phpmyadmin]], {{AUR|mysql-workbench}} or [[Adminer|adminer]] to work with your databases.}}<br />
<br />
==See also==<br />
* [[MySQL]] - Article for MySQL<br />
* [[PhpMyAdmin]] - Web frontend for MySQL typically found in LAMP environments<br />
* [[Adminer]] - A full-featured database management tool which is available for MySQL, PostgreSQL, SQLite, MS SQL and Oracle<br />
* [[Xampp]] - Self contained web-server that supports PHP, Perl, and MySQL<br />
* [[mod_perl]] - Apache + Perl<br />
<br />
==External links==<br />
* http://www.apache.org/<br />
* http://www.php.net/<br />
* http://www.mysql.com/<br />
* http://www.akadia.com/services/ssh_test_certificate.html<br />
* http://wiki.apache.org/httpd/CommonMisconfigurations</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=MATE&diff=204321MATE2012-06-10T05:41:01Z<p>Aliasbody: /* Automatically at boot time */</p>
<hr />
<div>[[Category:Desktop environments]]<br />
{{i18n|MATE}}<br />
<br />
{{Article summary start}}<br />
{{Article summary text|What is MATE and how to get it.}}<br />
{{Article summary heading|Required software}}<br />
{{Article summary link|MATE|http://mate-desktop.org}}<br />
{{Article summary heading|Related}}<br />
{{Article summary wiki|GNOME}}<br />
{{Article summary end}}<br />
<br />
The '''MATE Desktop Environment''' is a fork of GNOME 2 that aims to provide an attractive and intuitive desktop to Linux users using traditional metaphors. For more information, see [https://bbs.archlinux.org/viewtopic.php?id=121162 this forum thread.]<br />
<br />
== Obtaining ==<br />
<br />
MATE is currently developed on [https://github.com/Perberos/Mate-Desktop-Environment GitHub] and hosted on two pacman mirrors:<br />
* http://packages.mate-desktop.org/repo/archlinux/ — stable packages with release-based version numbering<br />
* http://packages.mate-desktop.org/repo/archlinux/development — development packages with date-based version numbering<br />
Development packages are also available through the AUR ({{AUR|mate-desktop-environment}}).<br />
<br />
{{warning|There is a new set of packages as of 10th February 2012 with a different version numbering in the repositories. In order to safely update your system you'll have to use<br />
<br />
# pacman -Syuu<br />
<br />
once. Otherwise pacman will warn you about local packages being newer than the ones in the repository. The old packages are considered development packages from now and will only be updated sporadically! If you would like to stay with them please update your pacman.conf like so:<br />
<br />
{{bc|<nowiki><br />
[mate]<br />
Server = http://packages.mate-desktop.org/repo/archlinux/development/$arch<br />
</nowiki>}}<br />
<br />
}}<br />
<br />
== Installation ==<br />
<br />
To install the stable version of MATE via [[pacman]] add the following lines to your {{ic|/etc/pacman.conf}}:<br />
<br />
{{bc|<nowiki><br />
[mate]<br />
Server = http://packages.mate-desktop.org/repo/archlinux/$arch<br />
</nowiki>}}<br />
<br />
Run<br />
<br />
# pacman -Syy<br />
<br />
and then<br />
<br />
# pacman -S mate<br />
<br />
It might also be of interest to people to install certain packages from the '''mate-extra''' group (most being counterparts to packages in the {{Grp|gnome-extra}} group):<br />
<br />
{{note|Currently, there are two extra groups in the MATE pacman repositories: '''mate-extra''' and '''mate-extras'''. It is advised to look in both for the needed applications until it gets properly merged/fixed into a single extra group.}}<br />
<br />
# pacman -S mate-extra<br />
<br />
'''OR'''<br />
<br />
# pacman -S mate-extras<br />
<br />
You are very likely to get file conflicts when installing. Simply rename the offending files or install with the {{ic|--force}} flag. You will also require [[dbus]].<br />
<br />
{{note|Currently, many MATE packages do not provide, conflict or replace any GNOME packages.}}<br />
<br />
== Starting ==<br />
<br />
Always make sure dbus is in your DAEMONS array in [[rc.conf]] before starting MATE.<br />
<br />
=== Manually ===<br />
<br />
In order to start MATE manually, you must add<br />
<br />
exec ck-launch-session mate-session<br />
<br />
to your {{ic|[[xinitrc|~/.xinitrc]]}} file and then run<br />
<br />
$ startx<br />
<br />
{{note|If you have authorization problems (e.g. when mounting disks), try adding {{ic|dbus-launch}} after {{ic|ck-launch-session}}.}}<br />
<br />
=== Automatically at boot time ===<br />
<br />
See [[Display Manager]] and [[Start X at Boot]] for details.<br />
<br />
==== GDM (Old) ====<br />
<br />
If you are using {{AUR|gdm-old}} from the AUR, simply select the MATE session from the Sessions list. For your first time launching MATE, make sure to click "Just this session" when prompted.<br />
<br />
==== MATE Display Manager ====<br />
<br />
The MATE Display Manager (MDM) is the MATE desktop's counterpart to the GNOME Display Manager (GDM). It's package 'mate-display-manager' can be found in the '''mate-extra''' group or in the AUR package {{AUR|mate-display-manager}}. It works relatively the same as GDM does/did.<br />
<br />
==== [[KDM]] ====<br />
<br />
In order to be able to launch MATE from [[KDM]], the [[KDE]] Display Manager, you have to edit the KDM configuration.<br />
As root, edit the <code>/usr/share/config/kdm/kdmrc</code> configuration file. Find the '''SessionsDir''' parameter and add <code>/usr/share/xsessions</code> to the list.<br />
It should then look like this:<br />
SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions,/usr/share/xsessions<br />
<br />
Restart KDM and select the "MATE session" from the list.<br />
<br />
==== [[SLIM]] ====<br />
Just fallow the [[SLIM]] tutorial to know how to install and how to copy and use the .xinitrc file. And just add this line to the .xinitrc file :<br />
exec mate-session<br />
<br />
== Applications ==<br />
<br />
=== Core applications ===<br />
<br />
It is important to note that many GNOME core applications are rebranded for MATE, as per the licensing terms. Here is a simple Rosetta Stone of GNOME -> MATE applications. <br />
<br />
* Nautilus is renamed '''caja'''<br />
* Metacity is renamed '''marco'''<br />
* Gconf is renamed '''mate-conf'''<br />
<br />
Other applications and core components prefixed with GNOME (such as GNOME Panel, GNOME Menus etc) have simply had the prefix renamed "MATE" and become MATE Panel and MATE Menus.<br />
<br />
=== Extra applications ===<br />
<br />
Not all of the GNOME extra applications (built for GTK2) have been forked yet. The following extra applications '''are''' available in MATE:<br />
<br />
* Totem (mate-video-player)<br />
* Eye of GNOME (mate-image-viewer)<br />
* Gedit (mate-text-editor)<br />
* File Roller (mate-file-archiver)<br />
* GNOME Panel applets (mate-applets)<br />
* GNOME Terminal (mate-terminal)<br />
<br />
If you are using NetworkManager to connect to the internet, you can install {{AUR|network-manager-applet-gtk2}} from the AUR for a GTK2 nm-applet. You will need to modify the PKGBUILD to depend on mate-bluetooth rather than gnome-bluetooth to prevent a recursive dependency on gnome-desktop.<br />
<br />
== Using Compiz Fusion sans Emerald ==<br />
<br />
If you would like to use Marco with [[Compiz Fusion]], install and start Compiz Fusion as you would normally and install the package ''gtk-window-decorator'' and run the following command to create a symlink:<br />
<br />
# ln -s /usr/lib/libmarco-private.so.0 /usr/lib/libmetacity-private.so.0<br />
<br />
Enable the Window Decoration plugin in the Compiz Fusion settings manager and use<br />
<br />
gtk-window-decorator --replace<br />
as the command. However, without recompiling gtk-window-decorator, the necessary mateconf keys will not be created and you will be stuck with Cairo based decorations. It may be possible to create these keys yourself.<br />
<br />
== Known issues ==<br />
<br />
=== Endless spawning of file manager instances ===<br />
<br />
You may find that after you log in, the Caja file manager keeps spawning new instances and never stops. A temporary fix is performed with the following command:<br />
<br />
# ln -s /usr/lib/libgnutls.so /usr/lib/libgnutls.so.26<br />
<br />
Log out and log back in again once you perform this command.<br />
<br />
This may also fix an issue where the clock panel applet does not appear.<br />
<br />
=== Qt Applications are not styled ===<br />
<br />
You may find that Qt4 applications are not inheriting the GTK2 theme like they should. This can be fixed easily by installing {{pkg|libgnomeui}} with the {{ic|--force}} flag. If the problem persists, run qtconfig and make sure that the selected GUI Style is GTK+. This is likely to be fixed as MATE development continues.<br />
<br />
=== Evolution Email Not Working ===<br />
<br />
Please see [[Evolution#Using_Evolution_Outside_Of_Gnome]].<br />
<br />
=== Sticky Notes lost between Reboots ===<br />
<br />
As of Version 1.1.0, the Sticky Notes Panel Applet fails to save the notes created. This can be easily solved with the following two commands:<br />
<br />
$ mkdir /home/username/.config/mate/<br />
$ touch /home/username/.config/mate/stickynotes_applet<br />
<br />
For more information, see [http://forums.mate-desktop.org/viewtopic.php?f=7&t=15 this post] in the MATE Forums.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=Dropbox&diff=200252Dropbox2012-05-04T16:31:09Z<p>Aliasbody: /* Manual Method */</p>
<hr />
<div>[[Category:Networking]]<br />
{{i18n|Dropbox}}<br />
[https://www.dropbox.com Dropbox] is a file sharing system that recently introduced a GNU/Linux client. Use it to transparently sync files across computers and architectures. Simply drop files into your {{ic|~/Dropbox}} folder, and they will automatically sync to your centralized repository.<br />
<br />
==Installation==<br />
<br />
{{AUR|dropbox}} can be installed from the [[Arch User Repository|AUR]]. Alternatively, {{AUR|dropbox-experimental}} is also available.<br />
<br />
# After installing the package, you can start Dropbox from your application menu or run {{ic|dropboxd}} from the command-line. The client icon will appear in the system tray.<br />
# Eventually a pop-up will ask you to log in to your Dropbox account or create a new account. Enter your credentials.<br />
# After some time you will see a "Welcome to Dropbox" pop-up, which will give you the opportunity to view a short tour of Dropbox.<br />
# Press the "Finish and go to My Dropbox".<br />
<br />
For [[KDE]] users, no further steps are required (it is enough to install the above {{AUR|dropbox}} package from the AUR), as KDE saves running applications when logging out and restarts them automatically.<br />
<br />
===Optional packages===<br />
<br />
*For a command-line interface, install {{AUR|dropbox-cli}} from the [[Arch User Repository|AUR]].<br />
*For integration with Nautilus, install {{AUR|nautilus-dropbox}} from the AUR. The Nautilus plugin will start Dropbox automatically.<br />
*For integration with [[Thunar]], install {{AUR|thunar-dropbox}} from the AUR.<br />
*For [[KDE]] users, there is a KDE client available: {{AUR|kfilebox}} from the AUR.<br />
<br />
===Automatically Starting Dropbox===<br />
<br />
Dropbox can be automatically started by adding {{Ic|dropboxd}} to {{ic|~/.xinitrc}} (or {{ic|autostart.sh}}, depending on your setup). Alternatively, you can [[#Daemon|start it as a daemon]].<br />
<br />
== Alternative to install: use the web interface ==<br />
<br />
If all you need is basic access to the files in your Dropbox, you can use the web interface at https://www.dropbox.com/ to upload and download files to your Dropbox. This can be a viable alternative to running a Dropbox daemon and mirroring all the files on your own machine.<br />
<br />
==Daemon==<br />
<br />
To run Dropbox as a daemon like {{Ic|sshd}} or {{Ic|vsftpd}}, simply do one of the following:<br />
<br />
===dropbox-daemon Method===<br />
<br />
Install {{AUR|dropbox-daemon}}<br />
and configure your username in {{ic|/etc/conf.d/dropboxd.conf}}<br />
<br />
This allows you to start or stop Dropbox just like any other service.<br />
<br />
# /etc/rc.d/dropboxd start<br />
# /etc/rc.d/dropboxd stop<br />
# /etc/rc.d/dropboxd restart<br />
<br />
Place {{Ic|dropboxd}} in the DAEMONS array in {{ic|/etc/rc.conf}} for it to start at boot.:<br />
DAEMONS=(... '''@dropboxd''' ...)<br />
<br />
===Manual Method===<br />
<br />
As root, copy this into a file called {{ic|/etc/rc.d/dropboxd}} and set USER to your username.<br />
<br />
{{bc|<nowiki><br />
#!/bin/bash<br />
<br />
USER=yourusername<br />
<br />
. /etc/rc.conf<br />
. /etc/rc.d/functions<br />
<br />
PID=`pidof -o %PPID /opt/dropbox/dropbox`<br />
<br />
case "$1" in<br />
start)<br />
stat_busy "Starting Dropbox Service"<br />
LANG=$LOCALE<br />
[ -z "$PID" ] && su -c "/usr/bin/dropboxd &" $USER<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
add_daemon dropboxd<br />
stat_done<br />
fi<br />
;;<br />
stop)<br />
stat_busy "Stopping Dropbox Service"<br />
[ ! -z "$PID" ] && kill $PID > /dev/null<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
rm_daemon dropboxd<br />
stat_done<br />
fi<br />
;;<br />
restart)<br />
$0 stop<br />
sleep 3<br />
$0 start<br />
;;<br />
*)<br />
echo "usage: $0 {start|stop|restart}"<br />
;;<br />
esac<br />
exit 0<br />
</nowiki>}}<br />
<br />
An Organized Way:<br />
{{bc|<nowiki><br />
#!/bin/bash<br />
<br />
. /etc/rc.conf<br />
. /etc/rc.d/functions<br />
<br />
USER=yourusername<br />
DROPBOXD_PATH='/usr/bin/dropboxd'<br />
DROPBOX_PATH='/opt/dropbox/dropbox'<br />
<br />
PID=`pidof -o %PPID $DROPBOX_PATH`<br />
<br />
case "$1" in<br />
start)<br />
stat_busy "Starting Dropbox Service"<br />
if [ $USER = 'yourusername' ]; then<br />
echo "Please edit /etc/rc.d/dropboxd' 'USER' before using this script."<br />
stat_fail<br />
else<br />
LANG=$LOCALE<br />
[ -z "$PID" ] && su -c "$DROPBOXD_PATH &" $USER<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
add_daemon dropboxd<br />
stat_done<br />
fi<br />
fi<br />
;;<br />
stop)<br />
stat_busy "Stopping Dropbox Service"<br />
[ ! -z "$PID" ] && kill $PID > /dev/null<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
rm_daemon dropboxd<br />
stat_done<br />
fi<br />
;;<br />
restart)<br />
$0 stop<br />
sleep 3<br />
$0 start<br />
;;<br />
*)<br />
echo "usage: $0 {start|stop|restart}"<br />
;;<br />
esac<br />
exit 0<br />
</nowiki>}}<br />
<br />
Make the file executable with<br />
# chmod +x /etc/rc.d/dropboxd<br />
<br />
This allows you to start or stop {{Ic|dropboxd}} just like any other service. For example:<br />
<br />
# /etc/rc.d/dropboxd start<br />
# /etc/rc.d/dropboxd stop<br />
# /etc/rc.d/dropboxd restart<br />
<br />
To start it at boot, add it to your DAEMONS array in rc.conf: {{ic|/etc/rc.conf}}:<br />
DAEMONS=(... '''@dropboxd''' ...)<br />
<br />
==Without Nautilus (Another Way)==<br />
<br />
Another way to use Dropbox without Nautilus but with another file manager like Thunar is described below:<br />
<br />
1. Create a fake Nautilus script that will launch Thunar:<br />
$ sudo touch /usr/bin/nautilus && sudo chmod +x /usr/bin/nautilus && sudo nano /usr/bin/nautilus<br />
<br />
2. Insert this text into the file, then save and exit:<br />
#!/bin/bash<br />
exec thunar $2<br />
exit 0<br />
<br />
3. Launch Dropbox<br />
$ dropboxd<br />
<br />
4. Click on the Dropbox tray icon to open your Dropbox folder in Thunar.<br />
<br />
{{Note|In this way there is no need to create a Dropbox daemon in {{ic|/etc/rc.d/}} and to start it at boot via {{ic|/etc/rc.conf}} or to make it start via your session manager: just leave the "Start Dropbox on system startup" option flagged in the Preferences window.}}<br />
<br />
{{Note|If you already have Nautilus installed but do not want to use it, neither modify the existing file under {{ic|/usr/bin}}, just change the {{ic|/usr/bin}} for {{ic|/opt/dropbox}} in the step 2 above, like this: {{Ic|$ sudo touch /opt/dropbox/nautilus && sudo chmod +x /opt/dropbox/nautilus && sudo nano /opt/dropbox/nautilus}}. Dropbox will look in this path first!}}<br />
<br />
==Securing Your Dropbox==<br />
<br />
If you want to store sensitive data in your Dropbox, you should encrypt it before. Syncing to Dropbox is encrypted, but all files are (for the time being) stored on the server just as you put them in your Dropbox.<br />
<br />
* Dropbox works with [[TrueCrypt]], and after you initially uploaded the TrueCrypt volume to Dropbox, performance is quite okay, because Dropbox has a working binary diff.<br />
<br />
* Another possibility is to use [[EncFS]], which has the advantage that all files are encrypted separately, i.e. you do not have to determine in advance the size of the content you want to encrypt and your encrypted directory grows and shrinks while you add/delete/modify files in it. You can also mount an encrypted volume at startup using the {{ic|-S}} option of {{Ic|encfs}} to avoid having to input the passphrase, but note that your encrypted files are not secure from someone who has direct access to your computer.<br />
<br />
==Multiple Dropbox Instances==<br />
<br />
If you need to separate or distinguish your data, personal and work usage for example, you can subscribe to Dropbox with different email addresses and have multiple directories synced to different instances.<br />
<br />
The basic principle and general how-to are described in the [http://wiki.dropbox.com/TipsAndTricks/MultipleInstancesOnUnix Dropbox Wiki].<br />
<br />
{{Note|When dealing with multiple instances you have to select the Dropbox destination folder, which the Dropbox installer asks in the last step; usage examples may be {{ic|/home/dropbox-personal}}, {{ic|/home/dropbox-work}}, and so on.}}<br />
<br />
For convenience, here is a script that I use to accomplish the task: just add a dir in the "dropboxes" list to have another instance of Dropbox, referring to the dir, loaded at script startup.<br />
<br />
{{bc|<nowiki><br />
#!/bin/bash <br />
<br />
#******************************* <br />
# Multiple dropbox instances <br />
#******************************* <br />
<br />
dropboxes=(.dropbox-personal .dropbox-work) <br />
<br />
for dropbox in ${dropboxes[@]} <br />
do <br />
if ! [ -d $HOME/$dropbox ];then <br />
mkdir $HOME/$dropbox <br />
fi <br />
HOME=$HOME/$dropbox/ /usr/bin/dropbox start -i <br />
done <br />
</nowiki>}}<br />
<br />
==Dropbox on Laptops==<br />
<br />
Dropbox itself is pretty good at dealing with connectivity problems. If you have a laptop and roam between different network environments, Dropbox will have problems reconnecting if you do not restart it. The easiest way to solve this with [[netcfg]] is to use POST_UP and PRE_DOWN.<br />
<br />
In every network profile you use, add the appropriate commands:<br />
{{bc|<nowiki><br />
POST_UP="any other code; su -c 'DISPLAY=:0 /usr/bin/dropboxd &' your_user"<br />
PRE_DOWN="any other code; killall dropbox"<br />
</nowiki>}}<br />
Obviously, your_user has to be edited and 'any other code;' can be omitted if you do not have any. The above will make sure that Dropbox is running only if there is a network profile active.<br />
<br />
If you have connectivity problem with [[NetworkManager]], [https://bbs.archlinux.org/viewtopic.php?pid=790905, this thread] on forum should be useful.<br />
<br />
==Known Issues==<br />
===Connecting...===<br />
It may happen that Dropbox cannot connect successfully because it was loaded before an Internet connection was established. To solve the problem the content of the file {{ic|/opt/dropbox/dropboxd}} needs to be replaced with the following: <br />
<br />
#!/bin/sh<br />
<br />
# Copyright 2008 Evenflow, Inc., 2010 Dropbox<br />
#<br />
# Environment script for the dropbox executable.<br />
<br />
start_dropbox() {<br />
PAR=$(dirname $(readlink -f $0))<br />
OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH<br />
LD_LIBRARY_PATH=$PAR:$LD_LIBRARY_PATH <br />
<br />
TMP1=`ps ax|grep dropbox|grep -v grep`<br />
if [ -n "$TMP1" ]; then<br />
kill -9 $(pidof dropbox) >/dev/null 2>&1<br />
fi<br />
exec $PAR/dropbox $@ &<br />
}<br />
<br />
do_dropbox() {<br />
start_dropbox >/dev/null 2>&1<br />
while [ 1 ]; do<br />
sleep 5<br />
ERROR="$(net_test)"<br />
if [ -n "$ERROR" ]; then<br />
LAST_ERROR=1<br />
else<br />
if [ -n "$LAST_ERROR" ]; then<br />
# Connection seems to be up but last cycle was down<br />
LAST_ERROR=""<br />
start_dropbox >/dev/null 2>&1<br />
fi<br />
fi<br />
done<br />
<br />
}<br />
<br />
net_test() {<br />
TMP1="$(ifconfig |grep "inet" |grep -v "127.0.0.1")"<br />
[ -z "$TMP1" ] && echo "error"<br />
}<br />
<br />
do_dropbox<br />
<br />
===Dropbox does not start - "This is usually because of a permission error"===<br />
<br />
====Check permissions====<br />
Make sure that you own Dropbox's directories before running the application. This includes<br />
*{{ic|~/.dropbox}} - Dropbox's configuration directory<br />
*{{ic|~/Dropbox}} - Dropbox's download directory (default)<br />
You can ensure this by changing their owner with {{ic|chown -R}}.<br />
<br />
This error could also be caused by {{ic|/var}} being full.<br />
<br />
====Re-linking your account====<br />
[https://www.dropbox.com/help/72 Dropbox's FAQ] suggests that this error may be caused by misconfiguration and is fixed by (re)moving the current configuration folder<br />
# mv ~/.dropbox ~/.dropbox.old<br />
and restarting Dropbox.<br />
<br />
====Errors caused by running out of space====<br />
A common error that might happen is that there is no more available space on your {{ic|/tmp}} and {{ic|/var}} partitions. If this happens, Dropbox will crash on startup with the following error in its log:<br />
{{bc|<br />
Exception: Not a valid FileCache file<br />
}}<br />
A detailed story of such an occurrence can be found in the [https://bbs.archlinux.org/viewtopic.php?pid=973458 forums]. Make sure there is enough space available before launching Dropbox.<br />
<br />
====Locale caused errors====<br />
Try starting {{Ic|dropboxd}} with this code:<br />
<br />
LANG=$LOCALE<br />
dropboxd<br />
<br />
(You can also use a different value for LANG; it must be in the format "en_US.UTF-8")<br />
This helps when running from a Bash script or Bash shell where {{ic|/etc/rc.d/functions}} has been loaded<br />
<br />
==Alternatives==<br />
*[https://one.ubuntu.com/ Ubuntu One] - {{AUR|ubuntuone-client}}<br />
*[https://spideroak.com/ Spider Oak] - {{AUR|spideroak}}<br />
*[http://kdropbox.deuteros.es/ KFileBox] - {{AUR|kfilebox}}<br />
*[https://www.wuala.com/ Wuala] - {{AUR|wuala}}</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=166540ASUS Eee PC 1215N2011-10-19T22:50:46Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{{i18n|Asus EEE PC 1215n}}<br />
<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Configuration =<br />
== Wireless and Bluetooth ==<br />
<br />
'''[[PS :]] With the new Kernel (3.0+) there is no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Wireless:]]<br />
In order to use Wireless with the BCM4313 (Linux Kernel 3.0+) you need to blacklist bcmia by editing your /etc/modprobe.d/modprobe.conf and add this :<br />
<br />
# blacklist bcma<br />
<br />
Then restart and you can now use your BCM4313 normally :D<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages to manager Bluetooth like "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
== Media- and FN-keys ==<br />
example ~/.[[xbindkeys]]rc configuration<br />
#Muter/UnMute<br />
"amixer set "Master" toggle"<br />
m:0x0 + c:121<br />
XF86AudioMute <br />
#Volume up<br />
"amixer set "Master" 5%+"<br />
m:0x0 + c:123<br />
XF86AudioRaiseVolume <br />
#Volume down<br />
"amixer set "Master" 5%-"<br />
m:0x0 + c:122<br />
XF86AudioLowerVolume <br />
#MPD next song<br />
"mpc next"<br />
m:0x0 + c:171<br />
XF86AudioNext <br />
#MPD stop playing<br />
"mpc stop"<br />
m:0x0 + c:174<br />
XF86AudioStop <br />
#MPD prev song<br />
"mpc prev"<br />
m:0x0 + c:173<br />
XF86AudioPrev <br />
#MPD pase/unpause<br />
"mpc toggle"<br />
m:0x0 + c:172<br />
XF86AudioPlay <br />
<br />
== nVidia ION 2 with Optimus ==<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)<br />
<br />
= Problems =<br />
== Nvidia graphic card ==<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
'''Update (after a little testing):'''<br />
<br />
With the latest kernel running (3.0) and the "acpi_call" module installed from [https://aur.archlinux.org/packages.php?O=0&K=acpi_call&do_Search=Go AUR], the suspend and hibernate scripts used by [https://wiki.archlinux.org/index.php/Pm-utils pm-utils] will work (from commandline and in Gnome 3) as long as the acpi_call module is added to the suspend modules list used by the scripts.<br />
<br />
Create a file {{Filename|modules}} in {{Filename|/etc/pm/config.d}} and paste in the line below.<br />
<br />
SUSPEND_MODULES="acpi_call"<br />
== Bluetooth ==<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.<br />
<br />
== CPU power consumption ==<br />
There is a kernel parameter which must be added in linux 3.0 kernel to use energy saving feature of the intel driver: {{Codeline|1=pcie_aspm=force i915.i915_enable_rc6=1}}, see [https://bbs.archlinux.org/viewtopic.php?id=125954 this thread].</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=166526ASUS Eee PC 1215N2011-10-19T20:49:18Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{{i18n|Asus EEE PC 1215n}}<br />
<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Configuration =<br />
== Wireless and Bluetooth ==<br />
<br />
'''[[PS :]] With the new Kernel (3.0+) there is no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Wireless:]]<br />
In order to use Wireless with the BCM4313 (Linux Kernel 3.0+) you need to blacklist bcmia by editing your /etc/modprobe.d/modprobe.conf and add this :<br />
<br />
# blacklist bcmia<br />
<br />
Then restart and you can now use your BCM4313 normally :D<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages to manager Bluetooth like "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
== Media- and FN-keys ==<br />
example ~/.[[xbindkeys]]rc configuration<br />
#Muter/UnMute<br />
"amixer set "Master" toggle"<br />
m:0x0 + c:121<br />
XF86AudioMute <br />
#Volume up<br />
"amixer set "Master" 5%+"<br />
m:0x0 + c:123<br />
XF86AudioRaiseVolume <br />
#Volume down<br />
"amixer set "Master" 5%-"<br />
m:0x0 + c:122<br />
XF86AudioLowerVolume <br />
#MPD next song<br />
"mpc next"<br />
m:0x0 + c:171<br />
XF86AudioNext <br />
#MPD stop playing<br />
"mpc stop"<br />
m:0x0 + c:174<br />
XF86AudioStop <br />
#MPD prev song<br />
"mpc prev"<br />
m:0x0 + c:173<br />
XF86AudioPrev <br />
#MPD pase/unpause<br />
"mpc toggle"<br />
m:0x0 + c:172<br />
XF86AudioPlay <br />
<br />
== nVidia ION 2 with Optimus ==<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)<br />
<br />
= Problems =<br />
== Nvidia graphic card ==<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
'''Update (after a little testing):'''<br />
<br />
With the latest kernel running (3.0) and the "acpi_call" module installed from [https://aur.archlinux.org/packages.php?O=0&K=acpi_call&do_Search=Go AUR], the suspend and hibernate scripts used by [https://wiki.archlinux.org/index.php/Pm-utils pm-utils] will work (from commandline and in Gnome 3) as long as the acpi_call module is added to the suspend modules list used by the scripts.<br />
<br />
Create a file {{Filename|modules}} in {{Filename|/etc/pm/config.d}} and paste in the line below.<br />
<br />
SUSPEND_MODULES="acpi_call"<br />
== Bluetooth ==<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.<br />
<br />
== CPU power consumption ==<br />
There is a kernel parameter which must be added in linux 3.0 kernel to use energy saving feature of the intel driver: {{Codeline|1=pcie_aspm=force i915.i915_enable_rc6=1}}, see [https://bbs.archlinux.org/viewtopic.php?id=125954 this thread].</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=166525ASUS Eee PC 1215N2011-10-19T20:48:48Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{{i18n|Asus EEE PC 1215n}}<br />
<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Configuration =<br />
== Wireless and Bluetooth ==<br />
<br />
'''[[PS :]] With the new Kernel (3.0+) there is no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Wireless:]]<br />
In order to use Wireless with the BCM4313 (Linux Kernel 3.0+) you need to blacklist bcmia by editing your /etc/modprobe.d/modprobe.conf and add this :<br />
<br />
'''blacklist bcmia'''<br />
<br />
Then restart and you can now use your BCM4313 normally :D<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages to manager Bluetooth like "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
== Media- and FN-keys ==<br />
example ~/.[[xbindkeys]]rc configuration<br />
#Muter/UnMute<br />
"amixer set "Master" toggle"<br />
m:0x0 + c:121<br />
XF86AudioMute <br />
#Volume up<br />
"amixer set "Master" 5%+"<br />
m:0x0 + c:123<br />
XF86AudioRaiseVolume <br />
#Volume down<br />
"amixer set "Master" 5%-"<br />
m:0x0 + c:122<br />
XF86AudioLowerVolume <br />
#MPD next song<br />
"mpc next"<br />
m:0x0 + c:171<br />
XF86AudioNext <br />
#MPD stop playing<br />
"mpc stop"<br />
m:0x0 + c:174<br />
XF86AudioStop <br />
#MPD prev song<br />
"mpc prev"<br />
m:0x0 + c:173<br />
XF86AudioPrev <br />
#MPD pase/unpause<br />
"mpc toggle"<br />
m:0x0 + c:172<br />
XF86AudioPlay <br />
<br />
== nVidia ION 2 with Optimus ==<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)<br />
<br />
= Problems =<br />
== Nvidia graphic card ==<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
'''Update (after a little testing):'''<br />
<br />
With the latest kernel running (3.0) and the "acpi_call" module installed from [https://aur.archlinux.org/packages.php?O=0&K=acpi_call&do_Search=Go AUR], the suspend and hibernate scripts used by [https://wiki.archlinux.org/index.php/Pm-utils pm-utils] will work (from commandline and in Gnome 3) as long as the acpi_call module is added to the suspend modules list used by the scripts.<br />
<br />
Create a file {{Filename|modules}} in {{Filename|/etc/pm/config.d}} and paste in the line below.<br />
<br />
SUSPEND_MODULES="acpi_call"<br />
== Bluetooth ==<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.<br />
<br />
== CPU power consumption ==<br />
There is a kernel parameter which must be added in linux 3.0 kernel to use energy saving feature of the intel driver: {{Codeline|1=pcie_aspm=force i915.i915_enable_rc6=1}}, see [https://bbs.archlinux.org/viewtopic.php?id=125954 this thread].</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=166524ASUS Eee PC 1215N2011-10-19T20:44:43Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{{i18n|Asus EEE PC 1215n}}<br />
<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Configuration =<br />
== Wireless and Bluetooth ==<br />
<br />
'''[[PS :]] With the new Kernel (3.0+) there is no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
'''[[Fallow those steps only if '''<br />
[[Wireless:]]<br />
In order to use Wireless with the BCM4313 (Linux Kernel 3.0+) you need to blacklist bcmia by editing your /etc/modprobe.d/modprobe.conf and add this :<br />
<br />
# blacklist bcmia<br />
<br />
Then restart and you can now use your BCM4313 normally :D<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages to manager Bluetooth like "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
== Media- and FN-keys ==<br />
example ~/.[[xbindkeys]]rc configuration<br />
#Muter/UnMute<br />
"amixer set "Master" toggle"<br />
m:0x0 + c:121<br />
XF86AudioMute <br />
#Volume up<br />
"amixer set "Master" 5%+"<br />
m:0x0 + c:123<br />
XF86AudioRaiseVolume <br />
#Volume down<br />
"amixer set "Master" 5%-"<br />
m:0x0 + c:122<br />
XF86AudioLowerVolume <br />
#MPD next song<br />
"mpc next"<br />
m:0x0 + c:171<br />
XF86AudioNext <br />
#MPD stop playing<br />
"mpc stop"<br />
m:0x0 + c:174<br />
XF86AudioStop <br />
#MPD prev song<br />
"mpc prev"<br />
m:0x0 + c:173<br />
XF86AudioPrev <br />
#MPD pase/unpause<br />
"mpc toggle"<br />
m:0x0 + c:172<br />
XF86AudioPlay <br />
<br />
== nVidia ION 2 with Optimus ==<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)<br />
<br />
= Problems =<br />
== Nvidia graphic card ==<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
'''Update (after a little testing):'''<br />
<br />
With the latest kernel running (3.0) and the "acpi_call" module installed from [https://aur.archlinux.org/packages.php?O=0&K=acpi_call&do_Search=Go AUR], the suspend and hibernate scripts used by [https://wiki.archlinux.org/index.php/Pm-utils pm-utils] will work (from commandline and in Gnome 3) as long as the acpi_call module is added to the suspend modules list used by the scripts.<br />
<br />
Create a file {{Filename|modules}} in {{Filename|/etc/pm/config.d}} and paste in the line below.<br />
<br />
SUSPEND_MODULES="acpi_call"<br />
== Bluetooth ==<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.<br />
<br />
== CPU power consumption ==<br />
There is a kernel parameter which must be added in linux 3.0 kernel to use energy saving feature of the intel driver: {{Codeline|1=pcie_aspm=force i915.i915_enable_rc6=1}}, see [https://bbs.archlinux.org/viewtopic.php?id=125954 this thread].</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=166521ASUS Eee PC 1215N2011-10-19T20:38:04Z<p>Aliasbody: /* Kernel version too old */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
{{i18n|Asus EEE PC 1215n}}<br />
<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Configuration =<br />
== Wireless and Bluetooth ==<br />
<br />
'''[[PS :]] With the new Kernel and Gnome3 (if you use gnome...) there no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
== Media- and FN-keys ==<br />
example ~/.[[xbindkeys]]rc configuration<br />
#Muter/UnMute<br />
"amixer set "Master" toggle"<br />
m:0x0 + c:121<br />
XF86AudioMute <br />
#Volume up<br />
"amixer set "Master" 5%+"<br />
m:0x0 + c:123<br />
XF86AudioRaiseVolume <br />
#Volume down<br />
"amixer set "Master" 5%-"<br />
m:0x0 + c:122<br />
XF86AudioLowerVolume <br />
#MPD next song<br />
"mpc next"<br />
m:0x0 + c:171<br />
XF86AudioNext <br />
#MPD stop playing<br />
"mpc stop"<br />
m:0x0 + c:174<br />
XF86AudioStop <br />
#MPD prev song<br />
"mpc prev"<br />
m:0x0 + c:173<br />
XF86AudioPrev <br />
#MPD pase/unpause<br />
"mpc toggle"<br />
m:0x0 + c:172<br />
XF86AudioPlay <br />
<br />
== nVidia ION 2 with Optimus ==<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)<br />
<br />
= Problems =<br />
== Nvidia graphic card ==<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
'''Update (after a little testing):'''<br />
<br />
With the latest kernel running (3.0) and the "acpi_call" module installed from [https://aur.archlinux.org/packages.php?O=0&K=acpi_call&do_Search=Go AUR], the suspend and hibernate scripts used by [https://wiki.archlinux.org/index.php/Pm-utils pm-utils] will work (from commandline and in Gnome 3) as long as the acpi_call module is added to the suspend modules list used by the scripts.<br />
<br />
Create a file {{Filename|modules}} in {{Filename|/etc/pm/config.d}} and paste in the line below.<br />
<br />
SUSPEND_MODULES="acpi_call"<br />
== Bluetooth ==<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.<br />
<br />
== CPU power consumption ==<br />
There is a kernel parameter which must be added in linux 3.0 kernel to use energy saving feature of the intel driver: {{Codeline|1=pcie_aspm=force i915.i915_enable_rc6=1}}, see [https://bbs.archlinux.org/viewtopic.php?id=125954 this thread].</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=Bumblebee&diff=166518Bumblebee2011-10-19T20:25:11Z<p>Aliasbody: /* Enabling Power Management */</p>
<hr />
<div>[[Category:Graphics (English)]]<br />
[[Category:X Server (English)]]<br />
{{i18n|Bumblebee}}<br />
[[fr:Bumblebee]]<br />
{{stub}}<br />
<br />
{{Warning|Bumblebee is a work in progress and may not work properly on your machine}}<br />
{{Note|Please report bugs at [https://github.com/Bumblebee-Project/Bumblebee Bumblebee-Project]'s GitHub tracker as described in it's [https://github.com/Bumblebee-Project/Bumblebee/wiki/Reporting-Issues Wiki].}}<br />
''Bumblebee is a solution to Nvidia Optimus hybrid-graphics technology allowing to use the dedicated graphics card for rendering. It was started by Martin Juhl''<br />
<br />
== About Bumblebee ==<br />
<br />
[http://www.nvidia.com/object/optimus_technology.html Optimus Technology] is an ''[http://hybrid-graphics-linux.tuxfamily.org/index.php?title=Hybrid_graphics hybrid graphics]'' implementation without a hardware multiplexer. The integrated GPU manages the display while the dedicated GPU manages the most demanding rendering and ships the work to the integrated GPU to be displayed. When the laptop is running on battery supply, the dedicated GPU is turned off to save power and longer the battery life.<br />
<br />
Bumblebee is a software implementation based on VirtualGL and a kernel driver to be able to use the dedicated GPU, which is not physically connected to the screen.<br />
<br />
=== How it works ===<br />
<br />
Bumblebee tries to mimic the Optimus technology behavior; using the dedicated GPU for rendering when needed and power it down when not in use. The present releases only support rendering on-demand, power-management is a work in progress.<br />
<br />
The Nvidia dedicated card is managed as a separate X server conected to a "fake" screen (the screen is configured but not used). The second server is called using VirtualGL as it where a remote server. That said, you will need a series of steps to set-up the kernel driver, the X server and a daemon.<br />
<br />
== Installation ==<br />
<br />
The AUR package {{Package AUR|bumblebee}} is the stable version and uses Nvidia proprietary driver as default.<br />
<br />
There is also a git version ({{Package AUR|bumblebee-git}}) that is driver-agnostic and can be used to use either Nvidia or Nouveau drivers. It is a checkout of the {{Codeline|develop}} branch of the GitHub repository.<br />
<br />
For running 32-bit applications on a 64-bit system you will need {{Package AUR|lib32-virtualgl}} package along with any other application specific 32-bit library.<br />
<br />
{{Note|If you installed bumblebee from GitHub repository using the installer, please run the uninstaller before installing the AUR package}}<br />
<br />
Versions >= 2.3 work with a daemon to start/stop the X server but will not control the card's power by default (see [[#Power Management]] below)<br />
<br />
=== Using Nvidia Driver ===<br />
<br />
If you installed the git version of bumblebee, you will need additional packages to run it with the Nvidia driver<br />
<br />
* {{Package AUR|nvidia-utils-bumblebee}} contains the Nvidia binaries packaged in a way that will not interfere with the needed {{Package Official|libgl}}<br />
* {{Package AUR|lib32-nvidia-utils-bumblebee}} contains the Nvidia 32-bit binaries packaged in a way that will not interfere with the needed {{Package Official|libgl}}<br />
<br />
=== Using Nouveau Driver ===<br />
<br />
To use the [[Nouveau]] driver you must install the git version of Bumblebee and some additional packages:<br />
<br />
* {{Package Official|xf86-video-nouveau}} experimental 3D acceleration driver<br />
* {{Package Official|nouveau-dri}} Mesa classic DRI + Gallium3D drivers<br />
* {{Package Official|mesa}} Mesa 3-D graphics libraries<br />
<br />
To get them run<br />
{{Cli|# pacman -S xf86-video-nouveau nouveau-dri mesa}}<br />
<br />
== Setup ==<br />
<br />
In order to make Bumblebee functional you will need to configure a second X server, load the desired kernel module and run the bumblebee daemon. Most of these steps are made automatic at installation time.<br />
<br />
=== Load Kernel Module ===<br />
<br />
==== Using Nvidia ====<br />
<br />
In order to run Bumblebee using the proprietary Nvidia kernel module, you need to unload the [[Nouveau]] kernel module first. To do so run in a terminal:<br />
{{Cli|# rmmod nouveau}}<br />
<br />
Add the following line to {{Filename|/etc/modprobe.d/modprobe.conf}} to disable Nouveau module at boot:<br />
{{File|/etc/modprobe.d/modprobe.conf|content=<nowiki>blacklist nouveau</nowiki>}}<br />
<br />
Now load the Nvidia module running:<br />
{{Cli|# modprobe nvidia}}<br />
<br />
If you want nvidia module to be loaded at boot, add the Nvidia module in the {{Codeline|MODULES}} array in your {{Filename|/etc/rc.conf}}:<br />
MODULES=(... nvidia ...)<br />
<br />
==== Nouveau ====<br />
<br />
Make sure you do not have [[Nouveau]] driver blacklisted in any file under {{Filename|/etc/modprobe.d/}}. The Nouveau kernel module is loaded by default.<br />
<br />
=== Setup X Server ===<br />
<br />
The installation should take care of recognize your graphics card and its PCI BusID. If you notice a warning regarding this during installation follow this steps.<br />
<br />
After installation a {{Filename|/etc/bumblebee/xorg.conf.DRIVER}} file is created with the minimal device configuration (where {{Codeline|DRIVER}} can be {{Codeline|nouveau}} or {{Codeline|nvidia}}). In this file you must specify the PCI bus address of the Nvidia card. To get it run in a terminal:<br />
<br />
{{Command|<nowiki>lspci -d10de: -nn | grep '030[02]'</nowiki>|<nowiki>01:00.0 VGA compatible controller [0300]: nVidia Corporation GT218 [GeForce 310M] [10de:0a75] (rev a2)</nowiki>}}<br />
<br />
Take note of the PCI address of the nVidia card (01:00.0 in this case) and edit the line in {{Filename|/etc/bumblebee/xorg.conf.DRIVER}} with the option {{Codeline|BusID}} under the {{Codeline|Device}} section:<br />
<br />
{{File|/etc/bumblebee/xorg.conf.DRIVER|content=<br />
<nowiki><br />
...<br />
Section "Device"<br />
...<br />
BusID "PCI:01:00:0"<br />
...<br />
EndSection<br />
...<br />
</nowiki>}}<br />
<br />
{{Note|You must replace any dots (.) by a colon (:) for X server to understand the BusID}}<br />
<br />
If you are using Nvidia driver look for the "Files" section and check the path to the nvidia xorg module is correct:<br />
{{File|/etc/bumblebee/xorg.conf.nvidia|content=<br />
<nowiki><br />
...<br />
Section "Files"<br />
ModulePath "/usr/lib/nvidia-bumblebee,/usr/lib/xorg/modules"<br />
EndSection<br />
...<br />
</nowiki>}}<br />
<br />
=== Giving permission to use Bumblebee ===<br />
<br />
Permission to use {{Codeline|optirun}} is granted to all members of the 'bumblebee' group, so you must add yourself (and other users whiling to use bumblebee) to that group:<br />
{{Cli|# usermod -a -G bumblebee <user>}}<br />
<br />
where {{Codeline|<user>}} is the login name of the user to be added. Then log off and on again to apply the group changes.<br />
<br />
=== Start Bumblebee Daemon ===<br />
<br />
Bumblebee provides a daemon to start the second X server and manage some privileged functions, to start it simply run:<br />
{{Cli|# rc.d start bumblebee}}<br />
<br />
To be started at boot add it to your {{Codeline|DAEMONS}} array in {{Filename|/etc/rc.conf}}<br />
DAEMONS=(... @bumblebee)<br />
<br />
{{Note|The current handler is distro-agnostic, meaning it will not output in the ArchLinux style and will not be registered under the {{Codeline|rc.d list}}. This is a known issue and is to be solved ([https://github.com/Bumblebee-Project/Bumblebee/issues/17 GH-17]). To show the status of the daemon run <br />
{{Cli|$ bumbelee --status}}}}<br />
<br />
== Test Bumblebee ==<br />
<br />
You can test Bumblebee with this command:<br />
{{Cli|$ optirun glxgears}}<br />
<br />
If it succeeds means you are able of offload render to the Nvidia card.<br />
<br />
{{Note|You will need the {{Package Official|mesa-demos}} package to run {{Codeline|glxgears}}. This is not a benchmarking test, only indicates that the dedicated GPU is rendering.}}<br />
<br />
== Configuration ==<br />
<br />
You may configure some variables in file {{Filename|/etc/bumblebee/bumblebee.conf}}. The defaults are:<br />
<br />
{{File|/etc/bumblebee/bumblebee.conf|content=<br />
<nowiki><br />
STOP_SERVICE_ON_EXIT=N<br />
X_SERVER_TIMEOUT=10<br />
VGL_DISPLAY=:8<br />
DRIVER=nvidia<br />
X_CONFFILE=<br />
BUMBLEBEE_GROUP=bumblebee<br />
ENABLE_POWER_MANAGEMENT=N<br />
VGL_COMPRESS=proxy<br />
ECO_MODE=N<br />
FALLBACK_START=N<br />
</nowiki>}}<br />
<br />
=== Compression and VGL Transport ===<br />
<br />
Compression and transport regards how the frames are compressed in the server side (bumblebee X server), then transported to the client side (main X server) and uncompressed to be displayed in the application window. It mostly will affect performance in the GPU/GPU usage, as the transport is unlimited in bandwidth. Compressed methods (such as {{Codeline|jpeg}}) will load the CPU the most but will load GPU the minimum necessary; uncompressed methods loads the most on GPU and the CPU will have the minimum load possible.<br />
{{Note|CPU frequency scaling will affect directly on render performance}}<br />
<br />
You can try different compression methods adding {{Codeline|-c}} argument to {{Codeline|optirun}} command and test which suits you best:<br />
{{Command|<nowiki>optirun -c <compress-method> /opt/VirtualGL/bin/glxspheres</nowiki>|Bumblebee will transfer frames using: <compress-method>}}<br />
<br />
Where {{Codeline|<compress-method>}} can be {{Codeline|jpeg}}, {{Codeline|xv}}, {{Codeline|proxy}}, {{Codeline|rgb}} or {{Codeline|yuv}}. Then you can replace the one you like in {{Codeline|VGL_COMPRESS}} variable in {{Filename|/etc/bumblebee/bumblebee.conf}} to use it as default.<br />
<br />
{{Note|Uncompressed methods {{Codeline|proxy}} and {{Codeline|xv}} show lower framerates but they perform better in some applications}}<br />
<br />
=== Server Behavior Configuration ===<br />
<br />
There are three variables to control how the server should behave when {{Codeline|optirun}} is called<br />
STOP_SERVICE_ON_EXIT<br />
X_SERVER_TIMEOUT<br />
FALLBACK_START<br />
<br />
The X server will always delay a bit when first called. Then should start in a second or so, if the time of subsequent calls is too high you may set {{Codeline|STOP_SERVICE_ON_EXIT}} to {{Codeline|N}} and the Bumblebee X server will not be stopped when the last {{Codeline|optirun}} is disconnected.<br />
<br />
{{Codeline|X_SERVER_TIMEOUT}} controls how much time the daemon will wait for the X server to be ready. If your X server takes a while to start you may want to increase this setting, otherwise the server start might fail.<br />
<br />
If you want the application to start in the integrated GPU if the X server is not available, set {{Codeline|FALLBACK_START}} to {{Codeline|Y}}. This will print the same message when the server is not available but will not fail to launch the program.<br />
<br />
== Usage ==<br />
<br />
To launch an application using the dedicated graphics card:<br />
{{Cli|$ optirun [options] <application> [application-parameters]}}<br />
<br />
For a list of options for {{Codeline|optirun}} run:<br />
{{Cli|$ optirun --help}}<br />
<br />
If you want to run a 32-bit application on a 64-bit system you may need to install the proper 'lib32' packages.<br />
<br />
== Power Management ==<br />
<br />
{{Warning|This feature has been dropped until a safe and complete solution is found. However a framework to enable the prior ACPI methods is being included in {{Codeline|1=bumblebee>=2.4.0}}. For more information see [https://github.com/Bumblebee-Project/Bumblebee/wiki/ACPI-Removed this]}}<br />
<br />
The goal of power management is to turn the discrete card off when it is not used by any application, and turn it back on when it is needed. Currently the card can be used on-demand and no automatic switching is supported by default.<br />
<br />
=== A little note on why it was removed ===<br />
<br />
Power management has temporary been removed because Bumblebee did the wrong ACPI calls in order to turn the card off and on. This had some side-effects:<br />
<br />
* "FATAL: Error inserting nvidia (.../nvidia.ko): No such device" errors on loading the nvidia module<br />
* Hangs/freezes during booting, shutdown or suspend<br />
* BIOS settings which appears to be modified<br />
* Other operating systems not recognizing the graphics card anymore<br />
<br />
In a future release, power management might be added back again after some research.<br />
<br />
As one of the developers said about the present state of power management under bumblebee:<br />
<br />
'''Lekensteyn'''<br />
<blockquote><br />
Okay, let's assume a building with dirty windows. You'd like to see more sun and therefore asks a worker to hire someone to get that job done. The worker has never learnt how to clean a dirty window properly, but guess that a rock might be the right way to do it. He asks a kid to try cleaning the window with a rock. Now, different things may happen:<br />
# the window gets scratched and it even gets more darky<br />
# the window breaks and the sun can shine<br />
In the first case, it has gotten worse. That's the "Module not found" horror and suspend/lock-up issues. In the second case, you won't guess that something is wrong because you achieved your goal: the sunshine is better. Anyway, the right solution is obviously cleaning the window with a cloth but not before the window is repaired, which is our current task.<br />
</blockquote><br />
<br />
The ACPI call methods are rocks and "you" is you. The kid is just a messenger, the acpi_call module. That worker is the Bumblebee developer team.<br />
<br />
=== Enabling Power Management ===<br />
<br />
Since version 2.4.0 the ACPI framework provided with Bumblebee enables to send method calls through the {{Codeline|acpi_call}} kernel module. You will need the {{Package AUR|acpi_call-git}} package to be able to use it.<br />
<br />
{{Warning|the above problems can still occur, although things were made more secure, unless you are using very bad calls, they should not have major side effects. If you understand all the above and still want to enable Power Management, here is a guide to do so.}}<br />
<br />
First edit {{Filename|/etc/bumblebee/bumblebee.conf}} and set {{Codeline|STOP_SERVICE_ON_EXIT}} to {{Codeline|Y}} so the X server will be stopped when no {{Codeline|optirun}} instance is running.<br />
<br />
{{File|/etc/bumblebee/bumblebee.conf|content=<br />
<nowiki><br />
...<br />
STOP_SERVICE_ON_EXIT=Y<br />
...<br />
</nowiki>}}<br />
<br />
Then you must create two files ({{Filename|/etc/bumblebee/cardon}} and {{Filename|/etc/bumblebee/cardoff}}) containing the calls needed to enable and disable the card. Each line should contain a call and a backslash, comments are not allowed. Write your calls one per line and nothing else or you will face errors:<br />
<br />
{{File|/etc/bumblebee/cardon|content=<br />
<nowiki><br />
\_SB.PCI0.RP00.VGA._DSM {0x01,0x02} 0x03 0x04 {0x1,0x0,0x0,0x3}<br />
\_SB.PCI0.RP00.VGA._PS0<br />
</nowiki>}}<br />
<br />
{{Warning|These calls are just examples and should not be used under any circumstances. They are not expected to work on any device. You may found some calls [[http://hybrid-graphics-linux.tuxfamily.org/index.php?title=ACPI_calls here]] (untested and untrusted).}}<br />
<br />
Finally, enable Power management editing {{Filename|/etc/bumblebee/bumblebee.conf}} configuration file:<br />
<br />
{{File|/etc/bumblebee/bumblebee.conf|content=<br />
<nowiki><br />
...<br />
ENABLE_POWER_MANAGEMENT=Y<br />
...<br />
</nowiki>}}<br />
<br />
You will need to restart the daemon or reboot for changes to be effective.<br />
<br />
== Troubleshooting ==<br />
{{Out of date}}<br />
Try this troubleshooting guide first, if the problem still persist, please report bugs [https://github.com/Bumblebee-Project/Bumblebee here].<br />
<br />
=== VirtualGL cannot open display ===<br />
<br />
If you receive a message like this<br />
[VGL] ERROR: Could not open display :XX<br />
<br />
means the second X server is not running or failed to start. To troubleshoot this you may look {{Filename|/var/log/Xorg.XX.log}} file, where the 'XX' is the number of the display used by bumblebee, also take a look for messages under {{Filename|/var/log/bumblebee.log}}.<br />
<br />
Here are some things you can try and check:<br />
* Check the kernel module loaded for the nvidia card with "lspci -k"<br />
* Check the file {{Filename|/etc/bumblebee/xorg.conf.nvidia}} and make sure the option "BusID" points to the correct PCI port.<br />
* Change the "ConnectedMonitor" option to "DFP-0" or "CRT-0" (or "DFP,CRT"). This must be a valid screen on your laptop different of "LVDS"<br />
* Try setting the option ''X_SERVER_TIMEOUT'' to higher value if the X server starts but takes a long time to become available.<br />
<br />
==See also==<br />
* [https://github.com/Bumblebee-Project/Bumblebee Bumblebee Project repository]</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=Dropbox&diff=147138Dropbox2011-06-23T23:49:54Z<p>Aliasbody: /* manual method */</p>
<hr />
<div>[[Category:Networking (English)]]<br />
[https://www.dropbox.com Dropbox] is a file sharing system that recently introduced a GNU/Linux client. Use it to transparently sync files across computers and architectures. Simply drop files into your "~/Dropbox" folder, and they will automatically sync to your centralized repository.<br />
<br />
==Installation==<br />
<br />
[http://aur.archlinux.org/packages.php?ID=23363 dropbox] can be installed from the [[AUR]]. Alternatively, [http://aur.archlinux.org/packages.php?ID=29432 dropbox-experimental] is also available.<br />
<br />
# After installing the package, you can start Dropbox from your application menu or run "dropboxd" from the command-line. The client icon will appear in the system tray.<br />
# Eventually a popup will ask you to login to your Dropbox account, or start a new one. Enter your credentials.<br />
# After some time you will see a "Welcome to Dropbox" popup, which will give you the opportunity to view a short tour of Dropbox.<br />
# Press the "Finish and go to My Dropbox".<br />
<br />
===Optional packages===<br />
<br />
*For a command-line interface, install [http://aur.archlinux.org/packages.php?ID=34310 dropbox-cli] from the [[AUR]].<br />
*For integration with nautilus, install [http://aur.archlinux.org/packages.php?ID=19615 nautilus-dropbox] from the [[AUR]]. The nautilus plugin will start dropbox automatically.<br />
*For integration with thunar, install [http://aur.archlinux.org/packages.php?ID=39214 thunar-dropbox] from the [[AUR]].<br />
*For KDE users, there is KDE client available: [http://aur.archlinux.org/packages.php?ID=41169 kfilebox] from [[AUR]].<br />
<br />
===Autostart===<br />
<br />
Dropbox can be autostarted by adding dropboxd to .xinitrc (or autostart.sh, depending on your setup). Alternatively, you can [[#Daemon|start it as a daemon]].<br />
<br />
== Alternative to install: use the web interface ==<br />
<br />
If all you need is basic access to the files in a dropbox, you can use the web interface at http://dropbox.com to upload and download files to your dropbox. This can be a viable alternative to running a dropbox daemon and mirroring all the files on your own machine.<br />
<br />
==Daemon==<br />
<br />
To run dropbox as a daemon like sshd or vsftpd, simply do one of the following:<br />
<br />
===dropboxd-userspace method===<br />
<br />
Install [http://aur.archlinux.org/packages.php?ID=47670 dropboxd-userspace],<br />
configure your username in /etc/conf.d/dropboxd-userspace.conf<br />
<br />
This allows you to start or stop Dropbox just like any other service. Place dropboxd-userspace in the daemons array in rc.conf for it to start at boot.<br />
<br />
# /etc/rc.d/dropboxd-userspace start<br />
# /etc/rc.d/dropboxd-userspace stop<br />
# /etc/rc.d/dropboxd-userspace restart<br />
<br />
And in rc.conf:<br />
DAEMONS=(... '''@dropboxd-userspace''' ...)<br />
<br />
===manual method===<br />
<br />
As root, copy this into a file called /etc/rc.d/dropboxd and set USER to your username.<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
USER=yourusername<br />
<br />
. /etc/rc.conf<br />
. /etc/rc.d/functions<br />
<br />
PID=`pidof -o %PPID /opt/dropbox/dropbox`<br />
<br />
case "$1" in<br />
start)<br />
stat_busy "Starting Dropbox Service"<br />
LANG=$LOCALE<br />
[ -z "$PID" ] && su -c "/usr/bin/dropboxd &" $USER<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
add_daemon dropboxd<br />
stat_done<br />
fi<br />
;;<br />
stop)<br />
stat_busy "Stopping Dropbox Service"<br />
[ ! -z "$PID" ] && kill $PID > /dev/null<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
rm_daemon dropboxd<br />
stat_done<br />
fi<br />
;;<br />
restart)<br />
$0 stop<br />
sleep 3<br />
$0 start<br />
;;<br />
*)<br />
echo "usage: $0 {start|stop|restart}"<br />
;;<br />
esac<br />
exit 0<br />
</pre><br />
<br />
Better Way:<br />
<pre><br />
#!/bin/bash<br />
<br />
. /etc/rc.conf<br />
. /etc/rc.d/functions<br />
<br />
USER=yourusername<br />
DROPBOXD_PATH='/usr/bin/dropboxd'<br />
DROPBOX_PATH='/opt/dropbox/dropbox'<br />
<br />
PID=`pidof -o %PPID $DROPBOX_PATH`<br />
<br />
case "$1" in<br />
start)<br />
stat_busy "Starting Dropbox Service"<br />
if [ $USER = 'yourusername' ]; then<br />
echo "Please edit /etc/rc.d/dropboxd' 'USER' before using this script."<br />
stat_fail<br />
else<br />
LANG=$LOCALE<br />
[ -z "$PID" ] && su -c "$DROPBOXD_PATH &" $USER<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
add_daemon dropboxd<br />
stat_done<br />
fi<br />
fi<br />
;;<br />
stop)<br />
stat_busy "Stopping Dropbox Service"<br />
[ ! -z "$PID" ] && kill $PID > /dev/null<br />
if [ $? -gt 0 ]; then<br />
stat_fail<br />
else<br />
rm_daemon dropboxd<br />
stat_done<br />
fi<br />
;;<br />
restart)<br />
$0 stop<br />
sleep 3<br />
$0 start<br />
;;<br />
*)<br />
echo "usage: $0 {start|stop|restart}"<br />
;;<br />
esac<br />
exit 0<br />
</pre><br />
<br />
Make the file executable with<br />
# chmod +x /etc/rc.d/dropboxd<br />
<br />
This allows you to start or stop dropboxd just like any other service. place it in the daemons array in rc.conf for it to start at boot.<br />
<br />
# /etc/rc.d/dropboxd start<br />
# /etc/rc.d/dropboxd stop<br />
# /etc/rc.d/dropboxd restart<br />
<br />
And in rc.conf:<br />
DAEMONS=(... '''@dropboxd''' ...)<br />
<br />
==Without Nautilus (Another Way)==<br />
<br />
Another way to use Dropbox without Nautilus but with another file manager like Thunar is described below:<br />
<br />
1. Create a fake Nautilus script that will launch Thunar:<br />
$ sudo touch /usr/bin/nautilus && sudo chmod +x /usr/bin/nautilus && sudo nano /usr/bin/nautilus<br />
<br />
2. Insert this text into the file, then save and exit:<br />
#!/bin/bash<br />
exec thunar $2<br />
exit 0<br />
<br />
3. Launch Dropbox<br />
$ dropboxd<br />
<br />
4. Click on the dropbox tray icon to open your dropbox folder in Thunar.<br />
<br />
{{Note|In this way there is no need to create a dropbox daemon in /etc/rc.d and to start it at boot via /etc/rc.conf or to make it start via your session manager: just leave the "Start dropbox on system startup" option flagged in the Preferences window.}}<br />
<br />
{{Note|If you already have nautilus instaled but don't want to use it, neither modify the existing file under /usr/bin, just change the /usr/bin for /opt/dropbox in the step 2 above, like this: $ sudo touch /opt/dropbox/nautilus && sudo chmod +x /opt/dropbox/nautilus && sudo nano /opt/dropbox/nautilus. Dropbox will look this path first!}}<br />
<br />
==Securing your Dropbox==<br />
<br />
If you want to store sensitive data in your Dropbox, you should encrypt it before. Syncing to Dropbox is encrypted, but all files are (for the time being) stored on the server just as you put them in your Dropbox.<br />
<br />
* Dropbox works with [[Truecrypt]], and after you initially uploaded the Truecrypt volume to Dropbox, performance is quite ok, because of Dropbox has a working binary diff.<br />
<br />
* Another possibility is to use [[EncFS]], which has the advantage that all files are encrypted separately, i.e. you don't have to determine in advance the size of the content you want to encrypt and your encrypted directory grows and shrinks while you add/delete/modify files in it. You can also mount an encrypted volume at startup using the -S option of encfs to avoid having to input the passphrase, but note that your encrypted files are not secure from someone who has direct access to your computer.<br />
<br />
==Multiple dropbox instances==<br />
<br />
If you need to separate or distinguish your data, personal and work usage for example, you can subscribe to dropbox with different email addresses and have multiple directories synced to different instances.<br />
<br />
The basic principle and general howto are described in the [http://wiki.dropbox.com/TipsAndTricks/MultipleInstancesOnUnix Dropbox Wiki].<br />
<br />
'''Only thing to keep in mind: when dealing with multiple instances you have to select the dropbox destination folder, which the dropbox installer asks in the last step; usage examples may be /home/dropbox-personal, /home/dropbox-work and so on.'''<br />
<br />
For convenience, here is a script that I use to accomplish the task: just add a dir in the "dropboxes" list to have another instance of dropbox, referring to the dir, loaded at script startup.<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
#*******************************<br />
# Multiple dropbox instances<br />
#*******************************<br />
<br />
dropboxes=".dropbox-personal .dropbox-work"<br />
<br />
for dropbox in $dropboxes<br />
do<br />
if ! [ -d $HOME/$dropbox ];then<br />
mkdir $HOME/$dropbox<br />
fi<br />
HOME=$HOME/$dropbox /usr/bin/dropbox start -i<br />
done<br />
</pre><br />
<br />
==Dropbox on laptops==<br />
<br />
Dropbox itself is pretty good at dealing with connectivity problems. If you have a laptop and roam between different network environments, dropbox will have problems reconnecting if you do not restart it. The easiest way to solve this with [[netcfg]] is to use POST_UP and PRE_DOWN.<br />
<br />
In every network profile you use, add the appropriate commands:<br />
<pre><br />
POST_UP="any other code; su -c '/usr/bin/dropboxd &' your_user"<br />
PRE_DOWN="any other code; killall dropbox"<br />
</pre><br />
Obviously, your_user has to be edited and 'any other code;' can be omitted if you do not have any. The above will make sure that dropbox is running only if there is a network profile active.<br />
<br />
If you have connectivity problem with [[NetworkManager]], [https://bbs.archlinux.org/viewtopic.php?pid=790905, this thread] on forum should be useful.<br />
<br />
<br />
==Known Issues==<br />
===Dropbox does not start===<br />
and you see a phrase like: "This is usually because of a permission error"<br />
'''Solution:'''<br />
First, make sure that there's really no permissions error.<br />
If you didn't find anything, try to start dropboxd with this code:<br />
<pre><br />
LANG=$LOCALE<br />
dropboxd<br />
</pre><br />
(You can also use a different value for LANG; it must be in the format "en_US.UTF-8")<br />
This helps when running from a bash script or bash shell where /etc/rc.d/functions has been loaded<br />
<br />
==Alternatives==<br />
*[https://one.ubuntu.com/ Ubuntu One], available in [http://aur.archlinux.org/packages.php?ID=30081 AUR].<br />
*[https://spideroak.com/ Spideroak], available in [http://aur.archlinux.org/packages.php?ID=24401 AUR].<br />
*[http://kdropbox.deuteros.es/ KFileBox], available in [http://aur.archlinux.org/packages.php?ID=41169 AUR].</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=142754ASUS Eee PC 1215N2011-05-25T09:56:00Z<p>Aliasbody: /* Relevant links */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
'''[[PS :]] With the new Kernel and Gnome3 (if you use gnome...) there no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee/ (Bumblebee Project Git)<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=142753ASUS Eee PC 1215N2011-05-25T09:52:40Z<p>Aliasbody: /* Relevant links */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
'''[[PS :]] With the new Kernel and Gnome3 (if you use gnome...) there no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee/ (Bumblebee Projecto Git)<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=142752ASUS Eee PC 1215N2011-05-25T09:42:14Z<p>Aliasbody: /* nVidia ION 2 with Optimus */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
'''[[PS :]] With the new Kernel and Gnome3 (if you use gnome...) there no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
[[Update 1 :]] There is a new project, called Bumblebee (Transformers reference) that allows you to use the Nvidia Optimus ION2, but not natively, you have to instale it, and then call each program on the terminal with a command... (see more informations here[http://aur.archlinux.org/packages.php?ID=48866] and here[https://github.com/MrMEEE/bumblebee.git])<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee.git (Bumblebee Projecto Git)<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=142750ASUS Eee PC 1215N2011-05-25T09:39:20Z<p>Aliasbody: /* Relevant links */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
'''[[PS :]] With the new Kernel and Gnome3 (if you use gnome...) there no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
http://aur.archlinux.org/packages.php?ID=48866 (AUR for Bumblebee)<br />
<br />
https://github.com/MrMEEE/bumblebee.git (Bumblebee Projecto Git)<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=142748ASUS Eee PC 1215N2011-05-25T09:37:15Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
'''[[PS :]] With the new Kernel and Gnome3 (if you use gnome...) there no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=142747ASUS Eee PC 1215N2011-05-25T09:37:04Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>[[Category:ASUS (English)]]<br />
This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
'''^[[PS :]] With the new Kernel and Gnome3 (if you use gnome...) there no need for any of the procedure below, because Wireless and Bluetooth work out of box ^^'''<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it). You can also try "bumblebee-git" from the aur, which is the first working soloution to get the nvidia-card besides the intel gpu working.<br />
<br />
Module auto-detection may load the nouveau module, but this sometimes seems to cause X to crash after boot-up, so try blacklisting this module if you encounter this problem.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129881ASUS Eee PC 1215N2011-02-05T01:34:51Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129880ASUS Eee PC 1215N2011-02-05T01:34:32Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) that the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129731ASUS Eee PC 1215N2011-02-02T21:20:33Z<p>Aliasbody: /* System Specs */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g<br />
<br />
'''Bluetooth:''' TODO<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129730ASUS Eee PC 1215N2011-02-02T21:20:09Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129729ASUS Eee PC 1215N2011-02-02T21:19:55Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129728ASUS Eee PC 1215N2011-02-02T21:19:25Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
[[Wireless:]]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[[Bluetooth:]]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129727ASUS Eee PC 1215N2011-02-02T21:19:08Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
[['''Wireless:''']]<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
[['''Bluetooth:''']]<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129726ASUS Eee PC 1215N2011-02-02T21:18:43Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
'''Wireless:'''<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
'''Bluetooth:'''<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129725ASUS Eee PC 1215N2011-02-02T21:18:04Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
[[Note :]] If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
Use the command "lspci" see what hardware you have.<br />
<br />
'''Wireless:'''<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
'''Bluetooth:'''<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129724ASUS Eee PC 1215N2011-02-02T21:17:47Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
Note : If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
Use the command "lspci" see what hardware you have.<br />
<br />
'''Wireless:'''<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
<br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
'''Bluetooth:'''<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129723ASUS Eee PC 1215N2011-02-02T21:17:23Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
Note : If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
Use the command "lspci" see what hardware you have.<br />
<br />
'''Wireless:'''<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
'''Bluetooth:'''<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129722ASUS Eee PC 1215N2011-02-02T21:17:10Z<p>Aliasbody: /* Wireless and Bluetooth */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
Note : If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
Use the command "lspci" see what hardware you have.<br />
<br />
'''Wireless:'''<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
'''Bluetooth:'''<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129721ASUS Eee PC 1215N2011-02-02T21:16:42Z<p>Aliasbody: </p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= Wireless and Bluetooth =<br />
<br />
Note : If you have a BCM4313 (hybrid chip) than the Wireless and the Bluetooth are in the same chip but need diferent packages to work.<br />
<br />
Use the command "lspci" see what hardware you have.<br />
<br />
'''Wireless:'''<br />
BCM4313 --> Install packages "broadcom-wl" from AUR (using yaourt[http://wiki.archlinux.org/index.php/Yaourt] for example). <br />
Using yaourt (but you can also install it manually from AUR):<br />
# yaourt -S broadcom-wl<br />
<br />
And then activate it from the Terminal.<br />
# modprobe wl<br />
<br />
'''Bluetooth:'''<br />
BCM4313 --> Install packages "bluez", "bluez-firmware".<br />
# sudo pacman -S bluez bluez-firmware <br />
<br />
And then activate them by adding the bluetooth to the Daemons of the "/etc/rc.conf" configuration file. <br />
# sudo nano /etc/rc.conf<br />
<br />
And then add to bluetooth to the Daemons:<br />
# DAEMONS=(... bluetooth)<br />
<br />
'''Restart the all thing, so you can use the Bluetooth and/or the Wireless'''<br />
<br />
For more information about installing and configuration bluetooth, take a look at the "Arch Linux Bluetooth Wiki"[http://wiki.archlinux.org/index.php/Bluetooth].<br />
<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129711ASUS Eee PC 1215N2011-02-02T20:11:53Z<p>Aliasbody: /* System Specs */</p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO --> Bluetooth with Broadcom BCM4313 (packages "bluez" and "bluez-firmware") or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbodyhttps://wiki.archlinux.org/index.php?title=ASUS_Eee_PC_1215N&diff=129710ASUS Eee PC 1215N2011-02-02T20:11:15Z<p>Aliasbody: </p>
<hr />
<div>This page includes general information regarding Asus EEE PC 1215n and related notes on installing/using Arch Linux on it.<br />
<br />
=System Specs=<br />
'''CPU:''' Intel Atom D525 1.83GHz 667 MHz CPU, 1MB L2 Cache<br />
<br />
'''RAM:''' 2GB 1066MHz DDR3<br />
<br />
'''HDD:''' 250/320GB 5400RPM<br />
<br />
'''GPU:''' nVidia ION2 with Optimus (see below)<br />
<br />
'''Display:''' 12.1" 1366x768 LED display<br />
<br />
'''Wireless:''' Broadcom BCM4313 802.11 b/g (package "broadcom-wl" in AUR contains wifi module, `modprobe wl` activates card)<br />
<br />
'''Bluetooth:''' TODO (Bluetooth with Broadcom BCM4313 (bluez and bluez-firmware) or it not work at all)<br />
<br />
'''Webcam:''' TODO<br />
<br />
'''Card Reader:''' TODO<br />
<br />
'''Extras:''' Two USB 3.0 ports, Bluetooth 3 (optional)<br />
<br />
= nVidia ION 2 with Optimus =<br />
<br />
nVidia Optimus is basically a software configuration that utilizes an Intel IGP + an nVidia GPU that writes to the Intel IGP's framebuffer. This is all done on the software side. The nVidia GPU is not wired to the outputs (VGA, HDMI etc.) At the time of this writing (September 27, 2010) Optimus on Linux sucks (i.e. doesn't work at all). You can still use the Intel IGP, but there is no way to access the discrete GPU. '''DO NOT''' try to install the nVidia binary driver, you have been warned.<br />
<br />
Things are not that bad however. There is a kernel module called "acpi_call" which enables you to power off the nVidia GPU, hence you can significantly improve battery life.<br />
<br />
David Airlie seems to be working on PRIME support (google it) but there is nothing that works for now.<br />
<br />
== Relevant links ==<br />
http://airlied.livejournal.com/71734.html<br />
<br />
https://launchpad.net/~hybrid-graphics-linux<br />
<br />
http://linux-hybrid-graphics.blogspot.com/2010/02/howto-install-vgaswitcheroo-for-linux.html<br />
<br />
= Problems =<br />
<br />
The current arch linux iso (2010.05) contains an old kernel (2.6.33.4) so if you are using an AR8152, there is no Lan unless you update the kernel.<br />
<br />
Not well debugged nor fixed yet, reported by few users:<br />
<br />
On the default kernel (2.6.36 branch) you cannot suspend system after disabling nvidia card with "acpi_call" module (nor after turning it on once you disabed it). This bug affects also turning off laptop (you'll have to manually power off laptop with power button). Using LTS 2.6.32 kernel ("kernel26-lts" package) allows you to safely power off/suspend netbook with disabled nvidia card (but with older kernel you won't be able to use some eee Fn hotkeys: disabling LCD/external output, volume controls, playback controls).<br />
<br />
Turning on bluetooth freezes the system. Need to do hard reset. No more info about this atm.</div>Aliasbody