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 -us -uc
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
45 <p
><strong
>Update
2013-
01-
26</strong
>: Added -us -us to build
46 instructions, to avoid confusing people with an error from the signing
52 <title>First prototype ready making hardware easier to use in Debian
</title>
53 <link>http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html
</link>
54 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html
</guid>
55 <pubDate>Mon,
21 Jan
2013 12:
00:
00 +
0100</pubDate>
56 <description><p
>Early this month I set out to try to
57 <a href=
"http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
">improve
58 the Debian support for pluggable hardware devices
</a
>. Now my
59 prototype is working, and it is ready for a larger audience. To test
61 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/
">source
62 from the Debian Edu subversion repository
</a
>, build and install the
63 package. You might have to log out and in again activate the
64 autostart script.
</p
>
66 <p
>The design is simple:
</p
>
70 <li
>Add desktop entry in /usr/share/autostart/ causing a program
71 hw-support-handlerd to start when the user log in.
</li
>
73 <li
>This program listen for kernel events about new hardware (directly
74 from the kernel like udev does), not using HAL dbus events as I
75 initially did.
</li
>
77 <li
>When new hardware is inserted, look up the hardware modalias in
78 the APT database, a database
79 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=markup
">available
80 via HTTP
</a
> and a database available as part of the package.
</li
>
82 <li
>If a package is mapped to the hardware in question, the package
83 isn
't installed yet and this is the first time the hardware was
84 plugged in, show a desktop notification suggesting to install the
85 package or packages.
</li
>
87 <li
>If the user click on the
'install package now
' button, ask
88 aptdaemon via the PackageKit API to install the requrired package.
</li
>
90 <li
>aptdaemon ask for root password or sudo password, and install the
91 package while showing progress information in a window.
</li
>
95 <p
>I still need to come up with a better name for the system. Here
96 are some screen shots showing the prototype in action. First the
97 notification, then the password request, and finally the request to
98 approve all the dependencies. Sorry for the Norwegian Bokmål GUI.
</p
>
100 <p
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
1-notification.png
">
101 <br
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
2-password.png
">
102 <br
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
3-dependencies.png
">
103 <br
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
4-installing.png
">
104 <br
><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
21-hw-support-
5-installing-details.png
" width=
"70%
"></p
>
106 <p
>The prototype still need to be improved with longer timeouts, but
107 is already useful. The database of hardware to package mappings also
108 need more work. It is currently compatible with the Ubuntu way of
109 storing such information in the package control file, but could be
110 changed to use other formats instead or in addition to the current
111 method. I
've dropped the use of discover for this mapping, as the
112 modalias approach is more flexible and easier to use on Linux as long
113 as the Linux kernel expose its modalias strings directly.
</p
>
115 <p
><strong
>Update
2013-
01-
21 16:
50</strong
>: Due to popular demand,
116 here is the command required to check out and build the source: Use
117 '<tt
>svn checkout
118 svn://svn.debian.org/debian-edu/trunk/src/hw-support-handler/; cd
119 hw-support-handler; debuild
</tt
>'. If you lack debuild, install the
120 devscripts package.
</p
>
122 <p
><strong
>Update
2013-
01-
23 12:
00</strong
>: The project is now
123 renamed to Isenkram and the source moved from the Debian Edu
124 subversion repository to a Debian collab-maint git repository. See
125 <a href=
"http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html
">build
126 instructions
</a
> for details.
</p
>
131 <title>Using modalias info to find packages handling my hardware
</title>
132 <link>http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html
</link>
133 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html
</guid>
134 <pubDate>Tue,
15 Jan
2013 08:
00:
00 +
0100</pubDate>
135 <description><p
>Yesterday, I wrote about the
136 <a href=
"http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
">modalias
137 values provided by the Linux kernel
</a
> following my hope for
138 <a href=
"http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
">better
139 dongle support in Debian
</a
>. Using this knowledge, I have tested how
140 modalias values attached to package names can be used to map packages
141 to hardware. This allow the system to look up and suggest relevant
142 packages when I plug in some new hardware into my machine, and replace
143 discover and discover-data as the database used to map hardware to
146 <p
>I create a modaliases file with entries like the following,
147 containing package name, kernel module name (if relevant, otherwise
148 the package name) and globs matching the relevant hardware
151 <p
><blockquote
>
152 Package: package-name
153 <br
>Modaliases: module(modaliasglob, modaliasglob, modaliasglob)
</p
>
154 </blockquote
></p
>
156 <p
>It is fairly trivial to write code to find the relevant packages
157 for a given modalias value using this file.
</p
>
159 <p
>An entry like this would suggest the video and picture application
160 cheese for many USB web cameras (interface bus class
0E01):
</p
>
162 <p
><blockquote
>
164 <br
>Modaliases: cheese(usb:v*p*d*dc*dsc*dp*ic0Eisc01ip*)
</p
>
165 </blockquote
></p
>
167 <p
>An entry like this would suggest the pcmciautils package when a
168 CardBus bridge (bus class
0607) PCI device is present:
</p
>
170 <p
><blockquote
>
172 <br
>Modaliases: pcmciautils(pci:v*d*sv*sd*bc06sc07i*)
173 </blockquote
></p
>
175 <p
>An entry like this would suggest the package colorhug-client when
176 plugging in a ColorHug with USB IDs
04D8:F8DA:
</p
>
178 <p
><blockquote
>
179 Package: colorhug-client
180 <br
>Modaliases: colorhug-client(usb:v04D8pF8DAd*)
</p
>
181 </blockquote
></p
>
183 <p
>I believe the format is compatible with the format of the Packages
184 file in the Debian archive. Ubuntu already uses their Packages file
185 to store their mappings from packages to hardware.
</p
>
187 <p
>By adding a XB-Modaliases: header in debian/control, any .deb can
188 announce the hardware it support in a way my prototype understand.
189 This allow those publishing packages in an APT source outside the
190 Debian archive as well as those backporting packages to make sure the
191 hardware mapping are included in the package meta information. I
've
192 tested such header in the pymissile package, and its modalias mapping
193 is working as it should with my prototype. It even made it to Ubuntu
196 <p
>To test if it was possible to look up supported hardware using only
197 the shell tools available in the Debian installer, I wrote a shell
198 implementation of the lookup code. The idea is to create files for
199 each modalias and let the shell do the matching. Please check out and
201 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/hw-support-lookup?view=co
">hw-support-lookup
</a
>
202 shell script. It run without any extra dependencies and fetch the
203 hardware mappings from the Debian archive and the subversion
204 repository where I currently work on my prototype.
</p
>
206 <p
>When I use it on a machine with a yubikey inserted, it suggest to
207 install yubikey-personalization:
</p
>
209 <p
><blockquote
>
210 % ./hw-support-lookup
211 <br
>yubikey-personalization
213 </blockquote
></p
>
215 <p
>When I run it on my Thinkpad X40 with a PCMCIA/CardBus slot, it
216 propose to install the pcmciautils package:
</p
>
218 <p
><blockquote
>
219 % ./hw-support-lookup
220 <br
>pcmciautils
222 </blockquote
></p
>
224 <p
>If you know of any hardware-package mapping that should be added to
225 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=co
">my
226 database
</a
>, please tell me about it.
</p
>
228 <p
>It could be possible to generate several of the mappings between
229 packages and hardware. One source would be to look at packages with
230 kernel modules, ie packages with *.ko files in /lib/modules/, and
231 extract their modalias information. Another would be to look at
232 packages with udev rules, ie packages with files in
233 /lib/udev/rules.d/, and extract their vendor/model information to
234 generate a modalias matching rule. I have not tested any of these to
235 see if it work.
</p
>
237 <p
>If you want to help implementing a system to let us propose what
238 packages to install when new hardware is plugged into a Debian
239 machine, please send me an email or talk to me on
240 <a href=
"irc://irc.debian.org/%
23debian-devel
">#debian-devel
</a
>.
</p
>
245 <title>Modalias strings - a practical way to map
"stuff
" to hardware
</title>
246 <link>http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
</link>
247 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html
</guid>
248 <pubDate>Mon,
14 Jan
2013 11:
20:
00 +
0100</pubDate>
249 <description><p
>While looking into how to look up Debian packages based on hardware
250 information, to find the packages that support a given piece of
251 hardware, I refreshed my memory regarding modalias values, and decided
252 to document the details. Here are my findings so far, also available
254 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/
">the
255 Debian Edu subversion repository
</a
>:
257 <p
><strong
>Modalias decoded
</strong
></p
>
259 <p
>This document try to explain what the different types of modalias
260 values stands for. It is in part based on information from
261 &lt;URL:
<a href=
"https://wiki.archlinux.org/index.php/Modalias
">https://wiki.archlinux.org/index.php/Modalias
</a
> &gt;,
262 &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;,
263 &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
264 &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;.
266 <p
>The modalias entries for a given Linux machine can be found using
267 this shell script:
</p
>
270 find /sys -name modalias -print0 | xargs -
0 cat | sort -u
273 <p
>The supported modalias globs for a given kernel module can be found
274 using modinfo:
</p
>
277 % /sbin/modinfo psmouse | grep alias:
278 alias: serio:ty05pr*id*ex*
279 alias: serio:ty01pr*id*ex*
283 <p
><strong
>PCI subtype
</strong
></p
>
285 <p
>A typical PCI entry can look like this. This is an Intel Host
286 Bridge memory controller:
</p
>
288 <p
><blockquote
>
289 pci:v00008086d00002770sv00001028sd000001ADbc06sc00i00
290 </blockquote
></p
>
292 <p
>This represent these values:
</p
>
297 sv
00001028 (subvendor)
298 sd
000001AD (subdevice)
304 <p
>The vendor/device values are the same values outputted from
'lspci
305 -n
' as
8086:
2770. The bus class/subclass is also shown by lspci as
306 0600. The
0600 class is a host bridge. Other useful bus values are
307 0300 (VGA compatible card) and
0200 (Ethernet controller).
</p
>
309 <p
>Not sure how to figure out the interface value, nor what it
312 <p
><strong
>USB subtype
</strong
></p
>
314 <p
>Some typical USB entries can look like this. This is an internal
315 USB hub in a laptop:
</p
>
317 <p
><blockquote
>
318 usb:v1D6Bp0001d0206dc09dsc00dp00ic09isc00ip00
319 </blockquote
></p
>
321 <p
>Here is the values included in this alias:
</p
>
324 v
1D6B (device vendor)
325 p
0001 (device product)
328 dsc
00 (device subclass)
329 dp
00 (device protocol)
330 ic
09 (interface class)
331 isc
00 (interface subclass)
332 ip
00 (interface protocol)
335 <p
>The
0900 device class/subclass means hub. Some times the relevant
336 class is in the interface class section. For a simple USB web camera,
337 these alias entries show up:
</p
>
339 <p
><blockquote
>
340 usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc01ip00
341 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc02ip00
342 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc01ip00
343 <br
>usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc02ip00
344 </blockquote
></p
>
346 <p
>Interface class
0E01 is video control,
0E02 is video streaming (aka
347 camera),
0101 is audio control device and
0102 is audio streaming (aka
348 microphone). Thus this is a camera with microphone included.
</p
>
350 <p
><strong
>ACPI subtype
</strong
></p
>
352 <p
>The ACPI type is used for several non-PCI/USB stuff. This is an IR
353 receiver in a Thinkpad X40:
</p
>
355 <p
><blockquote
>
356 acpi:IBM0071:PNP0511:
357 </blockquote
></p
>
359 <p
>The values between the colons are IDs.
</p
>
361 <p
><strong
>DMI subtype
</strong
></p
>
363 <p
>The DMI table contain lots of information about the computer case
364 and model. This is an entry for a IBM Thinkpad X40, fetched from
365 /sys/devices/virtual/dmi/id/modalias:
</p
>
367 <p
><blockquote
>
368 dmi:bvnIBM:bvr1UETB6WW(
1.66):bd06/
15/
2005:svnIBM:pn2371H4G:pvrThinkPadX40:rvnIBM:rn2371H4G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
369 </blockquote
></p
>
371 <p
>The values present are
</p
>
374 bvn IBM (BIOS vendor)
375 bvr
1UETB
6WW(
1.66) (BIOS version)
376 bd
06/
15/
2005 (BIOS date)
377 svn IBM (system vendor)
378 pn
2371H4G (product name)
379 pvr ThinkPadX40 (product version)
380 rvn IBM (board vendor)
381 rn
2371H4G (board name)
382 rvr NotAvailable (board version)
383 cvn IBM (chassis vendor)
385 cvr NotAvailable (chassis version)
388 <p
>The chassis type
10 is Notebook. Other interesting values can be
389 found in the dmidecode source:
</p
>
393 4 Low Profile Desktop
406 17 Main Server Chassis
409 20 Bus Expansion Chassis
410 21 Peripheral Chassis
412 23 Rack Mount Chassis
421 <p
>The chassis type values are not always accurately set in the DMI
422 table. For example my home server is a tower, but the DMI modalias
423 claim it is a desktop.
</p
>
425 <p
><strong
>SerIO subtype
</strong
></p
>
427 <p
>This type is used for PS/
2 mouse plugs. One example is from my
428 test machine:
</p
>
430 <p
><blockquote
>
431 serio:ty01pr00id00ex00
432 </blockquote
></p
>
434 <p
>The values present are
</p
>
443 <p
>This type is supported by the psmouse driver. I am not sure what
444 the valid values are.
</p
>
446 <p
><strong
>Other subtypes
</strong
></p
>
448 <p
>There are heaps of other modalias subtypes according to
449 file2alias.c. There is the rest of the list from that source: amba,
450 ap, bcma, ccw, css, eisa, hid, i2c, ieee1394, input, ipack, isapnp,
451 mdio, of, parisc, pcmcia, platform, scsi, sdio, spi, ssb, vio, virtio,
452 vmbus, x86cpu and zorro. I did not spend time documenting all of
453 these, as they do not seem relevant for my intended use with mapping
454 hardware to packages when new stuff is inserted during run time.
</p
>
456 <p
><strong
>Looking up kernel modules using modalias values
</strong
></p
>
458 <p
>To check which kernel modules provide support for a given modalias,
459 one can use the following shell script:
</p
>
462 for id in $(find /sys -name modalias -print0 | xargs -
0 cat | sort -u); do \
463 echo
"$id
" ; \
464 /sbin/modprobe --show-depends
"$id
"|sed
's/^/ /
' ; \
468 <p
>The output can look like this (only the first few entries as the
469 list is very long on my test machine):
</p
>
473 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/acpi/ac.ko
475 FATAL: Module acpi:device: not found.
477 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/char/nvram.ko
478 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/leds/led-class.ko
479 insmod /lib/modules/
2.6.32-
5-
686/kernel/net/rfkill/rfkill.ko
480 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/platform/x86/thinkpad_acpi.ko
481 acpi:IBM0071:PNP0511:
482 insmod /lib/modules/
2.6.32-
5-
686/kernel/lib/crc-ccitt.ko
483 insmod /lib/modules/
2.6.32-
5-
686/kernel/net/irda/irda.ko
484 insmod /lib/modules/
2.6.32-
5-
686/kernel/drivers/net/irda/nsc-ircc.ko
488 <p
>If you want to help implementing a system to let us propose what
489 packages to install when new hardware is plugged into a Debian
490 machine, please send me an email or talk to me on
491 <a href=
"irc://irc.debian.org/%
23debian-devel
">#debian-devel
</a
>.
</p
>
493 <p
><strong
>Update
2013-
01-
15:
</strong
> Rewrite
"cat $(find ...)
" to
494 "find ... -print0 | xargs -
0 cat
" to make sure it handle directories
495 in /sys/ with space in them.
</p
>
500 <title>Lets make hardware dongles easier to use in Debian
</title>
501 <link>http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
</link>
502 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html
</guid>
503 <pubDate>Wed,
9 Jan
2013 15:
40:
00 +
0100</pubDate>
504 <description><p
>One thing that annoys me with Debian and Linux distributions in
505 general, is that there is a great package management system with the
506 ability to automatically install software packages by downloading them
507 from the distribution mirrors, but no way to get it to automatically
508 install the packages I need to use the hardware I plug into my
509 machine. Even if the package to use it is easily available from the
510 Linux distribution. When I plug in a LEGO Mindstorms NXT, it could
511 suggest to automatically install the python-nxt, nbc and t2n packages
512 I need to talk to it. When I plug in a Yubikey, it could propose the
513 yubikey-personalization package. The information required to do this
514 is available, but no-one have pulled all the pieces together.
</p
>
516 <p
>Some years ago, I proposed to
517 <a href=
"http://lists.debian.org/debian-devel/
2010/
05/msg01206.html
">use
518 the discover subsystem to implement this
</a
>. The idea is fairly
523 <li
>Add a desktop entry in /usr/share/autostart/ pointing to a program
524 starting when a user log in.
</li
>
526 <li
>Set this program up to listen for kernel events emitted when new
527 hardware is inserted into the computer.
</li
>
529 <li
>When new hardware is inserted, look up the hardware ID in a
530 database mapping to packages, and take note of any non-installed
533 <li
>Show a message to the user proposing to install the discovered
534 package, and make it easy to install it.
</li
>
538 <p
>I am not sure what the best way to implement this is, but my
539 initial idea was to use dbus events to discover new hardware, the
540 discover database to find packages and
541 <a href=
"http://www.packagekit.org/
">PackageKit
</a
> to install
544 <p
>Yesterday, I found time to try to implement this idea, and the
545 draft package is now checked into
546 <a href=
"http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/
">the
547 Debian Edu subversion repository
</a
>. In the process, I updated the
548 <a href=
"http://packages.qa.debian.org/d/discover-data.html
">discover-data
</a
>
549 package to map the USB ids of LEGO Mindstorms and Yubikey devices to
550 the relevant packages in Debian, and uploaded a new version
551 2.2013.01.09 to unstable. I also discovered that the current
552 <a href=
"http://packages.qa.debian.org/d/discover.html
">discover
</a
>
553 package in Debian no longer discovered any USB devices, because
554 /proc/bus/usb/devices is no longer present. I ported it to use
555 libusb as a fall back option to get it working. The fixed package
556 version
2.1.2-
6 is now in experimental (didn
't upload it to unstable
557 because of the freeze).
</p
>
559 <p
>With this prototype in place, I can insert my Yubikey, and get this
560 desktop notification to show up (only once, the first time it is
563 <p align=
"center
"><img src=
"http://people.skolelinux.org/pere/blog/images/
2013-
01-
09-hw-autoinstall.png
"></p
>
565 <p
>For this prototype to be really useful, some way to automatically
566 install the proposed packages by pressing the
"Please install
567 program(s)
" button should to be implemented.
</p
>
569 <p
>If this idea seem useful to you, and you want to help make it
570 happen, please help me update the discover-data database with mappings
571 from hardware to Debian packages. Check if
'discover-pkginstall -l
'
572 list the package you would like to have installed when a given
573 hardware device is inserted into your computer, and report bugs using
574 reportbug if it isn
't. Or, if you know of a better way to provide
575 such mapping, please let me know.
</p
>
577 <p
>This prototype need more work, and there are several questions that
578 should be considered before it is ready for production use. Is dbus
579 the correct way to detect new hardware? At the moment I look for HAL
580 dbus events on the system bus, because that is the events I could see
581 on my Debian Squeeze KDE desktop. Are there better events to use?
582 How should the user be notified? Is the desktop notification
583 mechanism the best option, or should the background daemon raise a
584 popup instead? How should packages be installed? When should they
585 not be installed?
</p
>
587 <p
>If you want to help getting such feature implemented in Debian,
588 please send me an email. :)
</p
>