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:
-
-
The modalias entries for a given Linux machine can be found using
-this shell script:
The supported modalias globs for a given kernel module can be found
-using modinfo:
A typical PCI entry can look like this. This is an Intel Host
-Bridge memory controller:
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.
Some typical USB entries can look like this. This is an internal
-USB hub in a laptop:
The Debian Edu / Skolelinux
+project is making great progress and made its second Wheezy based
+release today. This is the release announcement:
+
+
New features for Debian Edu 7.0.0 alpha1 released
+2013-05-14
+
+
This is the release notes for for Debian Edu / Skolelinux 7.0.0 edu
+alpha1, based on Debian with codename "Wheezy".
+
+
About Debian Edu and Skolelinux
+
+
Debian Edu, also known as Skolelinux, is a Linux distribution based
+on Debian providing an out-of-the box environment of a completely
+configured school network. Immediatly after installation a school
+server running all services needed for a school network is set up just
+waiting for users and machines being added via GOsa², a comfortable
+Web-UI. A netbooting environment is prepared using PXE, so after
+initial installation of the main server from CD, DVD or USB stick all
+other machines can be installed via the network.
+
+
This is the first test release based on Wheezy (which currently is
+not released yet). Basically this is an updated and slightly improved
+version compared to the Squeeze release.
+
+
Software updates
+
+ - Install freemind (0.9.0) by default, and stop installing vym by
+ default.
+ - Install chromium (26.0.1410.43) by default.
+ - Install goplay (0.5-1.1) to make golearn available by default.
+ - Updated support for Japanese input methods, now based on
+ ibus-anthy.
+
-
- 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)
-
+
Other changes
+
-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:
+ - Switched default file system from ext3 to ext4 for speed and
+ reliability improvements.
+ - Got rid of unwanted winbind daemon and PAM setup activated because
+ of 706434.
+ - Extended and improved the testsuite tests to detect more possible
+ problems.
+ - Corrected proxy handling to not set http_proxy to a bogus
+ direct:// URL.
+ - Corrected proxy setup for diskless workstations.
+ - Corrected PXE setup to use our updated udebs during installation.
+ - Made installation handling of low entropy level more robust.
+ - Create larger partitions for Roaming workstations and Thin client
+ servers, to make room for all the software installed.
+ - Fix bug in Roaming workstation PAM setup, making it impossible to
+ log in (706753).
+
-
-usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc01ip00
-
usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc02ip00
-
usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc01ip00
-
usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc02ip00
-
+
Known issues
+
-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.
+ - IP resolution for the local hostname give useless IPv6 address
+ (705900). Only install
+ libnss-myhostname on roaming workstations until it is fixed.
+ - DVD images are not yet ready.
+ - No mass import of user account data in GOsa (ldif or csv)
+ available yet (698840).
+ - Missing artwork for the KDE desktop (and probably a few others).
+ - KDE Debian submenu lacks icons.
+ - LXDE menu lacks entry for changing GOsa password
+ (website). Installing gosa-desktop will be an option.
+ - Backup configuration via web interface is impossible due to
+ password submission problem
+ (700257).
-ACPI subtype
+
-
The ACPI type is used for several non-PCI/USB stuff. This is an IR
-receiver in a Thinkpad X40:
+
Where to get it
-
-acpi:IBM0071:PNP0511:
-
+
To download the multiarch netinstall CD release you can use
+
-
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:
+
The MD5SUM of this image is: 685ed76c1aa8e44b12d3fde21faf450b
-
-dmi:bvnIBM:bvr1UETB6WW(1.66):bd06/15/2005:svnIBM:pn2371H4G:pvrThinkPadX40:rvnIBM:rn2371H4G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
-
+
The SHA1SUM of this image is: 6c874de157024da13e115bab29c068080a11ec4c
-
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:
+
How to report bugs
-
-serio:ty01pr00id00ex00
-
-
-
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 $(cat $(find /sys -name modalias)|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.
+
http://wiki.debian.org/DebianEdu/HowTo/ReportBugs