1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/'
>
4 <title>Petter Reinholdtsen - Entries tagged isenkram
</title>
5 <description>Entries tagged isenkram
</description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
10 <title>Welcome to the world, Isenkram!
</title>
11 <link>http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html
</guid>
13 <pubDate>Tue,
22 Jan
2013 22:
00:
00 +
0100</pubDate>
14 <description><p
>Yesterday, I
15 <a href=
"http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html
">asked
16 for testers
</a
> for my prototype for making Debian better at handling
17 pluggable hardware devices, which I
18 <a href=
"http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
">set
19 out to create
</a
> earlier this month. Several valuable testers showed
20 up, and caused me to really want to to open up the development to more
21 people. But before I did this, I want to come up with a sensible name
22 for this project. Today I finally decided on a new name, and I have
23 renamed the project from hw-support-handler to this new name. In the
24 process, I moved the source to git and made it available as a
25 <a href=
"http://anonscm.debian.org/gitweb/?p=collab-maint/isenkram.git
">collab-maint
</a
>
26 repository in Debian. The new name? It is
<strong
>Isenkram
</strong
>.
27 To fetch and build the latest version of the source, use
</p
>
30 git clone git://anonscm.debian.org/collab-maint/isenkram.git
31 cd isenkram
&& git-buildpackage
34 <p
>I have not yet adjusted all files to use the new name yet. If you
35 want to hack on the source or improve the package, please go ahead.
36 But please talk to me first on IRC or via email before you do major
37 changes, to make sure we do not step on each others toes. :)
</p
>
39 <p
>If you wonder what
'isenkram
' is, it is a Norwegian word for iron
40 stuff, typically meaning tools, nails, screws, etc. Typical hardware
41 stuff, in other words. I
've been told it is the Norwegian variant of
42 the German word eisenkram, for those that are familiar with that
48 <title>First prototype ready making hardware easier to use in Debian
</title>
49 <link>http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html
</link>
50 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html
</guid>
51 <pubDate>Mon,
21 Jan
2013 12:
00:
00 +
0100</pubDate>
52 <description><p
>Early this month I set out to try to
53 <a href=
"http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
">improve
54 the Debian support for pluggable hardware devices
</a
>. Now my
55 prototype is working, and it is ready for a larger audience. To test
57 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/
">source
58 from the Debian Edu subversion repository
</a
>, build and install the
59 package. You might have to log out and in again activate the
60 autostart script.
</p
>
62 <p
>The design is simple:
</p
>
66 <li
>Add desktop entry in /usr/share/autostart/ causing a program
67 hw-support-handlerd to start when the user log in.
</li
>
69 <li
>This program listen for kernel events about new hardware (directly
70 from the kernel like udev does), not using HAL dbus events as I
71 initially did.
</li
>
73 <li
>When new hardware is inserted, look up the hardware modalias in
74 the APT database, a database
75 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=markup
">available
76 via HTTP
</a
> and a database available as part of the package.
</li
>
78 <li
>If a package is mapped to the hardware in question, the package
79 isn
't installed yet and this is the first time the hardware was
80 plugged in, show a desktop notification suggesting to install the
81 package or packages.
</li
>
83 <li
>If the user click on the
'install package now
' button, ask
84 aptdaemon via the PackageKit API to install the requrired package.
</li
>
86 <li
>aptdaemon ask for root password or sudo password, and install the
87 package while showing progress information in a window.
</li
>
91 <p
>I still need to come up with a better name for the system. Here
92 are some screen shots showing the prototype in action. First the
93 notification, then the password request, and finally the request to
94 approve all the dependencies. Sorry for the Norwegian Bokmål GUI.
</p
>
96 <p
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
1-notification.png
">
97 <br
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
2-password.png
">
98 <br
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
3-dependencies.png
">
99 <br
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
4-installing.png
">
100 <br
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
5-installing-details.png
" width=
"70%
"></p
>
102 <p
>The prototype still need to be improved with longer timeouts, but
103 is already useful. The database of hardware to package mappings also
104 need more work. It is currently compatible with the Ubuntu way of
105 storing such information in the package control file, but could be
106 changed to use other formats instead or in addition to the current
107 method. I
've dropped the use of discover for this mapping, as the
108 modalias approach is more flexible and easier to use on Linux as long
109 as the Linux kernel expose its modalias strings directly.
</p
>
111 <p
><strong
>Update
2013-
01-
21 16:
50</strong
>: Due to popular demand,
112 here is the command required to check out and build the source: Use
113 '<tt
>svn checkout
114 svn://svn.debian.org/debian-edu/trunk/src/hw-support-handler/; cd
115 hw-support-handler; debuild
</tt
>'. If you lack debuild, install the
116 devscripts package.
</p
>
118 <p
><strong
>Update
2013-
01-
23 12:
00</strong
>: The project is now
119 renamed to Isenkram and the source moved from the Debian Edu
120 subversion repository to a Debian collab-maint git repository. See
121 <a href=
"http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html
">build
122 instructions
</a
> for details.
</p
>
127 <title>Using modalias info to find packages handling my hardware
</title>
128 <link>http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html
</link>
129 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html
</guid>
130 <pubDate>Tue,
15 Jan
2013 08:
00:
00 +
0100</pubDate>
131 <description><p
>Yesterday, I wrote about the
132 <a href=
"http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
">modalias
133 values provided by the Linux kernel
</a
> following my hope for
134 <a href=
"http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
">better
135 dongle support in Debian
</a
>. Using this knowledge, I have tested how
136 modalias values attached to package names can be used to map packages
137 to hardware. This allow the system to look up and suggest relevant
138 packages when I plug in some new hardware into my machine, and replace
139 discover and discover-data as the database used to map hardware to
142 <p
>I create a modaliases file with entries like the following,
143 containing package name, kernel module name (if relevant, otherwise
144 the package name) and globs matching the relevant hardware
147 <p
><blockquote
>
148 Package: package-name
149 <br
>Modaliases: module(modaliasglob, modaliasglob, modaliasglob)
</p
>
150 </blockquote
></p
>
152 <p
>It is fairly trivial to write code to find the relevant packages
153 for a given modalias value using this file.
</p
>
155 <p
>An entry like this would suggest the video and picture application
156 cheese for many USB web cameras (interface bus class
0E01):
</p
>
158 <p
><blockquote
>
160 <br
>Modaliases: cheese(usb:v*p*d*dc*dsc*dp*ic0Eisc01ip*)
</p
>
161 </blockquote
></p
>
163 <p
>An entry like this would suggest the pcmciautils package when a
164 CardBus bridge (bus class
0607) PCI device is present:
</p
>
166 <p
><blockquote
>
168 <br
>Modaliases: pcmciautils(pci:v*d*sv*sd*bc06sc07i*)
169 </blockquote
></p
>
171 <p
>An entry like this would suggest the package colorhug-client when
172 plugging in a ColorHug with USB IDs
04D8:F8DA:
</p
>
174 <p
><blockquote
>
175 Package: colorhug-client
176 <br
>Modaliases: colorhug-client(usb:v04D8pF8DAd*)
</p
>
177 </blockquote
></p
>
179 <p
>I believe the format is compatible with the format of the Packages
180 file in the Debian archive. Ubuntu already uses their Packages file
181 to store their mappings from packages to hardware.
</p
>
183 <p
>By adding a XB-Modaliases: header in debian/control, any .deb can
184 announce the hardware it support in a way my prototype understand.
185 This allow those publishing packages in an APT source outside the
186 Debian archive as well as those backporting packages to make sure the
187 hardware mapping are included in the package meta information. I
've
188 tested such header in the pymissile package, and its modalias mapping
189 is working as it should with my prototype. It even made it to Ubuntu
192 <p
>To test if it was possible to look up supported hardware using only
193 the shell tools available in the Debian installer, I wrote a shell
194 implementation of the lookup code. The idea is to create files for
195 each modalias and let the shell do the matching. Please check out and
197 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/hw-support-lookup?view=co
">hw-support-lookup
</a
>
198 shell script. It run without any extra dependencies and fetch the
199 hardware mappings from the Debian archive and the subversion
200 repository where I currently work on my prototype.
</p
>
202 <p
>When I use it on a machine with a yubikey inserted, it suggest to
203 install yubikey-personalization:
</p
>
205 <p
><blockquote
>
206 % ./hw-support-lookup
207 <br
>yubikey-personalization
209 </blockquote
></p
>
211 <p
>When I run it on my Thinkpad X40 with a PCMCIA/CardBus slot, it
212 propose to install the pcmciautils package:
</p
>
214 <p
><blockquote
>
215 % ./hw-support-lookup
216 <br
>pcmciautils
218 </blockquote
></p
>
220 <p
>If you know of any hardware-package mapping that should be added to
221 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=co
">my
222 database
</a
>, please tell me about it.
</p
>
224 <p
>It could be possible to generate several of the mappings between
225 packages and hardware. One source would be to look at packages with
226 kernel modules, ie packages with *.ko files in /lib/modules/, and
227 extract their modalias information. Another would be to look at
228 packages with udev rules, ie packages with files in
229 /lib/udev/rules.d/, and extract their vendor/model information to
230 generate a modalias matching rule. I have not tested any of these to
231 see if it work.
</p
>
233 <p
>If you want to help implementing a system to let us propose what
234 packages to install when new hardware is plugged into a Debian
235 machine, please send me an email or talk to me on
236 <a href=
"irc://irc.debian.org/%
23debian-devel
">#debian-devel
</a
>.
</p
>
241 <title>Modalias strings - a practical way to map
"stuff
" to hardware
</title>
242 <link>http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
</link>
243 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
</guid>
244 <pubDate>Mon,
14 Jan
2013 11:
20:
00 +
0100</pubDate>
245 <description><p
>While looking into how to look up Debian packages based on hardware
246 information, to find the packages that support a given piece of
247 hardware, I refreshed my memory regarding modalias values, and decided
248 to document the details. Here are my findings so far, also available
250 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/
">the
251 Debian Edu subversion repository
</a
>:
253 <p
><strong
>Modalias decoded
</strong
></p
>
255 <p
>This document try to explain what the different types of modalias
256 values stands for. It is in part based on information from
257 &lt;URL:
<a href=
"https://wiki.archlinux.org/index.php/Modalias
">https://wiki.archlinux.org/index.php/Modalias
</a
> &gt;,
258 &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;,
259 &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
260 &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;.
262 <p
>The modalias entries for a given Linux machine can be found using
263 this shell script:
</p
>
266 find /sys -name modalias -print0 | xargs -
0 cat | sort -u
269 <p
>The supported modalias globs for a given kernel module can be found
270 using modinfo:
</p
>
273 % /sbin/modinfo psmouse | grep alias:
274 alias: serio:ty05pr*id*ex*
275 alias: serio:ty01pr*id*ex*
279 <p
><strong
>PCI subtype
</strong
></p
>
281 <p
>A typical PCI entry can look like this. This is an Intel Host
282 Bridge memory controller:
</p
>
284 <p
><blockquote
>
285 pci:v00008086d00002770sv00001028sd000001ADbc06sc00i00
286 </blockquote
></p
>
288 <p
>This represent these values:
</p
>
293 sv
00001028 (subvendor)
294 sd
000001AD (subdevice)
300 <p
>The vendor/device values are the same values outputted from
'lspci
301 -n
' as
8086:
2770. The bus class/subclass is also shown by lspci as
302 0600. The
0600 class is a host bridge. Other useful bus values are
303 0300 (VGA compatible card) and
0200 (Ethernet controller).
</p
>
305 <p
>Not sure how to figure out the interface value, nor what it
308 <p
><strong
>USB subtype
</strong
></p
>
310 <p
>Some typical USB entries can look like this. This is an internal
311 USB hub in a laptop:
</p
>
313 <p
><blockquote
>
314 usb:v1D6Bp0001d0206dc09dsc00dp00ic09isc00ip00
315 </blockquote
></p
>
317 <p
>Here is the values included in this alias:
</p
>
320 v
1D6B (device vendor)
321 p
0001 (device product)
324 dsc
00 (device subclass)
325 dp
00 (device protocol)
326 ic
09 (interface class)
327 isc
00 (interface subclass)
328 ip
00 (interface protocol)
331 <p
>The
0900 device class/subclass means hub. Some times the relevant
332 class is in the interface class section. For a simple USB web camera,
333 these alias entries show up:
</p
>
335 <p
><blockquote
>
336 usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc01ip00
337 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc02ip00
338 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc01ip00
339 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc02ip00
340 </blockquote
></p
>
342 <p
>Interface class
0E01 is video control,
0E02 is video streaming (aka
343 camera),
0101 is audio control device and
0102 is audio streaming (aka
344 microphone). Thus this is a camera with microphone included.
</p
>
346 <p
><strong
>ACPI subtype
</strong
></p
>
348 <p
>The ACPI type is used for several non-PCI/USB stuff. This is an IR
349 receiver in a Thinkpad X40:
</p
>
351 <p
><blockquote
>
352 acpi:IBM0071:PNP0511:
353 </blockquote
></p
>
355 <p
>The values between the colons are IDs.
</p
>
357 <p
><strong
>DMI subtype
</strong
></p
>
359 <p
>The DMI table contain lots of information about the computer case
360 and model. This is an entry for a IBM Thinkpad X40, fetched from
361 /sys/devices/virtual/dmi/id/modalias:
</p
>
363 <p
><blockquote
>
364 dmi:bvnIBM:bvr1UETB6WW(
1.66):bd06/
15/
2005:svnIBM:pn2371H4G:pvrThinkPadX40:rvnIBM:rn2371H4G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
365 </blockquote
></p
>
367 <p
>The values present are
</p
>
370 bvn IBM (BIOS vendor)
371 bvr
1UETB
6WW(
1.66) (BIOS version)
372 bd
06/
15/
2005 (BIOS date)
373 svn IBM (system vendor)
374 pn
2371H4G (product name)
375 pvr ThinkPadX40 (product version)
376 rvn IBM (board vendor)
377 rn
2371H4G (board name)
378 rvr NotAvailable (board version)
379 cvn IBM (chassis vendor)
381 cvr NotAvailable (chassis version)
384 <p
>The chassis type
10 is Notebook. Other interesting values can be
385 found in the dmidecode source:
</p
>
389 4 Low Profile Desktop
402 17 Main Server Chassis
405 20 Bus Expansion Chassis
406 21 Peripheral Chassis
408 23 Rack Mount Chassis
417 <p
>The chassis type values are not always accurately set in the DMI
418 table. For example my home server is a tower, but the DMI modalias
419 claim it is a desktop.
</p
>
421 <p
><strong
>SerIO subtype
</strong
></p
>
423 <p
>This type is used for PS/
2 mouse plugs. One example is from my
424 test machine:
</p
>
426 <p
><blockquote
>
427 serio:ty01pr00id00ex00
428 </blockquote
></p
>
430 <p
>The values present are
</p
>
439 <p
>This type is supported by the psmouse driver. I am not sure what
440 the valid values are.
</p
>
442 <p
><strong
>Other subtypes
</strong
></p
>
444 <p
>There are heaps of other modalias subtypes according to
445 file2alias.c. There is the rest of the list from that source: amba,
446 ap, bcma, ccw, css, eisa, hid, i2c, ieee1394, input, ipack, isapnp,
447 mdio, of, parisc, pcmcia, platform, scsi, sdio, spi, ssb, vio, virtio,
448 vmbus, x86cpu and zorro. I did not spend time documenting all of
449 these, as they do not seem relevant for my intended use with mapping
450 hardware to packages when new stuff is inserted during run time.
</p
>
452 <p
><strong
>Looking up kernel modules using modalias values
</strong
></p
>
454 <p
>To check which kernel modules provide support for a given modalias,
455 one can use the following shell script:
</p
>
458 for id in $(find /sys -name modalias -print0 | xargs -
0 cat | sort -u); do \
459 echo
"$id
" ; \
460 /sbin/modprobe --show-depends
"$id
"|sed
's/^/ /
' ; \
464 <p
>The output can look like this (only the first few entries as the
465 list is very long on my test machine):
</p
>
469 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/acpi/ac.ko
471 FATAL: Module acpi:device: not found.
473 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/char/nvram.ko
474 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/leds/led-class.ko
475 insmod /lib/modules/
2.6.32-
5-
686/kernel/net/rfkill/rfkill.ko
476 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/platform/x86/thinkpad_acpi.ko
477 acpi:IBM0071:PNP0511:
478 insmod /lib/modules/
2.6.32-
5-
686/kernel/lib/crc-ccitt.ko
479 insmod /lib/modules/
2.6.32-
5-
686/kernel/net/irda/irda.ko
480 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/net/irda/nsc-ircc.ko
484 <p
>If you want to help implementing a system to let us propose what
485 packages to install when new hardware is plugged into a Debian
486 machine, please send me an email or talk to me on
487 <a href=
"irc://irc.debian.org/%
23debian-devel
">#debian-devel
</a
>.
</p
>
489 <p
><strong
>Update
2013-
01-
15:
</strong
> Rewrite
"cat $(find ...)
" to
490 "find ... -print0 | xargs -
0 cat
" to make sure it handle directories
491 in /sys/ with space in them.
</p
>
496 <title>Lets make hardware dongles easier to use in Debian
</title>
497 <link>http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
</link>
498 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
</guid>
499 <pubDate>Wed,
9 Jan
2013 15:
40:
00 +
0100</pubDate>
500 <description><p
>One thing that annoys me with Debian and Linux distributions in
501 general, is that there is a great package management system with the
502 ability to automatically install software packages by downloading them
503 from the distribution mirrors, but no way to get it to automatically
504 install the packages I need to use the hardware I plug into my
505 machine. Even if the package to use it is easily available from the
506 Linux distribution. When I plug in a LEGO Mindstorms NXT, it could
507 suggest to automatically install the python-nxt, nbc and t2n packages
508 I need to talk to it. When I plug in a Yubikey, it could propose the
509 yubikey-personalization package. The information required to do this
510 is available, but no-one have pulled all the pieces together.
</p
>
512 <p
>Some years ago, I proposed to
513 <a href=
"http://lists.debian.org/debian-devel/
2010/
05/msg01206.html
">use
514 the discover subsystem to implement this
</a
>. The idea is fairly
519 <li
>Add a desktop entry in /usr/share/autostart/ pointing to a program
520 starting when a user log in.
</li
>
522 <li
>Set this program up to listen for kernel events emitted when new
523 hardware is inserted into the computer.
</li
>
525 <li
>When new hardware is inserted, look up the hardware ID in a
526 database mapping to packages, and take note of any non-installed
529 <li
>Show a message to the user proposing to install the discovered
530 package, and make it easy to install it.
</li
>
534 <p
>I am not sure what the best way to implement this is, but my
535 initial idea was to use dbus events to discover new hardware, the
536 discover database to find packages and
537 <a href=
"http://www.packagekit.org/
">PackageKit
</a
> to install
540 <p
>Yesterday, I found time to try to implement this idea, and the
541 draft package is now checked into
542 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/
">the
543 Debian Edu subversion repository
</a
>. In the process, I updated the
544 <a href=
"http://packages.qa.debian.org/d/discover-data.html
">discover-data
</a
>
545 package to map the USB ids of LEGO Mindstorms and Yubikey devices to
546 the relevant packages in Debian, and uploaded a new version
547 2.2013.01.09 to unstable. I also discovered that the current
548 <a href=
"http://packages.qa.debian.org/d/discover.html
">discover
</a
>
549 package in Debian no longer discovered any USB devices, because
550 /proc/bus/usb/devices is no longer present. I ported it to use
551 libusb as a fall back option to get it working. The fixed package
552 version
2.1.2-
6 is now in experimental (didn
't upload it to unstable
553 because of the freeze).
</p
>
555 <p
>With this prototype in place, I can insert my Yubikey, and get this
556 desktop notification to show up (only once, the first time it is
559 <p align=
"center
"><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
09-hw-autoinstall.png
"></p
>
561 <p
>For this prototype to be really useful, some way to automatically
562 install the proposed packages by pressing the
"Please install
563 program(s)
" button should to be implemented.
</p
>
565 <p
>If this idea seem useful to you, and you want to help make it
566 happen, please help me update the discover-data database with mappings
567 from hardware to Debian packages. Check if
'discover-pkginstall -l
'
568 list the package you would like to have installed when a given
569 hardware device is inserted into your computer, and report bugs using
570 reportbug if it isn
't. Or, if you know of a better way to provide
571 such mapping, please let me know.
</p
>
573 <p
>This prototype need more work, and there are several questions that
574 should be considered before it is ready for production use. Is dbus
575 the correct way to detect new hardware? At the moment I look for HAL
576 dbus events on the system bus, because that is the events I could see
577 on my Debian Squeeze KDE desktop. Are there better events to use?
578 How should the user be notified? Is the desktop notification
579 mechanism the best option, or should the background daemon raise a
580 popup instead? How should packages be installed? When should they
581 not be installed?
</p
>
583 <p
>If you want to help getting such feature implemented in Debian,
584 please send me an email. :)
</p
>