1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/' xmlns:
atom=
"http://www.w3.org/2005/Atom">
4 <title>Petter Reinholdtsen
</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
7 <atom:link href=
"http://people.skolelinux.org/pere/blog/index.rss" rel=
"self" type=
"application/rss+xml" />
10 <title>What is the most supported MIME type in Debian?
</title>
11 <link>http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html
</guid>
13 <pubDate>Wed,
16 Jan
2013 10:
10:
00 +
0100</pubDate>
14 <description><p
>The
<a href=
"http://wiki.debian.org/AppStreamDebianProposal
">DEP-
11
15 proposal to add AppStream information to the Debian archive
</a
>, is a
16 proposal to make it possible for a Desktop application to propose to
17 the user some package to install to gain support for a given MIME
18 type, font, library etc. that is currently missing. With such
19 mechanism in place, it would be possible for the desktop to
20 automatically propose and install leocad if some LDraw file is
21 downloaded by the browser.
</p
>
23 <p
>To get some idea about the current content of the archive, I decided
24 to write a simple program to extract all .desktop files from the
25 Debian archive and look up the claimed MIME support there. The result
27 <a href=
"http://ftp.skolelinux.org/pub/AppStreamTest
">Skolelinux FTP
28 site
</a
>. Using the collected information, it become possible to
29 answer the question in the title. Here are the
20 most supported MIME
30 types in Debian stable (Squeeze), testing (Wheezy) and unstable (Sid).
31 The complete list is available from the link above.
</p
>
33 <p
><strong
>Debian Stable:
</strong
></p
>
37 ----- -----------------------
54 14 image/x-portable-pixmap
55 14 image/x-portable-bitmap
60 <p
><strong
>Debian Testing:
</strong
></p
>
64 ----- -----------------------
87 <p
><strong
>Debian Unstable:
</strong
></p
>
91 ----- -----------------------
114 <p
>I am told that PackageKit can provide an API to access the kind of
115 information mentioned in DEP-
11. I have not yet had time to look at
116 it, but hope the PackageKit people in Debian are on top of these
122 <title>Using modalias info to find packages handling my hardware
</title>
123 <link>http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html
</link>
124 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html
</guid>
125 <pubDate>Tue,
15 Jan
2013 08:
00:
00 +
0100</pubDate>
126 <description><p
>Yesterday, I wrote about the
127 <a href=
"http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
">modalias
128 values provided by the Linux kernel
</a
> following my hope for
129 <a href=
"http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
">better
130 dongle support in Debian
</a
>. Using this knowledge, I have tested how
131 modalias values attached to package names can be used to map packages
132 to hardware. This allow the system to look up and suggest relevant
133 packages when I plug in some new hardware into my machine, and replace
134 discover and discover-data as the database used to map hardware to
137 <p
>I create a modaliases file with entries like the following,
138 containing package name, kernel module name (if relevant, otherwise
139 the package name) and globs matching the relevant hardware
142 <p
><blockquote
>
143 Package: package-name
144 <br
>Modaliases: module(modaliasglob, modaliasglob, modaliasglob)
</p
>
145 </blockquote
></p
>
147 <p
>It is fairly trivial to write code to find the relevant packages
148 for a given modalias value using this file.
</p
>
150 <p
>An entry like this would suggest the video and picture application
151 cheese for many USB web cameras (interface bus class
0E01):
</p
>
153 <p
><blockquote
>
155 <br
>Modaliases: cheese(usb:v*p*d*dc*dsc*dp*ic0Eisc01ip*)
</p
>
156 </blockquote
></p
>
158 <p
>An entry like this would suggest the pcmciautils package when a
159 CardBus bridge (bus class
0607) PCI device is present:
</p
>
161 <p
><blockquote
>
163 <br
>Modaliases: pcmciautils(pci:v*d*sv*sd*bc06sc07i*)
164 </blockquote
></p
>
166 <p
>An entry like this would suggest the package colorhug-client when
167 plugging in a ColorHug with USB IDs
04D8:F8DA:
</p
>
169 <p
><blockquote
>
170 Package: colorhug-client
171 <br
>Modaliases: colorhug-client(usb:v04D8pF8DAd*)
</p
>
172 </blockquote
></p
>
174 <p
>I believe the format is compatible with the format of the Packages
175 file in the Debian archive. Ubuntu already uses their Packages file
176 to store their mappings from packages to hardware.
</p
>
178 <p
>By adding a XB-Modaliases: header in debian/control, any .deb can
179 announce the hardware it support in a way my prototype understand.
180 This allow those publishing packages in an APT source outside the
181 Debian archive as well as those backporting packages to make sure the
182 hardware mapping are included in the package meta information. I
've
183 tested such header in the pymissile package, and its modalias mapping
184 is working as it should with my prototype. It even made it to Ubuntu
187 <p
>To test if it was possible to look up supported hardware using only
188 the shell tools available in the Debian installer, I wrote a shell
189 implementation of the lookup code. The idea is to create files for
190 each modalias and let the shell do the matching. Please check out and
192 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/hw-support-lookup?view=co
">hw-support-lookup
</a
>
193 shell script. It run without any extra dependencies and fetch the
194 hardware mappings from the Debian archive and the subversion
195 repository where I currently work on my prototype.
</p
>
197 <p
>When I use it on a machine with a yubikey inserted, it suggest to
198 install yubikey-personalization:
</p
>
200 <p
><blockquote
>
201 % ./hw-support-lookup
202 <br
>yubikey-personalization
204 </blockquote
></p
>
206 <p
>When I run it on my Thinkpad X40 with a PCMCIA/CardBus slot, it
207 propose to install the pcmciautils package:
</p
>
209 <p
><blockquote
>
210 % ./hw-support-lookup
211 <br
>pcmciautils
213 </blockquote
></p
>
215 <p
>If you know of any hardware-package mapping that should be added to
216 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=co
">my
217 database
</a
>, please tell me about it.
</p
>
219 <p
>It could be possible to generate several of the mappings between
220 packages and hardware. One source would be to look at packages with
221 kernel modules, ie packages with *.ko files in /lib/modules/, and
222 extract their modalias information. Another would be to look at
223 packages with udev rules, ie packages with files in
224 /lib/udev/rules.d/, and extract their vendor/model information to
225 generate a modalias matching rule. I have not tested any of these to
226 see if it work.
</p
>
228 <p
>If you want to help implementing a system to let us propose what
229 packages to install when new hardware is plugged into a Debian
230 machine, please send me an email or talk to me on
231 <a href=
"irc://irc.debian.org/%
23debian-devel
">#debian-devel
</a
>.
</p
>
236 <title>Modalias strings - a practical way to map
"stuff
" to hardware
</title>
237 <link>http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
</link>
238 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
</guid>
239 <pubDate>Mon,
14 Jan
2013 11:
20:
00 +
0100</pubDate>
240 <description><p
>While looking into how to look up Debian packages based on hardware
241 information, to find the packages that support a given piece of
242 hardware, I refreshed my memory regarding modalias values, and decided
243 to document the details. Here are my findings so far, also available
245 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/
">the
246 Debian Edu subversion repository
</a
>:
248 <p
><strong
>Modalias decoded
</strong
></p
>
250 <p
>This document try to explain what the different types of modalias
251 values stands for. It is in part based on information from
252 &lt;URL:
<a href=
"https://wiki.archlinux.org/index.php/Modalias
">https://wiki.archlinux.org/index.php/Modalias
</a
> &gt;,
253 &lt;URL:
<a href=
"http://unix.stackexchange.com/questions/
26132/how-to-assign-usb-driver-to-device
">http://unix.stackexchange.com/questions/
26132/how-to-assign-usb-driver-to-device
</a
> &gt;,
254 &lt;URL:
<a href=
"http://code.metager.de/source/history/linux/stable/scripts/mod/file2alias.c
">http://code.metager.de/source/history/linux/stable/scripts/mod/file2alias.c
</a
> &gt; and
255 &lt;URL:
<a href=
"http://cvs.savannah.gnu.org/viewvc/dmidecode/dmidecode.c?root=dmidecode
&view=markup
">http://cvs.savannah.gnu.org/viewvc/dmidecode/dmidecode.c?root=dmidecode
&view=markup
</a
> &gt;.
257 <p
>The modalias entries for a given Linux machine can be found using
258 this shell script:
</p
>
261 find /sys -name modalias -print0 | xargs -
0 cat | sort -u
264 <p
>The supported modalias globs for a given kernel module can be found
265 using modinfo:
</p
>
268 % /sbin/modinfo psmouse | grep alias:
269 alias: serio:ty05pr*id*ex*
270 alias: serio:ty01pr*id*ex*
274 <p
><strong
>PCI subtype
</strong
></p
>
276 <p
>A typical PCI entry can look like this. This is an Intel Host
277 Bridge memory controller:
</p
>
279 <p
><blockquote
>
280 pci:v00008086d00002770sv00001028sd000001ADbc06sc00i00
281 </blockquote
></p
>
283 <p
>This represent these values:
</p
>
288 sv
00001028 (subvendor)
289 sd
000001AD (subdevice)
295 <p
>The vendor/device values are the same values outputted from
'lspci
296 -n
' as
8086:
2770. The bus class/subclass is also shown by lspci as
297 0600. The
0600 class is a host bridge. Other useful bus values are
298 0300 (VGA compatible card) and
0200 (Ethernet controller).
</p
>
300 <p
>Not sure how to figure out the interface value, nor what it
303 <p
><strong
>USB subtype
</strong
></p
>
305 <p
>Some typical USB entries can look like this. This is an internal
306 USB hub in a laptop:
</p
>
308 <p
><blockquote
>
309 usb:v1D6Bp0001d0206dc09dsc00dp00ic09isc00ip00
310 </blockquote
></p
>
312 <p
>Here is the values included in this alias:
</p
>
315 v
1D6B (device vendor)
316 p
0001 (device product)
319 dsc
00 (device subclass)
320 dp
00 (device protocol)
321 ic
09 (interface class)
322 isc
00 (interface subclass)
323 ip
00 (interface protocol)
326 <p
>The
0900 device class/subclass means hub. Some times the relevant
327 class is in the interface class section. For a simple USB web camera,
328 these alias entries show up:
</p
>
330 <p
><blockquote
>
331 usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc01ip00
332 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc02ip00
333 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc01ip00
334 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc02ip00
335 </blockquote
></p
>
337 <p
>Interface class
0E01 is video control,
0E02 is video streaming (aka
338 camera),
0101 is audio control device and
0102 is audio streaming (aka
339 microphone). Thus this is a camera with microphone included.
</p
>
341 <p
><strong
>ACPI subtype
</strong
></p
>
343 <p
>The ACPI type is used for several non-PCI/USB stuff. This is an IR
344 receiver in a Thinkpad X40:
</p
>
346 <p
><blockquote
>
347 acpi:IBM0071:PNP0511:
348 </blockquote
></p
>
350 <p
>The values between the colons are IDs.
</p
>
352 <p
><strong
>DMI subtype
</strong
></p
>
354 <p
>The DMI table contain lots of information about the computer case
355 and model. This is an entry for a IBM Thinkpad X40, fetched from
356 /sys/devices/virtual/dmi/id/modalias:
</p
>
358 <p
><blockquote
>
359 dmi:bvnIBM:bvr1UETB6WW(
1.66):bd06/
15/
2005:svnIBM:pn2371H4G:pvrThinkPadX40:rvnIBM:rn2371H4G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
360 </blockquote
></p
>
362 <p
>The values present are
</p
>
365 bvn IBM (BIOS vendor)
366 bvr
1UETB
6WW(
1.66) (BIOS version)
367 bd
06/
15/
2005 (BIOS date)
368 svn IBM (system vendor)
369 pn
2371H4G (product name)
370 pvr ThinkPadX40 (product version)
371 rvn IBM (board vendor)
372 rn
2371H4G (board name)
373 rvr NotAvailable (board version)
374 cvn IBM (chassis vendor)
376 cvr NotAvailable (chassis version)
379 <p
>The chassis type
10 is Notebook. Other interesting values can be
380 found in the dmidecode source:
</p
>
384 4 Low Profile Desktop
397 17 Main Server Chassis
400 20 Bus Expansion Chassis
401 21 Peripheral Chassis
403 23 Rack Mount Chassis
412 <p
>The chassis type values are not always accurately set in the DMI
413 table. For example my home server is a tower, but the DMI modalias
414 claim it is a desktop.
</p
>
416 <p
><strong
>SerIO subtype
</strong
></p
>
418 <p
>This type is used for PS/
2 mouse plugs. One example is from my
419 test machine:
</p
>
421 <p
><blockquote
>
422 serio:ty01pr00id00ex00
423 </blockquote
></p
>
425 <p
>The values present are
</p
>
434 <p
>This type is supported by the psmouse driver. I am not sure what
435 the valid values are.
</p
>
437 <p
><strong
>Other subtypes
</strong
></p
>
439 <p
>There are heaps of other modalias subtypes according to
440 file2alias.c. There is the rest of the list from that source: amba,
441 ap, bcma, ccw, css, eisa, hid, i2c, ieee1394, input, ipack, isapnp,
442 mdio, of, parisc, pcmcia, platform, scsi, sdio, spi, ssb, vio, virtio,
443 vmbus, x86cpu and zorro. I did not spend time documenting all of
444 these, as they do not seem relevant for my intended use with mapping
445 hardware to packages when new stuff is inserted during run time.
</p
>
447 <p
><strong
>Looking up kernel modules using modalias values
</strong
></p
>
449 <p
>To check which kernel modules provide support for a given modalias,
450 one can use the following shell script:
</p
>
453 for id in $(find /sys -name modalias -print0 | xargs -
0 cat | sort -u); do \
454 echo
"$id
" ; \
455 /sbin/modprobe --show-depends
"$id
"|sed
's/^/ /
' ; \
459 <p
>The output can look like this (only the first few entries as the
460 list is very long on my test machine):
</p
>
464 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/acpi/ac.ko
466 FATAL: Module acpi:device: not found.
468 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/char/nvram.ko
469 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/leds/led-class.ko
470 insmod /lib/modules/
2.6.32-
5-
686/kernel/net/rfkill/rfkill.ko
471 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/platform/x86/thinkpad_acpi.ko
472 acpi:IBM0071:PNP0511:
473 insmod /lib/modules/
2.6.32-
5-
686/kernel/lib/crc-ccitt.ko
474 insmod /lib/modules/
2.6.32-
5-
686/kernel/net/irda/irda.ko
475 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/net/irda/nsc-ircc.ko
479 <p
>If you want to help implementing a system to let us propose what
480 packages to install when new hardware is plugged into a Debian
481 machine, please send me an email or talk to me on
482 <a href=
"irc://irc.debian.org/%
23debian-devel
">#debian-devel
</a
>.
</p
>
484 <p
><strong
>Update
2013-
01-
15:
</strong
> Rewrite
"cat $(find ...)
" to
485 "find ... -print0 | xargs -
0 cat
" to make sure it handle directories
486 in /sys/ with space in them.
</p
>
491 <title>Moved the pymissile Debian packaging to collab-maint
</title>
492 <link>http://people.skolelinux.org/pere/blog/Moved_the_pymissile_Debian_packaging_to_collab_maint.html
</link>
493 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Moved_the_pymissile_Debian_packaging_to_collab_maint.html
</guid>
494 <pubDate>Thu,
10 Jan
2013 20:
40:
00 +
0100</pubDate>
495 <description><p
>As part of my investigation on how to improve the support in Debian
496 for hardware dongles, I dug up my old Mark and Spencer USB Rocket
497 Launcher and updated the Debian package
498 <a href=
"http://packages.qa.debian.org/pymissile
">pymissile
</a
> to make
499 sure udev will fix the device permissions when it is plugged in. I
500 also added a
"Modaliases
" header to test it in the Debian archive and
501 hopefully make the package be proposed by jockey in Ubuntu when a user
502 plug in his rocket launcher. In the process I moved the source to a
503 git repository under collab-maint, to make it easier for any DD to
504 contribute.
<a href=
"http://code.google.com/p/pymissile/
">Upstream
</a
>
505 is not very active, but the software still work for me even after five
506 years of relative silence. The new git repository is not listed in
507 the uploaded package yet, because I want to test the other changes a
508 bit more before I upload the new version. If you want to check out
509 the new version with a .desktop file included, visit the
510 <a href=
"http://anonscm.debian.org/gitweb/?p=collab-maint/pymissile.git
">gitweb
511 view
</a
> or use
"<tt
>git clone
512 git://anonscm.debian.org/collab-maint/pymissile.git
</tt
>".
</p
>
517 <title>Lets make hardware dongles easier to use in Debian
</title>
518 <link>http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
</link>
519 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
</guid>
520 <pubDate>Wed,
9 Jan
2013 15:
40:
00 +
0100</pubDate>
521 <description><p
>One thing that annoys me with Debian and Linux distributions in
522 general, is that there is a great package management system with the
523 ability to automatically install software packages by downloading them
524 from the distribution mirrors, but no way to get it to automatically
525 install the packages I need to use the hardware I plug into my
526 machine. Even if the package to use it is easily available from the
527 Linux distribution. When I plug in a LEGO Mindstorms NXT, it could
528 suggest to automatically install the python-nxt, nbc and t2n packages
529 I need to talk to it. When I plug in a Yubikey, it could propose the
530 yubikey-personalization package. The information required to do this
531 is available, but no-one have pulled all the pieces together.
</p
>
533 <p
>Some years ago, I proposed to
534 <a href=
"http://lists.debian.org/debian-devel/
2010/
05/msg01206.html
">use
535 the discover subsystem to implement this
</a
>. The idea is fairly
540 <li
>Add a desktop entry in /usr/share/autostart/ pointing to a program
541 starting when a user log in.
</li
>
543 <li
>Set this program up to listen for kernel events emitted when new
544 hardware is inserted into the computer.
</li
>
546 <li
>When new hardware is inserted, look up the hardware ID in a
547 database mapping to packages, and take note of any non-installed
550 <li
>Show a message to the user proposing to install the discovered
551 package, and make it easy to install it.
</li
>
555 <p
>I am not sure what the best way to implement this is, but my
556 initial idea was to use dbus events to discover new hardware, the
557 discover database to find packages and
558 <a href=
"http://www.packagekit.org/
">PackageKit
</a
> to install
561 <p
>Yesterday, I found time to try to implement this idea, and the
562 draft package is now checked into
563 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/
">the
564 Debian Edu subversion repository
</a
>. In the process, I updated the
565 <a href=
"http://packages.qa.debian.org/d/discover-data.html
">discover-data
</a
>
566 package to map the USB ids of LEGO Mindstorms and Yubikey devices to
567 the relevant packages in Debian, and uploaded a new version
568 2.2013.01.09 to unstable. I also discovered that the current
569 <a href=
"http://packages.qa.debian.org/d/discover.html
">discover
</a
>
570 package in Debian no longer discovered any USB devices, because
571 /proc/bus/usb/devices is no longer present. I ported it to use
572 libusb as a fall back option to get it working. The fixed package
573 version
2.1.2-
6 is now in experimental (didn
't upload it to unstable
574 because of the freeze).
</p
>
576 <p
>With this prototype in place, I can insert my Yubikey, and get this
577 desktop notification to show up (only once, the first time it is
580 <p align=
"center
"><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
09-hw-autoinstall.png
"></p
>
582 <p
>For this prototype to be really useful, some way to automatically
583 install the proposed packages by pressing the
"Please install
584 program(s)
" button should to be implemented.
</p
>
586 <p
>If this idea seem useful to you, and you want to help make it
587 happen, please help me update the discover-data database with mappings
588 from hardware to Debian packages. Check if
'discover-pkginstall -l
'
589 list the package you would like to have installed when a given
590 hardware device is inserted into your computer, and report bugs using
591 reportbug if it isn
't. Or, if you know of a better way to provide
592 such mapping, please let me know.
</p
>
594 <p
>This prototype need more work, and there are several questions that
595 should be considered before it is ready for production use. Is dbus
596 the correct way to detect new hardware? At the moment I look for HAL
597 dbus events on the system bus, because that is the events I could see
598 on my Debian Squeeze KDE desktop. Are there better events to use?
599 How should the user be notified? Is the desktop notification
600 mechanism the best option, or should the background daemon raise a
601 popup instead? How should packages be installed? When should they
602 not be installed?
</p
>
604 <p
>If you want to help getting such feature implemented in Debian,
605 please send me an email. :)
</p
>
610 <title>New IRC channel for LEGO designers using Debian
</title>
611 <link>http://people.skolelinux.org/pere/blog/New_IRC_channel_for_LEGO_designers_using_Debian.html
</link>
612 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/New_IRC_channel_for_LEGO_designers_using_Debian.html
</guid>
613 <pubDate>Wed,
2 Jan
2013 15:
40:
00 +
0100</pubDate>
614 <description><p
>During Christmas, I have worked a bit on the Debian support for
615 <a href=
"http://mindstorms.lego.com/en-us/Default.aspx
">LEGO Mindstorm
616 NXT
</a
>. My son and I have played a bit with my NXT set, and I
617 discovered I had to build all the tools myself because none were
618 already in Debian Squeeze. If Debian support for LEGO is something
619 you care about, please join me on the IRC channel
620 <a href=
"irc://irc.debian.org/%
23debian-lego
">#debian-lego
</a
> (server
621 irc.debian.org). There is a lot that could be done to improve the
622 Debian support for LEGO designers. For example both CAD software
623 and Mindstorm compilers are missing. :)
</p
>
625 <p
>Update
2012-
01-
03: A
626 <a href=
"http://wiki.debian.org/LegoDesigners
">project page
</a
>
627 including links to Lego related packages is now available.
</p
>
632 <title>Lenker for
2013-
01-
01</title>
633 <link>http://people.skolelinux.org/pere/blog/Lenker_for_2013_01_01.html
</link>
634 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lenker_for_2013_01_01.html
</guid>
635 <pubDate>Tue,
1 Jan
2013 09:
20:
00 +
0100</pubDate>
636 <description><p
>Her er noen lenker til tekster jeg har satt pris på å lese den
637 siste måneden.
</p
>
642 <a href=
"http://www.idg.no/computerworld/article262047.ece
">Myter og
643 FUD om fri programvare
</a
> av min venn Christer Gundersen som
644 kommenterer noen av de påstandene som er spredt via Computerworld
645 Norge de siste månedene.
</li
>
647 <li
>BankID er et opplegg der utsteder (dvs. banken eller dens
648 leverandør) sitter på alt som trengs for å bruke BankID, men har
649 lovet å ikke bruke den unntatt på oppdrag fra deg. Det er greit nok
650 for banktjenester, der banken allerede har full kontroll over
651 resultatet, men problematisk når det gjelder tilgang til
652 helseopplysninger og avtaleinngåelse med andre enn banken. Jeg
653 håper protestene brer om seg.
657 <li
>2012-
12-
11 <a href=
"http://www.aftenposten.no/meninger/debatt/BankID-blottlegger-helseopplysninger-
7067148.html
">BankID
658 blottlegger helseopplysninger
</a
></li
>
660 <li
>2012-
12-
07 <a href=
"http://www.nrk.no/nyheter/norge/
1.9695027">-
661 Helseopplysningene ikke sikre med Bank-ID
</a
></li
>
664 <a href=
"https://www.bankid.no/Presse-og-nyheter/Nyhetsarkiv/
2012/Papeker-alvorlige-men-kjente-utfordringer/
">Påpeker
665 alvorlige, men kjente utfordringer
</a
> er den offisielle
666 holdningen til de som lager BankID.
</li
>
669 <a href=
"http://www.tnp.no/norway/panorama/
3419-ntnu-researcher-warns-against-security-of-bank-id-password
">NTNU
670 Researcher Warns against Security of Bank ID Password
</a
>
674 <li
>2012-
12-
11 <a href=
"http://www.aftenposten.no/nyheter/iriks/Norske-elever-er-darligst-i-Europa-pa-algebra-
7066752.html
">Norske elever er dårligst i Europa på algebra
</a
>
677 <a href=
"http://www.aftenposten.no/meninger/debatt/Realfagsdodaren-
7067173.html
">Realfagsdødaren
</a
>
680 <a href=
"http://www.bt.no/nyheter/innenriks/
112/--Forventningene-er-for-hoye-
2816450.html
">-
681 Noen må bli skuffet
</a
> - Politiet i Bergen forteller hvor lavt de
682 prioriterer hverdagskriminalitet.
</li
>
685 <a href=
"http://e24.no/jobb/kripos-ansatt-doemt-for-snoking-for-venn/
20208585">
686 Kripos-ansatt dømt for snoking for venn
</A
> - viser hvor svak
687 reaksjonen blir når politiet misbruker innsamlet informasjon. En
688 forvarsel på konsekvensene av nasjonal brev- og besøkskontroll -
689 ofte kalt Datalagringsdirektivet.
</li
>
692 <a href=
"http://www.dagbladet.no/
2012/
12/
14/kultur/debatt/kronikk/jul/ensomhet/
24838541/
">Å
693 smøre en forskjell
</a
> - om ensomhet og jul.
</li
>
696 <a href=
"http://www.aftenposten.no/meninger/kronikker/n-krise-av-gangen_-takk-
7072452.html
">Én
697 krise av gangen, takk!
</a
>
701 <a href=
"http://www.aftenposten.no/meninger/NAV-Et-mangehodet-monster--
7072165.html
">NAV:
702 Et mangehodet monster
</a
></li
>
705 <a href=
"http://www.dagbladet.no/
2011/
01/
12/kultur/debatt/kronikk/personvern/
15027203/
">Pasienter
706 uten vern
</a
> - forteller litt om hvordan Norsk Pasientregister og
707 andre helseregister raderer bort pasienters privatsfære.
</li
>
711 <a href=
"http://www.aftenposten.no/meninger/debatt/Hvorfor-er-barnefamilier-fattige-
7073951.html
">Hvorfor
712 er barnefamilier fattige?
</a
></li
>
715 <a href=
"http://www.aftenposten.no/meninger/spaltister/Den-skjulte-minoriteten--konservative-kristne-i-Norge-
7075518.html
">Den
716 skjulte minoriteten – konservative kristne i Norge
</a
> - kronikk av
717 Bjørn Stærk fra aftenposten
</li
>
720 <a href=
"http://deltemeninger.no/-/bulletin/show/
303429_folkebiblioteket-
2-
0?ref=checkpoint
">Folkebiblioteket
721 2.0</a
> - Min venn Sturle om opphavsrett og Internett, i debatt med
722 Olav Torvund.
</li
>
726 <p
>Og et godt nytt år til dere alle!
</p
>
731 <title>A Christmas present for Skolelinux / Debian Edu
</title>
732 <link>http://people.skolelinux.org/pere/blog/A_Christmas_present_for_Skolelinux___Debian_Edu.html
</link>
733 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/A_Christmas_present_for_Skolelinux___Debian_Edu.html
</guid>
734 <pubDate>Fri,
28 Dec
2012 09:
20:
00 +
0100</pubDate>
735 <description><p
>I was happy to discover a few days ago that the
736 <a href=
"http://www.skolelinux.org/
">Skolelinux / Debian Edu
</a
>
737 project also this year received a Christmas present from Another
738 Agency in Trondheim. NOK
1000,- showed up on our donation account
739 December
24th. I want to express our thanks for this very welcome
740 present. As the Debian Edu / Skolelinux project is very short on
741 funding these days, and thus lack the money to do regular developer
742 gatherings, this donation was most welcome. One developer gathering
743 cost around NOK
15&nbsp;
000,-, so we need quite a lot more to keep the
744 development pace we want. Thus, I hope their example this year is
745 followed by many others. :)
</p
>
747 <p
>The public list of donors can be found on
748 <a href=
"http://www.linuxiskolen.no/slxdebianlabs/donations.html
">the
749 donation page
</a
> for the project, which also contain instructions if
750 you want to donate to the project.
</p
>
755 <title>How to backport bitcoin-qt version
0.7.2-
2 to Debian Squeeze
</title>
756 <link>http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html
</link>
757 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html
</guid>
758 <pubDate>Tue,
25 Dec
2012 20:
50:
00 +
0100</pubDate>
759 <description><p
>Let me start by wishing you all marry Christmas and a happy new
760 year! I hope next year will prove to be a good year.
</p
>
762 <p
><a href=
"http://www.bitcoin.org/
">Bitcoin
</a
>, the digital
763 decentralised
"currency
" that allow people to transfer bitcoins
764 between each other with minimal overhead, is a very interesting
765 experiment. And as I wrote a few days ago, the bitcoin situation in
766 <a href=
"http://www.debian.org/
">Debian
</a
> is about to improve a bit.
767 The
<a href=
"http://packages.qa.debian.org/bitcoin
">new debian source
768 package
</a
> (version
0.7.2-
2) was uploaded yesterday, and is waiting
769 in
<a href=
"http://ftp-master.debian.org/new.html
">the NEW queue
</A
>
770 for one of the ftpmasters to approve the new bitcoin-qt package
773 <p
>And thanks to the great work of Jonas and the rest of the bitcoin
774 team in Debian, you can easily test the package in Debian Squeeze
775 using the following steps to get a set of working packages:
</p
>
777 <blockquote
><pre
>
778 git clone git://git.debian.org/git/collab-maint/bitcoin
780 DEB_MAINTAINER_MODE=
1 DEB_BUILD_OPTIONS=noupnp fakeroot debian/rules clean
781 DEB_BUILD_OPTIONS=noupnp git-buildpackage --git-ignore-new
782 </pre
></blockquote
>
784 <p
>You might have to install some build dependencies as well. The
785 list of commands should give you two packages, bitcoind and
786 bitcoin-qt, ready for use in a Squeeze environment. Note that the
787 client will download the complete set of bitcoin
"blocks
", which need
788 around
5.6 GiB of data on my machine at the moment. Make sure your
789 ~/.bitcoin/ directory have lots of spare room if you want to download
790 all the blocks. The client will warn if the disk is getting full, so
791 there is not really a problem if you got too little room, but you will
792 not be able to get all the features out of the client.
</p
>
794 <p
>As usual, if you use bitcoin and want to show your support of my
795 activities, please send Bitcoin donations to my address
796 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
&label=PetterReinholdtsenBlog
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>
801 <title>A word on bitcoin support in Debian
</title>
802 <link>http://people.skolelinux.org/pere/blog/A_word_on_bitcoin_support_in_Debian.html
</link>
803 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/A_word_on_bitcoin_support_in_Debian.html
</guid>
804 <pubDate>Fri,
21 Dec
2012 23:
59:
00 +
0100</pubDate>
805 <description><p
>It has been a while since I wrote about
806 <a href=
"http://www.bitcoin.org/
">bitcoin
</a
>, the decentralised
807 peer-to-peer based crypto-currency, and the reason is simply that I
808 have been busy elsewhere. But two days ago, I started looking at the
809 state of
<a href=
"http://packages.qa.debian.org/bitcoin
">bitcoin in
810 Debian
</a
> again to try to recover my old bitcoin wallet. The package
811 is now maintained by a
812 <a href=
"https://alioth.debian.org/projects/pkg-bitcoin/
">team of
813 people
</a
>, and the grunt work had already been done by this team. We
814 owe a huge thank you to all these team members. :)
815 But I was sad to discover that the bitcoin client is missing in
816 Wheezy. It is only available in Sid (and an outdated client from
817 backports). The client had several RC bugs registered in BTS blocking
818 it from entering testing. To try to help the team and improve the
819 situation, I spent some time providing patches and triaging the bug
820 reports. I also had a look at the bitcoin package available from Matt
822 <a href=
"https://launchpad.net/~bitcoin/+archive/bitcoin
">PPA for
823 Ubuntu
</a
>, and moved the useful pieces from that version into the
824 Debian package.
</p
>
826 <p
>After checking with the main package maintainer Jonas Smedegaard on
827 IRC, I pushed several patches into the collab-maint git repository to
828 improve the package. It now contains fixes for the RC issues (not from
829 me, but fixed by Scott Howard), build rules for a Qt GUI client
830 package, konqueror support for the bitcoin: URI and bash completion
831 setup. As I work on Debian Squeeze, I also created
832 <a href=
"http://lists.alioth.debian.org/pipermail/pkg-bitcoin-devel/Week-of-Mon-
20121217/
000041.html
">a
833 patch to backport
</a
> the latest version. Jonas is going to look at
834 it and try to integrate it into the git repository before uploading a
835 new version to unstable.
837 <p
>I would very much like bitcoin to succeed, to get rid of the
838 centralized control currently exercised in the monetary system. I
839 find it completely unacceptable that the USA government is collecting
840 transaction data for almost all international money transfers (most are done in USD and transaction logs shipped to the spooks), and
841 that the major credit card companies can block legal money
842 transactions to Wikileaks. But for bitcoin to succeed, more people
843 need to use bitcoins, and more people need to accept bitcoins when
844 they sell products and services. Improving the bitcoin support in
845 Debian is a small step in the right direction, but not enough.
846 Unfortunately the user experience when browsing the web and wanting to
847 pay with bitcoin is still not very good. The bitcoin: URI is a step
848 in the right direction, but need to work in most or every browser in
849 use. Also the bitcoin-qt client is too heavy to fire up to do a
850 quick transaction. I believe there are other clients available, but
851 have not tested them.
</p
>
854 <a href=
"http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html
">experiment
855 with bitcoins
</a
> showed that at least some of my readers use bitcoin.
856 I received
20.15 BTC so far on the address I provided in my blog two
858 <a href=
"http://blockexplorer.com/address/
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
">seen
859 on the blockexplorer service
</a
>. Thank you everyone for your
860 donation. The blockexplorer service demonstrates quite well that
861 bitcoin is not quite anonymous and untracked. :) I wonder if the
862 number of users have gone up since then. If you use bitcoin and want
863 to show your support of my activity, please send Bitcoin donations to
864 the same address as last time,
865 <b
><a href=
"bitcoin:
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
&label=PetterReinholdtsenBlog
">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</a
></b
>.
</p
>