[debian-edu-commits] r78771 - trunk/src/hw-support-handler
pere at alioth.debian.org
pere at alioth.debian.org
Thu Jan 17 13:54:51 UTC 2013
Author: pere
Date: 2013-01-17 13:54:51 +0000 (Thu, 17 Jan 2013)
New Revision: 78771
Modified:
trunk/src/hw-support-handler/README
Log:
More info.
Modified: trunk/src/hw-support-handler/README
===================================================================
--- trunk/src/hw-support-handler/README 2013-01-16 22:13:44 UTC (rev 78770)
+++ trunk/src/hw-support-handler/README 2013-01-17 13:54:51 UTC (rev 78771)
@@ -25,7 +25,10 @@
what to install and make it easy to install it. The idea is simple:
1) Listen for notifications when new hardware is plugged in (dbus,
- kernel events, something?)
+ kernel events, something?) dbus events can be fetched when hal is
+ installed using 'dbus-montor --system' udev kernel events can be
+ fetched from the kernel using "/sbin/udevadm monitor --kernel
+ --environment"
2) For new hardware, look up which packages include drivers/support
software.
@@ -87,8 +90,8 @@
But it has a disadvange of being centrally controlled, and thus harder
for most people in Debian to add mapping for new hardware.
-The Ubuntu implementation
--------------------------
+The Ubuntu modalias based implementation
+----------------------------------------
The Ubuntu approach is to add a new header binary package Modaliases
in debian/control, listing the PCI or USB device IDs (aka modalias)
@@ -124,9 +127,19 @@
cat $(find /sys -name modalias) | sort -u
-The lowlevel handling is provided in ubuntu-drivers-common[3] and the
-GUI is implemented in jockey[4].
+Kernel modules include modalias matching rules to report which
+hardware they support, and modprobe can be used to list the relevant
+modules. Here is an example from my laptop
+ % /sbin/modprobe --show-depends 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
+ %
+
+The lowlevel handling in Ubuntu is provided in
+ubuntu-drivers-common[3] and the GUI is implemented in jockey[4].
+
3) <URL: https://launchpad.net/ubuntu/+source/ubuntu-drivers-common >
4) <URL: https://launchpad.net/ubuntu/+source/jockey >
@@ -170,6 +183,22 @@
to match an entire subclass of packages, nor a range of IDs without
listing each ID.
+ https://launchpad.net/ubuntu/natty/+source/jockey/+changelog
+
+PackageKit API
+--------------
+
+I belive there are two packages in Debian providing the PackageKit
+API. One is packagekit, the other is aptdaemon.
+
+The PackageKit API provide a mechanism to look up a modalias and get a
+list of packages back. It can also look up MIME types, fonts etc.
+DEP-11 is a proposal to provide the information required for this to
+work.
+
+ http://wiki.debian.org/PackageKit/ItemNotFound
+ http://gitorious.org/packagekit/packagekit/blobs/master/docs/provides-component-naming.txt
+
Debtags proposal
----------------
More information about the debian-edu-commits
mailing list