X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/e3fa21ea975bf039f5984f729e4bb55d04f2854d..f36e6858875b50fe302f52ec06848879052040e3:/blog/index.html diff --git a/blog/index.html b/blog/index.html index d9f01eb429..2a7443468d 100644 --- a/blog/index.html +++ b/blog/index.html @@ -20,47 +20,72 @@
-
Welcome to the world, Isenkram!
-
22nd January 2013
-

Yesterday, I -asked -for testers for my prototype for making Debian better at handling -pluggable hardware devices, which I -set -out to create 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 -collab-maint -repository in Debian. The new name? It is Isenkram. -To fetch and build the latest version of the source, use

- -
-git clone git://anonscm.debian.org/collab-maint/isenkram.git
-cd isenkram && git-buildpackage -us -uc
-
- -

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. :)

- -

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.

- -

Update 2013-01-26: Added -us -us to build -instructions, to avoid confusing people with an error from the signing -process.

+ +
18th March 2013
+

I +siste +høring om +referansekatalogen +for IT-standarder i offentlig sektor, med høringsfrist 2012-09-30 +(DIFI-sak 2012/498), ble det foreslått å fjerne ODF som obligatorisk +standard når en publiserte dokumenter som skulle kunne redigeres +videre av mottaker. NUUG og andre protesterte på forslaget, som er et +langt steg tilbake når det gjelder å sikre like rettigheter for alle +når en kommuniserer med det offentlige. For noen dager siden ble jeg +oppmerksom på at Direktoratet for forvaltning og IKT (DIFI) og +Fornyings-,administrasjons- og kirkedepartementet (FAD) har +konkludert, og oversendt forslag til regjeringen i saken. FADs +dokument +2012/2168-8, +«Utkast til endring av standardiseringsforskriften» datert 2013-02-06 +har følgende triste oppsummering fra høringen i saken:

+ +

+Det kom noen innvendinger på forslaget om å fjerne ODF som +obligatorisk standard for redigerbare dokumenter. Innvendingene har +ikke blitt ilagt avgjørende vekt. +

+ +

Ved å fjerne ODF som obligatorisk format ved publisering av +redigerbare dokumenter setter en Norge tiår tilbake. Det som vil skje +er at offentlige etater går tilbake til kun å publisere dokumenter på +et av de mange formatene til Microsoft Office, og alle som ikke +aksepterer bruksvilkårene til Microsoft eller ikke har råd til å bruke +penger på å få tilgang til Microsoft Office må igjen basere seg på +verktøy fra utviklerne som er avhengig av å reversutvikle disse +formatene. I og med at ISO-spesifikasjonen for OOXML ikke komplett og +korrekt spesifiserer formatene til MS Office (men er nyttige å titte i +når en reversutvikler), er en tilbake til en situasjon der en ikke har +en +fri og åpen standard å forholde seg til, men i stedet må springe +etter Microsoft. Alle andre leverandører enn Microsoft vil dermed ha +en seriøs ulempe. Det er som å fjerne krav om bruk av meter som +måleenhet, og heretter aksepterer alle måleenheter som like gyldige, +når en vet at den mest brukte enheten vil være armlengden til Steve +Ballmer slik Microsoft måler den.

+ +

Jeg er ikke sikker på om forslaget er vedtatt av regjeringen ennå. +Kristian Bergem hos DIFI nevnte på et møte forrige tirsdag at han +trodde det var vedtatt i statsråd 8. mars, men jeg har ikke klart å +finne en skriftlig kilde på regjeringen.no som bekrefter dette. +Kanskje det ennå ikke er for sent...

+ +

Jeg ba i forrige uke om innsyn i dokument 6, 7 og 8 i FAD-saken, og +har i dag fått innsyn i dokument 7 og 8. Ble nektet innsyn i +dokumentet med tittelen «Oppsummering av høring om endringer i +forskrift om IT-standarder i offentlig forvaltning» med hjemmel i +off. lovens §15.1, så det er vanskelig å vite hvordan argumentene fra +høringen ble mottatt og forstått av saksbehandleren hos DIFI. Lurer +på hvordan jeg kan klage på at jeg ikke fikk se oppsummeringen. Fikk +tre PDFer tilsendt fra FAD, +Endring av underversjon i EHF, +Bakgrunnsnotat knyttet til versjon av EHF standarden i Forskrift om IT-standarder i offentlig sektor og +Utkast til endring av standardiseringsforskriften, hvis du vil ta en titt.

- Tags: debian, english, isenkram. + Tags: digistan, norsk, standard.
@@ -68,84 +93,64 @@ process.

- -
21st January 2013
-

Early this month I set out to try to -improve -the Debian support for pluggable hardware devices. Now my -prototype is working, and it is ready for a larger audience. To test -it, fetch the -source -from the Debian Edu subversion repository, build and install the -package. You might have to log out and in again activate the -autostart script.

- -

The design is simple:

- -
    - -
  • Add desktop entry in /usr/share/autostart/ causing a program -hw-support-handlerd to start when the user log in.
  • - -
  • 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.
  • - -
  • When new hardware is inserted, look up the hardware modalias in -the APT database, a database -available -via HTTP and a database available as part of the package.
  • - -
  • 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.
  • - -
  • If the user click on the 'install package now' button, ask -aptdaemon via the PackageKit API to install the requrired package.
  • - -
  • aptdaemon ask for root password or sudo password, and install the -package while showing progress information in a window.
  • - -
- -

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.

- -

-
-
-
-

- -

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.

- -

Update 2013-01-21 16:50: Due to popular demand, -here is the command required to check out and build the source: Use -'svn checkout -svn://svn.debian.org/debian-edu/trunk/src/hw-support-handler/; cd -hw-support-handler; debuild'. If you lack debuild, install the -devscripts package.

- -

Update 2013-01-23 12:00: 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 -build -instructions for details.

+ +
17th March 2013
+

Via +twitter +I just discovered that Pcwizz have +done a video +review on Youtube of Skolelinux +/ Debian Edu version 6. He installed the standalone profile and +the video show a walk-through of of the menu content, demonstration of +a few programs and his view of our distribution.

+ +

There is also some really nice quotes (transcribed by me, might +have heard wrong). While looking thought the Graphics menu:

+ +
+"Basically everything you ever need in a school environment." +
+ +

And as a general evaluation of the entire distribution:

+ +
+"So, yeah, a bit bloated. It kept all the Debian stuff in there, just +to keep it nice and GNU. So, I do not want to go on about it, but +lets give it 7 out of 10. I am not going to use it. That is because +I am not deploying a school network. There may be some mythical +feature to help you deploy Skolelinux on a school network." +
+ +

To bad he did not test the server profile, and discovered the PXE +installation option. It make it possible to install only the main +server from CD, and the rest of the machines via the net, and might be +considered the mythical feature he talk about. :)

+ +

While looking through the menus, there is also this funny comment +about the part of the K menu generated from the Debian menu subsystem: + +

+"[The K menu] have a special Debian section for software that no-one +is going to look at, because it contain lots of junky stuff that you +actually don't need in the education distribution, but have just been +included because it isn't stripped out for some reason." +
+ +

I guess it is yet another argument for merging the Debian menu and +Gnome/KDE desktop menu entries into +one +consistent menu system instead of two incomplete and partly +inconsistent menu systems.

+ +

The entire video is available below for those accepting iframe +embedding:

+ +
- Tags: debian, english, isenkram. + Tags: debian edu, english, video.
@@ -153,61 +158,170 @@ instructions for details.

- -
19th January 2013
-

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. - -

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.:)

- -
    + +
    13th March 2013
    +

    Min venn Erik Vold har på vegne av styret i +Frikanalen sendt ut +følgende +epost til alle kanalens medlemmer og støttespillere, i et forsøk +på å redde kanalen etter at kulturdepartementet kuttet all +finansiering i fjor høst. Jeg fikk meldingen som +NUUG-styremedlem, og mener den +trenger et større publikum. Jeg gjengir den derfor i sin helhet, +inkludert lenken til budsjett og regnskapsutkast, etter +avtale +med Erik.

    -
  • Lightweight (around 1 kg) and small volume (preferably smaller - than A4).
  • -
  • Robust, it will be in my backpack every day.
  • -
  • Three button mouse and a mouse pin instead of touch pad.
  • -
  • Long battery life time. Preferable a week.
  • -
  • Internal WIFI network card.
  • -
  • Internal Twisted Pair network card.
  • -
  • Some USB slots (2-3 is plenty)
  • -
  • Good keyboard - similar to the Thinkpad.
  • -
  • Video resolution at least 1024x768, with size around 12" (A4 paper -size).
  • -
  • Hardware supported by Debian Stable, ie the default kernel and - X.org packages.
  • -
  • Quiet, preferably fan free (or at least not using the fan most of - the time). - -
+

+

Til Frikanalens støttespillere

+ +

Frivillighetens TV kanal har med minimal støtte avviklet daglige +sendinger siden 2009 og til tross for at statsstøtten uteble i år, er +vi nå i full gang med å utvikle et nytt TV system som foreningen selv +vil eie. Departementet fikk dessverre ikke med seg at nettet vil +berike TV sendingen fremfor å gjøre den overflødig. De har nå overlatt +finansieringen av videre drift til frivilligheten og vi håper derfor +på deres hjelp til å søke om midler. På kjøpet får dere langt flere +muligheter til å nå ut med deres budskap og med utbyggingen av Hybrid +TV (nett på TV) kan vi sammen motbevise departementets påstand.

+ +

Kostnaden med denne utviklingen er svært lav ettersom de fleste +programmererne jobber gratis og alt er basert på åpen kildekode der +man deler hverandres bidrag til kringkastingsorienterte systemer. I +samarbeid med flere europeiske kanaler i EBU (SVT, BBC, NRK, ZDF, ARD, +France Televisions etc) ønsker vi å bygge opp et nettverk for delt +support og åpen kildekode der Frikanalen er den eneste sandkassen hvor +ny teknologi kan testes på luft. Riks TV åpner for annonsering av +nettinnhold relatert til det du ser på TV (streamevents i HbbTV) +allerede i sommer. Med støtte fra Media Netwerk som drifter Frikanalen +samt Sofia Digital som stiller med Hybrid TV server er vi & NRK sikret +en sentral rolle i utprøvingen. Det vil da bli mulig og streame +direkte til Riks TV sine nye mottakere (og nye IDTV'er) i HD samt at +TV'n kan annonsere en link til deres organisasjonssider, med +oppdaterte nyheter (RSS feeds), relaterte videoer etc., under +avviklingen av deres innslag.

+ +

Vi tror sendingene på den nye nettstyrte TV-kanalen vil bli rikere enn +på den kommersielle plattformen vi har vært på så langt. Brukerne vil +nå få en tettere integrasjon med sosiale medier samt at innholdet +etterhvert kommer ut på Hybrid TV og mobile enheter. Teknisk ansvarlig +i Frikanalen, Erik Vold, er sentral i utviklingen av streamingdelen +for tv.nrk.no (årets produkt i PC World) og erfaringen NRK har gjort +på mobile enheter kan videreføres til oss. Det er heller ingen tvil om +at Hybrid TV vil bli en suksess også i Norge. Erik sitter i Nordig som +har vedtatt en felles standard for de nordiske kringkasterne basert på +HbbTV. Denne standarden bruker web-protokoller som gjør det like +enkelt og billig å utvikle tjenester for Hybrid TV som å lage en +nettside. Samtlige nye TV apparater solgt i Norden vil ha støtte for +HbbTV og med det tror vi oppslutningen vil bli like stor som ellers i +Europa (Tyskland og Frankrike tredoblet antall HbbTV-brukere i +fjor). Vi forventer også mye d rahjelp fra disse foregangslandene. Vår +utvikler Tore Sinding Bekkedal er i skriv ende stund på en HbbTV +workshop med EBU-medlemmer hos IRT i München der han på vegne av NRK +tester og utvikler ny stremingteknologi (MPEG- DASH) for +mobile enheter og hybrid TV.

+ +

Frikanalen har forøvrig flyttet inn i nye kostnadsfrie lokaler på +Chateau Neuf. Med massiv hjelp fra frivillige får vi der en +flerkameraregi i egnede lokaler. Dette åpner for debatter, konserter, +events og mye spennende innhold i samarbeid med Student TV'ene.

+ +

Med hjelp fra NUUG har også streamingdelen av systemet fått plass på +Uninett (Forskningsparken) og dermed er vi på Norges beste +internettlinjer. Vi åpner med dette for live mottak fra samtlige +medlemmer og på sikt kan vi tilby HD på hybrid TV og PC / MAC / mobil.

+ +

Avvikling på luft skjer allerede med egenutviklede løsninger i åpen +kildekode (playout og live-koding). Det er også mulig å se første +byggetrinn med programoversikt og videoer på nett, men foreløpig kun +for nettleserne Opera, Chrome og Firefox: +http://beta.frikanalen.tv/guide/ +og +http://beta.frikanalen.tv/video/. Kom +gjerne med ønsker og tilbakemeldinger til vår hovedutvikler Benjamin +Bruheim: grolgh (at) gmail.com

+ +

Med en tettere tilknytning til Akademia og NRK, er det god grunn til å +tro at utviklingen vil skyte fart og at vi raskere kommer ut med +dagsaktuelt innhold.

+ +

Vi sender i dag på Riks TV og Altibox, men ikke lenger på TV8. Det er +viktig for våre brukere igjen å komme ut på Get og Canal Digital, +dermed er det svært heldig at vi nå har formidlingsplikt på kabel. Til +tross for at det tar noe tid å få nye avtaler på plass, med frivillig +juridisk bistand, vil vi sannsynligvis komme bedre ut i andre enden +også her. Formidlingsplikten gjelder samtlige kabeldistribusjoner i +Norge, ikke bare de regionene TV8 hadde avtale med.

+ +

Om alt dette skal se dagens lys er vi avhengig av en +grunnfinansiering. Deres medlemsavgifter er i så måte et svært viktig +bidrag som vi er veldig takknemlige for. Vi ser oss likevel nødt til +å be dere om å delta i arbeidet med å dekke de resterende +driftskostnader. Frikanalen sin arbeidskapasitet er betydelig redusert +etter at foreningen ikke lenger kunne finansiere en daglig leder, men +allmøtet kan åpne for at flere bidrar til inntjening (Ekstraordinær +generalforsamling foreslo å tillate sponsorplakater på sendeflaten og +deler av disse inntektene kan tilfalle kanalen). Håper alle +medlemmene kan hjelpe oss med å skrive søknader og skaffe sponsorer, +eller i det minste komme med gode forslag til inntjening. Det er ikke +mye som skal til for å klare videre drift, kun 0,5 mill. pr år.

+ +

Med en støtte som tilsvarer en norsk kortfilm vil vi kunne redde +sendearkivet for flere tusen videoer bygget opp av frivilligheten +gjennom 5 år og vi dobler kapasiteten for å ta imot nye (De som +leverer HD vil for øvrig kunne få HD på nett, mobil og hybrid TV).

+ +

Vi vil også kunne videreføre konsesjonen på Riks TV og realisere en +formidlingsplikt på kabel som har en årlig verdi på ca. 5 millioner +kroner (når over 2/3 av Norges befolkning).

+ +

Uten støtte står verdens eneste nasjonale nettstyrte åpne TV kanal i +fare for å forsvinne. En konkursbegjæring vil gjøre at utstyrsparken +går til advokatsalærer i behandling av boet og kreditorene vil ikke +kunne få dekket sine krav. Det mener vi ikke bare er urett ovenfor +långiverne, men det er urett mot alle de som har bidratt med å bygge +opp frivillighetens eneste sendearkiv og ikke minst alle de som i dag +jobber frivillig med å videreutvikle TV-systemet.

+ +

Håper dere i likhet med styret ser verdien i videre drift og kan melde +tilbake innen årsmøtet (Kontaktinformasjon til styret og frivillige +utviklere er i kopifeltet).

+ +

Vennligst fyll ut det blå feltet i regnearket under med det dere tror +er mulig å få inn. Det dere skriver her er ikke bindende, men gir +styret en indikasjon på om videre drift er mulig. Det blir tatt +stilling til av generalforsamlingen medio mars. Setter derfor pris på +om alle kan bidra med forslag til støtte eller antatte verdier fra +søknad/spons innen det.

+ +

Forhåpentligvis når vi også ønsket budsjett på 1 mill. pr år. Med det +kan vi nedbetale gjelden raskere og sørge for en bedre +tilgjengelighet, samt raskere utvikling:

+ +

https://docs.google.com/spreadsheet/ccc?key=0AouVL_e9_H1QdDgyX01kbElvcWI0UjFQbVNGbFIyUmc&usp=sharing#gid=0

+ +

Med vennlig hilsen +
Styret i Frikanalen

+

-

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.

- -

Perhaps I should rethink my needs, and look for a pad with an -external keyboard? I'll have to check the -Linux Laptops site for -well-supported laptops, or perhaps just buy one preinstalled from one -of the vendors listed on the Linux -Pre-loaded site.

+

Jeg håper noen av mine lesere med dette ser verdien av Frikanalen +og melder seg inn for å sende sine videoer ut på TV til RiksTV og +Altibox-seerne. Det haster. Årsmøtet i foreningen Frikanalen skal +straks avholdes, og innen den tid må en redningsplan være på plass. +NUUG bidrar allerede litt ved å organisere utviklersamlinger og +finansiere litt mat og drikke til de frivillige som stiller opp på +dugnadsbasis for å utvikle den tekniske løsningen. Det er ikke nok +til å redde kanalen, men gir et lite steg i riktig retning.

+ +

Update 2013-03-13 13:00: Epostlistelenkene +fungerer ikke lenger, da epostarkivet nå ikke lenger er tilgjengelig +for ikke-abonnenter. Korrigerte teksten fra styret litt etter +oppfordring fra Frikanalen-styret.

- Tags: debian, english. + Tags: frikanalen, norsk, nuug, video.
@@ -215,75 +329,40 @@ Pre-loaded site.

- -
18th January 2013
-

Some times I try to figure out which Iceweasel browser plugin to -install to get support for a given MIME type. Thanks to -specifications -done by Ubuntu 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:

- -
-#!/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
-
- -

It can be used like this to look up a given MIME type:

- -
-% ./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
-%
-
- -

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?

- -

Update 2013-01-18 14:20: The Debian BTS -request for icweasel support for this feature is -#484010 from 2008 (and -#698426 from today). Lack -of manpower and wish for a different design is the reason thus feature -is not yet in iceweasel from Debian.

+ +
10th March 2013
+

Om noen år skal mine barn antagelig begynne på skolen i Oslo. Der +skal de blant annet lære seg å verdsette og håndheve sine egne grenser +og beskytte sin personlige integritet og privatsfære. Det blir ikke +enkelt når ledelsen i Osloskolen med vitende og vilje legger opp til å +krenke elevenes privatsfære ved å la politiet ransake elevene med +narkohund i klasserommet. Jon Wessel-Aas har publisert noen +interessante kommentarer om hvorfor dette er ulovlig. + +

+ +

Jeg er veldig glad for at han bidrar med argumenter og forklaringer +vi foreldre kan ta med oss når vi skal protestere på og få en slutt på +denne forkastelige praksisen. Narkotikaproblemet må adresseres på +andre måter som ikke krenker barn og ungdoms integritet. Jeg ønsker +ikke at mine barn skal læres opp til å akseptere radering av +privatlivets fred, men heller at de skal læres opp til å sloss imot +den innføringen av stadig mer totalitær overvåkning som har pågått +over mange år i Norge.

- Tags: debian, english. + Tags: norsk, personvern.
@@ -291,120 +370,102 @@ is not yet in iceweasel from Debian.

- -
16th January 2013
-

The DEP-11 -proposal to add AppStream information to the Debian archive, 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.

- -

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 -Skolelinux FTP -site. 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.

- -

Debian Stable:

- -
-  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
-
- -

Debian Testing:

- -
-  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
-
- -

Debian Unstable:

- -
-  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
-
- -

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.

- -

Update 2013-01-16 13:35: Updated numbers after -discovering a typo in my script.

+ +
8th March 2013
+

Last Sunday, 2013-03-03,, Holger Levsen announced the first update +of Skolelinux / Debian Edu +based on Debian Squeeze. This is the first update since +the +initial release 2012-03-11. This is the +release +announcement email from Holger:

+ +

Hi,

+ +

it's my pleasure to announce the immediate availability of Debian +Edu 6.0.7+r1 ("Debian Edu Squeeze").

+ +

Debian Edu 6.0.7+r1 is an incremental update to Debian Edu +6.0.4+r0, containing all the changes between Debian 6.0.4 and 6.0.7 as +well Debian Edu specific bugfixes and enhancements. See below (in this +mail) for the full list of (edu) changes. Please see +http://www.debian.org/News/2012/20120311 +for more information on "Debian Edu Squeeze".

+ +

Images are available for download at +http://ftp.skolelinux.org/skolelinux-cd/

+ +

md5sums: +
1fe79eb4f0f9ae1c58fc318e26cc1e2e debian-edu-6.0.7+r1-CD.iso +
a6ddd924a8bd9a1b5ca122e8fe1c34ec debian-edu-6.0.7+r1-DVD.iso +
ac6c72cd7925ccec51bfbf58e2a7c69c debian-edu-6.0.7+r1-source-DVD.iso

+ +

sha1sums: +
a4b58233b672a99c7df8dc24fb6de3327654a5c3 debian-edu-6.0.7+r1-CD.iso +
9b524915e0ff2aa793f13d93123e5bd2bab2dbaa debian-edu-6.0.7+r1-DVD.iso +
43997614893fc5e9e59ad6ce066b05d07fd836fa debian-edu-6.0.7+r1-source-DVD.iso

+ +

These images are suitable for amd64+i386.

+ +

Changes for Debian Edu 6.0.7+r1 Codename "Squeeze", released +2013-03-03:

+ +
    +
  • sitesummary was updated from 0.1.3 to 0.1.8 +
      +
    • Make Nagios configuration more robust and efficient
    • +
    • Comply with 3.X kernel
    • +
  • +
  • debian-edu-doc from 1.4~20120310~6.0.4+r0 to 1.4~20130228~6.0.7+r1 +
      +
    • Minor updates from the wiki
    • +
    • Danish translation now complete
    • +
  • +
  • debian-edu-config from 1.453 to 1.455 +
      +
    • Fix /etc/hosts for LTSP diskless workstations. Closes: #699880
    • +
    • Make ltsp_local_mount script work for multiple devices.
    • +
    • Correct Kerberos user policy: don't expire password after 2 days. + Closes: #664596
    • +
    • Handle '#' characters in the root or first users password. + Closes: #664976
    • +
    • Fixes for gosa-sync: +
        +
      • Don't fail if password contains "
      • +
      • Don't disclose new password string in syslog
      • +
    • +
    • Fixes for gosa-create: +
        +
      • Invalidate libnss cache before applying changes
      • +
      • Multiple failures during mass user import into GOsa²
      • +
      • gosa-netgroups plugin: don't erase entries of attribute type + "memberNisNetgroup". Closes: #687256
      • +
      • First user now uses the same Kerberos policy as all other users
      • +
    • +
    • Add Danish web page
    • +
    +
  • debian-edu-install from 1.528 to 1.530 +
      +
    • Improve preseeding support and documentation
    • +
  • +
+ +

End-user documentation in English is available at +http://wiki.debian.org/DebianEdu/Documentation/Squeeze/ +- translations to French, Italian, Danish and German are available in +the debian-edu-doc package. (Other languages could use your help!)

+ +

If you want to contribute to Debian Edu, please join our +mailinglist +debian-edu@lists.debian.org! +

+ +

I am very happy to see the fruits of a year of hard work. :)

- Tags: debian, english. + Tags: debian edu, english.
@@ -412,119 +473,58 @@ discovering a typo in my script.

- -
15th January 2013
-

Yesterday, I wrote about the -modalias -values provided by the Linux kernel following my hope for -better -dongle support in Debian. 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.

- -

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.

- -

-Package: package-name -
Modaliases: module(modaliasglob, modaliasglob, modaliasglob)

-

- -

It is fairly trivial to write code to find the relevant packages -for a given modalias value using this file.

- -

An entry like this would suggest the video and picture application -cheese for many USB web cameras (interface bus class 0E01):

- -

-Package: cheese -
Modaliases: cheese(usb:v*p*d*dc*dsc*dp*ic0Eisc01ip*)

-

- -

An entry like this would suggest the pcmciautils package when a -CardBus bridge (bus class 0607) PCI device is present:

- -

-Package: pcmciautils -
Modaliases: pcmciautils(pci:v*d*sv*sd*bc06sc07i*) -

- -

An entry like this would suggest the package colorhug-client when -plugging in a ColorHug with USB IDs 04D8:F8DA:

- -

-Package: colorhug-client -
Modaliases: colorhug-client(usb:v04D8pF8DAd*)

-

- -

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.

- -

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.

- -

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 -hw-support-lookup -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.

- -

When I use it on a machine with a yubikey inserted, it suggest to -install yubikey-personalization:

- -

-% ./hw-support-lookup -
yubikey-personalization -
% -

- -

When I run it on my Thinkpad X40 with a PCMCIA/CardBus slot, it -propose to install the pcmciautils package:

- -

-% ./hw-support-lookup -
pcmciautils -
% -

- -

If you know of any hardware-package mapping that should be added to -my -database, please tell me about it.

- -

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.

- -

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 -#debian-devel.

+ +
3rd March 2013
+

Do you want to set up your own TV station, schedule videos and +broadcast them on the air? Using free software? With video on demand +support using +free and +open standards? Included a web based video stream as well? And +administrate it all in your web browser from anywhere in the world? A +few years now the Norwegian public access TV-channel +Frikanalen have been building a +system to do just this. The source code for the solution is licensed +using the GNU LGPL, and +available from github.

+ +

The idea is simple. You upload a video file over the web, and +attach meta information to the file. You select a time slot in the +program schedule, and when the time come it is played on the air and +in the web stream. It is also made available in a video on demand +solution for anyone to see it also outside its scheduled time. All +you need to run a TV station - using your web browser.

+ +

There are several parts to this web based solution. I'll mention +the three most important ones. The first part is the database of +videos and the schedule. This is written in Django and include a REST +API. The current database is SQLite, but the plan is to migrate it to +PostgreSQL. At the moment this system can be tested on +beta.frikanalen.tv. The +second part is the video playout, taking the schedule information from +the database and providing a video stream to broadcast. This is done +using CasparCG from SVT and +Media Lovin' Toolkit. Video +signal distribution is handled using +Open Broadcast Encoder. The +third part is the converter, handling the transformation of uploaded +video files to a format useful for broadcasting, streaming and video +on demand. It is still very much work in progress, so it is not yet +decided what it will end up using. Note that the source of the latter +two parts are not yet pushed to github. The lead author want to clean +them up a bit more first.

+ +

The development is coordinated on the +#frikanalen IRC +channel (irc.freenode.net), and discussed on +the +frikanalen mailing list. The lead developer is Benjamin Bruheim +(phed on IRC). Anyone is welcome to participate in the +development.

@@ -532,260 +532,35 @@ machine, please send me an email or talk to me on
- -
14th January 2013
-

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 -the -Debian Edu subversion repository: - -

Modalias decoded

- -

This document try to explain what the different types of modalias -values stands for. It is in part based on information from -<URL: https://wiki.archlinux.org/index.php/Modalias >, -<URL: http://unix.stackexchange.com/questions/26132/how-to-assign-usb-driver-to-device >, -<URL: http://code.metager.de/source/history/linux/stable/scripts/mod/file2alias.c > and -<URL: http://cvs.savannah.gnu.org/viewvc/dmidecode/dmidecode.c?root=dmidecode&view=markup >. - -

The modalias entries for a given Linux machine can be found using -this shell script:

- -
-find /sys -name modalias -print0 | xargs -0 cat | sort -u
-
- -

The supported modalias globs for a given kernel module can be found -using modinfo:

- -
-% /sbin/modinfo psmouse | grep alias:
-alias:          serio:ty05pr*id*ex*
-alias:          serio:ty01pr*id*ex*
-%
-
- -

PCI subtype

- -

A typical PCI entry can look like this. This is an Intel Host -Bridge memory controller:

- -

-pci:v00008086d00002770sv00001028sd000001ADbc06sc00i00 -

- -

This represent these values:

- -
- v   00008086  (vendor)
- d   00002770  (device)
- sv  00001028  (subvendor)
- sd  000001AD  (subdevice)
- bc  06        (bus class)
- sc  00        (bus subclass)
- i   00        (interface)
-
- -

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).

- -

Not sure how to figure out the interface value, nor what it -means.

- -

USB subtype

- -

Some typical USB entries can look like this. This is an internal -USB hub in a laptop:

- -

-usb:v1D6Bp0001d0206dc09dsc00dp00ic09isc00ip00 -

- -

Here is the values included in this alias:

- -
- 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)
-
- -

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:

- -

-usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc01ip00 -
usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc02ip00 -
usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc01ip00 -
usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc02ip00 -

- -

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.

- -

ACPI subtype

- -

The ACPI type is used for several non-PCI/USB stuff. This is an IR -receiver in a Thinkpad X40:

+ +
27th February 2013
+

Dr. Richard Stallman, +founder of Free Software Foundation, +is giving a +talk in Oslo March 1st 2013 17:00 to 19:00. The event is public +and organised by Norwegian Unix Users Group (NUUG) +(where I am the chair of the board) and +The Norwegian Open Source Competence +Center. The title of the talk is «The Free Software Movement and +GNU», with this description:

-acpi:IBM0071:PNP0511: +The Free Software Movement campaigns for computer users' freedom to +cooperate and control their own computing. The Free Software Movement +developed the GNU operating system, typically used together with the +kernel Linux, specifically to make these freedoms possible.

-

The values between the colons are IDs.

- -

DMI subtype

- -

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:

- -

-dmi:bvnIBM:bvr1UETB6WW(1.66):bd06/15/2005:svnIBM:pn2371H4G:pvrThinkPadX40:rvnIBM:rn2371H4G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable: -

- -

The values present are

- -
- 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)
-
- -

The chassis type 10 is Notebook. Other interesting values can be -found in the dmidecode source:

- -
-  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
-
- -

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.

- -

SerIO subtype

- -

This type is used for PS/2 mouse plugs. One example is from my -test machine:

- -

-serio:ty01pr00id00ex00 -

- -

The values present are

- -
-  ty  01  (type)
-  pr  00  (prototype)
-  id  00  (id)
-  ex  00  (extra)
-
- -

This type is supported by the psmouse driver. I am not sure what -the valid values are.

- -

Other subtypes

- -

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.

- -

Looking up kernel modules using modalias values

- -

To check which kernel modules provide support for a given modalias, -one can use the following shell script:

- -
-  for id in $(find /sys -name modalias -print0 | xargs -0 cat | sort -u); do \
-    echo "$id" ; \
-    /sbin/modprobe --show-depends "$id"|sed 's/^/  /' ; \
-  done
-
- -

The output can look like this (only the first few entries as the -list is very long on my test machine):

- -
-  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 
-  [...]
-
- -

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 -#debian-devel.

- -

Update 2013-01-15: Rewrite "cat $(find ...)" to -"find ... -print0 | xargs -0 cat" to make sure it handle directories -in /sys/ with space in them.

+

The meeting is open for everyone. Due to space limitations, the +doors opens for NUUG members at 16:15, and everyone else at 16:45. I +am really curious how many will show up. See +the event +page for the location details.

@@ -793,31 +568,91 @@ in /sys/ with space in them.

- -
10th January 2013
-

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 -pymissile 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. Upstream -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 -gitweb -view or use "git clone -git://anonscm.debian.org/collab-maint/pymissile.git".

+ +
22nd February 2013
+

Etter en lang pause og travle uker har jeg endelig klart å få +samlet et nytt intervju med en av folkene i +Skolelinux-miljøet. +Denne gang er det Helge Tore Høyland, en mangeårig bidragsyter på +epostlistene og ellers i prosjektet.

+ +

Hvem er du, og hva driver du med til daglig?

+ +

Eg er IT-konsulent/teknikker hjå eit firma i Steinkjer med navn +Uno IT. Uno IT er eit lite firma som +drifter nettverk og maskiner for små og mellomstore firma +Steinkjer-området. Per dags dato er me 2 ansatte. Min faglege bakgrunn +er Fagbrev som it-teknikker, samt nokre fag innen nettverk- og +server-drift frå HiST og NTNU. Dagleg arbeid består i oppsett av nye +maskiner og hjelp til sluttbrukere, samt oppsett og vedlikehold av eit +vidt spekter av fagsystemer ute hjå kunder. Erfaring med Skolelinux +har eg hatt i forbindelse med drifting av +Bjørkly skule, ein privat +grunnskule i Namsos-området. I dag har skulen 65 elever, 15 lærere, 1 +hovedserver og ca 60 klienter som kjører halvtjukt. Eg har bygd og +driftet systemet sidan summaren 2006.

+ +

Hvordan kom du i kontakt med Skolelinux-prosjektet?

+ +

Eg kom i kontakt med Skolelinux-prosjektet via ein artikkel i eit +fagblad, som eg ikkje lenger hugsar namnet på. I og med at eg allereie +hadde pusla med nettverk for ein annan skule, fatta eg straks +interesse for prosjektet.

+ +

Hva er fordelene med Skolelinux slik du ser det?

+ +

Fordelane med Skolelinux er sentralisert administrasjon og svært +mange gode verktøy «ut av boksen». Veldig kjekt å kunne drifte 60 +klientar med berre å «bry» seg med ein server. Levetid for systemets +hardware er og ein veldig fin effekt. I tillegg kjem fordelar som økt +sikkerhet og mindre lisenskostnader. Etter min erfaring er det og +mykje mindre driftskostnader med eit slikt system enn konkurrerande +system, pga enkelhet med sentralisert administrasjon. På grunn av at +Skolelinux er basert på Debian er det òg svært stabilt.

+ +

Hva er ulempene med Skolelinux slik du ser det?

+ +

Ulemper er mangel på vilje til å følge standarer ute i markedet, +som fører til mangel på støtte til nokre mykje brukte ting. Flash og +Java er typiske eksempel. Sidan Debian satsar på stabilitet framfor å +ha nyeste pakke av eit program, kan ein i nokre tilfeller kome borti +at program vert «for gamle». Det er spesielt nettlesaren som er +utsett. Mangel på vilje til å utvikle pedagogisk programvare, i Noreg, +for «alle» platformer fører òg til noko hovudbry.

+ +

Hvilken fri programvare bruker du til daglig?

+ +

Til dagleg bruker eg svært mange forskjellige «fri programvare» +program. Firefox, Thunderbird, Freecommander, ImgBurn, Clonezilla, +OCS inventory, Icinga, Skolelinux, SystemRescueCD og mykje meir.

+ +

Hvilken strategi tror du er den rette å bruke for å få +skoler til å ta i bruk fri programvare?

+ +

Strategisk må ein fokusere på at sluttbruker eigentleg ikkje er så +fokusert på at det er fri programvare men at det skal «berre fungere». +Gjer det enkelt å bruker og ikkje minst å administrere. For Skolelinux +sin del må ein få eit betre fokus på overganger. Utbytting av servere +må gå meir automatisk, import og eksport av brukerbase og maskinbase +med meir må kunne gå enkelt og oppgradering til neste versjon må bli +mykje meir automatisk og gjennomtesta. Ein må unngå at ein må sette +opp frå start når ein byter ut ein server eller oppgraderer til neste +versjon. For å få Skolelinux til å bli eit betre alternativ for skular +må ein ha fokus på nettlesaren. Denne må bli «up to date» og støtte +dei protokollar og tillegg som vert brukt av forlag med meir. Etter +kvart som meir og meir blir flytta ut i «skya» vert dette viktigare og +viktigare. Ein kunne ynskje og jobbe for at forlag med fleire tar i +bruk opne standarer, men inntil det skjer, må systemet kunne brukast +mot desse fagsystema.

+ +

For meg har prosjektet med Skolelinux vore ein svært artig og +lærerik prosess. Miljøet rundt er ikkje enormt stort, dog stort nok, +men det er svært hjelpevillig og engasjert.

- Tags: debian, english, robot. + Tags: debian edu, intervju, norsk.
@@ -825,98 +660,27 @@ git://anonscm.debian.org/collab-maint/pymissile.git".

- -
9th January 2013
-

One thing that annoys me with Debian and Linux distributions in -general, is that there is a great package management system with the -ability to automatically install software packages by downloading them -from the distribution mirrors, but no way to get it to automatically -install the packages I need to use the hardware I plug into my -machine. Even if the package to use it is easily available from the -Linux distribution. When I plug in a LEGO Mindstorms NXT, it could -suggest to automatically install the python-nxt, nbc and t2n packages -I need to talk to it. When I plug in a Yubikey, it could propose the -yubikey-personalization package. The information required to do this -is available, but no-one have pulled all the pieces together.

- -

Some years ago, I proposed to -use -the discover subsystem to implement this. The idea is fairly -simple: - -

    - -
  • Add a desktop entry in /usr/share/autostart/ pointing to a program - starting when a user log in.
  • - -
  • Set this program up to listen for kernel events emitted when new - hardware is inserted into the computer.
  • - -
  • When new hardware is inserted, look up the hardware ID in a - database mapping to packages, and take note of any non-installed - packages.
  • - -
  • Show a message to the user proposing to install the discovered - package, and make it easy to install it.
  • - -
- -

I am not sure what the best way to implement this is, but my -initial idea was to use dbus events to discover new hardware, the -discover database to find packages and -PackageKit to install -packages.

- -

Yesterday, I found time to try to implement this idea, and the -draft package is now checked into -the -Debian Edu subversion repository. In the process, I updated the -discover-data -package to map the USB ids of LEGO Mindstorms and Yubikey devices to -the relevant packages in Debian, and uploaded a new version -2.2013.01.09 to unstable. I also discovered that the current -discover -package in Debian no longer discovered any USB devices, because -/proc/bus/usb/devices is no longer present. I ported it to use -libusb as a fall back option to get it working. The fixed package -version 2.1.2-6 is now in experimental (didn't upload it to unstable -because of the freeze).

- -

With this prototype in place, I can insert my Yubikey, and get this -desktop notification to show up (only once, the first time it is -inserted):

- -

- -

For this prototype to be really useful, some way to automatically -install the proposed packages by pressing the "Please install -program(s)" button should to be implemented.

- -

If this idea seem useful to you, and you want to help make it -happen, please help me update the discover-data database with mappings -from hardware to Debian packages. Check if 'discover-pkginstall -l' -list the package you would like to have installed when a given -hardware device is inserted into your computer, and report bugs using -reportbug if it isn't. Or, if you know of a better way to provide -such mapping, please let me know.

- -

This prototype need more work, and there are several questions that -should be considered before it is ready for production use. Is dbus -the correct way to detect new hardware? At the moment I look for HAL -dbus events on the system bus, because that is the events I could see -on my Debian Squeeze KDE desktop. Are there better events to use? -How should the user be notified? Is the desktop notification -mechanism the best option, or should the background daemon raise a -popup instead? How should packages be installed? When should they -not be installed?

- -

If you want to help getting such feature implemented in Debian, -please send me an email. :)

+ +
15th February 2013
+

If you, like me, want an updated a map for your Garmin GPS, there is +now a great source of free maps available from +Frikart. To +download a map, just click on the country you are interested in, and +download the map type you want. There are 8 different maps available, +using different colours and data selection. Pick one of Roadmap, Topo +Summer, Topo Winter, Roadmap II, Topo Summer II, Topo Winter II, +"Trails - overlay map" and "Cross country - overlay map" (see the web +page for descriptions).

+ +

The maps are updated weekly, so if you find something wrong in the +map you can just edit the +OpenStreetmap map source +(anyone can contribute) and fetch a fixed map a week later. :)

- Tags: debian, english, isenkram. + Tags: english, kart.
@@ -924,27 +688,90 @@ please send me an email. :)

- -
2nd January 2013
-

During Christmas, I have worked a bit on the Debian support for -LEGO Mindstorm -NXT. My son and I have played a bit with my NXT set, and I -discovered I had to build all the tools myself because none were -already in Debian Squeeze. If Debian support for LEGO is something -you care about, please join me on the IRC channel -#debian-lego (server -irc.debian.org). There is a lot that could be done to improve the -Debian support for LEGO designers. For example both CAD software -and Mindstorm compilers are missing. :)

- -

Update 2012-01-03: A -project page -including links to Lego related packages is now available.

+ +
12th February 2013
+

Here in Norway, electronic invoices are spreading, and the +solution promoted +by the Norwegian government require that invoices are sent through +one of the approved facilitators, and it is not possible to send +electronic invoices without an agreement with one of these +facilitators. This seem like a needless limitation to be able to +transfer invoice information between buyers and sellers. My preferred +solution would be to just transfer the invoice information directly +between seller and buyer, for example using SMTP, or some HTTP based +protocol like REST or SOAP. But this might also be overkill, as the +"electronic" information can be transferred using paper invoices too, +using a simple bar code. My bar code encoding of choice would be QR +codes, as this encoding can be read by any smart phone out there. The +content of the code could be anything, but I would go with +the vCard format, as +it too is supported by a lot of computer equipment these days.

+ +

The vCard format support extentions, and the invoice specific +information can be included using such extentions. For example an +invoice from SLX Debian Labs (picked because we +ask +for donations to the Debian Edu project and thus have bank account +information publicly available) for NOK 1000.00 could have these extra +fields:

+ +

+X-INVOICE-NUMBER:1
+X-INVOICE-AMOUNT:NOK1000.00
+X-INVOICE-KID:123412341234
+X-INVOICE-MSG:Donation to Debian Edu
+X-BANK-ACCOUNT-NUMBER:16040884339
+X-BANK-IBAN-NUMBER:NO8516040884339
+X-BANK-SWIFT-NUMBER:DNBANOKKXXX
+

+ +

The X-BANK-ACCOUNT-NUMBER field was proposed in a stackoverflow +answer regarding +how +to put bank account information into a vCard. For payments in +Norway, either X-INVOICE-KID (payment ID) or X-INVOICE-MSG could be +used to pass on information to the seller when paying the invoice.

+ +

The complete vCard could look like this:

+ +

+BEGIN:VCARD
+VERSION:2.1
+ORG:SLX Debian Labs Foundation
+ADR;WORK:;;Gunnar Schjelderups vei 29D;OSLO;;0485;Norway
+URL;WORK:http://www.linuxiskolen.no/slxdebianlabs/
+EMAIL;PREF;INTERNET:sdl-styret@rt.nuug.no
+REV:20130212T095000Z
+X-INVOICE-NUMBER:1
+X-INVOICE-AMOUNT:NOK1000.00
+X-INVOICE-MSG:Donation to Debian Edu
+X-BANK-ACCOUNT-NUMBER:16040884339
+X-BANK-IBAN-NUMBER:NO8516040884339
+X-BANK-SWIFT-NUMBER:DNBANOKKXXX
+END:VCARD
+

+ +

The resulting QR code created using +qrencode would look +like this, and should be readable (and thus checkable) by any smart +phone, or for example the zbar +bar code reader and feed right into the approval and accounting +system.

+ +

+ +

The extension fields will most likely not show up in any normal +vCard reader, so those parts would have to go directly into a system +handling invoices. I am a bit unsure how vCards without name parts +are handled, but a simple test indicate that this work just fine.

+ +

Update 2013-02-12 11:30: Added KID to the proposal +based on feedback from Sturle Sunde.

- Tags: debian, english, robot. + Tags: english, standard.
@@ -964,6 +791,10 @@ including links to Lego related packages is now available.

  • January (11)
  • +
  • February (9)
  • + +
  • March (6)
  • +
  • 2012 @@ -1106,23 +937,23 @@ including links to Lego related packages is now available.

  • bankid (4)
  • -
  • bitcoin (5)
  • +
  • bitcoin (6)
  • bootsystem (12)
  • bsa (2)
  • -
  • debian (69)
  • +
  • debian (70)
  • -
  • debian edu (118)
  • +
  • debian edu (121)
  • -
  • digistan (9)
  • +
  • digistan (10)
  • docbook (7)
  • drivstoffpriser (4)
  • -
  • english (175)
  • +
  • english (183)
  • fiksgatami (21)
  • @@ -1130,13 +961,13 @@ including links to Lego related packages is now available.

  • freeculture (10)
  • -
  • frikanalen (9)
  • +
  • frikanalen (11)
  • -
  • intervju (32)
  • +
  • intervju (33)
  • isenkram (5)
  • -
  • kart (17)
  • +
  • kart (18)
  • ldap (8)
  • @@ -1146,17 +977,17 @@ including links to Lego related packages is now available.

  • multimedia (25)
  • -
  • norsk (219)
  • +
  • norsk (226)
  • -
  • nuug (148)
  • +
  • nuug (151)
  • -
  • offentlig innsyn (6)
  • +
  • offentlig innsyn (7)
  • open311 (2)
  • -
  • opphavsrett (41)
  • +
  • opphavsrett (42)
  • -
  • personvern (61)
  • +
  • personvern (65)
  • raid (1)
  • @@ -1172,25 +1003,25 @@ including links to Lego related packages is now available.

  • scraperwiki (2)
  • -
  • sikkerhet (28)
  • +
  • sikkerhet (29)
  • sitesummary (4)
  • skepsis (4)
  • -
  • standard (39)
  • +
  • standard (41)
  • stavekontroll (3)
  • -
  • stortinget (5)
  • +
  • stortinget (6)
  • -
  • surveillance (12)
  • +
  • surveillance (15)
  • sysadmin (1)
  • valg (7)
  • -
  • video (35)
  • +
  • video (38)
  • vitenskap (4)
  • @@ -1201,7 +1032,7 @@ including links to Lego related packages is now available.

    - Created by Chronicle v4.4 + Created by Chronicle v4.6