<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.llaumgui.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Le blog de llaumgui - hardware</title>
  <link>http://www.llaumgui.com/</link>
  <description>Linux en général, Fedora en particulier...</description>
  <language>fr</language>
  <pubDate>Fri, 16 May 2008 02:45:09 +0200</pubDate>
  <copyright>http://creativecommons.org/licenses/by-nc-nd/2.5/</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Fedora 9 + drivers radeon + gnome-display-properties = bluffant</title>
    <link>http://www.llaumgui.com/post/Fedora-9-drivers-radeon-gnome-display-properties-bluffant</link>
    <guid isPermaLink="false">urn:md5:0b09a6b88ca655f95ef91289d3ef4046</guid>
    <pubDate>Sun, 27 Apr 2008 14:08:00 +0200</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>ATI</category><category>ATI Mobility X700</category><category>Fedora 9</category><category>hardware</category><category>Linux</category><category>Live eTIC</category><category>Xorg</category><category>Xorg 7</category>    
    <description>&lt;p&gt;Histoire de ne pas galérer avec le rétro-projecteur lors de &lt;a href=&quot;http://www.llaumgui.com/post/Presentation-de-Fedora-et-du-Projet-Fedora-lors-du-Live-eTIC-Party&quot; title=&quot;Présentation de Fedora et du Projet Fedora lors du live etic party&quot;&gt;ma présentation&lt;/a&gt; durant les &lt;a href=&quot;http://linux-live-usb.org/ip/&quot; hreflang=&quot;fr&quot; title=&quot;Live eTIC Party Université Montpellier 2008&quot;&gt;2ème Live eTIC Party de Montpellier&lt;/a&gt;, je me suis entrainé au dual-screen sur ma télé. J'avais en mémoire de mauvais souvenirs avec les drivers radeon et mon &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.llaumgui.com/post/../tag/ATI%20Mobility%20X700&quot;&gt;ATI Mobility X700&lt;/a&gt; et je m'apprêtais à passer une bonne heure avec &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Vim&quot;&gt;vim&lt;/a&gt; et mon xorg.conf.&lt;br /&gt;Et bien non ! &lt;a hreflang=&quot;en&quot; href=&quot;http://fedoraproject.org/wiki/Releases/9/Schedule&quot;&gt;Fedora 9&lt;/a&gt; intègre &lt;a hreflang=&quot;en&quot; href=&quot;http://www.x.org&quot;&gt;Xorg&lt;/a&gt; 7.3 et gnome-display-properties (accessible via &lt;em&gt;Système / Préférences / Matériel / Résolution de l'écran&lt;/em&gt;) avec lesquels la configuration d'un dual-screen prend à présent 30 secondes montre en main ! Et ce, même avec les drivers libres radeon !&lt;/p&gt;
&lt;p&gt;Bref, dans le cas d'une ATI Mobility X700, je le redis, &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Fglrx&quot;&gt;fglrx&lt;/a&gt; ne se justifie pas !&lt;/p&gt;    &lt;p&gt;&lt;a href=&quot;http://www.llaumgui.com/public/images/linux/logiciels/f9_gnome-display-properties.png&quot;&gt;&lt;img style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;&quot; src=&quot;http://www.llaumgui.com/public/images/linux/logiciels/.f9_gnome-display-properties_m.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/Fedora-9-drivers-radeon-gnome-display-properties-bluffant#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Fedora-9-drivers-radeon-gnome-display-properties-bluffant#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/423</wfw:commentRss>
      </item>
    
  <item>
    <title>HAL et mon Meizu M3</title>
    <link>http://www.llaumgui.com/post/HAL-et-mon-Meizu-M3</link>
    <guid isPermaLink="false">urn:md5:8de6c7ec706d761342a47073cd8d2b80</guid>
    <pubDate>Sun, 03 Jun 2007 22:29:00 +0200</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>HAL</category><category>hardware</category><category>Meizu M3</category>    
    <description>    &lt;p&gt;Comme ceux qui lisent régulièrement mon blog le savent, &lt;a href=&quot;http://www.llaumgui.com/post/Meizu-M3-premieres-impressions&quot; hreflang=&quot;fr&quot; title=&quot;Meizu M3, premières impressions&quot;&gt;je me suis acheté un nouveau baladeur MP3&lt;/a&gt;. Ce dernier est parfaitement reconnu sous Linux, mais je regrettais juste qu'il apparaisse comme disque amovible sur mon bureau et qu'il soit monté dans /medi/disk/.&lt;/p&gt;


&lt;p&gt;C'est après un passage sur &lt;a href=&quot;http://forums.fedora-fr.org/&quot; hreflang=&quot;fr&quot; title=&quot;fedora-fr - Communauté francophone Fedora Core - Linux&quot;&gt;les forums de fedora-fr&lt;/a&gt; ou j'ai trouvé &lt;a href=&quot;http://forums.fedora-fr.org/viewtopic.php?pid=163977#p163977&quot; hreflang=&quot;fr&quot;&gt;la réponse&lt;/a&gt; à &lt;a href=&quot;http://forums.fedora-fr.org/viewtopic.php?id=21160&quot; hreflang=&quot;fr&quot; title=&quot;Renommer des périphérique USB&quot;&gt;ma question&lt;/a&gt;, que je me suis fait ce petit fichier *.fdi qui permet de monter le Meizu dans /media/meizu_m3 et de l'afficher sur le bureau avec le nom &amp;quot;Meizu M3&amp;quot;.&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;llaumgui@enterprise ~&amp;gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; /usr/share/hal/fdi/policy/95userpolicy/&lt;span style=&quot;color: #000000;&quot;&gt;95&lt;/span&gt;-meizu-m3.fdi &lt;br /&gt;
&amp;lt;?xml &lt;span style=&quot;color: #007800;&quot;&gt;version=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;1.0&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;encoding=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ISO-8859-1&amp;quot;&lt;/span&gt;?&amp;gt;&lt;br /&gt;
&amp;lt;deviceinfo &lt;span style=&quot;color: #007800;&quot;&gt;version=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;0.2&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;
&amp;lt;!-- /usr/share/hal/fdi/policy/95userpolicy --&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;device&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;match &lt;span style=&quot;color: #007800;&quot;&gt;key=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;volume.uuid&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;string=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;68DE-5DE7&amp;quot;&lt;/span&gt;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;merge &lt;span style=&quot;color: #007800;&quot;&gt;key=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;volume.label&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&amp;gt;Meizu M3&amp;lt;/merge&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;merge &lt;span style=&quot;color: #007800;&quot;&gt;key=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;volume.policy.desired_mount_point&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;type=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;string&amp;quot;&lt;/span&gt;&amp;gt;meizu_m3&amp;lt;/merge&amp;gt; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/match&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/device&amp;gt;&lt;br /&gt;
&amp;lt;/deviceinfo&amp;gt;&lt;/code&gt;


&lt;p&gt;Je recherchais une méthode sans passer par &lt;a href=&quot;http://fr.wikipedia.org/wiki/Hardware_abstraction_layer&quot; hreflang=&quot;fr&quot; title=&quot;Hardware Abstraction Layer&quot;&gt;hal&lt;/a&gt; et plus orientée user (fichier dans /home/), mais, au final, cette méthode me convient parfaitement.&lt;/p&gt;</description>
    
          <enclosure url="http://www.llaumgui.com/public/files/config/95-meizu-m3.fdi"
      length="370" type="text/plain" />
    
    
          <comments>http://www.llaumgui.com/post/HAL-et-mon-Meizu-M3#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/HAL-et-mon-Meizu-M3#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/210</wfw:commentRss>
      </item>
    
  <item>
    <title>Xorg et Logitech Internet Keyboard</title>
    <link>http://www.llaumgui.com/post/Xorg-et-Logitech-Internet-Keyboard</link>
    <guid isPermaLink="false">urn:md5:8508985a046c2a5da96c703cf0696d9d</guid>
    <pubDate>Sun, 03 Jun 2007 22:02:00 +0200</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>Fedora</category><category>Fedora 7</category><category>hardware</category><category>Xorg</category><category>Xorg 7</category>    
    <description>    &lt;p&gt;Avec &lt;a href=&quot;http://www.llaumgui.com/post/Aujourdhui-sortie-officielle-de-Fedora-7-la-blase&quot; hreflang=&quot;fr&quot; title=&quot;Aujourd'hui, sortie officielle de Fedora 7, la blase...&quot;&gt;l'arrivée de Moonshine&lt;/a&gt;, je suis passé de &lt;a href=&quot;http://x.org&quot; hreflang=&quot;en&quot; title=&quot;The X.Org Foundation&quot;&gt;Xorg&lt;/a&gt; 7.1 à la version 7.3 avec mon éternel fichier xorg.conf que je récupère de version en version en corrigeant les problèmes dus à la (in)compatibilité descendante.&lt;/p&gt;


&lt;p&gt;Ce coup-ci tout c'est bien passé, je me suis juste heurté à un petit problème du à mon clavier Logitech :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;llaumgui@enterprise ~&amp;gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; /var/log/Xorg&lt;span style=&quot;color: #000000;&quot;&gt;.0&lt;/span&gt;.log | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; BOGUS&lt;br /&gt;
BOGUS LENGTH &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;write&lt;/span&gt; keyboard desc, expected &lt;span style=&quot;color: #000000;&quot;&gt;5376&lt;/span&gt;, got &lt;span style=&quot;color: #000000;&quot;&gt;5380&lt;/span&gt;&lt;/code&gt;


&lt;p&gt;Après une lecture de &lt;a href=&quot;http://www.gentoo.org/proj/fr/desktop/x/x11/modular-x-howto.xml&quot; hreflang=&quot;fr&quot; title=&quot;Guide de migration vers X.Org modulaire&quot;&gt;cette article&lt;/a&gt; du &lt;a href=&quot;http://www.gentoo.org&quot; hreflang=&quot;fr&quot; title=&quot;Gentoo Linux&quot;&gt;site de Gentoo&lt;/a&gt; (décidément, cette documentation est vraiment d'une très bonne qualité). Au final, voici donc ma section keybord (je rappel que je suis francophone de France, les autres devront adapter les ligne &amp;quot;&lt;em&gt;XkbLayout&lt;/em&gt;&amp;quot; et &amp;quot;&lt;em&gt;XkbVariant&lt;/em&gt;&amp;quot; :&lt;/p&gt;

&lt;code class=&quot;bash&quot;&gt;Section &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;InputDevice&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Identifier &amp;nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Keyboard0&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Driver &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;kbd&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;XkbModel&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;logiik&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;XkbLayout&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;fr&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Option &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;XkbVariant&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;latin9&amp;quot;&lt;/span&gt;&lt;br /&gt;
EndSection&lt;/code&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/Xorg-et-Logitech-Internet-Keyboard#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Xorg-et-Logitech-Internet-Keyboard#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/209</wfw:commentRss>
      </item>
    
  <item>
    <title>VirtualBox et l'USB</title>
    <link>http://www.llaumgui.com/post/VirtualBox-et-lUSB</link>
    <guid isPermaLink="false">urn:md5:ee4091e8752e6d6f84ae35b1ab491f2b</guid>
    <pubDate>Sat, 17 Mar 2007 00:16:00 +0100</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>hardware</category><category>VirtualBox</category><category>virtualisation</category>    
    <description>&lt;p&gt;Maintenant que j'ai bien configuré mon &lt;a href=&quot;http://www.microsoft.com/france/windows/xp/&quot; hreflang=&quot;fr&quot;&gt;Windows XP&lt;/a&gt; virtualisé, que j'ai installé les &amp;quot;&lt;em&gt;Guest Additions&lt;/em&gt;&amp;quot; (le sujet de mon prochain billet sur &lt;a href=&quot;http://www.virtualbox.org&quot; hreflang=&quot;en&quot; title=&quot;Family of powerful x86 virtualization products for enterprise as well as home use&quot;&gt;VirtualBox&lt;/a&gt;), je me suis mis en tête d'utiliser mes ports &lt;acronym title=&quot;Universal Serial Bus&quot;&gt;USB&lt;/acronym&gt; dans ma machine virtuelle. La raison et que je veux pouvoir flasher mon &lt;a href=&quot;http://www.samsung.com/fr/products/mobilephone/design/sgh_e900ekaxef.asp&quot; hreflang=&quot;fr&quot; title=&quot;Téléphone portable Samsung E900&quot;&gt;Samsung E900&lt;/a&gt; ou imprimer en haute qualité avec mon &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.canon.fr/for_home/product_finder/printers/bubble_jet/pixma_ip2000/index.asp&quot;&gt;IP2000&lt;/a&gt;. Ce pose alors à moi un petit problème :&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.llaumgui.com/public/images/linux/virtualbox/usb_error.png&quot;&gt;&lt;img style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;Message d'erreur lors de l'utilisation de l'USB&quot; src=&quot;http://www.llaumgui.com/public/images/linux/virtualbox/.usb_error_s.jpg&quot; /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Après quelques recherches sur &lt;a href=&quot;http://www.google.com&quot; hreflang=&quot;fr&quot;&gt;Google&lt;/a&gt; et sur le site de VirtualBox, je tombe sur &lt;a href=&quot;http://www.virtualbox.org/wiki/USB_on_Fedora_6&quot; hreflang=&quot;en&quot; title=&quot;How to setup USB with udev on Fedora 6&quot;&gt;cette solution&lt;/a&gt; qui bien que pas très propre a le mérite de fonctionner (à un &lt;a href=&quot;http://fr.wikipedia.org/wiki/Chmod&quot; hreflang=&quot;fr&quot; title=&quot;chmod (abréviation de change mode)&quot;&gt;chmod&lt;/a&gt; près).&lt;/p&gt;
&lt;p&gt;Bon, je sais qu'une solution consistant à faire des &lt;a href=&quot;http://en.wikipedia.org/wiki/Chgrp&quot; hreflang=&quot;en&quot; title=&quot;The chgrp command&quot;&gt;chgrp&lt;/a&gt; à la volée est loin d'être le top, mais elle figure non seulement dans le &lt;a href=&quot;http://www.virtualbox.org/wiki/&quot; hreflang=&quot;en&quot; title=&quot;Wiki de VirtualBox&quot;&gt;wiki&lt;/a&gt; mais aussi dans l'aide officiel disponible à partir du logiciel grâce à la touche F1...&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Créez un groupe &lt;em&gt;usb&lt;/em&gt;. Pour cela 2 solutions &lt;em&gt;system-config-users&lt;/em&gt; ou le traditionnel &lt;a href=&quot;http://fr.wikipedia.org/wiki/Vim&quot; hreflang=&quot;fr&quot; title=&quot;vim sur Wikipédia&quot;&gt;vim&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Ajoutez y les utilisateurs que vous voulez permettre de contrôler votre &lt;acronym title=&quot;Universal Serial Bus&quot;&gt;USB&lt;/acronym&gt;.&lt;/li&gt;
&lt;li&gt;Ajoutez une règle dans &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Udev&quot; title=&quot;udev sur Wikipédia&quot;&gt;udev&lt;/a&gt; : /etc/udev/rules.d/51-usb-group.rules (en annexe).&lt;/li&gt;
&lt;li&gt;Ajoutez le script /etc/udev/scripts/set-usb-group (en annexe).&lt;/li&gt;
&lt;li&gt;Ensuite appliquez les bons chmod :&lt;br /&gt;
&lt;code class=&quot;bash&quot;&gt;root@enterprise ~&amp;gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;chmod&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;754&lt;/span&gt; /etc/udev/scripts/set-usb-group&lt;br /&gt;
root@enterprise ~&amp;gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;chmod&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;644&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;51&lt;/span&gt;-usb-group.rules&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Et pour finir un petit reboot...&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Voila, vous pouvez, comme moi, utiliser vos &lt;acronym title=&quot;Universal Serial Bus&quot;&gt;USB&lt;/acronym&gt; directement dans VirtualBox.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.llaumgui.com/public/images/linux/virtualbox/usb_in_virtualbox.png&quot;&gt;&lt;img src=&quot;http://www.llaumgui.com/public/images/linux/virtualbox/.usb_in_virtualbox_m.jpg&quot; alt=&quot;L'usb dans VirtualBox&quot; style=&quot;margin: 0 auto; display: block;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
    
          <enclosure url="http://www.llaumgui.com/public/files/config/51-usb-group.rules"
      length="68" type="text/plain" />
          <enclosure url="http://www.llaumgui.com/public/files/set-usb-group"
      length="545" type="text/plain" />
    
    
          <comments>http://www.llaumgui.com/post/VirtualBox-et-lUSB#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/VirtualBox-et-lUSB#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/178</wfw:commentRss>
      </item>
    
  <item>
    <title>ATI Remote Wonder II, lirc 0.8.1 et lircd.conf : Enquête</title>
    <link>http://www.llaumgui.com/post/ATI-Remote-Wonder-II-lirc-081-et-lircdconf-%3A-Enquete</link>
    <guid isPermaLink="false">urn:md5:999f8b001f592b9cc215549051230d08</guid>
    <pubDate>Sun, 11 Mar 2007 17:52:00 +0100</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>ATI</category><category>ATI Remote Wonder II</category><category>hardware</category><category>LIRC</category>    
    <description>&lt;p&gt;Le drame à eu lieu ce matin vers 2 heure. Je me regardais pénard un double épisode d'&lt;a href=&quot;http://fr.wikipedia.org/wiki/X-Files,_aux_fronti%C3%A8res_du_r%C3%A9el&quot; hreflang=&quot;fr&quot; title=&quot;X-Files, aux frontières du réel&quot;&gt;X-Files&lt;/a&gt; (&lt;a href=&quot;http://fr.wikipedia.org/wiki/X-Files%2C_aux_fronti%C3%A8res_du_r%C3%A9el_:_liste_des_%C3%A9pisodes#Sixi.C3.A8me_saison_.281998-1999.29&quot; hreflang=&quot;fr&quot; title=&quot;X-Files : Sixième saison&quot;&gt;Zone 51&lt;/a&gt;) tout en dégustant un petit &lt;a href=&quot;http://www.cc-picsaintloup.fr/vie_pratique/produits_et_gastronomie/vignes_et_vins&quot; hreflang=&quot;fr&quot; title=&quot;Une boisson, une histoire&quot;&gt;Pic St Loup&lt;/a&gt;. Entre les 2 épisodes, je lève mon bras pour passer au second via mon &lt;a href=&quot;http://www.llaumgui.com/tag/ATI%20Remote%20Wonder%20II&quot; hreflang=&quot;fr&quot; title=&quot;Tag ATI Remote Wonder II sur llaumgui.com&quot;&gt;ATI Remote Wonder II&lt;/a&gt; quand tout à coup... Rien !&lt;br /&gt;
Désappointer devant cet échec technologique j'ai du prendre mon courage à 2 mains pour me lever de mon canapé et faire passer &lt;a href=&quot;http://www.gnome.org/projects/totem/&quot; hreflang=&quot;en&quot; title=&quot;The official movie player of the GNOME desktop environment based&quot;&gt;Totem&lt;/a&gt; à l'épisode suivant... 2 heure du mat', pas le temps de me lancer dans un investigation...&lt;/p&gt;    &lt;p&gt;Le lendemain (en fait le jour même mais bon), tel &lt;a href=&quot;http://fr.wikipedia.org/wiki/Fox_Mulder&quot; hreflang=&quot;fr&quot; title=&quot;Fox Mulder&quot;&gt;Mulder&lt;/a&gt; et &lt;a href=&quot;http://fr.wikipedia.org/wiki/Dana_Scully&quot; hreflang=&quot;fr&quot; title=&quot;Dana Scully&quot;&gt;Scully&lt;/a&gt; (plutôt Mulder quand même ;-)) je me lance dans une enquête.&lt;br /&gt;
Avant toute chose, je vérifie le bon fonctionnement de mes piles. Cela ne viens pas de là...&lt;/p&gt;


&lt;p&gt;Je lance le service à la main afin de vérifier que tout se passe bien :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;root@enterprise ~&amp;gt; /usr/sbin/lircd --nodaemon&lt;/code&gt;

&lt;p&gt;Puis un petit &lt;a href=&quot;http://www.lirc.org/html/irw.html&quot; hreflang=&quot;en&quot; title=&quot;irw - sends data from Unix domain socket to stdout &quot;&gt;irw&lt;/a&gt; afin de voir si le signal arrive : rien !&lt;/p&gt;


&lt;p&gt;Je tente de vérifier si ma télécommande marche avec le module ati_remote2 :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;root@enterprise ~&amp;gt; rmmod lirc_atiusb &lt;br /&gt;
root@enterprise ~&amp;gt; modprobe ati_remote2&lt;/code&gt;

&lt;p&gt;La télécommande marche bien...&lt;/p&gt;


&lt;p&gt;Il me viens alors une idée : refaire un fichier &lt;a href=&quot;http://www.lirc.org/html/configure.html#lircd.conf_format&quot; hreflang=&quot;en&quot; title=&quot;The lircd.conf file format&quot;&gt;lircd.conf&lt;/a&gt; via &lt;a href=&quot;http://www.lirc.org/html/irrecord.html&quot; hreflang=&quot;en&quot; title=&quot;irrecord - application for recording IR-codes for usage with LIRC&quot;&gt;irrecord&lt;/a&gt;... Et miracle, ça marche !!!&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&lt;ins&gt;Conclusion&lt;/ins&gt; :&lt;/strong&gt; Une mise à jour de &lt;a href=&quot;http://www.lirc.org/&quot; hreflang=&quot;en&quot; title=&quot;Linux Infrared Remote Control&quot;&gt;lirc&lt;/a&gt; a du faire planter mon fichier de configuration que j'utilise depuis la version 0.7.2 alors qu'aujourd'hui on est sous 0.8.1.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&lt;ins&gt;Remarque 1&lt;/ins&gt; :&lt;/strong&gt; Je renomme mon ancien fichier en &lt;a href=&quot;http://www.llaumgui.com/public/files/lircd_legacy.conf&quot; hreflang=&quot;fr&quot; title=&quot;Fichier de configuration pour ATI Remote Wonder II et lirc 0.7.x&quot;&gt;lircd_legacy.conf&lt;/a&gt; et je mets à jour mon &lt;a href=&quot;http://www.llaumgui.com/public/files/lircd.conf&quot; hreflang=&quot;fr&quot; title=&quot;Fichier de configuration pour ATI Remote Wonder II et lirc 0.7.x&quot;&gt;lircd.conf&lt;/a&gt; que je vous mets à disposition en annexe.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;&lt;ins&gt;Remarque 2&lt;/ins&gt; :&lt;/strong&gt; Je n'en avais pas parlé, mais depuis quelques mois et une mise à jour du kernel, le module ati_remote2 pour l'ATI Remote Wonder II est directement pris en compte par &lt;a href=&quot;http://en.wikipedia.org/wiki/Linux_kernel#Versions&quot; hreflang=&quot;en&quot; title=&quot;Linux kernel Vanilla&quot;&gt;Vanilla&lt;/a&gt;. Pour utiliser lirc_atiusb à la place de ati_remote2, il faudra passer par un blacklistage :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;root@enterprise ~&amp;gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; /etc/modprobe.d/blacklist | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; ati&lt;br /&gt;
blacklist ati_remote2&lt;/code&gt;</description>
    
          <enclosure url="http://www.llaumgui.com/public/files/config/lircmd.conf"
      length="554" type="text/plain" />
          <enclosure url="http://www.llaumgui.com/public/files/config/lircd.conf"
      length="2887" type="text/plain" />
          <enclosure url="http://www.llaumgui.com/public/files/config/_.lircrc"
      length="2022" type="text/plain" />
          <enclosure url="http://www.llaumgui.com/public/files/config/lircd_legacy.conf"
      length="2861" type="text/plain" />
    
    
          <comments>http://www.llaumgui.com/post/ATI-Remote-Wonder-II-lirc-081-et-lircdconf-%3A-Enquete#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/ATI-Remote-Wonder-II-lirc-081-et-lircdconf-%3A-Enquete#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/173</wfw:commentRss>
      </item>
    
  <item>
    <title>Faut il légiférer sur une ouverture des spécificités hardware ?</title>
    <link>http://www.llaumgui.com/post/Faut-il-legiferer-sur-une-ouverture-des-specificitees-hardware</link>
    <guid isPermaLink="false">urn:md5:516964bcecc3e8085c1931c3782e4348</guid>
    <pubDate>Sun, 04 Mar 2007 14:06:00 +0100</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>ALI</category><category>ATI</category><category>drivers</category><category>hardware</category><category>libre</category><category>PC portable</category><category>politique</category>    
    <description>    &lt;p&gt;En cette période électorale, c'est en effet la question que je me pose...&lt;br /&gt;
On pourrait faire le parallèle avec la &lt;a hreflang=&quot;fr&quot; title=&quot;Loi nº 94-665 du 4 août 1994 relative à l'emploi de la langue française&quot; href=&quot;http://fr.wikipedia.org/wiki/Loi_Toubon&quot;&gt;loi Toubon&lt;/a&gt; qui oblige chaque produits ou logiciels vendus en France à ce qu'il soient livrés avec une notice en français; c'est aussi cette même loi qui transforme les airbag en coussin-gonflable, mais là je m'éloigne  ;-).&lt;/p&gt;
&lt;p&gt;Mon idée serait d'obliger chaque fabriquants vendant du matériel nu (ce qui n'est pas le cas de &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.apple.com/fr/&quot;&gt;Apple&lt;/a&gt; qui vend le soft et le hard) a :&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Soit fournir des pilotes respectables,&lt;/li&gt;
&lt;li&gt;Soit à ouvrir les spécificités afin que la communauté puissent faire ce que la firme refuse de faire.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Prenons le cas d'&lt;a hreflang=&quot;en&quot; href=&quot;http://www.ali.com.tw/eng/about/index.htm&quot;&gt;ALI&lt;/a&gt; qui est leader dans le domaine des webcams embarquées sur les PC portables, &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.csquad.org/2006/02/01/support-linux-pour-le-chipset-de-webcam-ali-m5603c/&quot;&gt;mais qui ne livre aucun pilote Linux&lt;/a&gt;  et dont le &lt;a hreflang=&quot;en&quot; href=&quot;http://sourceforge.net/projects/m560x-driver/&quot;&gt;projet de pilotes libres&lt;/a&gt; stagne pour cause de &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/R%C3%A9tro-ing%C3%A9nierie&quot;&gt;reverse engineering&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Autre exemple : &lt;a hreflang=&quot;en&quot; href=&quot;http://ati.amd.com/&quot;&gt;ATI&lt;/a&gt; qui livre des pilotes de qualité douteuse (j'utilise les libres tellement les &lt;a hreflang=&quot;en&quot; href=&quot;http://ati.amd.com/support/drivers/linux/linux-radeon.html&quot; title=&quot;fglrx - Drivers proprios pour cartes ATI&quot;&gt;fglrx&lt;/a&gt; sont daubesques) développés par 3 pauvres développeurs dépassés.&lt;/p&gt;
&lt;p&gt;Bref, on pourrait résumerer cette loi par : « Faites de bons drivers dignes de ce nom ou permetez nous de les faire. »&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/Faut-il-legiferer-sur-une-ouverture-des-specificitees-hardware#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Faut-il-legiferer-sur-une-ouverture-des-specificitees-hardware#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/163</wfw:commentRss>
      </item>
    
  <item>
    <title>Carte ATI, drivers radeon vs fglrx</title>
    <link>http://www.llaumgui.com/post/Carte-ATI-drivers-radeon-vs-fglrx</link>
    <guid isPermaLink="false">urn:md5:b570077a6cc0c05ff334ce975c0a8236</guid>
    <pubDate>Tue, 21 Nov 2006 22:51:00 +0100</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>AIGLX</category><category>ATI</category><category>Beryl</category><category>Compiz</category><category>drivers</category><category>hardware</category><category>NVIDIA</category>    
    <description>&lt;p&gt;Alors que sur &lt;a href=&quot;http://www.llaumgui.com/post/un-nouveau-venu-au-sein-de-starfleet&quot; hreflang=&quot;fr&quot;&gt;ma station de travail&lt;/a&gt;, &lt;a href=&quot;http://www.llaumgui.com/post/Fedora-Core-6-Compiz-vs-Beryl&quot; hreflang=&quot;fr&quot;&gt;la question ne se pose pas&lt;/a&gt; (grâce à la puissance des &lt;a href=&quot;http://doc.fedora-fr.org/Configuration_d_%27_AIGLX#Cartes_nVidia&quot; hreflang=&quot;fr&quot;&gt;drivers NVIDIA&lt;/a&gt;); sur &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.llaumgui.com/post/fedora-core-et-mon-asus-a6va-q038h&quot;&gt;mon portable&lt;/a&gt; (&lt;a hreflang=&quot;en&quot; href=&quot;http://ati.amd.com/&quot;&gt;ATI&lt;/a&gt; powered) le choix est Cornélien :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A ma droite, les drivers &lt;a hreflang=&quot;fr&quot; href=&quot;http://doc.fedora-fr.org/Configuration_d_%27_AIGLX#Cartes_ATI_.28pilote_DRI.29&quot;&gt;radeon&lt;/a&gt;, &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Open_Source&quot;&gt;open-source&lt;/a&gt;, compatibles &lt;a hreflang=&quot;fr&quot; href=&quot;http://doc.fedora-fr.org/Configuration_d_%27_AIGLX&quot;&gt;AIGLX/Composite&lt;/a&gt;, mais très gourmands  en ressources et sans accélération 3D. Bref, un veau !&lt;/li&gt;
&lt;li&gt;A ma gauche, les drivers closed-source de chez ATI : &lt;a hreflang=&quot;fr&quot; href=&quot;http://doc.fedora-fr.org/Carte_ATI_:_installation_des_pilotes#Installer_le_pilote_depuis_le_d.C3.A9p.C3.B4t_livna&quot;&gt;fglrx&lt;/a&gt;. Compatibles ni AIGLX, ni Composite, mais l'accélération 3D et les perfs sont là.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Mais pourquoi ai-je acheté une ATI ? Car malheureusement ATI domine le secteur du PC portable. Cependant ils se contrent-fou des utilisateurs de Linux, c'est pour cela que je vais m'orienter vers un boycotte pure et simple des produits ATI !&lt;/p&gt;    &lt;p&gt;L'avenir d'ATI sous Linux ?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Changement de politique grâce au rachat par &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.amd.com/fr-fr/&quot;&gt;AMD&lt;/a&gt; ? Je demande à voir...&lt;/li&gt;
&lt;li&gt;Une hypothétique version 9 des drivers embarquant un système compatible composite proche de la solution concurrente de &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.nvidia.fr/&quot;&gt;NVIDIA&lt;/a&gt; ? Oui, mais quand ?&lt;/li&gt;
&lt;li&gt;L'utilisation d'&lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Xgl&quot;&gt;XGL&lt;/a&gt; ?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;C'est en tout cas vers cette dernière solution que je vais me tourner dans un futur proche, surtout que FC5 + fglrx + XGL tournaient pas mal ensemble...&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/Carte-ATI-drivers-radeon-vs-fglrx#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Carte-ATI-drivers-radeon-vs-fglrx#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/117</wfw:commentRss>
      </item>
    
  <item>
    <title>LLaumgui plus fort que cpuspeed ?</title>
    <link>http://www.llaumgui.com/post/LLaumgui-plus-fort-que-cpuspeed</link>
    <guid isPermaLink="false">urn:md5:b3ab69cfd78e120453af6cffa218cbe4</guid>
    <pubDate>Sun, 19 Nov 2006 00:05:00 +0100</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>Centrino</category><category>cpuspeed</category><category>Fedora</category><category>hardware</category><category>i686</category><category>kernel</category>    
    <description>&lt;p&gt;Pour ceux qui ont suivie &lt;a href=&quot;http://www.llaumgui.com/post/Fedora-Core-6-bonjour-et-a-bientot&quot; hreflang=&quot;fr&quot;&gt;ma précédente aventure sous Fedora Core 6 avec mon portable&lt;/a&gt;, vous avez pus remarquer que j'avais eu de gros problèmes. Et bien ils sont, depuis peu, tous résolus !&lt;/p&gt;


&lt;p&gt;Je vais faire un rapide résumé des problèmes mineurs puis je m'attarderais sur le cas de &lt;a href=&quot;http://carlthompson.net/Software/CPUSpeed&quot; hreflang=&quot;en&quot;&gt;cpuspeed&lt;/a&gt; qui part en vrille sur mon &lt;a href=&quot;http://fr.wikipedia.org/wiki/Centrino&quot; hreflang=&quot;fr&quot;&gt;Centrino&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;1er problème, un kernel i586&lt;/strong&gt; -&amp;gt; Bon, bien qu'il existe &lt;a href=&quot;http://forums.fedora-fr.org/viewtopic.php?id=15304&quot; hreflang=&quot;fr&quot;&gt;une solution&lt;/a&gt;, cette fois si je me suis retrouvé avec un vrai i686... Va comprendre !&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;2ème problème, Bios bug&lt;/strong&gt; -&amp;gt; Le bug est toujours là (c'est un bug des &lt;a href=&quot;http://fr.wikipedia.org/wiki/BIOS&quot; hreflang=&quot;fr&quot;&gt;BIOS&lt;/a&gt; Intel) mais avec le nouveau kernel (2.6.18-1.2849.fc6), je ne m'arrête pas 30 secondes dessus (ça c'était un bug du premier kernel 2.6.18) et je mets pas 2 minutes à lancer mon portable.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;4ème problème, Plus de WiFi&lt;/strong&gt;  -&amp;gt; Suffisait de récupérer mes fichiers de conf de FC5 ;-).&lt;/li&gt;
&lt;/ul&gt;    &lt;p&gt;Maintenant que les menus problèmes sont réparés, attardons nous sur cpuspeed... J'ai tout tenté, même d'installer la dernière version dans le dépôt testing, mais rien ! Pour ceux qui n'ont pas suivie &lt;a href=&quot;http://forums.fedora-fr.org/viewtopic.php?id=14879&quot; hreflang=&quot;fr&quot;&gt;mon aventure sur les forums de fedora-fr&lt;/a&gt;, en voici un petit résumé :&lt;/p&gt;


&lt;p&gt;Le symptômes :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;root@defiant /home/llaumgui&amp;gt; service cpuspeed start&lt;br /&gt;
root@defiant /home/llaumgui&amp;gt; service cpuspeed status&lt;br /&gt;
cpuspeed est arrêté...&lt;/code&gt;

&lt;code class=&quot;bash&quot;&gt;root@defiant /home/llaumgui&amp;gt; /usr/sbin/cpuspeed&lt;/code&gt;

&lt;p&gt;Pas de problème ni de message...&lt;br /&gt;
Je me tourne vers le fichier de lancement du service cpuspeed (/etc/init.d/cpuspeed) et compare les versions FC5 et FC6&lt;/p&gt;


&lt;p&gt;Version FC5 :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Startup script &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; cpuspeed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# chkconfig: &lt;span style=&quot;color: #000000;&quot;&gt;12345&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;06&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;99&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# description: Run dynamic CPU speed daemon&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Source &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;function&lt;/span&gt; library.&lt;/span&gt;&lt;br /&gt;
. /etc/rc.d/init.d/functions&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -f /usr/sbin/cpuspeed &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; || &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;exit&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #007800;&quot;&gt;prog=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;cpuspeed&amp;quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Get config.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -f /etc/cpuspeed.conf &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . /etc/cpuspeed.conf&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
start&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; ! -f /var/lock/subsys/cpuspeed &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Attempt to load scaling_driver &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; not loaded but it is configured&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;file&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# We want to run the code below only &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; the&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# wildcard above got no matches.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; ! -f &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$file&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; || &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;break&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -n &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$DRIVER&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /sbin/modprobe &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$DRIVER&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# use ACPI &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;as&lt;/span&gt; a fallback &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; its available.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -f /proc/acpi/processor/CPU0/throttling &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Check we have throttling states available.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;thr=&lt;/span&gt;`&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;head&lt;/span&gt; -n1 -q /proc/acpi/processor/CPU*/throttling | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;uniq&lt;/span&gt;`&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$thr&amp;quot;&lt;/span&gt; != &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;&amp;lt;not supported&amp;gt;&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /sbin/modprobe acpi-cpufreq&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# If we get this far with no driver, we must have no ACPI. We&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'re doomed.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ ! -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver ] &amp;amp;&amp;amp; return 0&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo -n $&amp;quot;Starting $prog: &amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; daemon cpuspeed -d $OPTS&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RETVAL=$?&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ $RETVAL = 0 ] &amp;amp;&amp;amp; touch /var/lock/subsys/cpuspeed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; fi&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return $RETVAL&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
stop() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if test &amp;quot;x`pidof cpuspeed`&amp;quot; != x; then&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo -n $&amp;quot;Stopping $prog: &amp;quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; killproc cpuspeed -USR1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; killproc cpuspeed -INT&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo&lt;br /&gt;
&amp;nbsp; &amp;nbsp; fi&lt;br /&gt;
&amp;nbsp; &amp;nbsp; if test &amp;quot;x`pidof cpuspeed`&amp;quot; != x; then&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; killproc cpuspeed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; fi&lt;br /&gt;
&amp;nbsp; &amp;nbsp; RETVAL=$?&lt;br /&gt;
&amp;nbsp; &amp;nbsp; [ $RETVAL = 0 ] &amp;amp;&amp;amp; rm -f /var/lock/subsys/cpuspeed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; return $RETVAL&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
&amp;nbsp; &amp;nbsp; start)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; start&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; stop)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; status)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status cpuspeed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; restart)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; start&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; condrestart)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if test &amp;quot;x`pidof cpuspeed`&amp;quot; != x; then&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; start&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; *)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo $&amp;quot;Usage: $0 {start|stop|restart|condrestart|status}&amp;quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exit 1&lt;br /&gt;
&lt;br /&gt;
esac&lt;br /&gt;
&lt;br /&gt;
exit $RETVAL&lt;/span&gt;&lt;/code&gt;


&lt;p&gt;Version FC6 :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Startup script &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; cpuspeed&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;#&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# chkconfig: &lt;span style=&quot;color: #000000;&quot;&gt;12345&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;06&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;99&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# description: Run dynamic CPU speed daemon&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Source &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;function&lt;/span&gt; library.&lt;/span&gt;&lt;br /&gt;
. /etc/rc.d/init.d/functions&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -f /usr/sbin/cpuspeed &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; || &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;exit&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #007800;&quot;&gt;prog=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;cpuspeed&amp;quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Get config.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -f /etc/cpuspeed.conf &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . /etc/cpuspeed.conf&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
start&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; ! -f /var/lock/subsys/cpuspeed &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# Attempt to load scaling_driver &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; not loaded but it is configured&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;file&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# We want to run the code below only &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; the&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# wildcard above got no matches.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; ! -f &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$file&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; || &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;break&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -n &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$DRIVER&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /sbin/modprobe &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$DRIVER&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; -d /proc/acpi &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;EST=&lt;/span&gt;`&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; flags /proc/cpuinfo | &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;grep&lt;/span&gt; est`&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$EST&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# use ACPI &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;as&lt;/span&gt; a fallback&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /sbin/modprobe acpi-cpufreq&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# even ACPI didn&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'t work, remove it, and bail out.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if [ -d /sys/devices/system/cpu/cpu0/cpufreq ]; then&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /sbin/rmmod acpi-cpufreq&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # This is a no-ACPI machine. Just exit.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fi&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; done&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # If we get this far with no driver, we must have no ACPI. We'&lt;/span&gt;re doomed.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; ! -f /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; &amp;amp;&amp;amp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;drv=&lt;/span&gt;$&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$drv&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; centrino|powernow-k8&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /sbin/modprobe cpufreq-ondemand&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; i &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; /sys/devices/system/cpu/cpu*&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; ondemand &amp;gt; &lt;span style=&quot;color: #007800;&quot;&gt;$i&lt;/span&gt;/cpufreq/scaling_governor&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;RETVAL=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; -n $&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Starting $prog: &amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; daemon cpuspeed -d &lt;span style=&quot;color: #007800;&quot;&gt;$OPTS&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;RETVAL=&lt;/span&gt;$?&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$RETVAL&lt;/span&gt; = &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; &amp;amp;&amp;amp; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;touch&lt;/span&gt; /var/lock/subsys/cpuspeed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;esac&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$RETVAL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
stop&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;drv=&lt;/span&gt;$&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$drv&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; centrino|powernow-k8&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /sbin/rmmod cpufreq-ondemand&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;RETVAL=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; *&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;test&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;x`pidof cpuspeed`&amp;quot;&lt;/span&gt; != x; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; -n $&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Stopping $prog: &amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; killproc cpuspeed -USR1&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; killproc cpuspeed -INT&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;test&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;x`pidof cpuspeed`&amp;quot;&lt;/span&gt; != x; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; killproc cpuspeed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;RETVAL=&lt;/span&gt;$?&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$RETVAL&lt;/span&gt; = &lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt; &amp;amp;&amp;amp; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;rm&lt;/span&gt; -f /var/lock/subsys/cpuspeed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;esac&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$RETVAL&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$1&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; start&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; start&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; stop&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; status&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status cpuspeed&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; restart&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; start&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; condrestart&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;test&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;x`pidof cpuspeed`&amp;quot;&lt;/span&gt; != x; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;then&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; start&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;fi&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; *&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; $&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;Usage: $0 {start|stop|restart|condrestart|status}&amp;quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;exit&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;esac&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;exit&lt;/span&gt; &lt;span style=&quot;color: #007800;&quot;&gt;$RETVAL&lt;/span&gt;&lt;/code&gt;


&lt;p&gt;Je remarque de suite une nuance, les centrino sont passé en monde ondemand :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$drv&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; centrino|powernow-k8&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /sbin/modprobe cpufreq-ondemand&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; i &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; /sys/devices/system/cpu/cpu*&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; ondemand &amp;gt; &lt;span style=&quot;color: #007800;&quot;&gt;$i&lt;/span&gt;/cpufreq/scaling_governor&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #007800;&quot;&gt;RETVAL=&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ;;&lt;/code&gt;


&lt;p&gt;Il suffit donc de modifier les lignes en question en virant centrino pour que cpuspeed se lance sans problème comme sous Fedora Core 5...&lt;/p&gt;


&lt;p&gt;La question est : pourquoi un ordinateur dont l'architecture est orientée mobilité est forcé en mode ondemand ? ? ? ! ! !&lt;br /&gt;
Je vais étudier la question et peut être rapporter un bug... Je reste cependant ouvert à vos remarques...&lt;br /&gt;
En attendant,  la fréquence de mon ordinateur varie sans problème comme avant...&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/LLaumgui-plus-fort-que-cpuspeed#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/LLaumgui-plus-fort-que-cpuspeed#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/114</wfw:commentRss>
      </item>
    
  <item>
    <title>Ca y est ! Je l'ai fait !</title>
    <link>http://www.llaumgui.com/post/Ca-y-est-Je-lai-fait</link>
    <guid isPermaLink="false">urn:md5:3be89887e28d9a11b31a817c13e5c6a4</guid>
    <pubDate>Sun, 05 Nov 2006 20:57:00 +0100</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>AIGLX</category><category>Beryl</category><category>Bureau du mois</category><category>Compiz</category><category>drivers</category><category>Echo</category><category>Fedora</category><category>Fedora Core 6</category><category>hardware</category><category>i686</category><category>NVIDIA</category><category>Xorg</category>    
    <description>&lt;p&gt;Et oui, après &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.llaumgui.com/post/Fedora-Core-6-bonjour-et-a-bientot&quot;&gt;l'échec de la migration de mon portable&lt;/a&gt;, je viens de basculer &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.llaumgui.com/post/un-nouveau-venu-au-sein-de-starfleet&quot;&gt;ma station de travail&lt;/a&gt; sans trop de problème sous Fedora Core 6. J'ai profité de cette bascule pour installer les drivers bêta de chez nvidia ainsi que &lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/AIGLX&quot;&gt;AIGLX&lt;/a&gt;/&lt;a hreflang=&quot;fr&quot; href=&quot;http://fr.wikipedia.org/wiki/Compiz&quot;&gt;Compiz&lt;/a&gt; et leur &lt;em&gt;Desktop Effects&lt;/em&gt;.&lt;br /&gt;
J'en ai même profité pour tester &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.beryl-project.org/&quot;&gt;Beryl&lt;/a&gt;, dont &lt;a hreflang=&quot;fr&quot; href=&quot;http://blog.titax.fr/post/Fedora-Core-6-et-Beryl.html&quot;&gt;parle TitaX&lt;/a&gt; sur &lt;a hreflang=&quot;fr&quot; href=&quot;http://blog.titax.fr&quot;&gt;son blog&lt;/a&gt;, mais je trouve que trop d'effets tus l'effet et donne le mal de mer !&lt;/p&gt;    &lt;p&gt;A switcher, autant switcher pour de bon, j'en ai aussi profité pour passer mon &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.mozilla-europe.org/fr/products/firefox/&quot;&gt;Firefox&lt;/a&gt; en version 2.0 et pour refaire toute ma configuration histoire de partir sur une base saine.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.llaumgui.com/public/images/geek/fedoracore6-firefox.png&quot;&gt;&lt;img src=&quot;http://www.llaumgui.com/public/images/geek/.fedoracore6-firefox_s.jpg&quot; alt=&quot;fedoracore6-firefox.png&quot; style=&quot;margin: 0 auto; display: block;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Pour installer les drivers bêta de chez nvidia/livna :&lt;/h2&gt;
&lt;code class=&quot;bash&quot;&gt;yum --&lt;span style=&quot;color: #007800;&quot;&gt;enablerepo=&lt;/span&gt;livna-testing &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;install&lt;/span&gt; kmod-nvidia&lt;/code&gt;
&lt;h2&gt;Pour installer beryl :&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.titax.fr/post/Fedora-Core-6-et-Beryl.html&quot; hreflang=&quot;fr&quot; title=&quot;Fedora Core 6 et Beryl&quot;&gt;Je vous conseil de lire le blog de l'ami titax&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Quelques captures (AiglX, pas Beryl) :&lt;/h2&gt;
&lt;p&gt;Quelques captures d'écrans et vous trouverez mon fichier xorg.conf en document attaché à ce billet.&lt;/p&gt;
&lt;p class=&quot;center&quot;&gt;&lt;a href=&quot;http://www.llaumgui.com/public/images/geek/fedoracore6-cube.png&quot;&gt;&lt;img src=&quot;http://www.llaumgui.com/public/images/geek/.fedoracore6-cube_s.jpg&quot; alt=&quot;fedoracore6-cube.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Les effets permettent de regarder un épisode de Prison Break à cheval sur 2 bureau ;-).&lt;/p&gt;
&lt;p class=&quot;center&quot;&gt;&lt;a href=&quot;http://www.llaumgui.com/public/images/geek/mon_desk0611.png&quot;&gt;&lt;img src=&quot;http://www.llaumgui.com/public/images/geek/.mon_desk0611_s.jpg&quot; alt=&quot;mon_desk0611.png&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
J'en ai aussi profité pour installer le nouveau thèmes d'icones en préparation pour FC7 : echo :
&lt;code class=&quot;bash&quot;&gt;yum --&lt;span style=&quot;color: #007800;&quot;&gt;enablerepo=&lt;/span&gt;development &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;install&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt;*&lt;/code&gt;
Pour l'images de fond, c'est &lt;a href=&quot;http://www.gnome-look.org/content/show.php?content=46270&quot; hreflang=&quot;fr&quot; title=&quot;Fedora Cube&quot;&gt;Fedora Cube&lt;/a&gt; de &lt;a href=&quot;http://www.c100c.com/&quot; hreflang=&quot;fr&quot;&gt;mola&lt;/a&gt;.</description>
    
          <enclosure url="http://www.llaumgui.com/public/files/config/xorg.conf"
      length="2942" type="text/plain" />
    
    
          <comments>http://www.llaumgui.com/post/Ca-y-est-Je-lai-fait#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Ca-y-est-Je-lai-fait#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/109</wfw:commentRss>
      </item>
    
  <item>
    <title>Fedora Core 6, bonjour et à bientôt</title>
    <link>http://www.llaumgui.com/post/Fedora-Core-6-bonjour-et-a-bientot</link>
    <guid isPermaLink="false">urn:md5:1ba3287ab3614a7f11f9822ae74daa79</guid>
    <pubDate>Sun, 22 Oct 2006 16:14:00 +0200</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Linux</category>
        <category>Centrino</category><category>cpuspeed</category><category>Fedora</category><category>Fedora Core 5</category><category>Fedora Core 6</category><category>hardware</category><category>i586</category><category>i686</category><category>install party</category><category>kernel</category>    
    <description>&lt;p&gt;Alors que &lt;a href=&quot;http://forums.fedora-fr.org/viewtopic.php?id=14699&quot; hreflang=&quot;fr&quot; title=&quot;Zod&quot;&gt;Zod&lt;/a&gt; n'a pas encore pointé  officiellement le bout de son nez, en vu de l'&lt;a href=&quot;http://www.llaumgui.com/post/Inscription-a-la-Fedora-Party-du-28-Octobre-a-la-Cite-des-sciences&quot; hreflang=&quot;fr&quot; title=&quot;Inscription à la Fedora Party du 28-Octobre à la Cite des sciences&quot;&gt;install party de Samedi&lt;/a&gt;, j'ai tenté de faire un migration de mon portable de FC5 vers FC6.
Puis devant les problèmes, une complète réinstallation. Puis devant les nouveaux problèmes une pose, une réflexion et un tour sur le &lt;a href=&quot;http://www.fedora-fr.org/irc&quot; hreflang=&quot;fr&quot; title=&quot;Chan IRC #fedora-fr&quot;&gt;Chan&lt;/a&gt; avec les copains.&lt;/p&gt;    &lt;h2&gt;1er problème, un kernel i586 :&lt;/h2&gt;

&lt;p&gt;Grâce aux indices du &lt;a href=&quot;http://drpixel.tuxfamily.org/&quot; hreflang=&quot;fr&quot; title=&quot;Le blog de drpixel&quot;&gt;docteur&lt;/a&gt;, je me suis rendu compte que j'étais en i586 sur mon Intel Centrino... Anaconda dans son infinie délire m'avais affublé d'un kernel i585.&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#91;&lt;/span&gt;root@defiant llaumgui&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;# &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;file&lt;/span&gt; /lib/modules/&lt;span style=&quot;color: #000000;&quot;&gt;2.6&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.18&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;-1.2798&lt;/span&gt;.fc6/build&lt;/span&gt;&lt;br /&gt;
/lib/modules/&lt;span style=&quot;color: #000000;&quot;&gt;2.6&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.18&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;-1.2798&lt;/span&gt;.fc6/build: symbolic &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;link&lt;/span&gt; to `../../../usr/src/kernels/&lt;span style=&quot;color: #000000;&quot;&gt;2.6&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.18&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;-1.2798&lt;/span&gt;.fc6-i586&lt;span style=&quot;color: #ff0000;&quot;&gt;'&lt;/span&gt;&lt;/code&gt;


&lt;p&gt;Bref la solution fut donc pour moi :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;rpm -ivh --force &lt;span style=&quot;color: #ff0000;&quot;&gt;'/root/Desktop/kernel-2.6.18-1.2798.fc6.i686.rpm'&lt;/span&gt;&lt;/code&gt;


&lt;h2&gt;2ème problème, Bios bug :&lt;/h2&gt;

&lt;p&gt;Dès le boot :&lt;/p&gt;
&lt;code class=&quot;bash&quot;&gt;PCI: BIOS bug: MCFG area@e0000000 is not E820 reserved&lt;br /&gt;
PCI: not using MMCONFIG&lt;/code&gt;

&lt;p&gt;Apparemment je suis en présence d'un bug du kernel Linux. La solution attendre un nouveau kernel...&lt;/p&gt;


&lt;h2&gt;3ème problème, acpi_cpufreq bug :&lt;/h2&gt;
&lt;code class=&quot;bash&quot;&gt;ksign: module signed with unknow public key&lt;br /&gt;
FATAL: Error inserting acpi_cpufreq&lt;br /&gt;
&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;/lib/modules/&lt;span style=&quot;color: #000000;&quot;&gt;2.6&lt;/span&gt;&lt;span style=&quot;color: #000000;&quot;&gt;.18&lt;/span&gt;.../kernel/&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;arch&lt;/span&gt;/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;:&lt;br /&gt;
No such device&lt;/code&gt;

&lt;p&gt;Dans la ligné de mes problèmes de bios je présume...&lt;/p&gt;


&lt;h2&gt;4ème problème, Plus de WiFi :&lt;/h2&gt;

&lt;p&gt;J'avoue ne pas avoir trop cherché la solution, trop mare !&lt;/p&gt;


&lt;h2&gt;Solution générale&lt;/h2&gt;

&lt;p&gt;Une réinstallation de Fedora Core 5 qui elle marche nickel ! En attendant une mise à jour...&lt;/p&gt;


&lt;p&gt;Je trouve quand même dommage que pas assez de personnes participent à la Rawhide et rapportent les bugs. Plus on sera nombreux à déboguer Fedora Core, plus Fedora Core avancera et sera stable à sa sortie. J'irais même jusqu'à dire qu'à cause de ça, les 2 premières semaines d'existences d'une version Fedora correspondent à une séance de débug massive.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/Fedora-Core-6-bonjour-et-a-bientot#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Fedora-Core-6-bonjour-et-a-bientot#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/rss2/comments/104</wfw:commentRss>
      </item>
    
</channel>
</rss>