<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Notebook: Acer&#x2F;Linux]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>ich interessiere mich für ein Acer Notebook</p>
<blockquote>
<p>Acer Extensa 5630Z-342G16, Linux (LX.EB70C.010)<br />
CPU: Pentium Dual-Core T3400 2x 2.16GHz<br />
RAM: 2048MB<br />
HD: 160GB<br />
Display: 15.4&quot; WXGA glare TFT (1280x800)<br />
Grafa: Intel GMA X4500HD (IGP) max.64MB shared memory<br />
Sonstiges: 3x USB 2.0/Modem/Gb LAN/WLAN 802.11abgn<br />
Preis: Für kanpp 400 EUR.</p>
</blockquote>
<p>- Wißt Ihr wie schwierig es ist Linux (Debian oder Ubuntu) auf einem Acer Notebook zu installieren? (Bei Notebooks wird einem eigentlich immer nur IBM empfohlen &quot;wenn man keinen Ärger haben will&quot;) Speziell geht es mir ums WLan.</p>
<p>- Das man auf einem solchen Notebook keine HighEnd Spiele spielen kann ist mir klar. Aber sowas wie Doom3 wird doch wohl gehen?</p>
<p>- Wißt Ihr wie lange die Akkus halten? Was ist die maximalzeit wenn nur ein PDF Reader offen ist? Im Internet steht sowas wie 2,25h. Ist das schon die Laufzeit im Engergisparmodus?</p>
<p>- Hat jemand von Euch einen Acer Notebook?</p>
<p>Vielen Dank</p>
<p>Malte</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/238685/notebook-acer-linux</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 11:18:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/238685.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Apr 2009 12:38:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Tue, 14 Apr 2009 12:38:41 GMT]]></title><description><![CDATA[<p>Hallo Forum,</p>
<p>ich interessiere mich für ein Acer Notebook</p>
<blockquote>
<p>Acer Extensa 5630Z-342G16, Linux (LX.EB70C.010)<br />
CPU: Pentium Dual-Core T3400 2x 2.16GHz<br />
RAM: 2048MB<br />
HD: 160GB<br />
Display: 15.4&quot; WXGA glare TFT (1280x800)<br />
Grafa: Intel GMA X4500HD (IGP) max.64MB shared memory<br />
Sonstiges: 3x USB 2.0/Modem/Gb LAN/WLAN 802.11abgn<br />
Preis: Für kanpp 400 EUR.</p>
</blockquote>
<p>- Wißt Ihr wie schwierig es ist Linux (Debian oder Ubuntu) auf einem Acer Notebook zu installieren? (Bei Notebooks wird einem eigentlich immer nur IBM empfohlen &quot;wenn man keinen Ärger haben will&quot;) Speziell geht es mir ums WLan.</p>
<p>- Das man auf einem solchen Notebook keine HighEnd Spiele spielen kann ist mir klar. Aber sowas wie Doom3 wird doch wohl gehen?</p>
<p>- Wißt Ihr wie lange die Akkus halten? Was ist die maximalzeit wenn nur ein PDF Reader offen ist? Im Internet steht sowas wie 2,25h. Ist das schon die Laufzeit im Engergisparmodus?</p>
<p>- Hat jemand von Euch einen Acer Notebook?</p>
<p>Vielen Dank</p>
<p>Malte</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1695687</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1695687</guid><dc:creator><![CDATA[Malte.H]]></dc:creator><pubDate>Tue, 14 Apr 2009 12:38:41 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Tue, 14 Apr 2009 12:51:33 GMT]]></title><description><![CDATA[<p>Was hat das Laptop denn genau fuer einen WLAN Chipsatz?<br />
1280x800 ging schon mit Etch, out of the box.<br />
Alles andere sollte mit lenny auch laufen...</p>
<p>Zum sparen der Energie schau Dir mal powertop an, ist im Debian Respo.<br />
Ansonsten die ueblichen Sachen, wie cpufreqd, laptopmode usw.<br />
Ich mache mit meinen thinkpad r50e 2.5 Stunden und das Ding ist nicht gerade neu...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1695699</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1695699</guid><dc:creator><![CDATA[Ivo]]></dc:creator><pubDate>Tue, 14 Apr 2009 12:51:33 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Tue, 14 Apr 2009 12:58:38 GMT]]></title><description><![CDATA[<p>Malte.H schrieb:</p>
<blockquote>
<p>Hallo Forum,</p>
<p>ich interessiere mich für ein Acer Notebook</p>
<blockquote>
<p>Acer Extensa 5630Z-342G16, Linux (LX.EB70C.010)<br />
CPU: Pentium Dual-Core T3400 2x 2.16GHz<br />
RAM: 2048MB<br />
HD: 160GB<br />
Display: 15.4&quot; WXGA glare TFT (1280x800)<br />
Grafa: Intel GMA X4500HD (IGP) max.64MB shared memory<br />
Sonstiges: 3x USB 2.0/Modem/Gb LAN/WLAN 802.11abgn<br />
Preis: Für kanpp 400 EUR.</p>
</blockquote>
<p>- Wißt Ihr wie schwierig es ist Linux (Debian oder Ubuntu) auf einem Acer Notebook zu installieren? (Bei Notebooks wird einem eigentlich immer nur IBM empfohlen &quot;wenn man keinen Ärger haben will&quot;) Speziell geht es mir ums WLan.</p>
<p>- Das man auf einem solchen Notebook keine HighEnd Spiele spielen kann ist mir klar. Aber sowas wie Doom3 wird doch wohl gehen?</p>
<p>- Wißt Ihr wie lange die Akkus halten? Was ist die maximalzeit wenn nur ein PDF Reader offen ist? Im Internet steht sowas wie <strong>2,25h</strong>. Ist das schon die Laufzeit im Engergisparmodus?</p>
<p>- Hat jemand von Euch einen Acer Notebook?</p>
<p>Vielen Dank</p>
<p>Malte</p>
</blockquote>
<p>Davon kannst du ausgehen (du kannst wohl noch ein wenig herauskitzeln mit etwas feintuning), aber bei einem Notebook in dieser Preisklasse darfst du nicht mehr erwarten. Da sind gute 2h normal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1695704</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1695704</guid><dc:creator><![CDATA[Sys-Admin]]></dc:creator><pubDate>Tue, 14 Apr 2009 12:58:38 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Tue, 14 Apr 2009 18:41:04 GMT]]></title><description><![CDATA[<blockquote>
<p>- Das man auf einem solchen Notebook keine HighEnd Spiele spielen kann ist mir klar. Aber sowas wie Doom3 wird doch wohl gehen?</p>
</blockquote>
<p>Gehen wird es schon, doch wäre ich mir nicht so sicher, ob du damit auch Spass haben wirst. Die GMA Serien von Intel machen mit jeder Generation Fortschritte, doch es ist immer noch eine IGP mit allen Konsequenzen. Die X3100 konnte Doom 3 auf 640x480 einigermassen betreiben, bei niedrigen Einstellungen. Selbst wenn die X4500 hält, was Intel verspricht, und 300% mehr Performance hinlegt (was ich sogar gut für möglich halte...), für einen angenehmen Betrieb wird das nicht reichen. Der Sprung von der IGP zu einer kleinen dezidierten GPU ist noch immer grösser, als manche Leute wahrhaben wollen. Eine Mobility HD3450 reicht für Call of Duty 4 oder Ghost Recon unterwegs, eine IGP muss nur für die Grafik des OS reichen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1695906</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1695906</guid><dc:creator><![CDATA[*rant*]]></dc:creator><pubDate>Tue, 14 Apr 2009 18:41:04 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Wed, 15 Apr 2009 15:00:05 GMT]]></title><description><![CDATA[<p>Vielen Dank für die Antworten. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Laut Ubuntu Wiki:<br />
<a href="http://wiki.ubuntuusers.de/Hardwaredatenbank/Notebooks" rel="nofollow">http://wiki.ubuntuusers.de/Hardwaredatenbank/Notebooks</a><br />
&gt; Acer Aspire 5630 Alles Funktioniert außer Sondertasten. Nicht getestet: Modem, Video-Out, PCMIA.<br />
<a href="http://forum.ubuntuusers.de/topic/acer-travelmate-5530-lx.tq90z.149/?highlight=acer#post-1733921" rel="nofollow">http://forum.ubuntuusers.de/topic/acer-travelmate-5530-lx.tq90z.149/?highlight=acer#post-1733921</a><br />
Das WLAN wird also unter Ubuntu laufen (ath9k Treiber). Gleiches gilt dann auch wohl für Debian.</p>
<p>Eine kleine Frage habe ich noch zum Akku. Hier ein Link auf die Ausstattung:<br />
<a href="http://acer.de/acer/product.do?link=oln23g.redirect&amp;changedAlts=&amp;kcond5e.c2att92=80&amp;CRC=197833510" rel="nofollow">http://acer.de/acer/product.do?link=oln23g.redirect&amp;changedAlts=&amp;kcond5e.c2att92=80&amp;CRC=197833510</a></p>
<blockquote>
<p># 71.0W (8-Zellen) Li-Ionen Batterie oder 48.8W (6-Zellen) Li-Ionen Batterie<br />
Bis zu 5.0 Stunden Batterie Laufzeit mit 8 Zellen Batterie<br />
Bis zu 2.5 Stunden Batterie Laufzeit mit 6 Zellen Batterie</p>
</blockquote>
<p>Demnach kann ich also beide Akkutypen verwenden. Ich würde mir gernen den 5h Akku als Zweitakku zulegen. Wenn ich nach einem Akku für das Notebook suche erhalte ich Treffer wie diese:<br />
<a href="https://www.preisroboter.de/search.php?search=acer+extensa+5630z+akku&amp;x=50&amp;y=9&amp;min=&amp;max=" rel="nofollow">https://www.preisroboter.de/search.php?search=acer+extensa+5630z+akku&amp;x=50&amp;y=9&amp;min=&amp;max=</a><br />
Vermutlich ist der 5h Akku der mit 14,8V. Dort steht jedoch:</p>
<blockquote>
<p>ACHTUNG:<br />
Bitte vergleichen Sie die Voltzahl mit der Ihres Akkus und dessen genaue BAUFORM mit der Kantenseite auf der größeren Bild-Darstellung.</p>
<p>Dieser Akku passt NUR, wenn Ihr alter Akku ebenfalls 14,8V hat und<br />
die gleiche Kantenseite aufweist!</p>
</blockquote>
<p>Passen nun beide Akku Typen zu meinem Notebook? In meinem Akku ist nur ein 6 Zellen Ding verbaut, also der kleine Akku für 2.5h.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1696334</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1696334</guid><dc:creator><![CDATA[Malte.H]]></dc:creator><pubDate>Wed, 15 Apr 2009 15:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Thu, 16 Apr 2009 11:51:10 GMT]]></title><description><![CDATA[<p>Neben meiner Akku Frage noch eine Frage zur CPU:<br />
Was sind das für CPUs?<br />
Pentium Dual-Core T4200 2x 2.00GHz<br />
Pentium Dual-Core T3400 2x 2.16GHz</p>
<p>Sie sind hier nicht aufgeführt!?<br />
<a href="http://en.wikipedia.org/wiki/List_of_Intel_Core_2_microprocessors" rel="nofollow">http://en.wikipedia.org/wiki/List_of_Intel_Core_2_microprocessors</a></p>
<p>Laut Intertnet ist der 4200'er ein 64 Bitter. Aber warum sind sind sie weder in der englischen noch in der deutschen Wikipedia aufgeführt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1696653</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1696653</guid><dc:creator><![CDATA[Malte.H]]></dc:creator><pubDate>Thu, 16 Apr 2009 11:51:10 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Thu, 16 Apr 2009 19:10:35 GMT]]></title><description><![CDATA[<p>Ich besitze ein Acer Aspire 6530 und fahre darauf Linux.<br />
Ich habe Opensuse 11, Ubuntu 9 und 8 (in der Reihenfolge) darauf laufen.</p>
<p>Opensuse hat alles direkt erkannt und es lief out of the box. Scheinbar haben die immer noch den Besten HW Support.<br />
Ubuntu 9 lief nicht, weil der closed source ATI Treiber den neuen Kernel nicht mag und der opensource Treiber nicht lief.<br />
Hab jetzt Ubuntu 8, in Kürze:</p>
<p>- WLAN lief out of the box<br />
- Akkulaufzeit nur knapp über 1h und keine Anzeige der Restzeit<br />
- Kamera out of the box, aber miese Qualität und schlechte Software<br />
- Multimediabuttons funzen<br />
- Ruhezustand und Suspend to disk funktionieren nicht (wie bisher auf allen anderen Laptops auch...)</p>
<p>Spielen kannst du auf einer Intel Graka wohl vergessen. Die 3D Performance kommt mir (bei nem anderem Laptop) vor wie bei nem Softwarerenderer.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1696864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1696864</guid><dc:creator><![CDATA[Headhunter]]></dc:creator><pubDate>Thu, 16 Apr 2009 19:10:35 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Fri, 17 Apr 2009 13:38:35 GMT]]></title><description><![CDATA[<p>Vielen Dank Headhunter.<br />
Wenn ich mir die Beschreibungen zu Deinem Notebook ansehe solltest Du über 2h Akkulaufzeit haben. Dh wenn bei Dir nur eine Stunde drin ist dann liegt das daran das Du nicht im Energiesparmodus bist bzw das Du unter Last fährst?</p>
<p>Ich wollte eigentlich mehrere Stunden auf der Wiese verbringen. Also maximal einen Ersatzakku dazu kaufen.</p>
<p>Das Linux ohne größere Probleme läuft ist aber schon mal erfreulich <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1697270</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1697270</guid><dc:creator><![CDATA[Malte.h]]></dc:creator><pubDate>Fri, 17 Apr 2009 13:38:35 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Fri, 17 Apr 2009 20:57:41 GMT]]></title><description><![CDATA[<p>&quot;Ohne Probleme&quot; ist gut.<br />
Ergänzend zu der Liste vorher:</p>
<p>- Dualscreenmodus macht Probleme (praktisch unbenutzbar)<br />
- Audio Out (Lautsprecher anschließen) funktioniert nicht</p>
<p>Im Endeffekt funktioniert Linux, aber ich kann nur die Hälfte der Hardware nutzen (und das auch nur halb so gut wie unter Windows). Und das mit Akku auch nur halb so lang.<br />
In der nächsten Version wird bestimmt alles besser.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1697547</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1697547</guid><dc:creator><![CDATA[Headhunter]]></dc:creator><pubDate>Fri, 17 Apr 2009 20:57:41 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Sat, 18 Apr 2009 11:02:29 GMT]]></title><description><![CDATA[<p>Danke Headhunter <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Wenn es halbwegs läuft und ich OpenOffice, Internet und einen Compiler habe reicht mir das eigentlich. Idiologisch habe ich nichts gegen Windows. Das kann man dann ja nebenher installieren...</p>
<p>Malte</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1697696</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1697696</guid><dc:creator><![CDATA[Malte.H]]></dc:creator><pubDate>Sat, 18 Apr 2009 11:02:29 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Mon, 20 Apr 2009 06:09:26 GMT]]></title><description><![CDATA[<p>Ich hab auch ein, jetzt schon etwas älteres, Acer-Notebook mit debian drauf. Acer Aspire 3050 oder so. Das ding hält mit dem 4400mAh Akku richtig konfiguriert über vier Stunden. Man muss natürlich auf Compiz und co verzichten, aber das ist denke ich mal klar.<br />
Vllt auch interessant: <a href="http://www.lesswatts.org/" rel="nofollow">http://www.lesswatts.org/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1698411</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1698411</guid><dc:creator><![CDATA[someone-else]]></dc:creator><pubDate>Mon, 20 Apr 2009 06:09:26 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Mon, 20 Apr 2009 08:21:18 GMT]]></title><description><![CDATA[<p>Vielen Dank für den Tip. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
WLan, etc wollte ich sowieso auf der Wiese abschalten. Bei dem Rest muß ich mal sehen wie weit ich komme.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1698464</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1698464</guid><dc:creator><![CDATA[Malte.h]]></dc:creator><pubDate>Mon, 20 Apr 2009 08:21:18 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Mon, 20 Apr 2009 09:13:26 GMT]]></title><description><![CDATA[<p>Malte.h schrieb:</p>
<blockquote>
<p>Vielen Dank für den Tip. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
WLan, etc wollte ich sowieso auf der Wiese abschalten. Bei dem Rest muß ich mal sehen wie weit ich komme.</p>
</blockquote>
<p>Hier ist mal ein nettes Script zum Energiesparen:</p>
<pre><code>#!/bin/bash

# start or stop laptop_mode, best run by a power management daemon when
# ac gets connected/disconnected from a laptop
#
# install as /sbin/laptop_mode
#
# Contributors to this script:   Kiko Piris
#				 Bart Samwel
#				 Micha Feigin
#				 Andrew Morton
#				 Herve Eychenne
#				 Dax Kelson
#
# Original Linux 2.4 version by: Jens Axboe

#############################################################################

# Source config
if [ -f /etc/default/laptop-mode ] ; then
	# Debian
	. /etc/default/laptop-mode
elif [ -f /etc/sysconfig/laptop-mode ] ; then
	# Others
        . /etc/sysconfig/laptop-mode
fi

# Don't raise an error if the config file is incomplete
# set defaults instead:

# Maximum time, in seconds, of hard drive spindown time that you are
# confortable with. Worst case, it's possible that you could lose this
# amount of work if your battery fails you while in laptop mode.
MAX_AGE=${MAX_AGE:-'600'}

# Read-ahead, in kilobytes
READAHEAD=${READAHEAD:-'4096'}

# Shall we remount journaled fs. with appropiate commit interval? (1=yes)
DO_REMOUNTS=${DO_REMOUNTS:-'1'}

# And shall we add the &quot;noatime&quot; option to that as well? (1=yes)
DO_REMOUNT_NOATIME=${DO_REMOUNT_NOATIME:-'1'}

# Shall we adjust the idle timeout on a hard drive?
DO_HD=${DO_HD:-'1'}

# Adjust idle timeout on which hard drive?
HD=&quot;${HD:-'/dev/hda'}&quot;

# spindown time for HD (hdparm -S values)
AC_HD=${AC_HD:-'244'}
BATT_HD=${BATT_HD:-'4'}

# Dirty synchronous ratio.  At this percentage of dirty pages the process which
# calls write() does its own writeback
DIRTY_RATIO=${DIRTY_RATIO:-'40'}

# cpu frequency scaling
# See Documentation/cpu-freq/user-guide.txt for more info
DO_CPU=${CPU_MANAGE:-'0'}
CPU_MAXFREQ=${CPU_MAXFREQ:-'slowest'}

#
# Allowed dirty background ratio, in percent.  Once DIRTY_RATIO has been
# exceeded, the kernel will wake pdflush which will then reduce the amount
# of dirty memory to dirty_background_ratio.  Set this nice and low, so once
# some writeout has commenced, we do a lot of it.
#
DIRTY_BACKGROUND_RATIO=${DIRTY_BACKGROUND_RATIO:-'5'}

# kernel default dirty buffer age
DEF_AGE=${DEF_AGE:-'30'}
DEF_UPDATE=${DEF_UPDATE:-'5'}
DEF_DIRTY_BACKGROUND_RATIO=${DEF_DIRTY_BACKGROUND_RATIO:-'10'}
DEF_DIRTY_RATIO=${DEF_DIRTY_RATIO:-'40'}
DEF_XFS_AGE_BUFFER=${DEF_XFS_AGE_BUFFER:-'15'}
DEF_XFS_SYNC_INTERVAL=${DEF_XFS_SYNC_INTERVAL:-'30'}
DEF_XFS_BUFD_INTERVAL=${DEF_XFS_BUFD_INTERVAL:-'1'}

# This must be adjusted manually to the value of HZ in the running kernel
# on 2.4, until the XFS people change their 2.4 external interfaces to work in
# centisecs. This can be automated, but it's a work in progress that still needs
# some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for external
# interfaces, and that is currently always set to 100. So you don't need to
# change this on 2.6.
XFS_HZ=${XFS_HZ:-'100'}

#############################################################################

KLEVEL=&quot;$(uname -r |
             {
	       IFS='.' read a b c
	       echo $a.$b
	     }
)&quot;
case &quot;$KLEVEL&quot; in
	&quot;2.4&quot;|&quot;2.6&quot;)
		;;
	*)
		echo &quot;Unhandled kernel version: $KLEVEL ('uname -r' = '$(uname -r)')&quot; &gt;&amp;2
		exit 1
		;;
esac

if [ ! -e /proc/sys/vm/laptop_mode ] ; then
	echo &quot;Kernel is not patched with laptop_mode patch.&quot; &gt;&amp;2
	exit 1
fi

if [ ! -w /proc/sys/vm/laptop_mode ] ; then
	echo &quot;You do not have enough privileges to enable laptop_mode.&quot; &gt;&amp;2
	exit 1
fi

# Remove an option (the first parameter) of the form option=&lt;number&gt; from
# a mount options string (the rest of the parameters).
parse_mount_opts () {
	OPT=&quot;$1&quot;
	shift
	echo &quot;,$*,&quot; | sed		\
	 -e 's/,'&quot;$OPT&quot;'=[0-9]*,/,/g'	\
	 -e 's/,,*/,/g'			\
	 -e 's/^,//'			\
	 -e 's/,$//'
}

# Remove an option (the first parameter) without any arguments from
# a mount option string (the rest of the parameters).
parse_nonumber_mount_opts () {
	OPT=&quot;$1&quot;
	shift
	echo &quot;,$*,&quot; | sed		\
	 -e 's/,'&quot;$OPT&quot;',/,/g'		\
	 -e 's/,,*/,/g'			\
	 -e 's/^,//'			\
	 -e 's/,$//'
}

# Find out the state of a yes/no option (e.g. &quot;atime&quot;/&quot;noatime&quot;) in
# fstab for a given filesystem, and use this state to replace the
# value of the option in another mount options string. The device
# is the first argument, the option name the second, and the default
# value the third. The remainder is the mount options string.
#
# Example:
# parse_yesno_opts_wfstab /dev/hda1 atime atime defaults,noatime
#
# If fstab contains, say, &quot;rw&quot; for this filesystem, then the result
# will be &quot;defaults,atime&quot;.
parse_yesno_opts_wfstab () {
	L_DEV=&quot;$1&quot;
	OPT=&quot;$2&quot;
	DEF_OPT=&quot;$3&quot;
	shift 3
	L_OPTS=&quot;$*&quot;
	PARSEDOPTS1=&quot;$(parse_nonumber_mount_opts $OPT $L_OPTS)&quot;
	PARSEDOPTS1=&quot;$(parse_nonumber_mount_opts no$OPT $PARSEDOPTS1)&quot;
	# Watch for a default atime in fstab
	FSTAB_OPTS=&quot;$(awk '$1 == &quot;'$L_DEV'&quot; { print $4 }' /etc/fstab)&quot;
	if echo &quot;$FSTAB_OPTS&quot; | grep &quot;$OPT&quot; &gt; /dev/null ; then
		# option specified in fstab: extract the value and use it
		if echo &quot;$FSTAB_OPTS&quot; | grep &quot;no$OPT&quot; &gt; /dev/null ; then
			echo &quot;$PARSEDOPTS1,no$OPT&quot;
		else
			# no$OPT not found -- so we must have $OPT.
			echo &quot;$PARSEDOPTS1,$OPT&quot;
		fi
	else
		# option not specified in fstab -- choose the default.
		echo &quot;$PARSEDOPTS1,$DEF_OPT&quot;
	fi
}

# Find out the state of a numbered option (e.g. &quot;commit=NNN&quot;) in
# fstab for a given filesystem, and use this state to replace the
# value of the option in another mount options string. The device
# is the first argument, and the option name the second. The
# remainder is the mount options string in which the replacement
# must be done.
#
# Example:
# parse_mount_opts_wfstab /dev/hda1 commit defaults,commit=7
#
# If fstab contains, say, &quot;commit=3,rw&quot; for this filesystem, then the
# result will be &quot;rw,commit=3&quot;.
parse_mount_opts_wfstab () {
	L_DEV=&quot;$1&quot;
	OPT=&quot;$2&quot;
	shift 2
	L_OPTS=&quot;$*&quot;
	PARSEDOPTS1=&quot;$(parse_mount_opts $OPT $L_OPTS)&quot;
	# Watch for a default commit in fstab
	FSTAB_OPTS=&quot;$(awk '$1 == &quot;'$L_DEV'&quot; { print $4 }' /etc/fstab)&quot;
	if echo &quot;$FSTAB_OPTS&quot; | grep &quot;$OPT=&quot; &gt; /dev/null ; then
		# option specified in fstab: extract the value, and use it
		echo -n &quot;$PARSEDOPTS1,$OPT=&quot;
		echo &quot;,$FSTAB_OPTS,&quot; | sed \
		 -e 's/.*,'&quot;$OPT&quot;'=//'	\
		 -e 's/,.*//'
	else
		# option not specified in fstab: set it to 0
		echo &quot;$PARSEDOPTS1,$OPT=0&quot;
	fi
}

deduce_fstype () {
	MP=&quot;$1&quot;
	# My root filesystem unfortunately has
	# type &quot;unknown&quot; in /etc/mtab. If we encounter
	# &quot;unknown&quot;, we try to get the type from fstab.
	cat /etc/fstab |
	grep -v '^#' |
	while read FSTAB_DEV FSTAB_MP FSTAB_FST FSTAB_OPTS FSTAB_DUMP FSTAB_DUMP ; do
		if [ &quot;$FSTAB_MP&quot; = &quot;$MP&quot; ]; then
			echo $FSTAB_FST
			exit 0
		fi
	done
}

if [ $DO_REMOUNT_NOATIME -eq 1 ] ; then
	NOATIME_OPT=&quot;,noatime&quot;
fi

case &quot;$1&quot; in
	start)
		AGE=$((100*$MAX_AGE))
		XFS_AGE=$(($XFS_HZ*$MAX_AGE))
		echo -n &quot;Starting laptop_mode&quot;

		if [ -d /proc/sys/vm/pagebuf ] ; then
			# (For 2.4 and early 2.6.)
			# This only needs to be set, not reset -- it is only used when
			# laptop mode is enabled.
			echo $XFS_AGE &gt; /proc/sys/vm/pagebuf/lm_flush_age
			echo $XFS_AGE &gt; /proc/sys/fs/xfs/lm_sync_interval
		elif [ -f /proc/sys/fs/xfs/lm_age_buffer ] ; then
			# (A couple of early 2.6 laptop mode patches had these.)
			# The same goes for these.
			echo $XFS_AGE &gt; /proc/sys/fs/xfs/lm_age_buffer
			echo $XFS_AGE &gt; /proc/sys/fs/xfs/lm_sync_interval
		elif [ -f /proc/sys/fs/xfs/age_buffer ] ; then
			# (2.6.6)
			# But not for these -- they are also used in normal
			# operation.
			echo $XFS_AGE &gt; /proc/sys/fs/xfs/age_buffer
			echo $XFS_AGE &gt; /proc/sys/fs/xfs/sync_interval
		elif [ -f /proc/sys/fs/xfs/age_buffer_centisecs ] ; then
			# (2.6.7 upwards)
			# And not for these either. These are in centisecs,
			# not USER_HZ, so we have to use $AGE, not $XFS_AGE.
			echo $AGE &gt; /proc/sys/fs/xfs/age_buffer_centisecs
			echo $AGE &gt; /proc/sys/fs/xfs/xfssyncd_centisecs
			echo 3000 &gt; /proc/sys/fs/xfs/xfsbufd_centisecs
		fi

		case &quot;$KLEVEL&quot; in
			&quot;2.4&quot;)
				echo 1					&gt; /proc/sys/vm/laptop_mode
				echo &quot;30 500 0 0 $AGE $AGE 60 20 0&quot;	&gt; /proc/sys/vm/bdflush
				;;
			&quot;2.6&quot;)
				echo 5					&gt; /proc/sys/vm/laptop_mode
				echo &quot;$AGE&quot;				&gt; /proc/sys/vm/dirty_writeback_centisecs
				echo &quot;$AGE&quot;				&gt; /proc/sys/vm/dirty_expire_centisecs
				echo &quot;$DIRTY_RATIO&quot;			&gt; /proc/sys/vm/dirty_ratio
				echo &quot;$DIRTY_BACKGROUND_RATIO&quot;		&gt; /proc/sys/vm/dirty_background_ratio
				;;
		esac
		if [ $DO_REMOUNTS -eq 1 ]; then
			cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
				PARSEDOPTS=&quot;$(parse_mount_opts &quot;$OPTS&quot;)&quot;
				if [ &quot;$FST&quot; = 'unknown' ]; then
					FST=$(deduce_fstype $MP)
				fi
				case &quot;$FST&quot; in
					&quot;ext3&quot;|&quot;reiserfs&quot;)
						PARSEDOPTS=&quot;$(parse_mount_opts commit &quot;$OPTS&quot;)&quot;
						mount $DEV -t $FST $MP -o remount,$PARSEDOPTS,commit=$MAX_AGE$NOATIME_OPT
						;;
					&quot;xfs&quot;)
						mount $DEV -t $FST $MP -o remount,$OPTS$NOATIME_OPT
						;;
				esac
				if [ -b $DEV ] ; then
					blockdev --setra $(($READAHEAD * 2)) $DEV
				fi
			done
		fi
		if [ $DO_HD -eq 1 ] ; then
			for THISHD in $HD ; do
				/usr/sbin/smartctl --smart=on --offlineauto=off $THISHD &gt; /dev/null 2&gt;&amp;1
				/sbin/hdparm -S $BATT_HD $THISHD &gt; /dev/null 2&gt;&amp;1
				/sbin/hdparm -B 1 $THISHD &gt; /dev/null 2&gt;&amp;1
			done
		fi
		if [ $DO_CPU -eq 1 -a -e /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq ]; then
			if [ $CPU_MAXFREQ = 'slowest' ]; then
				CPU_MAXFREQ=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
			fi
			echo $CPU_MAXFREQ &gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
		fi
		echo &quot;.&quot;
		;;
	stop)
		U_AGE=$((100*$DEF_UPDATE))
		B_AGE=$((100*$DEF_AGE))
		echo -n &quot;Stopping laptop_mode&quot;
		echo 0 &gt; /proc/sys/vm/laptop_mode
		if [ -f /proc/sys/fs/xfs/age_buffer -a ! -f /proc/sys/fs/xfs/lm_age_buffer ] ; then
			# These need to be restored, if there are no lm_*.
			echo $(($XFS_HZ*$DEF_XFS_AGE_BUFFER))	 	&gt; /proc/sys/fs/xfs/age_buffer
			echo $(($XFS_HZ*$DEF_XFS_SYNC_INTERVAL)) 	&gt; /proc/sys/fs/xfs/sync_interval
		elif [ -f /proc/sys/fs/xfs/age_buffer_centisecs ] ; then
			# These need to be restored as well.
			echo $((100*$DEF_XFS_AGE_BUFFER))	&gt; /proc/sys/fs/xfs/age_buffer_centisecs
			echo $((100*$DEF_XFS_SYNC_INTERVAL))	&gt; /proc/sys/fs/xfs/xfssyncd_centisecs
			echo $((100*$DEF_XFS_BUFD_INTERVAL))	&gt; /proc/sys/fs/xfs/xfsbufd_centisecs
		fi
		case &quot;$KLEVEL&quot; in
			&quot;2.4&quot;)
				echo &quot;30 500 0 0 $U_AGE $B_AGE 60 20 0&quot;	&gt; /proc/sys/vm/bdflush
				;;
			&quot;2.6&quot;)
				echo &quot;$U_AGE&quot;				&gt; /proc/sys/vm/dirty_writeback_centisecs
				echo &quot;$B_AGE&quot;				&gt; /proc/sys/vm/dirty_expire_centisecs
				echo &quot;$DEF_DIRTY_RATIO&quot;			&gt; /proc/sys/vm/dirty_ratio
				echo &quot;$DEF_DIRTY_BACKGROUND_RATIO&quot;	&gt; /proc/sys/vm/dirty_background_ratio
				;;
		esac
		if [ $DO_REMOUNTS -eq 1 ] ; then
			cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
				# Reset commit and atime options to defaults.
				if [ &quot;$FST&quot; = 'unknown' ]; then
					FST=$(deduce_fstype $MP)
				fi
				case &quot;$FST&quot; in
					&quot;ext3&quot;|&quot;reiserfs&quot;)
						PARSEDOPTS=&quot;$(parse_mount_opts_wfstab $DEV commit $OPTS)&quot;
						PARSEDOPTS=&quot;$(parse_yesno_opts_wfstab $DEV atime atime $PARSEDOPTS)&quot;
						mount $DEV -t $FST $MP -o remount,$PARSEDOPTS
						;;
					&quot;xfs&quot;)
						PARSEDOPTS=&quot;$(parse_yesno_opts_wfstab $DEV atime atime $OPTS)&quot;
						mount $DEV -t $FST $MP -o remount,$PARSEDOPTS
						;;
				esac
				if [ -b $DEV ] ; then
					blockdev --setra 256 $DEV
				fi
			done
		fi
		if [ $DO_HD -eq 1 ] ; then
			for THISHD in $HD ; do
				/usr/sbin/smartctl --smart=on --offlineauto=on $THISHD &gt; /dev/null 2&gt;&amp;1
				/sbin/hdparm -S $AC_HD $THISHD &gt; /dev/null 2&gt;&amp;1
				/sbin/hdparm -B 255 $THISHD &gt; /dev/null 2&gt;&amp;1
			done
		fi
		if [ $DO_CPU -eq 1 -a -e /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq ]; then
			echo `cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq` &gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
		fi
		echo &quot;.&quot;
		;;
	*)
		echo &quot;Usage: $0 {start|stop}&quot; 2&gt;&amp;1
		exit 1
		;;

esac

exit 0
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1698500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1698500</guid><dc:creator><![CDATA[Ivo]]></dc:creator><pubDate>Mon, 20 Apr 2009 09:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Mon, 20 Apr 2009 10:36:01 GMT]]></title><description><![CDATA[<p>Ich habe ein ACER Travelmate 7720G, wo ich im Dualoboot mit WinXP ein Ubuntu 8.04 64Bit drauf laufen habe. 20min installiert -&gt; läuft ohne Murren und Knurren (Grafik, NTFS, USB, Sound, LAN, WLAN, PCMCIA, BlueTooth). Bin sehr zufrieden damit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1698535</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1698535</guid><dc:creator><![CDATA[F98]]></dc:creator><pubDate>Mon, 20 Apr 2009 10:36:01 GMT</pubDate></item><item><title><![CDATA[Reply to Notebook: Acer&#x2F;Linux on Mon, 04 May 2009 12:06:16 GMT]]></title><description><![CDATA[<p>Ich habe mich jetzt kurz für dieses Notebook umentschlossen (nur andere CPU):<br />
- Core 2 Duo T5670 2x 1.80GHz<br />
- 2048MB RAM<br />
- Intel GMA X3100 (IGP) max.128MB shared memory<br />
- 15.4&quot; WXGA non-glare TFT (1280x800)</p>
<p>Die CPU soll besser und energiesparender sein. Laut Internet 3h Betriebszeit.<br />
Bei <a href="http://Notebooksbilliger.de" rel="nofollow">Notebooksbilliger.de</a> bekommt man das Ding schon für 385 EUR wenn man den Studentenausweis hinschickt.</p>
<p>Es ist heute morgen angekommen. WinXp läßt sich ohne Probleme installieren. Doom3 läuft in der 640'er Auflösung flüssig.</p>
<p>An die Linux Installation wage ich mich erst nächstes Wochenende <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1705262</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1705262</guid><dc:creator><![CDATA[Malte.h]]></dc:creator><pubDate>Mon, 04 May 2009 12:06:16 GMT</pubDate></item></channel></rss>