X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/e3fa21ea975bf039f5984f729e4bb55d04f2854d..e7f59807c62b1de1c15ddf5e912c32442237fcdc:/blog/index.html diff --git a/blog/index.html b/blog/index.html index d9f01eb429..d956ca6294 100644 --- a/blog/index.html +++ b/blog/index.html @@ -20,132 +20,55 @@
-
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.

-
-
- - - Tags: debian, english, isenkram. - - -
-
-
- -
-
First prototype ready making hardware easier to use in Debian
-
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:

+ +
9th April 2013
+

For cirka en måned siden +ba +jeg om begrunnelse på nektet innsyn i dokumenter om +standardkatalogen fra Fornyingsdepartementet. I dag fikk jeg svar fra +Fornyingsdepartementet, og tilgang til dokumentene. Jeg fikk både +innsyn i vedlegg sendt fra DIFI, og også innsyn i et notat brukt +internt i Fornyingsdepartementet:

+ +

Det bør nevnes at da jeg ble nektet innsyn hos mottaker +Fornyingsdepartementet på høringsoppsummeringen som DIFI hadde sendt +ut, spurte jeg DIFI om innsyn i stedet. Det fikk jeg i løpet av et +par dager. Moralen er at hvis ikke mottaker ikke vil gi innsyn, spør +avsender i stedet. Kanskje de har forskjellig forståelse av hva som +bør holdes skjult for folket. Her er de tilsvarende dokumentene jeg +fikk innsyn i fra DIFI:

+ + -

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.

+

Det jeg synes er mest interessant er endel av aktørene som +protesterte på fjerningen (Kartverket, Drammen kommune), og hvordan +høringsoppsummeringen ikke tar stilling til effekten av å fjerne ODF +fra katalogen.

- Tags: debian, english, isenkram. + Tags: norsk, standard.
@@ -153,61 +76,48 @@ 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.:)

- -
    - -
  • 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). + +
    7th April 2013
    +

    For en stund tilbake gikk nyheten om +Sandy +Island, en øy som var dukket opp på noen kart, men som ikke var +synlig når en sjekket den på satellittbilder. Dagbladet meldte for +eksempel at +«denne +øya finnes på kart, men ikke i virkeligheten». Noe senere begynte +jeg å lese +historier +om Ruffen til mine barn. Dette er historier om sjøormen Ruffen +skapt av Tor Åge Bringsværd, som starter med følgende beskrivelse:

    -
+

+«Langt ute i havet ligger en mystisk øy. Den er bare synlig hver +tirsdag og fredag. Derfor står den ikke på noe kart. På denne øya +ligger et slott, og i slottet bor en gammel, fin sjøormfamilie.» +

-

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.

+

Det virker åpenbart at Hr. Bringsværd tok feil når han trodde den +ikke var på noe kart, og at noen tydeligvis har vært i nærheten en +tirsdag eller en fredag og fått den med på et kart, mens +satellittbildene er tatt på noen av de fem andre dagene i uka og +dermed ikke ser øya. :)

+ +

I følge +en +senere artikkel i Dagbladet hevder Shaun Higgins, en forsker fra +New Zealand, at et hvalfangstskip fra 1876 er opprinnelsen til at +spøkelsesøya i det hele tatt havnet på kartet. Det fremgår ikke fra +historien hvilken ukedag de var innom.

+ +

Jeg har stor sans for Tor Åge Bringsværd. Og han viste nylig en +svært fin side av seg selv da han sa ja til EFNs forespørsel om å gi +ut novellen Kodémus med +Creative Commons-lisens.

- Tags: debian, english. + Tags: norsk.
@@ -215,75 +125,24 @@ 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.

+ +
3rd April 2013
+

Today the Isenkram +package finally made it into the archive, after lingering in NEW +for many months. I uploaded it to the Debian experimental suite +2013-01-27, and today it was accepted into the archive.

+ +

Isenkram is a system for suggesting to users what packages to +install to work with a pluggable hardware device. The suggestion pop +up when the device is plugged in. For example if a Lego Mindstorm NXT +is inserted, it will suggest to install the program needed to program +the NXT controller. Give it a go, and report bugs and suggestions to +BTS. :)

- Tags: debian, english. + Tags: debian, english, isenkram.
@@ -291,120 +150,106 @@ 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.

+ +
27th March 2013
+

For noen dager siden nevnte jeg at vi jobbet med å typesette en +novelle med DocBook. I dag ble +utgivelsen annonsert med følgende pressemelding fra Elektronisk +Forpost Norge), som jeg gjengir i sin helhet:

+ +

+ +

EFN nyutgir Kodémus:

+ +

Tor Åge Bringsværd-novelle om IT og overvåkning fra +informasjonsteknologiens spedbarndom får nytt liv

+ +

Elektronisk Forpost Norge (EFN) er veldig glad for anledningen til +å nyutgi Tor Åge Bringsværds novelle Kodémus i digitalt format for nye +(og gamle) generasjoner. Novellen ble skrevet så tidlig som vinteren +1968, og første gang trykt i novellesamlingen Probok på Gyldendal +samme år.

+ +

Informasjonsteknologi spiller en sentral rolle i Kodémus, og det er +spennende å sammenligne beskrivelsen av IT fra 1968 med dagens IT i +2013. Forskjellene er mange -- men det er jammen likhetene også. Ikke +minst det at idag går jo nesten alle rundt med lillebrødre på seg!

+ +

"Riktignok er det ikke påbudt å ha mobil," sier Thomas Gramstad, +leder i EFN. "Men vi holder på å lage et samfunn der det blir så +upraktisk eller tungvint å ikke ha det, at man i praksis ikke slipper +unna. Og disse lillebrødrene sladrer hele tiden til staten (og til +mange andre) om hvor vi er, hva vi gjør, hva vi bryr oss om, hva vi +liker..."

+ +

Det at Kodémus åpenbart er skrevet i en annen tid med en annen type +IT og likevel virker så relevant idag, er i seg selv et hardtslående +tankekors.

+ +

Tross sitt IT-tema fantes ikke Kodémus i elektronisk form, og +frivillige i EFN har skannet inn, OCR-tolket og korrekturlest +novellen, og deretter kodet den i en rekke digitale formater.

+ +

Forfatteren har gitt tillatelse til publisering av Kodémus under ny +lisens, og novellen utgis av EFN med en Creative Commons (CC) +fribrukslisens (nærmere bestemt lisensen CC-BY-NC-ND). For leserne +eller brukerne innebærer dette at de får en klar og standardisert +beskjed om hvilke rettigheter de har til å dele novellen videre med +andre. For forfatteren innebærer dette økt synlighet og +tilgjengelighet for verket, slik at det ikke blir glemt, da +søkemotorer og nettlesere inneholder egne søkevalg for CC-lisenser, og +mange brukere søker etter verk som de vet de kan dele og bruke på +lovlig vis.

+ +

EFN oppfordrer andre forfattere om å gi ut sine gamle tekster med +en fribrukslisens, slik at tekstene ikke blir glemt og for å stimulere +lovlig deling på nettet. EFN kan være behjelpelig med digitalisering +og utlegging på nett, i den grad det finnes kapasitet blant EFNs +medlemmer til dette. Vi mener at nyutgivelser av tekster under frie +lisenser kan øke interessen rundt forfatterskapet, og vil gjerne bidra +til dette.

+ +

EFN utgir og deler med dette en novelle fra den digitale +informasjonsteknologiens tidligste barndom. En novelle som fortsatt er +full av vitalitet og aktualitet, og som derfor kan bidra til, og gi +ettertanke i dagens debatter om IT, personvern, overvåkning og +individets frihet og integritet.

+ +

Du finner novellen her: +
http://efn.no/kodemus/

+ +

i flere forskjellige formater, for ulike plattformer. Per idag +finnes novellen i disse formatene: EPUB, MOBI, XML, HTML, PDF og +txt. Det kan bli flere formater senere, og evt. frivillige +bidragsytere til dette er velkommen.

+ +

Kontaktperson for denne pressemeldingen,

+ +

Thomas Gramstad +
thomas@efn.no +
4817 6875

+ +
+ +

EFN arbeider for dine borgerrettigheter i IT-samfunnet, for +nettverks- og delingskultur, personvern og frihet fra overvåkning, +åpne standarder, brukerstyrt programvare, retten til å kopiere, og +styrking av det digitale sivilsamfunnet m.m. +
www.efn.no

+ +

+ +

Jeg håper flere forfattere ser verdien av å gjøre kulturen +tilgjengelig for flere, og slår følge med Hr. Bringsværd i å gi ut +sine verker med bruksvilkår med færre bruksbegrensinger enn +opphavsretten legger opp til. Selv om jeg gjerne skulle sett at han +hadde brukt en Creative Commons-lisens som tillot avledede verker og +kommersiell bruk.

- Tags: debian, english. + Tags: docbook, norsk, opphavsrett.
@@ -412,119 +257,44 @@ 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.

+ +
26th March 2013
+

Would you like to help the environment and save money at the same +time, without much sacrifice? A small step could be to change the +font you use when printing.

+ +

Three years ago, +Ars +Technica reported how the University of Wisconsin-Green Bay +changed their default front from +Arial to +Century +Gothic to save money. The Century Gothic font uses 30% less toner +than Arial to print the same text. In other word, you could cut your +toner costs by 30% (or actually, increase your toner supply life time +by more than 30%), by simply changing the default font used in your +prints.

+ +

But it is not quite obvious how much one will save by switching. +The University of Wisconsin-Green Bay said it used $100,000 per year +on ink and toner cartridges, according to +a report from +TwinCities.com, and expected to save between $5,000 and $10,000 +per year by asking staff and students to use a different font. Not +all PDFs and documents are created internally, and those from external +sources will most likely still use a different font. Also, the +Century Gothic font is slightly wider than Arial, and thus might use +more sheets of paper to print the same text, so the total saving +depend on the documents printed.

+ +

But it is definitely something to consider, if you want to reduce +the amount of trash, decrease the amount of toner used in the world, +and save some money in the process.

- Tags: debian, english, isenkram. + Tags: english.
@@ -532,260 +302,202 @@ 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:

- -

-acpi:IBM0071:PNP0511: -

- -

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:

+ +
24th March 2013
+

A few days ago, during a discussion in +EFN about interesting books to read +about copyright and the data retention directive, a suggestion to read +the 1968 short story Kodémus by +Tore Åge Bringsværd +came up. The text was only available in old paper books, and thus not +easily available for current and future generations. Some of the +people participating in the discussion contacted the author, and +reported back 2013-03-19 that the author was OK with releasing the +short story using a Creative +Commons license. The text was quickly scanned and OCR-ed, and we +were ready to start on the editing and typesetting.

+ +

As I already had some experience formatting text in my project to +provide a Norwegian version of the Free Culture book by Lawrence +Lessig, I chipped in and set up a +DocBook processing framework to +generate PDF, HTML and EPUB version of the short story. The tools to +transform DocBook to different formats are already in my Linux +distribution of choice, Debian, so +all I had to do was to use the +dblatex, +dbtoepub +and xmlto tools to do the +conversion. After a few days, we decided to replace dblatex with +xsltproc/fop (aka +docbook-xsl), +to get the copyright information to show up in the PDF and to get a +nicer <variablelist> typesetting, but that is just a minor +technical detail.

+ +

There were a few challenges, of course. We want to typeset the +short story to look like the original, and that require fairly good +control over the layout. The original short story have three +parts/scenes separated by a single horizontally centred star (*), and +the paragraphs do not contain only flowing text, but dialogs and text +that started on a new line in the middle of the paragraph.

+ +

I initially solved the first challenge by using a paragraph with a +single star in it, ie <para>*</para>, but it made sure a +placeholder indicated where the scene shifted. This did not look too +good without the centring. The next approach was to create a new +preprocessor directive <?newscene?>, mapping to "<hr/>" +for HTML and "<fo:block text-align="center"><fo:leader +leader-pattern="rule" rule-thickness="0.5pt"/></fo:block>" +for FO/PDF output (did not try to implement this in dblatex, as we had +switched at this time). The HTML XSL file looked like this:

+ +

+<?xml version='1.0'?> 
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+  <xsl:template match="processing-instruction('newscene')">
+    <hr/>
+  </xsl:template>
+</xsl:stylesheet> 
+

+ +

And the FO/PDF XSL file looked like this:

+ +

+<?xml version='1.0'?> 
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+  <xsl:template match="processing-instruction('newscene')">
+    <fo:block text-align="center">
+      <fo:leader leader-pattern="rule" rule-thickness="0.5pt"/>
+    </fo:block>
+  </xsl:template>
+</xsl:stylesheet> 
+

+ +

Finally, I came across the <bridgehead> tag, which seem to be +a good fit for the task at hand, and I replaced <?newscene?> +with <bridgehead>*</bridgehead>. It isn't centred, but we +can fix it with some XSL rule if the current visual layout isn't +enough.

+ +

I did not find a good DocBook compliant way to solve the +linebreak/paragraph challenge, so I ended up creating a new processor +directive <?linebreak?>, mapping to <br/> in HTML, and +<fo:block/> in FO/PDF. I suspect there are better ways to do +this, and welcome ideas and patches on github. The HTML XSL file now +look like this:

+ +

+<?xml version='1.0'?> 
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
+  <xsl:template match="processing-instruction('linebreak)">
+    <br/>
+  </xsl:template>
+</xsl:stylesheet> 
+

+ +

And the FO/PDF XSL file looked like this:

+ +

+<?xml version='1.0'?> 
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'
+  xmlns:fo="http://www.w3.org/1999/XSL/Format">
+  <xsl:template match="processing-instruction('linebreak)">
+    <fo:block/>
+  </xsl:template>
+</xsl:stylesheet> 
+

+ +

One unsolved challenge is our wish to expose different ISBN numbers +per publication format, while keeping all of them in some conditional +structure in the DocBook source. No idea how to do this, so we ended +up listing all the ISBN numbers next to their format in the colophon +page.

+ +

If you want to check out the finished result, check out the +source repository at +github +(future/new/official +repository). We expect it to be ready and announced in a few +days.

+
+
+ + + Tags: docbook, english, freeculture, opphavsrett. + + +
+
+
+ +
+ +
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:

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

-

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.

+

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.
@@ -793,31 +505,64 @@ 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".

+ +
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, robot. + Tags: debian edu, english, video.
@@ -825,98 +570,170 @@ 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.
  • + +
    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.

    -
  • Show a message to the user proposing to install the discovered - package, and make it easy to install it.
  • - -
+

+

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

+

-

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

+

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, isenkram. + Tags: frikanalen, norsk, nuug, video.
@@ -924,27 +741,40 @@ 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.

+ +
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, robot. + Tags: norsk, personvern.
@@ -964,6 +794,12 @@ including links to Lego related packages is now available.

  • January (11)
  • +
  • February (9)
  • + +
  • March (9)
  • + +
  • April (3)
  • +
  • 2012 @@ -1106,37 +942,37 @@ including links to Lego related packages is now available.

  • bankid (4)
  • -
  • bitcoin (5)
  • +
  • bitcoin (6)
  • bootsystem (12)
  • bsa (2)
  • -
  • debian (69)
  • +
  • debian (71)
  • -
  • debian edu (118)
  • +
  • debian edu (121)
  • -
  • digistan (9)
  • +
  • digistan (10)
  • -
  • docbook (7)
  • +
  • docbook (9)
  • drivstoffpriser (4)
  • -
  • english (175)
  • +
  • english (186)
  • fiksgatami (21)
  • fildeling (12)
  • -
  • freeculture (10)
  • +
  • freeculture (11)
  • -
  • frikanalen (9)
  • +
  • frikanalen (11)
  • -
  • intervju (32)
  • +
  • intervju (33)
  • -
  • isenkram (5)
  • +
  • isenkram (6)
  • -
  • kart (17)
  • +
  • kart (18)
  • ldap (8)
  • @@ -1146,17 +982,17 @@ including links to Lego related packages is now available.

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

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

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