roothausen

  • Impressum
  • Administration
  • Kontaktformular
  • Jabber
  • Tagcloud
  • Twitter
  • Soup
  • Github

Entries tagged as linux

Entries tagged as linux

Related tags

android apple code computer google gui ios iphone jabber java misc mobile opensource presentation programming rant screenshot sdk shortys software tail -f /var/log/life video web webdesign xml zeitgeist changes bad world blog blogging captcha contentmanagement hardware linux&unix murphy s9y security server spam wordpress documentation feedreader html http markup networking realtime rest rss ruby scala stuff swing tool websockets webwide windows xslt browser cheatsheet comic css datamining dns eigenfaces encryption firefox fun howto im javascript life lighttpd mail media newsbeuter picture podcast politics privacy psi regular expression subnetting test truecrypt unix tv conference dslr nikon photography 42 coffee free science codec perl vp8 forum unb

CPU-Frequency-Scaling Probleme

00:35

Sunday, February 7. 2010

Ich bin, wie bereits bekannt sein sollte, seit knapp 3 Jahren Besitzer eines Thinpkpad T60. Leider hatte ich hiermit in der Letzten Zeit Probleme mit dem CPU-Frequency-Scaling: Wenn man das Notebook über das Netzteil mit Strom versorgt hat und der Akku entfernt war, wurde die CPU dauerhaft auf ihre minimale Taktfrequenz herunter geregelt. Diesen Zustand hat auch das Tool cpufreq-info bestätigt:

cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.83 GHz
  available frequency steps: 1.83 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1000 MHz
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1000 MHz (asserted by call to hardware).

Nach einer kurzen Suche habe ich im Thinkwiki eine passende Lösung gefunden: Das Anhängen des Parameters "processor.ignore_ppc=1" an die Kerneloptionen im Bootloader. Ein passender Eintrag sollte bei grub ungefähr so aussehen:

# (0) Arch Linux
title  Arch Linux-ck
root   (hd0,1)
kernel /vmlinuz26-ck [weitere optionen] processor.ignore_ppc=1
initrd /kernel26-ck.img
 

Nach dieser Änderung und reinem Neustart des Notebooks skaliert die CPU nun bei Last auch wieder sauber auf höhere Taktfrequenzen:

analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.83 GHz
  available frequency steps: 1.83 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1.83 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1000 MHz (asserted by call to hardware).
Posted by Sven Pfleiderer in computer | Comments (0) | Trackbacks (0)
Defined tags for this entry: computer, hardware, linux

Jetzt auch in audio

19:55

Saturday, October 17. 2009

Der Ingo hat mich vor ein paar Tagen dazu eingeladen bei Radiotux etwas zu Google Wave zu erzählen.

Letzten Donnerstag war es dann so weit und ich war bei radiotux@horads zu Gast und habe mich etwas an der Diskussion beteiligt. Leider sind wir aus unterschiedlichen Gründen nicht mehr zu Wave gekommen. Das wird dann wahrscheinlich in einer anderen Sendung nachgeholt.

Sollte sich also jemand dafür interessieren was der Herr aus roothausen so zu erzählen hat: Hört euch den Podcast an. ;-)

Posted by Sven Pfleiderer | Comment (1) | Trackbacks (0)
Defined tags for this entry: computer, google, linux, media, podcast, tail -f /var/log/life

Verkleinern von Bildern mit Ruby und Imagemagick

16:38

Sunday, August 9. 2009

Vor kurzem hatte ich das Bedürfnis Bilder automatisiert, mit Hilfe eines Ruby-Scripts, zu verkleinern. Dieses Script sollte zudem ohne Änderungen sowohl auf Linux als auch auf Windows lauffähig sein.

Fuer diese Aufgabe ist Imagemagick natürlich ein super Werkzeug, da man es auch als Bibliothek von Ruby aus nutzen kann und auch für Windows verfuegbar ist. Unter Windows ist hierfür eine Installation von Ruby, sowie die Installation von Imagemagick und dem passenden RMagick Ruby-Gem notwendig. Unter Linux reicht es Imagamagick und Ruby mit dem Paketmanager seiner Wahl zu installieren und mittels "gem install rmagick" das Gem zu installieren.

Der eigentliche Code gestaltet sich relativ simpel. Prinzipiell lässt sich ein Bild mit wenigen Anweisungen verkleinern:


#!/usr/bin/env ruby

require 'rubygems'
require 'RMagick'

@debug = true

def resize_image(file)
   puts "let's resize #{file} ..." if @debug
   img = Magick::Image::read(file).first
   img.resize_to_fit(1024, 1024)
   img.write(file)
   puts "resizing of #{file} successful" if @debug
end
 

Die Methode resize_to_fit() sorgt hier für das Verkleinern auf bestimmte Maximalwerte in Länge und Breite. Weiteres erfährt man aus der Doku.

Posted by Sven Pfleiderer in computer | Comments (2) | Trackbacks (0)
Defined tags for this entry: code, computer, linux, programming, ruby, shortys, software, windows

Medianight 2009

21:05

Wednesday, July 1. 2009

Medianight

Morgen, am Donnerstag den 02.07.2009 wird an meiner Hochschule wieder die Medianight stattfinden. Hier werden die Studenten ihre Projekte des letzten Semesters praesentieren. Ich werde dort unter anderem mit meinem eigenen Projekt am Start sein.

YAXIM

Wie schon zuvor gesagt, werde ich zusammen mit Chris unser Semesterprojekt, das den Namen YAXIM traegt, vorstellen. YAXIM steht fuer "Yet Another XMPP Instant Messenger" und ist ein Jabberclient fuer die Android-Plattform. Als kleinen Vorgeschmack folgen hier noch unsere Folien und das Video der heutigen Praesentation:


Posted by Sven Pfleiderer in computer | Comments (5) | Trackback (1)
Defined tags for this entry: android, code, computer, jabber, java, linux, opensource, presentation, programming, software, video

Slides: OpenWRT

20:07

Thursday, June 4. 2009

Fuer diejenigen, die es nicht auf den LinuxDay geschafft haben, moechte ich nun noch unsere Slides zum Thema OpenWRT veroeffentlichen:

Hier gibt es die Praesentation auch noch als PDF

Posted by Sven Pfleiderer in computer, misc | Comments (0) | Trackbacks (0)
Defined tags for this entry: computer, hardware, linux, misc, opensource, presentation, screenshot, tail -f /var/log/life

LinuxDay: Finales Programm

13:48

Thursday, May 21. 2009

Es gibt nun mittlerweile schon seit ein paar Tagen das finale Programm zum LinuxDay. Da ich allerdings die letzten Tage etwas viel um die Ohren hatte, komme ich erst jetzt dazu, darauf hinzuweisen.

Zeit         Thema

13:15-13:30  Welcome & Log in
             Christoph Lindenmüller, Hochschule der Medien Stuttgart

13:30-14:30  OpenWRT Linux auf dem Router
             Own your DSL router
             Moritz Seltmann & Sven Pfleiderer, Hochschule der Medien Stuttgart

14:45-15:45  Open Source Groupware
             Own your organisation
             Helmut Neuberger, Zarafa: MS Exchange replacement

15:45-16:15  Kaffee, Drinks, Diskussion

16:15-17:15  Open Source Groupware II
             Solutions for an Open Campus and the Open Enterprises
             Michael Herkens, OpenXchange

17:30-19:30  Open Source Community World
             Keep the web open: The new web technologies & standards
             Paul Rouget, Mozilla Foundation

             Mozilla: Community, Contribution, Foundation
             NN, Mozilla Foundation

19:45-20:15  Open Source Commuity Local
             1. Linux User Group Stuttgart
             Adrian Reyer, LinuxHaus
             2. Open Source Region Stuttgart
             Hans-Ulrich Schmid, Open Source Region Stuttgart

20:15-22:00  Get Together @ Unithekle
             Allmandring 17, 200m Fussweg

20:15-22:00  OpenWRT Router Workshop @ Unithekle
             Moritz Seltmann, Sven Pfleiderer & Team
Posted by Sven Pfleiderer in misc | Comments (0) | Trackbacks (0)
Defined tags for this entry: life, linux, misc, opensource, web, webwide

Newsbeuter 2.0

21:50

Tuesday, April 21. 2009

Nach langer Wartezeit wurde nun der von mir genutzte und fuer Arch Linux gepflegte Feedreader newsbeuter in der Version 2.0 freigegeben. Die Liste der Neuerungen liesst sich bisher sehr gut:

  • Added more flexible dialog handling
  • Improved position handling in article list (fixes #112; thanks to Isaac Good)
  • Fixed a lot of bugs (#102, #111, #117, #130, #131).
  • Added ability to specify a list of OPML URLs when using OPML as URL source.
  • Added config option "keep-articles-days" to optionally keep articles only for a limited number of days.
  • Added config option "bookmark-interactive" to indicate that the configured bookmarking command is interactive.
  • Don't display authentication information in URLs (fixes #121).
  • Replaced mrss with new RSS/Atom parser.
  • Added ability to search for text from the article view.
  • Added basic support for Yahoo Media RSS.
  • Made article view pager configurable.
  • Improved HTML rendering of links and underlined and bold text.
  • Added ":source" commandline command to (re)load configuration files.
  • Implemented "pipe-to" key to pipe articles to external commands.
  • Implemented backtick evaluation for configuration files.
  • Extended filter language with "between" operator.
  • Added "age" attribute for articles to filter them for relative age (in days).
  • Extended "set" commandline command to toggle boolean variables and reset configuration variables of all types to their default.
  • Added ability to configure local files as feeds.
  • Added a "random-unread" key to go to a random unread article.
  • When opening articles from a search result dialog, make search phrase stand out in article view.
  • Persist commandline and search history.
  • Implemented commandline completion.
  • Improved help dialog so that it now shows unbound functions.
  • Added ability to sort feed list and article list by interactively choosing the sort method.
  • Improved and extended conditional HTTP download handling.

Ich habe gerade die Arbeiten am PKGBUILD fuer Arch Linux fertig gestellt und dieses in AUR hochgeladen. Ich wuensche euch viel Spass damit!

Posted by Sven Pfleiderer in computer, web | Comments (0) | Trackbacks (0)
Defined tags for this entry: computer, feedreader, linux, media, newsbeuter, opensource, unix, web

LinuxDay 2009

23:14

Tuesday, April 14. 2009

Gute Nachrichten: Auch dieses Jahr wird es an der HdM Stuttgart einen LinuxDay geben. Dieses mal bin auch ich aktiv daran beteiligt:

Es steht fest: Es wird einen zweiten LinuxDay an der Hochschule der Medien in Stuttgart geben.
Am 25.05.2009 ab ca. 12.30 Uhr an der Hochschule der Medien
Das Vortragsprogramm wird zur Zeit noch festgezurrt, nähere Informationen folgen in Kürze.

Weitere Infos werden im Blog, bei Markus auf twitter und auch hier veroeffentlicht.

Posted by Sven Pfleiderer in misc, web, zeitgeist | Comments (2) | Trackbacks (0)
Defined tags for this entry: computer, life, linux, misc, opensource, web, webwide, zeitgeist

Upgrade steht an

21:07

Monday, March 2. 2009

Ich werde diesen Server heute Nacht von Debian Etch auf Lenny upgraden. Sollte es hierbei zu einem Ausfall kommen, seit ihr nun vorgewarnt.

Sollte jemand noch nach einem guten Howto fuer das Upgrade suchen, sollte er/sie sich dieses hier zu Gemuete fuehren.

Weitere Links:

  • http://www.golem.de/0903/65638.html
  • http://www.tagesschau.de/inland/wahlcomputer124.html
  • http://ccc.de/updates/2009/wahlcomputer-urteil-bverfg?language=de

Posted by Sven Pfleiderer in computer, zeitgeist | Comments (0) | Trackbacks (0)
Defined tags for this entry: changes, computer, linux, opensource, server, software, zeitgeist

Heute Nacht ...

21:08

Friday, February 13. 2009

... steht uns ein einmaliges Ereignis bevor: Der UNIX-Timestamp wird den Wert 1234567890 erreichen.


date -d@1234567890
Sat Feb 14 00:31:30 CET 2009
 

Den Countdown kann man sich uebrigens hier ankucken. Viel Spass dabei. ;-)

Posted by Sven Pfleiderer in computer, misc, web | Comments (0) | Trackbacks (0)
Defined tags for this entry: computer, linux, misc, software, unix, web, webwide
(Page 1 of 1, totaling 10 entries)

JavaScript String .fromCharCode

Calendar

« May '13 »
Mo Tu We Th Fr Sa Su
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Quicksearch

Kategorien

  • XML computer
  • XML misc
  • XML web
  • XML zeitgeist


All categories

Archiv

  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • Recent...
  • Older...

Feeds

  • XML RSS 2.0 feed
  • ATOM/XML ATOM 1.0 feed
  • XML RSS 2.0 Comments

Links

Retinacast
Shackspace
Yaxim
Radio Tux
Kais Blog
Blumen Pfleiderer
Alk
paxos
filzo
Marc Seeger
polzifer
Moritz Haarmann

Tags

android bad world blog blogging browser changes code comic computer contentmanagement encryption feedreader firefox free fun google gui hardware howto html im jabber java life lighttpd linux linux&unix markup media misc mobile murphy networking newsbeuter opensource picture politics presentation privacy programming regular expression rss ruby s9y scala screenshot sdk security server shortys software stuff tail -f /var/log/life test tool tv unix video web webdesign webwide windows xml zeitgeist

Lizenz

Creative Commons License - Some Rights Reserved