]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.html
Generated.
[homepage.git] / blog / index.html
index 50367cda49919d2fe88d33e1838dea829c95170b..4b84bf7bae6d1b8469b3d2cd60e221542d589280 100644 (file)
 
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/1_4_millioner_potensielle_journalistsamtaler_i_politiets_hender.html">1.4 millioner potensielle journalistsamtaler i politiets hender</a></div>
-      <div class="date">27th November 2012</div>
-      <div class="body"><p>I fjor meldte Dagbladet og andre medier at
-<a href="http://www.dagbladet.no/2011/09/27/nyheter/innenriks/terror/anders_behring_breivik/18323147/">politiet
-hadde samlet inn informasjon om 1.4 millioner telefonsamtaler</a> i
-området rundt Akersgata, regjeringskvartalet og Utøya, i forbindelse
-med etterforskningen rundt bombeattentatet og massemordet 22. juli
-2011.  Politiadvokat Pål-Fredrik Hjort Kraby fortalte i følge
-artikkelen at</p>
-
-<blockquote>
-- «Dette er ikke kun samtaler som knyttes til Breivik. Dette er alle
-samtaler som er registrert på basestasjoner i tilknytning til både
-bomba i Regjeringskvartalet og aksjonen på Utøya. Vi må analysere tid,
-lengde og fra hvilke basestasjoner de er registrert på. Vi prøver å
-finne ut hvem som har ringt til en hver tid, også i dagene før.»
-</blockquote>
-
-<p>Det triste og merkelige er at ingen presseoppslag tok opp hva dette
-egentlig betød for kildevernet.  Et stenkast fra regjeringskvartalet
-befinner redaksjonene til blant annet VG, Dagbladet og Aftenposten
-seg.  Det betyr at et betydelig antall av journalisters samtaler var
-og er tilgjengelig for politiet.  Og dette var ikke en unik hendelse.
-Politiet henter rutinemessig ut informasjon om telefonsamtaler i
-kriminaletterforskningen, og en kan gå ut ifra at det ofte vil være
-noe kriminelt å undersøke nær en redaksjon da redaksjoner holder til i
-sentrum og tettsteder, der det meste av annen aktivitet i et område
-også foregår.  F.eks. befinner Aftenposten seg like ved Oslo
-Sentralstasjon, et ganske kriminelt belastet område, der jeg mistenker
-politiet ofte hente ut samtaleinformasjon.  Og avisen Aftenposten
-annonserte jo for noen år siden at ansatte kun skulle ha mobiltelefon
-(noe de kanskje angret på
-<a href="http://www.digi.no/216833/raadlose-bedrifter-uten-sikkerhetsnett">da
-mobilnettet brøt sammen</a>), hvilket betyr at alle samtaler
-journalistene gjennomfører går via nabolagets mobilbasestasjoner og
-dermed blir med og analysert når politiet ber om informasjon om
-mobilsamtaler i området.  Det samme gjelder antagelig de fleste
-mediehus nå for tiden.</p>
-
-<p>Konsekvensen er at en må gå ut i fra at politiet kan få tilgang til
-informasjon om alle samtaler med journalister, hvilket bør få varslere
-og andre som vil tipse journalister til å tenke seg to ganger før de
-ringer en journalist.  Det er for meg en svært uheldig situasjon.</p>
-
-<p>Anders Brenne tipset meg om dette tidligere i år, og har skrevet om
-problemstillingen i sin bok
-<a href="http://www.hoyskoleforlaget.no/index.asp?template=40&bokId=978-82-7147-358-7">Digitalt
-kildevern</a> som ble lansert i år og
-<a href="http://www.netthoder.no/2012/04/dette-ma-du-vite-om-du-vil-sikre-kildevernet-referat/">presentert
-på et NONA-møte i april</a>.  Oppsummeringen fra møtet inneholder
-flere detaljer og bakgrunnsinformasjon.  Jeg synes det er besynderlig
-at så få journalister tar opp denne problemstillingen, og ikke stiller
-flere kritiske spørsmål til innføringen av datalagringsdirektivet og
-den raderingen av personvernet som har foregått i Norge i løpet av
-mange år nå.</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/_kt_overv_kning_applauderes_igjen_av_Arbeiderpartiet__H_yre_og_Fremskrittspartiet.html">Økt overvåkning applauderes igjen av Arbeiderpartiet, Høyre og Fremskrittspartiet</a></div>
+      <div class="date"> 4th February 2013</div>
+      <div class="body"><p>Jeg ser med gru at Arbeiderpartiet, Høyre og Fremskrittspartiet
+<a href="http://www.aftenposten.no/nyheter/iriks/Positive-til-mer-smuglerovervaking-7110348.html">applauderer
+tollvesenets forslag</a> om å øke overvåkningen i Norge nok et hakk.
+Det er ikke så rart, da de som uttaler seg jo også har støttet
+innføringen av datalagringsdirektivet eller i hvert fall ikke veldig
+aktivt har motarbeidet det.  Innføringen av datalagringsdirektivet er
+en lovendring som innebærer brev og besøkskontroll for hele
+befolkningen.</p>
+
+<p><a href="http://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/?p=48717">Datalagringsdirektivet</a>
+har vært oppe til votering i stortinget tre ganger så langt.  Det ble
+<a href="http://svartelisten.org/">vedtatt første gang 2011-04-04</a>
+og
+<a href="https://github.com/holderdeord/hdo-folketingparser/blob/master/data/votering-2011-04-11.xml">andre
+gang 2011-04-11</a> (lovendringer voteres to ganger), og forslag om å
+stoppe loven ble
+<a href="http://www.stortinget.no/no/Saker-og-publikasjoner/Saker/Sak/Voteringsoversikt/?p=53844&dnid=1">nedstemt
+2012-12-06</a> (se også
+<a href="http://beta.holderdeord.no/votes/2715">oversikt fra Holder De
+Ord</a>).</p>
+
+<p>Jan Bøhler i Arbeiderpartiet stemte for å innføre
+datalagringsdirektivet i lovverket i første votering, var ikke
+tilstede i andre votering og støttet loven i tredje votering.  André
+Oktay Dahl i Høyre var ikke til stede i første og andre votering men
+støttet loven i tredje votering.  Ulf Leirstein i Fremskrittspartiet
+stemte mot loven i første votering men var ikke til stede i andre og
+tredje votering.</p>
+
+<p>Hvis du lurer på hva som er problemet med datalagringsdirektivet,
+anbefaler jeg å lese <a href="http://www.uhuru.biz/?cat=84">artiklene
+fra Jon Wessel-Aas</a> om temaet, samt informasjon fra foreningen
+<a href="http://www.digitaltpersonvern.no/">Digitalt
+Personvern</a>.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>, <a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance</a>. 
         
         
       </div>
@@ -87,99 +68,40 @@ mange år nå.</p>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/FAD_tvinger_igjennom_BankID_tilgang_til_personsensitiv_informasjon_om_meg.html">FAD tvinger igjennom BankID-tilgang til personsensitiv informasjon om meg</a></div>
-      <div class="date">21st November 2012</div>
-      <div class="body"><p>I dag fikk jeg svar fra fornyingsdepartementet på min
-<a href="http://people.skolelinux.org/pere/blog/BankID_skal_ikke_gi_tilgang_til_min_personsensitive_informasjon.html">forespørsel
-om å reservere meg mot at BankID</a> brukes til å få tilgang til
-informasjon om meg via ID-porten.  Like etter at svaret kom fikk jeg
-beskjed om at min henvendelse har fått
-<a href="http://www.oep.no/search/result.html?caseNumber=2012/3446&searchType=advanced&list2=94&caseSearch=true&sortField=doknr">saksnummer
-12/3446 hos FAD</a>, som dessverre ikke har dukket opp i Offentlig
-Elektronisk Postjournal ennå.  Her er svaret jeg fikk:</p>
-
-<blockquote>
-<p>Date: Wed, 21 Nov 2012 11:18:52 +0000
-<br>From: Hornnes Stig &lt;Stig.Hornnes (at) fad.dep.no&gt;
-<br>To: Petter Reinholdtsen
-<br>Subject: Reservasjon mot BankID</p>
-
-<p>Hei Petter,</p>
-
-<p>Du har sendt oss forespørsel om at din bruker blir reservert mot bruk
-av BankID i ID-porten. Det er ikke lagt opp til at enkeltpersoner kan
-reservere seg på denne måten.</p>
-
-<p>Tanken bak ID-porten er at innbyggerne skal kunne velge hvilken eID de
-ønsker å bruke for å logge på offentlige tjenester. For å sikre
-valgfriheten har vi inngått avtaler med BankID, Buypass og
-Commfides. I tillegg har vi den offentlige MinID, men hvor utstedelse
-skjer til adresse registrert i folkeregisteret, og derfor ikke er
-egnet til tjenestene med det høyeste sikkerhetsbehovet.</p>
-
-<p>Sikkerhet er et viktig tema for oss. Alle leverandørene som er i
-ID-porten i dag, inkl. BankID, har oppfylt både kravene som fremgår av
-Kravspek PKI (pluss noen tilleggskrav fra Difi i anskaffelsen) og er
-selvdeklarerte hos Post og Teletilsynet (PT) som har tilsynsansvar for
-denne typen virksomheter. For BankID sin del ble det gjennomført
-revisjon av løsningen i 2009, på bestilling fra PT etter en del
-negative oppslag knyttet til nettopp sikkerheten i løsningen. Det
-fremkom ingen alvorlige sikkerhetsproblemer i revisjonen.</p>
-
-<p>Når dette er sagt; Ingen løsninger er 100 prosent sikre, verken
-papirbaserte systemer eller elektroniske. Eksempelvis vil misbruk av
-identitetsbevis for å urettmessig skaffe seg en e-ID, alltid være en
-risiko. Men det er en generell risiko for alle nivå 4-e-id-er vi har i
-Norge per i dag.  Det er kriminelt, men det er umulig å være ett
-hundre prosent sikker på at det ikke kan skje. Vi har imidlertid fokus
-på å redusere risikoen så mye som mulig, og skal jobbe videre sammen
-med blant annet Justisdepartementet med ulike tiltak som vil bidra til
-bedre grunnidentifisering av innbyggere.</p>
-
-<p>Mvh
-<br>Stig Hornnes
-<br>Rådgiver - FAD</p>
-</blockquote>
-
-<p>Litt merkelig at de har glemt å legge opp til at enkeltpersoner kan
-reservere seg på denne måten.  FAD burde være klar over
-problemstillingen med reservasjon, da jeg tok det opp med dem da de
-presenterte MinID på en presentasjon de holdt på Gardermoen for noen
-år siden.  Det burde jo også være teknisk svært enkelt å få støtte for
-slikt i en ID-portal.  Her må det visst tyngre virkemidler til enn en
-vennlig forespørsel om å reservere seg.  Får tenke igjennom neste
-steg.</p>
-
-<p>Du lurer kanskje på hva som er problemet med BankID?  For å
-forklare det, er det greit å gå et steg tilbake og beskrive offentlig
-nøkkel-kryptering, eller
-<a href="http://snl.no/asymmetrisk_kryptografi">asymmetrisk
-kryptografi</a> som det også kalles.  En fin beskrivelse
-<a href="http://www.matematikk.org/artikkel.html?tid=63068">finnes på
-matematikk.org</a>:</p>
-
-<blockquote>
-Se for deg at person A har en hengelås og at han sender den til deg (i
-åpen tilstand), men beholder nøkkelen. Du kan dermed låse inn en
-hemmelighet ved hjelp av hengelåsen og sende den til A. Bare A kan
-låse opp igjen, siden bare A har den riktige nøkkelen.
-</blockquote>
-
-<p>Signering med asymmetrisk kryptering gjør at en kan vite at kun de
-som har tilgang til nøkkelen har signert et gitt dokument.  Mitt
-problem med BankID er det er utformet slik at banken beholder nøkkelen
-til hengelåsen og kontraktsmessig har lovet å kun bruke den når jeg
-ber om det.  Det er ikke godt nok for meg.  Jeg forventer et system
-der kun jeg har nøkkelen hvis det skal kunne brukes til å inngå
-avtaler på mine vegne eller få tilgang til min personsensitive
-informasjon.  Jeg forventer at det velges en teknisk løsning der det
-er tvingende nødvendig at jeg er involvert når det skal signeres noe
-på mine vegne.  BankID er ikke en slik.</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Bitcoin_GUI_now_available_from_Debian_unstable__and_Ubuntu_raring_.html">Bitcoin GUI now available from Debian/unstable (and Ubuntu/raring)</a></div>
+      <div class="date"> 2nd February 2013</div>
+      <div class="body"><p>My
+<a href="http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html">last
+bitcoin related blog post</a> mentioned that the new
+<a href="http://packages.qa.debian.org/bitcoin">bitcoin package</a> for
+Debian was waiting in NEW.  It was accepted by the Debian ftp-masters
+2013-01-19, and have been available in unstable since then.  It was
+automatically copied to Ubuntu, and is available in their Raring
+version too.</p>
+
+<p>But there is a strange problem with the build that block this new
+version from being available on the i386 and kfreebsd-i386
+architectures.  For some strange reason, the autobuilders in Debian
+for these architectures fail to run the test suite on these
+architectures (<a href="http://bugs.debian.org/672524">BTS #672524</a>).
+We are so far unable to reproduce it when building it manually, and
+no-one have been able to propose a fix.  If you got an idea what is
+failing, please let us know via the BTS.</p>
+
+<p>One feature that is annoying me with of the bitcoin client, because
+I often run low on disk space, is the fact that the client will exit
+if it run short on space (<a href="http://bugs.debian.org/696715">BTS
+#696715</a>).  So make sure you have enough disk space when you run
+it. :)</p>
+
+<p>As usual, if you use bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+<b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&label=PetterReinholdtsenBlog">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>. 
         
         
       </div>
@@ -187,75 +109,50 @@ på mine vegne.  BankID er ikke en slik.</p>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Why_isn_t_the_value_of_copyright_taxed_.html">Why isn't the value of copyright taxed?</a></div>
-      <div class="date">17th November 2012</div>
-      <div class="body"><p>While working on a
-<a href="https://github.com/petterreinholdtsen/free-culture-lessig">Norwegian
-translation of the Free Culture by Lawrence Lessig</a> (76% done),
-which cover the problems with todays copyright law and how it stifles
-creativity, one idea occurred to me.  The idea is to get the tax
-office to help make more works enter the public domain and also help
-make it easier to clear rights for using copyrighted works.</p>
-
-<p>I mentioned this idea briefly during Yesterdays
-<a href="http://www.farmann.no/2012/11/14/john-perry-barlow-in-oslo-friday-nov-16
--15-30-19-00/">presentation
-by John Perry Barlow</a>, and concluded that it was best to put it
-in writing for a wider audience.  The idea is not really based on the
-argument that copyrighted works are "intellectual property", as the
-core requirement is that copyrighted work have value for the copyright
-holder and the tax office like to collect their share from any value
-controlled by the citizens in a country.  I'm sharing the idea here to
-let others consider it and perhaps shoot it down with a fresh set of
-arguments.</p>
-
-<p>Most valuables are taxed by the government.  At least here in
-Norway, the amount of money you have, the value of our land property,
-the value of your house, the value of your car, the value of our
-stocks and other valuables are all added together.  If the tax value
-of these values exceed your debt, you have to pay the tax office some
-taxes for these values.  And copyrighted work have value.  It have
-value for the rights holder, who can earn money selling access to the
-work.  But it is not included in the tax calculations?  Why not?</p>
-
-<p>If the government want to tax copyrighted works, it would want to
-maintain a database of all the copyrighted works and who are the
-rights holders for a given works, to be able to associate the works
-value to the right citizen or company for tax purposes.  If such
-database exist, it will become a lot easier to find out who to talk to
-for clearing permissions to use a copyrighted work, which is a very
-hard operation with todays copyright law.  To ensure that copyright
-holders keep the database up-to-date, it would have to become a
-requirement to be able to collect money for granting access to
-copyrighted works that the work is listed in the database with the
-correct right holder.</p>
-
-<p>If copyright causes copyright holders to have to pay more taxes,
-they will have a small incentive to "disown" their copyright, and let
-the work enter the public domain. For works with several right holders
-one of the right holders could state (and get it registered in the
-database) that she do not need to be consulted when clearing rights to
-use the work in question and thus will not get any income from that
-work.  Stating this would have to be impossible to revert and stop the
-tax office from adding the value of that work to the given citizens
-tax calculation.  I assume the copyright law would stay the same,
-allowing creators to pick a license of their choosing, and also
-allowing them to put their work directly in the public domain.  The
-existence of such database will make it even easier to clear rights,
-and if the right holders listed in the database is taxed, this system
-would increase the amount of works that enter the public domain.</p>
-
-<p>The effect would be that the tax office help to make it easier to
-get rights to use the works that have not yet entered the public
-domain and help to get more work into the public domain and .</p>
-
-<p>Why have such taxing not happened yet?  I am sure the tax office
-would like to tax copyrighted work values if they could.</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html">Welcome to the world, Isenkram!</a></div>
+      <div class="date">22nd January 2013</div>
+      <div class="body"><p>Yesterday, I
+<a href="http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html">asked
+for testers</a> for my prototype for making Debian better at handling
+pluggable hardware devices, which I
+<a href="http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html">set
+out to create</a> earlier this month.  Several valuable testers showed
+up, and caused me to really want to to open up the development to more
+people.  But before I did this, I want to come up with a sensible name
+for this project.  Today I finally decided on a new name, and I have
+renamed the project from hw-support-handler to this new name.  In the
+process, I moved the source to git and made it available as a
+<a href="http://anonscm.debian.org/gitweb/?p=collab-maint/isenkram.git">collab-maint</a>
+repository in Debian.  The new name?  It is <strong>Isenkram</strong>.
+To fetch and build the latest version of the source, use</p>
+
+<pre>
+git clone http://anonscm.debian.org/git/collab-maint/isenkram.git
+cd isenkram && git-buildpackage -us -uc
+</pre>
+
+<p>I have not yet adjusted all files to use the new name yet.  If you
+want to hack on the source or improve the package, please go ahead.
+But please talk to me first on IRC or via email before you do major
+changes, to make sure we do not step on each others toes. :)</p>
+
+<p>If you wonder what 'isenkram' is, it is a Norwegian word for iron
+stuff, typically meaning tools, nails, screws, etc.  Typical hardware
+stuff, in other words.  I've been told it is the Norwegian variant of
+the German word eisenkram, for those that are familiar with that
+word.</p>
+
+<p><strong>Update 2013-01-26</strong>: Added -us -us to build
+instructions, to avoid confusing people with an error from the signing
+process.</p>
+
+<p><strong>Update 2013-01-27</strong>: Switch to HTTP URL for the git
+clone argument to avoid the need for authentication.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture</a>, <a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram</a>. 
         
         
       </div>
@@ -263,100 +160,84 @@ would like to tax copyrighted work values if they could.</p>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/BankID_skal_ikke_gi_tilgang_til_min_personsensitive_informasjon.html">BankID skal ikke gi tilgang til min personsensitive informasjon</a></div>
-      <div class="date">16th November 2012</div>
-      <div class="body"><p>Onsdag i denne uka annonserte
-<a href="http://www.fad.dep.no/">Fornyingsdepartementet</a> at de har
-inngått kontrakt med BankID Norge om bruk av BankID for å la borgerne
-logge inn på offentlige nettsider der en kan få tilgang til
-personsensitiv informasjon.  Jeg skrev i 2009 litt om
-<a href="http://people.skolelinux.org/pere/blog/Jeg_vil_ikke_ha_BankID.html">hvorfor
-jeg ikke vil ha BankID</a> &mdash; jeg stoler ikke nok på en bank til
-å gi dem mulighet til å inngå avtaler på mine vegne.  Jeg forlanger at
-jeg skal være involvert når det skal inngås avtaler på mine vegne.</p>
-
-<p>Jeg har derfor valgt å bruke
-<a href="http://www.skandibanken.no/">Skandiabanken</a> (det er flere
-banker som ikke krever BankID, se
-<a href="http://no.wikipedia.org/wiki/BankID">Wikipedia for en
-liste</a>) på grunn av at de ikke tvinger sine kunder til å bruke
-BankID.  I motsetning til Postbanken, som løy til meg i 2009 da
-kundestøtten der sa at det var blitt et krav fra Kreditttilsynet og
-BBS om at norske banker måtte innføre BankID, har ikke Skandiabanken
-forsøkt å tvinge meg til å ta i bruk BankID.  Jeg fikk nylig endelig
-spurt Finanstilsynet (de har byttet navn siden 2009), og fikk beskjed
-fra Frank Robert Berg hos Finanstilsynet i epost 2012-09-17 at
-Finanstilsynet ikke har fremsatt slike krav.  Med andre ord snakket
-ikke Postbankens kundestøtte sant i 2009.</p>
-
-<p>Når en i tillegg fra
-<a href="http://www.aftenposten.no/nyheter/iriks/Tyver-kan-tappe-kontoen-din---selv-uten-passord-og-pinkode--6989793.html">oppslag
-i Aftenposten</a> vet at de som jobber i alle bankene som bruker
-BankID i dag, det være seg utro tjenere, eller de som lar seg lure av
-falsk legitimasjon, kan lage og dele ut en BankID som gir tilgang til
-mine kontoer og rett til å inngå avtaler på mine vegne, blir det
-viktigere enn noen gang å få reservert seg mot BankID.  Det holder
-ikke å la være å bruke det selv.  Jeg sendte derfor følgende
-epost-brev til Fornyingsdepartementet i går:</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html">First prototype ready making hardware easier to use in Debian</a></div>
+      <div class="date">21st January 2013</div>
+      <div class="body"><p>Early this month I set out to try to
+<a href="http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html">improve
+the Debian support for pluggable hardware devices</a>.  Now my
+prototype is working, and it is ready for a larger audience.  To test
+it, fetch the
+<a href="http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/">source
+from the Debian Edu subversion repository</a>, build and install the
+package.  You might have to log out and in again activate the
+autostart script.</p>
+
+<p>The design is simple:</p>
 
-<p><blockquote>
-<p>Date: Thu, 15 Nov 2012 11:08:31 +0100
-<br>From: Petter Reinholdtsen &lt;pere (at) hungry.com&gt;
-<br>To: postmottak (at) fad.dep.no
-<br>Subject: Forespørsel om reservasjon mot bruk av BankID i ID-porten</p>
-
-<p>Jeg viser til nyheten om at staten har tildelt kontrakt for å
-levere elektronisk ID for offentlige digitale tjenester til BankID
-Norge, referert til blant annet i Digi[1] og i FADs
-pressemelding[2].</p>
-
-<p>1) &lt;URL: <a href="http://www.digi.no/906093/staten-gaar-for-bankid">http://www.digi.no/906093/staten-gaar-for-bankid</a> &gt;
-<br>2) &lt;URL: <a href="http://www.regjeringen.no/nb/dep/fad/pressesenter/pressemeldinger/2012/staten-inngar-avtale-med-bankid.html">http://www.regjeringen.no/nb/dep/fad/pressesenter/pressemeldinger/2012/staten-inngar-avtale-med-bankid.html</a> &gt;</p>
-
-<p>Gitt BankIDs utforming, der BankID-utsteder har både privat og
-offentlig del av kundens nøkkel hos seg, er jeg ikke villig til å gi
-tilgang til informasjon som hører til min min privatsfære ved hjelp av
-innlogging med BankID.</p>
-
-<p>Jeg ber derfor herved om at løsningen settes opp slik at ingen kan
-logge inn som meg på offentlige digitale tjenester ved hjelp av
-BankID, det vil si at jeg reserverer meg mot enhver bruk av BankID for
-å logge meg inn på slike tjenester som kan inneholde personsensitiv
-informasjon om meg.</p>
-
-<p>Jeg har ikke BankID i dag, men som en kan se i oppslag i Aftenposten
-2012-09-13[3] er det ikke til hindrer for at andre kan bruke BankID på
-mine vegne for å få tilgang.  Det sikkerhetsproblemet kommer i tillegg
-til utformingsproblemet omtalt over, og forsterker bare mitt syn på at
-BankID ikke er aktuelt for meg til noe annet enn å logge inn i en
-nettbank der banken i større grad bærer risikoen ved misbruk.</p>
-
-<p>3) &lt;URL: <a href="http://www.aftenposten.no/nyheter/iriks/Tyver-kan-tappe-kontoen-din---selv-uten-passord-og-pinkode--6989793.html">http://www.aftenposten.no/nyheter/iriks/Tyver-kan-tappe-kontoen-din---selv-uten-passord-og-pinkode--6989793.html</a> &gt;</p>
-
-<p>Jeg ber om rask tilbakemelding med saksnummer for min henvendelse.
-Jeg ber videre om bekreftelse på at BankID-innlogging er blokkert når
-det gjelder tilgang til "min" informasjon hos det offentlige, i
-forkant av BankID-integrasjon mot ID-porten som i følge
-pressemeldingen skal komme på plass i løpet av et par uker.</p>
-
-<p>-- 
-<br>Vennlig hilsen
-<br>Petter Reinholdtsen</p>
-</blockquote>
-                 
-<p>Jeg venter spent på svaret.  Jeg mistenker jeg må sende tilsvarende
-beskjed til mine bankforbindelser for å sikre mine bankkontoer.</p>
-
-<p>Hvis det skal brukes offentlig nøkkel-teknologi til å inngå avtaler
-på mine vegne og skaffe seg personsensitiv informasjon om meg, så er
-mitt krav at det kun er jeg som har tilgang på min private nøkkel.
-Alt annet blir å gi for mye tillit til andre.  Med BankID sitter andre
-på både "min" offentlige og private nøkkel.</p>
+<ul>
+
+<li>Add desktop entry in /usr/share/autostart/ causing a program
+hw-support-handlerd to start when the user log in.</li>
+
+<li>This program listen for kernel events about new hardware (directly
+from the kernel like udev does), not using HAL dbus events as I
+initially did.</li>
+
+<li>When new hardware is inserted, look up the hardware modalias in
+the APT database, a database
+<a href="http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=markup">available
+via HTTP</a> and a database available as part of the package.</li>
+
+<li>If a package is mapped to the hardware in question, the package
+isn't installed yet and this is the first time the hardware was
+plugged in, show a desktop notification suggesting to install the
+package or packages.</li>
+
+<li>If the user click on the 'install package now' button, ask
+aptdaemon via the PackageKit API to install the requrired package.</li>
+
+<li>aptdaemon ask for root password or sudo password, and install the
+package while showing progress information in a window.</li>
+
+</ul>
+
+<p>I still need to come up with a better name for the system.  Here
+are some screen shots showing the prototype in action.  First the
+notification, then the password request, and finally the request to
+approve all the dependencies.  Sorry for the Norwegian Bokmål GUI.</p>
+
+<p><img src="http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-1-notification.png">
+<br><img src="http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-2-password.png">
+<br><img src="http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-3-dependencies.png">
+<br><img src="http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-4-installing.png">
+<br><img src="http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-5-installing-details.png" width="70%"></p>
+
+<p>The prototype still need to be improved with longer timeouts, but
+is already useful.  The database of hardware to package mappings also
+need more work.  It is currently compatible with the Ubuntu way of
+storing such information in the package control file, but could be
+changed to use other formats instead or in addition to the current
+method.  I've dropped the use of discover for this mapping, as the
+modalias approach is more flexible and easier to use on Linux as long
+as the Linux kernel expose its modalias strings directly.</p>
+
+<p><strong>Update 2013-01-21 16:50</strong>: Due to popular demand,
+here is the command required to check out and build the source: Use
+'<tt>svn checkout
+svn://svn.debian.org/debian-edu/trunk/src/hw-support-handler/; cd
+hw-support-handler; debuild</tt>'.  If you lack debuild, install the
+devscripts package.</p>
+
+<p><strong>Update 2013-01-23 12:00</strong>: The project is now
+renamed to Isenkram and the source moved from the Debian Edu
+subversion repository to a Debian collab-maint git repository.  See
+<a href="http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html">build
+instructions</a> for details.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram</a>. 
         
         
       </div>
@@ -364,148 +245,61 @@ på både "min" offentlige og private nøkkel.</p>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Angela_Fu_.html">Debian Edu interview: Angela Fuß</a></div>
-      <div class="date">14th November 2012</div>
-      <div class="body"><p>Here is another interview with one of the people in the <a
-href="http://www.skolelinux.org/">Debian Edu and Skolelinux</a>
-community.  I am running short on people willing to be interviewed, so
-if you know about someone I should interview, Please send me an email.
-After asking for many months, I finally managed to lure another one of
-the people behind the German
-"<a href="http://wiki.it-zukunft-schule.de/">IT-Zukunft Schule</a>"
-project out from maternity leave to conduct an interview.  Give a warm
-welcome to Angela Fuß. :)</p>
-
-<p><strong>Who are you, and how do you spend your days?</strong></p>
-
-<p>I am a 39-year-old woman living in the very north of Germany near
-Denmark. I live in a patchwork family with "my man" Mike Gabriel, my
-two daughters, Mikes daughter and Mikes and my rather newborn son.
-
-<p>At the moment - because of our little baby - I am spending most of
-the day by being a caring and organising mom for all the kids.
-Besides that I am really involved into and occupied with several inner
-growth processes: New born souls always bring the whole familiar
-system into movement and that needs time and focus ;-).  We are also
-in the middle of buying a house and moving to it.</p>
-
-<p>In 2013 I will work again in my job in a German foundation for
-nature conservation. I am doing public relation work there.  Besides
-that - and that is the connection to Skolelinux / Debian Edu - I am
-working in our own school project "IT-Zukunft Schule" in North
-Germany. I am responsible for the quality assurance, the customer
-relationship management and the communication processes in the
-project.</p>
-
-<p>Since 2001 I constantly have been training myself in communication
-and leadership. Besides that I am a forester, a landscaping gardener
-and a yoga teacher.</p>
-
-<p><strong>How did you get in contact with the Skolelinux / Debian Edu
-project?</strong></p>
-
-<p>I fell in love with Mike ;-).</p>
-
-<p>Very soon after getting to know him I was completely enrolled into
-Free Software.  At this time Mike did IT-services for one newly
-founded school in Kiel. Other schools in Kiel needed concepts for
-their IT environment.  Often when Mike came home from working at the
-newly founded school I found myself listening to his complaints about
-several points where the communication with the schools head or the
-teachers did not work.  So we were clear that he would not work for
-one more school if we did not set up a structure for communication
-between him, the schools head, the teachers, the students and the
-parents.</p>
-
-<p>Together with our friend and hardware supplier Andreas Buchholz we
-started to get an overview of free software solutions suitable for
-schools. One day before Christmas 2010 Mike and I had a date with Kurt
-Gramlich in Gütersloh. As Kurt and I are really interested in building
-networks of people and in being in communication we dived into
-Skolelinux and brought it to the first grammar schools in Northern
-Germany.</p>
-
-<p>For information about our school project you can read
-<a href="http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Mike_Gabriel.html">the
-interview with Mike Gabriel</a>.</p>
-
-<p><strong>What do you see as the advantages of Skolelinux / Debian
-Edu?</strong></p>
-
-<p>First I have to say: I cannot answer this question technically. My
-answer comes rather from a social point of view.</p>
-
-<p>The biggest advantage of Skolelinux / Debian Edu I see is the large
-and strong international community of Debian Developers in the
-background which is very alive and connected over mailinglists, blogs
-and meetings. My constant feeling for the Debian Community is: If
-something does not work they will somehow fix it. All is well
-;-). This is of course a user experience.  What I also get as a big
-advantage of Skolelinux / Debian Edu is that everybody who uses it and
-works with it can also contribute to it - that includes students,
-teachers, parents...</p>
-
-<p><strong>What do you see as the disadvantages of Skolelinux / Debian
-Edu?</strong></p>
-
-<p>I will answer this question relating to the internal structure of
-Skolelinux / Debian Edu.</p>
-
-<p>What I see as a major disadvantage is that there is a gap between
-the group of developers for Debian Edu and the people who make the
-marketing, that means the people that bring Skolelinux to the
-schools. There is a lack of communication between these two groups and
-I think that does not really work for Skolelinux / Debian Edu.</p>
-
-<p>Further I appreciate that Skolelinux / Debian Edu is known as a
-do-ocracy. Nevertheless I keep asking myself if at some points a
-democracy or some kind of hierarchical project structure would be good
-and helpful.  I am also missing some kind of contact between the
-Skolelinux / Debian Edu communities in Europe or on an international
-level. I think it would be good if there was more sharing between the
-different countries using Skolelinux / Debian Edu.</p>
-
-<p><strong>Which free software do you use daily?</strong></p>
-
-<p>On my laptop I am still using an Ubuntu 10.04 with a Gnome Desktop
-on.  As applications I use Openoffice.org, Gedit, Firefox, Pidgin,
-LaTeX and GnuCash. For mails I am using Horde. And I am really fond of
-my N900 running with Maemo.</p>
-
-<p><strong>Which strategy do you believe is the right one to use to
-get schools to use free software?</strong></p>
-
-<p>I am really convinced that in our school project "IT-Zukunft
-Schule" we have developed (and keep developing) a great way to get
-schools to use Free Software. We have written a detailed concept for
-that so I cannot explain the whole thing here. But in a nutshell the
-strategy has three crucial pillars:</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html">Thank you Thinkpad X41, for your long and trustworthy service</a></div>
+      <div class="date">19th January 2013</div>
+      <div class="body"><p>This Christmas my trusty old laptop died.  It died quietly and
+suddenly in bed.  With a quiet whimper, it went completely quiet and
+black.  The power button was no longer able to turn it on.  It was a
+IBM Thinkpad X41, and the best laptop I ever had.  Better than both
+Thinkpads X30, X31, X40, X60, X61 and X61S.  Far better than the
+Compaq I had before that.  Now I need to find a replacement.  To keep
+going during Christmas, I moved the one year old SSD disk to my old
+X40 where it fitted (only one I had left that could use it), but it is
+not a durable solution.
+
+<p>My laptop needs are fairly modest.  This is my wishlist from when I
+got a new one more than 10 years ago.  It still holds true.:)</p>
 
 <ul>
 
-<li>We really take time to get what sort of stories, questions and
-concerns the schools head and the teachers have about using different
-kinds of IT and we take time to enrol them into Free Software.</li>
-
-<li>Our solution for schools is never just technical. In the centre
-are always the people who are going to use the software. From the very
-beginning of the planning for a school, we tell the schools head that
-they are paying us not only for a technical solution for their school,
-they also pay us for leading all the communication processes
-needed. If they do not want that, we are not working with them because
-we cannot give a guarantee for the quality of our work then.</li>
-
-<li>Another focus lies in the training of teachers and students in
-co-administrating the IT-System at their school. They start getting in
-contact with the Skolelinux / Debian Edu community and they get the
-offer to become more and more independent from us.</li>
+<li>Lightweight (around 1 kg) and small volume (preferably smaller
+  than A4).</li>
+<li>Robust, it will be in my backpack every day.</li>
+<li>Three button mouse and a mouse pin instead of touch pad.</li>
+<li>Long battery life time.  Preferable a week.</li>
+<li>Internal WIFI network card.</li>
+<li>Internal Twisted Pair network card.</li>
+<li>Some USB slots (2-3 is plenty)</li>
+<li>Good keyboard - similar to the Thinkpad.</li>
+<li>Video resolution at least 1024x768, with size around 12" (A4 paper
+size).</li>
+<li>Hardware supported by Debian Stable, ie the default kernel and
+  X.org packages.</li>
+<li>Quiet, preferably fan free (or at least not using the fan most of
+  the time).
 
 </ul>
+
+<p>You will notice that there are no RAM and CPU requirements in the
+list.  The reason is simply that the specifications on laptops the
+last 10-15 years have been sufficient for my needs, and I have to look
+at other features to choose my laptop.  But are there still made as
+robust laptops as my X41?  The Thinkpad X60/X61 proved to be less
+robust, and Thinkpads seem to be heading in the wrong direction since
+Lenovo took over.  But I've been told that X220 and X1 Carbon might
+still be useful.</p>
+
+<p>Perhaps I should rethink my needs, and look for a pad with an
+external keyboard?  I'll have to check the
+<a href="http://www.linux-laptop.net/">Linux Laptops site</a> for
+well-supported laptops, or perhaps just buy one preinstalled from one
+of the vendors listed on the <a href="http://linuxpreloaded.com/">Linux
+Pre-loaded site</a>.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>. 
         
         
       </div>
@@ -513,50 +307,75 @@ offer to become more and more independent from us.</li>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/RFID_pass_deler_bilder_av_fingeravtrykkene_dine_ved_enhver_grensepassering.html">RFID-pass deler bilder av fingeravtrykkene dine ved enhver grensepassering</a></div>
-      <div class="date">11th November 2012</div>
-      <div class="body"><p>Leste nettopp
-<a href="http://www.digi.no/905822/fikk-koffert-avtale">Digiartikkel om
-Idex</a>, som stolt fortalte at de hadde fått en stor ny kunde av
-fingeravtrykksløsningen de lager:
-
-<blockquote>
-Kunden skal utvikle sikkerhetslåser til bruk på kofferter som skal
-produseres av markedsledende produsenter. Idexs fingeravtrykksensor og
-tilhørende programvare vil bli en del av den elektroniske låsen, som
-erstatning for nøkkel eller kode. Brukeren «innrullerer» fingeravtrykk
-direkte på låsen og mekanismen vil låses opp bare dersom brukeren
-sveiper en innrullert finger over sensoren.
-</blockquote>
-
-<p>Det fascinerer meg at noen i Norge tror fingeravtrykk kan brukes
-til å sikre noe som helst, gitt at elektroniske pass har bilder av
-fingeravtrykkene elektronisk lesbart via RFID, og en må anta bildene
-blir lest og arkivert ved enhver grensepassering en foretar seg.  I
-tillegg kan RFID-pass leses på betydelig avstand (10-20 meter sier de
-som har testet, f.eks. 
-<a href="http://www.papersplease.org/wp/2009/02/03/drive-by-reader-for-rfid-drivers-licenses-and-passport-cards/">Chris
-Paget</a>), slik at en ikke lenger trenger å invitere noen på et glass
-eller en kaffe for å kunne få tak i vedkommendes fingeravtrykk.  Det
-holder å ta med seg en RFID-leser til utenfor huset til vedkommende
-eller kontrollere en passkontroll.  F.eks. skryter
-<a href="http://en.wikipedia.org/wiki/United_Arab_Emirates">De forente
-Arabiske Emirater</a> av at
-<a href="http://yro.slashdot.org/story/12/10/15/1651216/the-uae-claims-to-hold-the-worlds-largest-biometric-database">de
-har verdens største biometriske database</a>, der databasen inneholder
-103 millioner digitale fingeravtrykk.  Med en befolkning i følge
-Wikipedia estimert i 2010 til 8.3 millioner har jeg vanskelig for å
-tro at det kun er landets innbyggere de har fingeravtrykkene til.
-Innbyggerne har neppe mer enn 10 fingre hver...</p>
-
-<p>RFID-pass med fingeravtrykk betyr at bilder av ens fingeravtrykk er
-på vidvanke, og en kan dermed ikke i god tro anta at fingeravtrykk kun
-befinner seg hos fingerens eier.  Jeg vil ikke ha et slikt pass.</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/How_to_find_a_browser_plugin_supporting_a_given_MIME_type.html">How to find a browser plugin supporting a given MIME type</a></div>
+      <div class="date">18th January 2013</div>
+      <div class="body"><p>Some times I try to figure out which Iceweasel browser plugin to
+install to get support for a given MIME type.  Thanks to
+<a href="https://wiki.ubuntu.com/MozillaTeam/Plugins">specifications
+done by Ubuntu</a> and Mozilla, it is possible to do this in Debian.
+Unfortunately, not very many packages provide the needed meta
+information, Anyway, here is a small script to look up all browser
+plugin packages announcing ther MIME support using this specification:</p>
+
+<pre>
+#!/usr/bin/python
+import sys
+import apt
+def pkgs_handling_mimetype(mimetype):
+    cache = apt.Cache()
+    cache.open(None)
+    thepkgs = []
+    for pkg in cache:
+        version = pkg.candidate
+        if version is None:
+            version = pkg.installed
+        if version is None:
+            continue
+        record = version.record
+        if not record.has_key('Npp-MimeType'):
+            continue
+        mime_types = record['Npp-MimeType'].split(',')
+        for t in mime_types:
+            t = t.rstrip().strip()
+            if t == mimetype:
+                thepkgs.append(pkg.name)
+    return thepkgs
+mimetype = "audio/ogg"
+if 1 < len(sys.argv):
+    mimetype = sys.argv[1]
+print "Browser plugin packages supporting %s:" % mimetype
+for pkg in pkgs_handling_mimetype(mimetype):
+    print "  %s" %pkg
+</pre>
+
+<p>It can be used like this to look up a given MIME type:</p>
+
+<pre>
+% ./apt-find-browserplug-for-mimetype 
+Browser plugin packages supporting audio/ogg:
+  gecko-mediaplayer
+% ./apt-find-browserplug-for-mimetype application/x-shockwave-flash
+Browser plugin packages supporting application/x-shockwave-flash:
+  browser-plugin-gnash
+%
+</pre>
+
+<p>In Ubuntu this mechanism is combined with support in the browser
+itself to query for plugins and propose to install the needed
+packages.  It would be great if Debian supported such feature too.  Is
+anyone working on adding it?</p>
+
+<p><strong>Update 2013-01-18 14:20</strong>: The Debian BTS
+request for icweasel support for this feature is
+<a href="http://bugs.debian.org/484010">#484010</a> from 2008 (and
+<a href="http://bugs.debian.org/698426">#698426</a> from today).  Lack
+of manpower and wish for a different design is the reason thus feature
+is not yet in iceweasel from Debian.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>. 
         
         
       </div>
@@ -564,38 +383,120 @@ befinner seg hos fingerens eier.  Jeg vil ikke ha et slikt pass.</p>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/59_kommuner_omfavner_n__FiksGataMi.html">59 kommuner omfavner nå FiksGataMi</a></div>
-      <div class="date"> 5th November 2012</div>
-      <div class="body"><p><a href="http://maps.google.com/?q=http://www.nuug.no/prosjekt/fiksgatami/fiksgatami-municipalities-201210.kml"><img src="http://people.skolelinux.org/pere/blog/images/2012-10-17-fiksgatami.png"></a></p>
-
-<p>For noen dager siden omfavnet to nye kommuner NUUGs
-<a href="http://www.fiksgatami.no/">FiksGataMi</a>.  Med 59 kommuner
-som lenker til FiksGataMi fra sine hjemmesider er "markedsandelen"
-13,8 % (av 429 kommuner).  Sist ut er Stange og Utsira kommune, som
-slår følge med kommunene Askim, Askøy, Audnedal, Aure, Balestrand,
-Bærum, Eide, Farsund, Flekkefjord, Folldal, Gran, Grue, Hadsel,
-Halden, Halsa, Hamar, Hobøl, Holtålen, Hægebostad, Høyanger,
-Kongsberg, Kristiansund, Kvinesdal, Kviteseid, Levanger, Lindesnes,
-Luster, Lyngdal, Løten, Mandal, Marnardal, Moss, Namsos, Nissedal,
-Nordreisa, Randaberg, Rindal, Sel, Sirdal, Skiptvet, Sortland,
-Spydeberg, Stjørdal, Stord, Søgne, Sør-Odal, Tolga, Trysil, Tynset,
-Tysvær, Ullensvang Herad, Vennesla, Verdal, Vågan, Vågå, Våler og
-Åseral.  Oppdatert liste er tilgjengelig fra
-<a href="http://wiki.nuug.no/grupper/fiksgatami/positivemottakere">NUUGs
-wiki</a>.  Kartet er dog ikke oppdatert med de siste kommunene.</p>
-
-<p>Kanskje du bør høre med din kommune om de vil bli mer aktive
-brukere av FiksGataMi?  Se
-<a href="http://people.skolelinux.org/pere/blog/40_kommuner_lenker_n__til_FiksGataMi_fra_sine_nettsider___gj_r_din_.html">en
-tidligere bloggpost</a> med tips om hvordan det kan gjøres.</p>
-
-<p>I snitt rapporteres det nå via FiksGataMi ca. 100 meldinger i uka fra
-innbyggerne om feil på offentlig infrastruktur.</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html">What is the most supported MIME type in Debian?</a></div>
+      <div class="date">16th January 2013</div>
+      <div class="body"><p>The <a href="http://wiki.debian.org/AppStreamDebianProposal">DEP-11
+proposal to add AppStream information to the Debian archive</a>, is a
+proposal to make it possible for a Desktop application to propose to
+the user some package to install to gain support for a given MIME
+type, font, library etc. that is currently missing.  With such
+mechanism in place, it would be possible for the desktop to
+automatically propose and install leocad if some LDraw file is
+downloaded by the browser.</p>
+
+<p>To get some idea about the current content of the archive, I decided
+to write a simple program to extract all .desktop files from the
+Debian archive and look up the claimed MIME support there.  The result
+can be found on the
+<a href="http://ftp.skolelinux.org/pub/AppStreamTest">Skolelinux FTP
+site</a>.  Using the collected information, it become possible to
+answer the question in the title.  Here are the 20 most supported MIME
+types in Debian stable (Squeeze), testing (Wheezy) and unstable (Sid).
+The complete list is available from the link above.</p>
+
+<p><strong>Debian Stable:</strong></p>
+
+<pre>
+  count MIME type
+  ----- -----------------------
+     32 text/plain
+     30 audio/mpeg
+     29 image/png
+     28 image/jpeg
+     27 application/ogg
+     26 audio/x-mp3
+     25 image/tiff
+     25 image/gif
+     22 image/bmp
+     22 audio/x-wav
+     20 audio/x-flac
+     19 audio/x-mpegurl
+     18 video/x-ms-asf
+     18 audio/x-musepack
+     18 audio/x-mpeg
+     18 application/x-ogg
+     17 video/mpeg
+     17 audio/x-scpls
+     17 audio/ogg
+     16 video/x-ms-wmv
+</pre>
+
+<p><strong>Debian Testing:</strong></p>
+
+<pre>
+  count MIME type
+  ----- -----------------------
+     33 text/plain
+     32 image/png
+     32 image/jpeg
+     29 audio/mpeg
+     27 image/gif
+     26 image/tiff
+     26 application/ogg
+     25 audio/x-mp3
+     22 image/bmp
+     21 audio/x-wav
+     19 audio/x-mpegurl
+     19 audio/x-mpeg
+     18 video/mpeg
+     18 audio/x-scpls
+     18 audio/x-flac
+     18 application/x-ogg
+     17 video/x-ms-asf
+     17 text/html
+     17 audio/x-musepack
+     16 image/x-xbitmap
+</pre>
+
+<p><strong>Debian Unstable:</strong></p>
+
+<pre>
+  count MIME type
+  ----- -----------------------
+     31 text/plain
+     31 image/png
+     31 image/jpeg
+     29 audio/mpeg
+     28 application/ogg
+     27 image/gif
+     26 image/tiff
+     26 audio/x-mp3
+     23 audio/x-wav
+     22 image/bmp
+     21 audio/x-flac
+     20 audio/x-mpegurl
+     19 audio/x-mpeg
+     18 video/x-ms-asf
+     18 video/mpeg
+     18 audio/x-scpls
+     18 application/x-ogg
+     17 audio/x-musepack
+     16 video/x-ms-wmv
+     16 video/x-msvideo
+</pre>
+
+<p>I am told that PackageKit can provide an API to access the kind of
+information mentioned in DEP-11.  I have not yet had time to look at
+it, but hope the PackageKit people in Debian are on top of these
+issues.</p>
+
+<p><strong>Update 2013-01-16 13:35</strong>: Updated numbers after
+discovering a typo in my script.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami</a>, <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>. 
         
         
       </div>
@@ -603,35 +504,119 @@ innbyggerne om feil på offentlig infrastruktur.</p>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/The_European_Central_Bank__ECB__take_a_look_at_bitcoin.html">The European Central Bank (ECB) take a look at bitcoin</a></div>
-      <div class="date"> 4th November 2012</div>
-      <div class="body"><p>Slashdot just ran a story about the European Central Bank (ECB)
-<a href="http://www.ecb.europa.eu/pub/pdf/other/virtualcurrencyschemes201210en.pdf">releasing
-a report (PDF)</a> about virtual currencies and
-<a href="http://www.bitcoin.org/">bitcoin</a>.  It is interesting to
-see how a member of the bitcoin community
-<a href="http://blog.bitinstant.com/blog/2012/10/30/the-ecb-report-on-bitcoin-and-virtual-currencies.html">receive
-the report</a>.  As for the future, I suspect the central banks and
-the governments will outlaw bitcoin if it gain any popularity, to avoid
-competition.  My thoughts go to the
-<a href="http://en.wikipedia.org/wiki/Wörgl">Wörgl experiment</a> with
-negative inflation on cash which was such a success that it was
-terminated by the Austrian National Bank in 1933.  A successful
-alternative would be a threat to the current money system and gain
-powerful forces to work against it.</p>
-
-<p>While checking out the current status of bitcoin, I also discovered
-that the community already seem to have
-<a href="http://www.theverge.com/2012/8/27/3271637/bitcoin-savings-trust-pyramid-scheme-shuts-down">experienced
-its first pyramid game / Ponzi scheme</a>.  Not very surprising, given
-how members of "small" communities tend to trust each other.  I guess
-enterprising crocks will try again and again, as they do anywhere
-wealth is available.</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html">Using modalias info to find packages handling my hardware</a></div>
+      <div class="date">15th January 2013</div>
+      <div class="body"><p>Yesterday, I wrote about the
+<a href="http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html">modalias
+values provided by the Linux kernel</a> following my hope for
+<a href="http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html">better
+dongle support in Debian</a>.  Using this knowledge, I have tested how
+modalias values attached to package names can be used to map packages
+to hardware.  This allow the system to look up and suggest relevant
+packages when I plug in some new hardware into my machine, and replace
+discover and discover-data as the database used to map hardware to
+packages.</p>
+
+<p>I create a modaliases file with entries like the following,
+containing package name, kernel module name (if relevant, otherwise
+the package name) and globs matching the relevant hardware
+modalias.</p>
+
+<p><blockquote>
+Package: package-name
+<br>Modaliases: module(modaliasglob, modaliasglob, modaliasglob)</p>
+</blockquote></p>
+
+<p>It is fairly trivial to write code to find the relevant packages
+for a given modalias value using this file.</p>
+
+<p>An entry like this would suggest the video and picture application
+cheese for many USB web cameras (interface bus class 0E01):</p>
+
+<p><blockquote>
+Package: cheese
+<br>Modaliases: cheese(usb:v*p*d*dc*dsc*dp*ic0Eisc01ip*)</p>
+</blockquote></p>
+
+<p>An entry like this would suggest the pcmciautils package when a
+CardBus bridge (bus class 0607) PCI device is present:</p>
+
+<p><blockquote>
+Package: pcmciautils
+<br>Modaliases: pcmciautils(pci:v*d*sv*sd*bc06sc07i*)
+</blockquote></p>
+
+<p>An entry like this would suggest the package colorhug-client when
+plugging in a ColorHug with USB IDs 04D8:F8DA:</p>
+
+<p><blockquote>
+Package: colorhug-client
+<br>Modaliases: colorhug-client(usb:v04D8pF8DAd*)</p>
+</blockquote></p>
+
+<p>I believe the format is compatible with the format of the Packages
+file in the Debian archive.  Ubuntu already uses their Packages file
+to store their mappings from packages to hardware.</p>
+
+<p>By adding a XB-Modaliases: header in debian/control, any .deb can
+announce the hardware it support in a way my prototype understand.
+This allow those publishing packages in an APT source outside the
+Debian archive as well as those backporting packages to make sure the
+hardware mapping are included in the package meta information.  I've
+tested such header in the pymissile package, and its modalias mapping
+is working as it should with my prototype.  It even made it to Ubuntu
+Raring.</p>
+
+<p>To test if it was possible to look up supported hardware using only
+the shell tools available in the Debian installer, I wrote a shell
+implementation of the lookup code.  The idea is to create files for
+each modalias and let the shell do the matching.  Please check out and
+try the
+<a href="http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/hw-support-lookup?view=co">hw-support-lookup</a>
+shell script.  It run without any extra dependencies and fetch the
+hardware mappings from the Debian archive and the subversion
+repository where I currently work on my prototype.</p>
+
+<p>When I use it on a machine with a yubikey inserted, it suggest to
+install yubikey-personalization:</p>
+
+<p><blockquote>
+% ./hw-support-lookup
+<br>yubikey-personalization
+<br>%
+</blockquote></p>
+
+<p>When I run it on my Thinkpad X40 with a PCMCIA/CardBus slot, it
+propose to install the pcmciautils package:</p>
+
+<p><blockquote>
+% ./hw-support-lookup 
+<br>pcmciautils
+<br>%
+</blockquote></p>
+
+<p>If you know of any hardware-package mapping that should be added to
+<a href="http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=co">my
+database</a>, please tell me about it.</p>
+
+<p>It could be possible to generate several of the mappings between
+packages and hardware.  One source would be to look at packages with
+kernel modules, ie packages with *.ko files in /lib/modules/, and
+extract their modalias information.  Another would be to look at
+packages with udev rules, ie packages with files in
+/lib/udev/rules.d/, and extract their vendor/model information to
+generate a modalias matching rule.  I have not tested any of these to
+see if it work.</p>
+
+<p>If you want to help implementing a system to let us propose what
+packages to install when new hardware is plugged into a Debian
+machine, please send me an email or talk to me on
+<a href="irc://irc.debian.org/%23debian-devel">#debian-devel</a>.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram</a>. 
         
         
       </div>
@@ -639,104 +624,260 @@ wealth is available.</p>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Ode_til_Frikanalen___.html">Ode til Frikanalen...</a></div>
-      <div class="date"> 2nd November 2012</div>
-      <div class="body"><p>I 2009 bidro vi i <a href="http://www.nuug.no/">NUUG</a> til at
-<a href="http://www.frikanalen.no/">Frikanalen</a> ble
-<a href="http://people.skolelinux.org/pere/blog/Frikanalen_og_jul_i_studentr_det.html">tilgjengelig
-i et fritt og åpent standardisert videoformat</a>.  Bakgrunnen var at
-vi i NUUG likte tanken på «Youtube på TV», der enhver borger kunne få
-mulighet til å kringkaste sin video på TV, og NUUG ble medlem i
-Frikanalen for å støtte dette arbeidet.  Frikanalen er borger-TV, der
-alle kan være sin egen redaktør og lage TV uten solid finansielle
-muskler.  Siden den gang har vi bistått kanalen på ulikt vis, blant
-annet med å hjelpe til med å utvikle en løsning basert på fri
-programvare for drift av TV-kanalen.  Dette utviklingsarbeidet pågår
-fortsatt, men det er god fremgang og godt håp om å få på plass en
-webbasert løsning for styring av TV-kanalen basert på fri programvare.
-Dagens produksjonsløsning er basert på Windows og proprietær
-programvare, et resultat av at kulturdepartementet krevde at
-Frikanalen kom på lufta veldig raskt da departementet overtalte
-Frivillighet Norge til å snappe opp konseptet.  Dagens
-produksjonsløsning er dyr i drift, og en fri programvareløsning bør
-kutte kostnadene litt.  Men det er fortsatt dyrt å kjøpe tilgang til å
-sende ut på RiksTV og andre TV-distributører, noe som spiser av
-kanalens begrensede midler.</p>
-
-<p>Nytt for 2013 er dessverre at kulturdepartementet kutter all støtte
-til Frikanalen.  Mens det i
-<a href="http://www.regjeringen.no/pages/35168579/PDFS/PRP201120120001KUDDDDPDFS.pdf">statsbudsjettet
-for 2012</a> sto følgende (side 55):</p>
-
-<blockquote>
-
-Det foreslås et driftstilskudd på 1 mill. kroner i 2012 til
-Frikanalen. Kulturdepartementet har inngått avtale om investerings- og
-driftsstøtte til Frikanalen som gir et økonomisk grunnlag for kanalen
-i oppstartsårene. En forutsetning for støtten er bl.a. at Frikanalen
-tilstreber å være en reell ytringskanal for samtlige partier og lister
-i forbindelse med valg.
-
-</blockquote>
-
-<p>Så har kulturdepartementet
-<a href="http://www.knif.no/Innkjop/Knif-Samfunn/Informasjonsbrev/Informasjonsbrev-2012/Frikanalen">kuttet
-all støtte for 2013</a>:</p>
-
-<blockquote>
-
-<p>Statsbudsjettet 2013: Frikanalen</p>
-<p>Det er ikke satt av penger i statsbudsjettet for 2013 til Frikanalen.</p>
-
-<p>Frivillighet Norge var fødselshjelper for foreningen Frikanalen i
-2007. Kanalen har fått 1 mill kr i altfor lav bevilgning hvis kanalen
-skulle klare å realisere målet om å være en opplæringsarena for
-frivillige organisasjoner som ville lære å bruke billedspråk.</p>
-
-<p>TV-mediets posisjon som kommunikasjonskanal har endret seg
-betydelig siden Frikanalen ble etablert. Det er supplert og til dels
-erstattet av andre kommunikasjonskanaler, som det også er
-ressurskrevende for organisasjonene å ta i bruk.</p>
-
-</blockquote>
-
-<p>Når en ser bort fra den merkelige begrunnelsen, da Frikanalen så
-vidt jeg vet aldri har tatt mål av seg «å være en opplæringsarena for
-frivillige organisasjoner som ville lære å bruke billedspråk», så er
-det veldig trist at kulturdepartementet kutter støtten.</p>
-
-<p>Fundamentet for Frikanalen ble lagt da Stortinget vedtok
-innføringen av det digitale bakkenettet.  En oversikt over
-<a href="http://www.openchannel.no/stortinget.html">det Stortinget
-skrev</a> da finnes på nettsidene til åpen kanal.  Der het det blant
-annet om «åpne kanaler»:</p>
-
-<blockquote>
-
-Et annet flertall, alle unntatt medlemmene fra Fremskrittspartiet, vil
-også peke på at man ut fra ønsket om en bredt anlagt offentlig debatt,
-må se på den faktiske tilgjengelighet allmennheten har til
-TV-mediet. I mange land har man ønsket å sikre denne tilgangen gjennom
-egen lovgivning som forplikter allmennkringkastere eller distributører
-å holde av en del av sendekapasiteten til livssynskanaler, ideelle
-organisasjoner og lignende. I Norden betegnes dette gjerne som åpne
-kanaler. Dette flertallet mener dette er et interessant område sett i
-et ytringsfrihetsperspektiv. Dette flertallet mener derfor at staten
-bør legge til rette for dette når man ved innføring av nye
-distribusjonskanaler skal utarbeide regelverk og gi konsesjoner.
-</blockquote>
-
-<p>Veien frem har gått over svært ulendt terreng, noe en kan se litt
-av konturene av i en artikkel hos Vox Publica med tittel
-«<a href="http://voxpublica.no/2007/03/hvor-apen-blir-frikanalen/">Hvor
-åpen blir “Frikanalen”?</a>».  Begge tekstene er nyttig lesning for å
-forstå mer om hva Frikanalen er. Jeg anbefaler alle å støtte opp om
-Frikanalen, bli medlem, lage og sende programmer der.</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html">Modalias strings - a practical way to map "stuff" to hardware</a></div>
+      <div class="date">14th January 2013</div>
+      <div class="body"><p>While looking into how to look up Debian packages based on hardware
+information, to find the packages that support a given piece of
+hardware, I refreshed my memory regarding modalias values, and decided
+to document the details.  Here are my findings so far, also available
+in
+<a href="http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/">the
+Debian Edu subversion repository</a>:
+
+<p><strong>Modalias decoded</strong></p>
+
+<p>This document try to explain what the different types of modalias
+values stands for.  It is in part based on information from
+&lt;URL: <a href="https://wiki.archlinux.org/index.php/Modalias">https://wiki.archlinux.org/index.php/Modalias</a> &gt;,
+&lt;URL: <a href="http://unix.stackexchange.com/questions/26132/how-to-assign-usb-driver-to-device">http://unix.stackexchange.com/questions/26132/how-to-assign-usb-driver-to-device</a> &gt;,
+&lt;URL: <a href="http://code.metager.de/source/history/linux/stable/scripts/mod/file2alias.c">http://code.metager.de/source/history/linux/stable/scripts/mod/file2alias.c</a> &gt; and
+&lt;URL: <a href="http://cvs.savannah.gnu.org/viewvc/dmidecode/dmidecode.c?root=dmidecode&view=markup">http://cvs.savannah.gnu.org/viewvc/dmidecode/dmidecode.c?root=dmidecode&view=markup</a> &gt;.
+
+<p>The modalias entries for a given Linux machine can be found using
+this shell script:</p>
+
+<pre>
+find /sys -name modalias -print0 | xargs -0 cat | sort -u
+</pre>
+
+<p>The supported modalias globs for a given kernel module can be found
+using modinfo:</p>
+
+<pre>
+% /sbin/modinfo psmouse | grep alias:
+alias:          serio:ty05pr*id*ex*
+alias:          serio:ty01pr*id*ex*
+%
+</pre>
+
+<p><strong>PCI subtype</strong></p>
+
+<p>A typical PCI entry can look like this.  This is an Intel Host
+Bridge memory controller:</p>
+
+<p><blockquote>
+pci:v00008086d00002770sv00001028sd000001ADbc06sc00i00
+</blockquote></p>
+
+<p>This represent these values:</p>
+
+<pre>
+ v   00008086  (vendor)
+ d   00002770  (device)
+ sv  00001028  (subvendor)
+ sd  000001AD  (subdevice)
+ bc  06        (bus class)
+ sc  00        (bus subclass)
+ i   00        (interface)
+</pre>
+
+<p>The vendor/device values are the same values outputted from 'lspci
+-n' as 8086:2770.  The bus class/subclass is also shown by lspci as
+0600.  The 0600 class is a host bridge.  Other useful bus values are
+0300 (VGA compatible card) and 0200 (Ethernet controller).</p>
+
+<p>Not sure how to figure out the interface value, nor what it
+means.</p>
+
+<p><strong>USB subtype</strong></p>
+
+<p>Some typical USB entries can look like this.  This is an internal
+USB hub in a laptop:</p>
+
+<p><blockquote>
+usb:v1D6Bp0001d0206dc09dsc00dp00ic09isc00ip00
+</blockquote></p>
+
+<p>Here is the values included in this alias:</p>
+
+<pre>
+ v    1D6B  (device vendor)
+ p    0001  (device product)
+ d    0206  (bcddevice)
+ dc     09  (device class)
+ dsc    00  (device subclass)
+ dp     00  (device protocol)
+ ic     09  (interface class)
+ isc    00  (interface subclass)
+ ip     00  (interface protocol)
+</pre>
+
+<p>The 0900 device class/subclass means hub.  Some times the relevant
+class is in the interface class section.  For a simple USB web camera,
+these alias entries show up:</p>
+
+<p><blockquote>
+usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc01ip00
+<br>usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc02ip00
+<br>usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc01ip00
+<br>usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc02ip00
+</blockquote></p>
+
+<p>Interface class 0E01 is video control, 0E02 is video streaming (aka
+camera), 0101 is audio control device and 0102 is audio streaming (aka
+microphone).  Thus this is a camera with microphone included.</p>
+
+<p><strong>ACPI subtype</strong></p>
+
+<p>The ACPI type is used for several non-PCI/USB stuff.  This is an IR
+receiver in a Thinkpad X40:</p>
+
+<p><blockquote>
+acpi:IBM0071:PNP0511:
+</blockquote></p>
+
+<p>The values between the colons are IDs.</p>
+
+<p><strong>DMI subtype</strong></p>
+
+<p>The DMI table contain lots of information about the computer case
+and model.  This is an entry for a IBM Thinkpad X40, fetched from
+/sys/devices/virtual/dmi/id/modalias:</p>
+
+<p><blockquote>
+dmi:bvnIBM:bvr1UETB6WW(1.66):bd06/15/2005:svnIBM:pn2371H4G:pvrThinkPadX40:rvnIBM:rn2371H4G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
+</blockquote></p>
+
+<p>The values present are</p>
+
+<pre>
+ bvn  IBM            (BIOS vendor)
+ bvr  1UETB6WW(1.66) (BIOS version)
+ bd   06/15/2005     (BIOS date)
+ svn  IBM            (system vendor)
+ pn   2371H4G        (product name)
+ pvr  ThinkPadX40    (product version)
+ rvn  IBM            (board vendor)
+ rn   2371H4G        (board name)
+ rvr  NotAvailable   (board version)
+ cvn  IBM            (chassis vendor)
+ ct   10             (chassis type)
+ cvr  NotAvailable   (chassis version)
+</pre>
+
+<p>The chassis type 10 is Notebook.  Other interesting values can be
+found in the dmidecode source:</p>
+
+<pre>
+  3 Desktop
+  4 Low Profile Desktop
+  5 Pizza Box
+  6 Mini Tower
+  7 Tower
+  8 Portable
+  9 Laptop
+ 10 Notebook
+ 11 Hand Held
+ 12 Docking Station
+ 13 All In One
+ 14 Sub Notebook
+ 15 Space-saving
+ 16 Lunch Box
+ 17 Main Server Chassis
+ 18 Expansion Chassis
+ 19 Sub Chassis
+ 20 Bus Expansion Chassis
+ 21 Peripheral Chassis
+ 22 RAID Chassis
+ 23 Rack Mount Chassis
+ 24 Sealed-case PC
+ 25 Multi-system
+ 26 CompactPCI
+ 27 AdvancedTCA
+ 28 Blade
+ 29 Blade Enclosing
+</pre>
+
+<p>The chassis type values are not always accurately set in the DMI
+table.  For example my home server is a tower, but the DMI modalias
+claim it is a desktop.</p>
+
+<p><strong>SerIO subtype</strong></p>
+
+<p>This type is used for PS/2 mouse plugs.  One example is from my
+test machine:</p>
+
+<p><blockquote>
+serio:ty01pr00id00ex00
+</blockquote></p>
+
+<p>The values present are</p>
+
+<pre>
+  ty  01  (type)
+  pr  00  (prototype)
+  id  00  (id)
+  ex  00  (extra)
+</pre>
+
+<p>This type is supported by the psmouse driver.  I am not sure what
+the valid values are.</p>
+
+<p><strong>Other subtypes</strong></p>
+
+<p>There are heaps of other modalias subtypes according to
+file2alias.c.  There is the rest of the list from that source: amba,
+ap, bcma, ccw, css, eisa, hid, i2c, ieee1394, input, ipack, isapnp,
+mdio, of, parisc, pcmcia, platform, scsi, sdio, spi, ssb, vio, virtio,
+vmbus, x86cpu and zorro.  I did not spend time documenting all of
+these, as they do not seem relevant for my intended use with mapping
+hardware to packages when new stuff is inserted during run time.</p>
+
+<p><strong>Looking up kernel modules using modalias values</strong></p>
+
+<p>To check which kernel modules provide support for a given modalias,
+one can use the following shell script:</p>
+
+<pre>
+  for id in $(find /sys -name modalias -print0 | xargs -0 cat | sort -u); do \
+    echo "$id" ; \
+    /sbin/modprobe --show-depends "$id"|sed 's/^/  /' ; \
+  done
+</pre>
+
+<p>The output can look like this (only the first few entries as the
+list is very long on my test machine):</p>
+
+<pre>
+  acpi:ACPI0003:
+    insmod /lib/modules/2.6.32-5-686/kernel/drivers/acpi/ac.ko 
+  acpi:device:
+  FATAL: Module acpi:device: not found.
+  acpi:IBM0068:
+    insmod /lib/modules/2.6.32-5-686/kernel/drivers/char/nvram.ko 
+    insmod /lib/modules/2.6.32-5-686/kernel/drivers/leds/led-class.ko 
+    insmod /lib/modules/2.6.32-5-686/kernel/net/rfkill/rfkill.ko 
+    insmod /lib/modules/2.6.32-5-686/kernel/drivers/platform/x86/thinkpad_acpi.ko 
+  acpi:IBM0071:PNP0511:
+    insmod /lib/modules/2.6.32-5-686/kernel/lib/crc-ccitt.ko 
+    insmod /lib/modules/2.6.32-5-686/kernel/net/irda/irda.ko 
+    insmod /lib/modules/2.6.32-5-686/kernel/drivers/net/irda/nsc-ircc.ko 
+  [...]
+</pre>
+
+<p>If you want to help implementing a system to let us propose what
+packages to install when new hardware is plugged into a Debian
+machine, please send me an email or talk to me on
+<a href="irc://irc.debian.org/%23debian-devel">#debian-devel</a>.</p>
+
+<p><strong>Update 2013-01-15:</strong> Rewrite "cat $(find ...)" to
+"find ... -print0 | xargs -0 cat" to make sure it handle directories
+in /sys/ with space in them.</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen</a>, <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram</a>. 
         
         
       </div>
@@ -744,94 +885,31 @@ Frikanalen, bli medlem, lage og sende programmer der.</p>
     <div class="padding"></div>
     
     <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/12_years_of_outages___summarised_by_Stuart_Kendrick.html">12 years of outages - summarised by Stuart Kendrick</a></div>
-      <div class="date">26th October 2012</div>
-      <div class="body"><p>I work at the <a href="http://www.uio.no/">University of Oslo</a>
-looking after the computers, mostly on the unix side, but in general
-all over the place.  I am also a member (and currently leader) of
-<a href="http://www.nuug.no/">the NUUG association</a>, which in turn
-make me a member of <a href="http://www.usenix.org/">USENIX</a>.  NUUG
-is an member organisation for us in Norway interested in free
-software, open standards and unix like operating systems, and USENIX
-is a US based member organisation with similar targets.  And thanks to
-these memberships, I get all issues of the great USENIX magazine
-<a href="https://www.usenix.org/publications/login">;login:</a> in the
-mail several times a year.  The magazine is great, and I read most of
-it every time.</p>
-
-<p>In the last issue of the USENIX magazine ;login:, there is an
-article by <a href="http://www.skendric.com/">Stuart Kendrick</a> from
-Fred Hutchinson Cancer Research Center titled
-"<a href="https://www.usenix.org/publications/login/october-2012-volume-37-number-5/what-takes-us-down">What
-Takes Us Down</a>" (longer version also
-<a href="http://www.skendric.com/problem/incident-analysis/2012-06-30/What-Takes-Us-Down.pdf">available
-from his own site</a>), where he report what he found when he
-processed the outage reports (both planned and unplanned) from the
-last twelve years and classified them according to cause, time of day,
-etc etc.  The article is a good read to get some empirical data on
-what kind of problems affect a data centre, but what really inspired
-me was the kind of reporting they had put in place since 2000.<p>
-
-<p>The centre set up a mailing list, and started to send fairly
-standardised messages to this list when a outage was planned or when
-it already occurred, to announce the plan and get feedback on the
-assumtions on scope and user impact.  Here is the two example from the
-article: First the unplanned outage:
-
-<blockquote><pre>
-Subject:     Exchange 2003 Cluster Issues
-Severity:    Critical (Unplanned)
-Start:              Monday, May 7, 2012, 11:58
-End:        Monday, May 7, 2012, 12:38
-Duration:    40 minutes
-Scope:      Exchange 2003
-Description: The HTTPS service on the Exchange cluster crashed, triggering
-             a cluster failover.
-
-User Impact: During this period, all Exchange users were unable to
-             access e-mail. Zimbra users were unaffected.
-Technician:  [xxx]
-</pre></blockquote>
-
-Next the planned outage:
-
-<blockquote><pre>
-Subject:     H Building Switch Upgrades
-Severity:    Major (Planned)
-Start:      Saturday, June 16, 2012, 06:00
-End:        Saturday, June 16, 2012, 16:00
-Duration:    10 hours
-Scope:      H2 Transport
-Description: Currently, Catalyst 4006s provide 10/100 Ethernet to end-
-            stations. We will replace these with newer Catalyst
-            4510s.
-User Impact: All users on H2 will be isolated from the network during
-            this work. Afterward, they will have gigabit
-            connectivity.
-Technician:  [xxx]
-</pre></blockquote>
-
-<p>He notes in his article that the date formats and other fields have
-been a bit too free form to make it easy to automatically process them
-into a database for further analysis, and I would have used ISO 8601
-dates myself to make it easier to process (in other words I would ask
-people to write '2012-06-16 06:00 +0000' instead of the start time
-format listed above).  There are also other issues with the format
-that could be improved, read the article for the details.</p>
-
-<p>I find the idea of standardising outage messages seem to be such a
-good idea that I would like to get it implemented here at the
-university too.  We do register
-<a href="http://www.uio.no/tjenester/it/aktuelt/planlagte-tjenesteavbrudd/">planned
-changes and outages in a calendar</a>, and report the to a mailing
-list, but we do not do so in a structured format and there is not a
-report to the same location for unplanned outages.  Perhaps something
-for other sites to consider too?</p>
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Moved_the_pymissile_Debian_packaging_to_collab_maint.html">Moved the pymissile Debian packaging to collab-maint</a></div>
+      <div class="date">10th January 2013</div>
+      <div class="body"><p>As part of my investigation on how to improve the support in Debian
+for hardware dongles, I dug up my old Mark and Spencer USB Rocket
+Launcher and updated the Debian package
+<a href="http://packages.qa.debian.org/pymissile">pymissile</a> to make
+sure udev will fix the device permissions when it is plugged in.  I
+also added a "Modaliases" header to test it in the Debian archive and
+hopefully make the package be proposed by jockey in Ubuntu when a user
+plug in his rocket launcher.  In the process I moved the source to a
+git repository under collab-maint, to make it easier for any DD to
+contribute.  <a href="http://code.google.com/p/pymissile/">Upstream</a>
+is not very active, but the software still work for me even after five
+years of relative silence.  The new git repository is not listed in
+the uploaded package yet, because I want to test the other changes a
+bit more before I upload the new version.  If you want to check out
+the new version with a .desktop file included, visit the
+<a href="http://anonscm.debian.org/gitweb/?p=collab-maint/pymissile.git">gitweb
+view</a> or use "<tt>git clone
+git://anonscm.debian.org/collab-maint/pymissile.git</tt>".</p>
 </div>
       <div class="tags">
         
         
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/standard">standard</a>. 
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/robot">robot</a>. 
         
         
       </div>
@@ -846,6 +924,15 @@ for other sites to consider too?</p>
 <h2>Archive</h2>
 <ul>
 
+<li>2013
+<ul>
+
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2013/01/">January (11)</a></li>
+
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2013/02/">February (2)</a></li>
+
+</ul></li>
+
 <li>2012
 <ul>
 
@@ -869,7 +956,9 @@ for other sites to consider too?</p>
 
 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/10/">October (17)</a></li>
 
-<li><a href="http://people.skolelinux.org/pere/blog/archive/2012/11/">November (9)</a></li>
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2012/11/">November (10)</a></li>
+
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2012/12/">December (7)</a></li>
 
 </ul></li>
 
@@ -982,15 +1071,17 @@ for other sites to consider too?</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (3)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/bankid">bankid (4)</a></li>
+
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (6)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (12)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (57)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (70)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (116)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (118)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (9)</a></li>
 
@@ -998,39 +1089,41 @@ for other sites to consider too?</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (160)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (176)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (20)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (21)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (12)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (9)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (10)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (9)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju (32)</a></li>
 
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (5)</a></li>
+
  <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (17)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (8)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (4)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (6)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (25)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (215)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (220)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (147)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (148)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (6)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (38)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (41)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (59)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (62)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/raid">raid (1)</a></li>
 
@@ -1038,7 +1131,7 @@ for other sites to consider too?</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (2)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (4)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (6)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
 
@@ -1058,7 +1151,9 @@ for other sites to consider too?</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (5)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (12)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (13)</a></li>
+
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (1)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (7)</a></li>