Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Remko van der Vossen (e97e1cf5f1c726a44094caa67ebcdca250907f4f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Remko van der Vossen <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Remko van der Vossen (e97e1cf5f1c726a44094caa67ebcdca250907f4f)
  • Date: Sat, 12 Aug 2017 10:33:31 +0000

GIT changes to master grimoire by Remko van der Vossen <wich AT sourcemage.org>:

ChangeLog | 3
dev/null |binary
disk/udev/BUILD | 31 --------
disk/udev/CONFIGURE | 24 ------
disk/udev/CONFLICTS | 2
disk/udev/DEPENDS | 48
-------------
disk/udev/DETAILS | 12 ---
disk/udev/FINAL | 29 -------
disk/udev/HISTORY | 3
disk/udev/INSTALL | 30 --------
disk/udev/PRE_BUILD | 32 --------
disk/udev/PRE_SUB_DEPENDS | 9 --
disk/udev/REPAIR^2546e42efb97f0db2ee2d49b8bf5dfce^PROVIDES | 1
disk/udev/REPAIR^all^PRE_SUB_DEPENDS | 9 --
disk/udev/REPAIR^all^SUB_DEPENDS | 9 --
disk/udev/SUB_DEPENDS | 9 --
disk/udev/UP_TRIGGERS | 6 -
disk/udev/init.d/coldplug | 28 -------
disk/udev/init.d/copy-persistent-rules | 29 -------
disk/udev/init.d/udevd | 9 --
disk/udev/modprobe.aliases | 9 --
disk/udev/rules/40-alsa.rules | 14 ---
disk/udev/rules/52-modules.rules | 35 ---------
disk/udev/rules/76-cdrom_perms.rules | 3
disk/udev/rules/README | 11 --
disk/udev/rules/rules.examples | 42 -----------
disk/udev/udev.conf | 14 ---
disk/udev/udev.missing | 32 --------
28 files changed, 14 insertions(+), 469 deletions(-)

New commits:
commit e97e1cf5f1c726a44094caa67ebcdca250907f4f
Author: Remko van der Vossen <wich AT sourcemage.org>
Commit: Remko van der Vossen <wich AT sourcemage.org>

disk/udev: deprecate udev in favour of eudev

udev does not satisfy the needs of DEVICE-MANAGER anymore, spells like
usbutils and others require a newer version.

diff --git a/ChangeLog b/ChangeLog
index 80c04d6..422aa01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2017-08-11 Remko van der Vossen <wich AT sourcemage.org>
+ * disk/udev: spell deprecated in favour of disk/eudev
+
2017-08-11 Treeve Jelbert <treeve AT sourcemage.org>
* kde5-apps/latte-dock: added

diff --git a/disk/udev/BUILD b/disk/udev/BUILD
index 1ae0c50..27ba77d 100755
--- a/disk/udev/BUILD
+++ b/disk/udev/BUILD
@@ -1,30 +1 @@
-if spell_ok systemd; then
- # if systemd is installed then we need to tell udev to install it's stuff
- OPTS="$OPTS --with-systemdsystemunitdir=${INSTALL_ROOT}/lib/systemd/system"
-fi &&
-OPTS="--prefix=$INSTALL_ROOT/usr \
- --sbindir=$INSTALL_ROOT/sbin \
- --libexecdir=$INSTALL_ROOT/lib/udev \
- --with-rootlibdir=$INSTALL_ROOT/lib \
- $UDEV_OPTS $UDEV_HWDB \
- $OPTS" &&
-
-if [[ "${UDEV_HWDB}" = '--enable-hwdb' ]]; then
- if [[ "$(get_spell_provider ${SPELL} USBIDS)" == 'hwdata' ]]; then
- OPTS="$OPTS --with-usb-ids-path=/usr/share/hwdata/usb.ids"
- elif [[ "$(get_spell_provider ${SPELL} USBIDS)" == 'usbutils' ]]; then
- OPTS="$OPTS --with-usb-ids-path=/usr/share/usb.ids"
- else
- message "${PROBLEM_COLOR}unknown USBIDS provider, you are on your
own.${DEFAULT_COLOR}"
- fi &&
-
- if [[ "$(get_spell_provider ${SPELL} PCIIDS)" == 'hwdata' ]]; then
- OPTS="$OPTS --with-pci-ids-path=/usr/share/hwdata/pci.ids"
- elif [[ "$(get_spell_provider ${SPELL} PCIIDS)" == 'pciutils' ]]; then
- OPTS="$OPTS --with-pci-ids-path=/usr/share/pci.ids"
- else
- message "${PROBLEM_COLOR}unknown PCIIDS provider, you are on your
own.${DEFAULT_COLOR}"
- fi
-fi &&
-
-default_build
+true
diff --git a/disk/udev/CONFIGURE b/disk/udev/CONFIGURE
deleted file mode 100755
index 8df1427..0000000
--- a/disk/udev/CONFIGURE
+++ /dev/null
@@ -1,24 +0,0 @@
-config_query_option UDEV_OPTS \
- "Compile extra debugging messages?" n \
- "--enable-debug" \
- "--disable-debug" &&
-
-config_query_option UDEV_OPTS \
- "Enable legacy floppy support?" n \
- "--enable-floppy" "--disable-floppy" &&
-
-message "HWDB support can be disabled, but you probably should\n" \
- "only do that when you mount /usr over a network." &&
-config_query_option UDEV_HWDB \
- "Enable {pci,usb}.ids hardware database support?" y \
- "--enable-hwdb" "--disable-hwdb" &&
-
-if spell_ok hotplug; then
- message "You seem to have hotplug installed. Hotplug has been" \
- "officially\ndeprecated in favor of udev, and it is" \
- "highly recommended that\nhotplug is removed after" \
- "udev has been installed." &&
-
- config_query UDEV_DISPEL_HOTPLUG \
- "Dispel hotplug after udev is cast?" y
-fi
diff --git a/disk/udev/CONFLICTS b/disk/udev/CONFLICTS
deleted file mode 100755
index 88992be..0000000
--- a/disk/udev/CONFLICTS
+++ /dev/null
@@ -1,2 +0,0 @@
-conflicts udev-old y
-conflicts eudev
diff --git a/disk/udev/DEPENDS b/disk/udev/DEPENDS
index 99d1d65..f319ce2 100755
--- a/disk/udev/DEPENDS
+++ b/disk/udev/DEPENDS
@@ -1,46 +1,2 @@
-depends gnupg &&
-depends smgl-fhs &&
-depends gperf &&
-depends pkgconfig &&
-if [[ "${UDEV_HWDB}" == '--enable-hwdb' ]]; then
- depends USBIDS &&
- depends PCIIDS
-fi &&
-
-if [[ "$(get_spell_provider ${SPELL} PCIIDS)" == 'pciutils' ]]; then
- depends -sub NO_ZLIB pciutils
-fi &&
-
-optional_depends acl \
- "--enable-udev_acl" \
- "--disable-udev_acl" \
- "for local user acl permissions support" &&
-
-if is_depends_enabled $SPELL acl; then
- optional_depends CONSOLE-MANAGER '' '' 'session/seat support'
-fi &&
-
-optional_depends glib2 \
- '--enable-gudev' \
- '--disable-gudev' \
- 'for GObject libudev (has function generator) support' &&
-
-optional_depends gobject-introspection \
- "--enable-introspection" \
- "--disable-introspection" \
- "for GObject introspection support" &&
-
-optional_depends gtk-doc \
- "--enable-gtk-doc" \
- "--disable-gtk-doc" \
- "build and install documentation?" &&
-
-optional_depends libselinux \
- "--with-selinux" \
- "--without-selinux" \
- "for SELinux support" &&
-
-optional_depends SYSTEM-LOGGER \
- "--enable-logging" \
- "--disable-logging" \
- "for logging to syslog"
+depends eudev &&
+force_depends eudev
diff --git a/disk/udev/DETAILS b/disk/udev/DETAILS
index ac0ff9e..b943f86 100755
--- a/disk/udev/DETAILS
+++ b/disk/udev/DETAILS
@@ -1,16 +1,10 @@
SPELL=udev
VERSION=175
- SOURCE=$SPELL-$VERSION.tar.bz2
-
SOURCE_HASH=sha512:1e2b3fd385d2b53b42949c83ecad7bd63244f865b6fa4c6fc96fe62b1c23be305f6d47c9c51cdfef4cb3b290f3dbb46b6fea12dfeedc01700fcd07a319c6a7fd
-# SOURCE2=$SOURCE.sign
-SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
- SOURCE_URL=http://www.kernel.org/pub/linux/utils/kernel/hotplug/$SOURCE
-# SOURCE2_URL=$SOURCE_URL.sign
-# SOURCE2_IGNORE=signature
-# SOURCE_GPG=kay.gpg:$SOURCE2:UPSTREAM_KEY
+ PATCHLEVEL=1
+ ARCHIVE=off
+ GATHER_DOCS=off

WEB_SITE=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
ENTERED=20030725
- DOCS="ChangeLog COPYING FAQ README docs/* RELEASE-NOTES"
LICENSE[0]=GPL
KEYWORDS="disk devices nodes modules"
SHORT="daemon that creates and removes device nodes"
diff --git a/disk/udev/FINAL b/disk/udev/FINAL
deleted file mode 100755
index b812714..0000000
--- a/disk/udev/FINAL
+++ /dev/null
@@ -1,29 +0,0 @@
-# ensure that all groups used in 50-default.rules exist
-create_group disk
-create_group cdrom
-create_group floppy
-create_group burning
-create_group video
-create_group audio
-create_group uucp
-create_group dialout
-create_group firewire
-create_group tape
-
-# dispel hotplug
-if [[ $UDEV_DISPEL_HOTPLUG == y ]]; then
- # we don't care if these fail
- dispel hotplug
- persistent_remove UDEV_DISPEL_HOTPLUG
-fi &&
-
-# warn of coming changes
-message "\n${PROBLEM_COLOR}About persistent net interfaces naming:" \
- "$DEFAULT_COLOR$MESSAGE_COLOR" \
- "\nThe spell now uses udev rules generator. Next time you" \
- "boot, udev will\ngenerate a rules file called" \
- "/etc/udev/rules.d/70-persistent-net.rules\nfor all the" \
- "interfaces it has detected. Then you can modify the name" \
- "of\nthe interface by changing the NAME key. Udev will" \
- "not erase it.\nThe old configuration stuff with the" \
- "DEVICE_MAC field in netconf is now\nobsolete.$DEFAULT_COLOR"
diff --git a/disk/udev/HISTORY b/disk/udev/HISTORY
index e7a4e37..c0b4057 100644
--- a/disk/udev/HISTORY
+++ b/disk/udev/HISTORY
@@ -1,5 +1,6 @@
2017-08-12 Remko van der Vossen <wich AT sourcemage.org>
- * PROVIDES: remove DEICE-MANAGER
+ * PROVIDES: remove DEVICE-MANAGER
+ * everything: deprecate udev in favour of eudev

2015-07-17 Treeve Jelbert <treeve AT sourcemage.org>
* DEPENDS: CONSOLE-MANAGER
diff --git a/disk/udev/INSTALL b/disk/udev/INSTALL
index 5b1360f..27ba77d 100755
--- a/disk/udev/INSTALL
+++ b/disk/udev/INSTALL
@@ -1,29 +1 @@
-# udev needs /run
-[[ -d "${INSTALL_ROOT}/run" ]] || install -m 755 -d "$INSTALL_ROOT/run" &&
-
-local file UDEV_CFG="$INSTALL_ROOT/etc/udev" &&
-
-install -m 755 -d "$INSTALL_ROOT/sys" \
- "$UDEV_CFG/rules.d" &&
-
-for file in $SPELL_DIRECTORY/rules/*; do
- install_config_file $file "$UDEV_CFG/rules.d/$(basename $file)"
-done &&
-
-# Aliases for modprobe
-install -m 755 -d "$INSTALL_ROOT/etc/modprobe.d" &&
-
-install_config_file "$SPELL_DIRECTORY/modprobe.aliases" \
- "$INSTALL_ROOT/etc/modprobe.d/udev.conf" &&
-
-install_config_file "$SPELL_DIRECTORY/udev.missing" \
- "$UDEV_CFG/udev.missing" &&
-
-# These are used by devices init script, udev.conf also by udev
-install_config_file "$SPELL_DIRECTORY/udev.conf" \
- "$UDEV_CFG/udev.conf" &&
-make_single &&
-default_install &&
-make_normal &&
-
-ln -sf "$TRACK_ROOT/sbin/udevadm" "$INSTALL_ROOT/usr/bin/udevinfo"
+true
diff --git a/disk/udev/PRE_BUILD b/disk/udev/PRE_BUILD
index 04b876f..27ba77d 100755
--- a/disk/udev/PRE_BUILD
+++ b/disk/udev/PRE_BUILD
@@ -1,31 +1 @@
-# kernel < 2.6.15 can't use udev > 092 because udevsend has been removed
-
-if list_find "$UDEV_OPTS" "--enable-extras"
-then
- local _UDEV_SYSFS_DEPRECATED=$(get_kernel_config
CONFIG_SYSFS_DEPRECATED_V2) &&
- if [[ $_UDEV_SYSFS_DEPRECATED == y ||
- $_UDEV_SYSFS_DEPRECATED == m ]]
- then
- message "${PROBLEM_COLOR}You have CONFIG_SYSFS_DEPRECATED_V2" \
- "enabled in your kernel configuration, will not build" \
- "${SPELL_COLOR}$SPELL${MESSAGE_COLOR}.${DEFAULT_COLOR}" &&
- return 1
- fi
-fi &&
-
-local KVER=$(get_kernel_version) &&
-local VER2=$(echo $KVER | cut -d. -f2) &&
-local VER3=$(echo $KVER | cut -d. -f3) &&
- VER3=${VER3%%[^0-9]*} &&
-
-if [[ VER2 < 6 || VER2 == 6 && VER3 < 15 ]]; then
- message "${PROBLEM_COLOR}You have a kernel < 2.6.15, it is too" \
- "old for udev. Please install\na newer kernel.\nIf you" \
- "insist on using your old kernel with hotplug,\nyou" \
- "can install udev-old.$DEFAULT_COLOR" &&
- return 1
-else
- default_pre_build &&
- cd "$SOURCE_DIRECTORY"
-fi &&
-sed -i "s:install-dist_udevconfDATA::g" Makefile.in
+true
diff --git a/disk/udev/PRE_SUB_DEPENDS b/disk/udev/PRE_SUB_DEPENDS
deleted file mode 100755
index 5922183..0000000
--- a/disk/udev/PRE_SUB_DEPENDS
+++ /dev/null
@@ -1,9 +0,0 @@
-case $THIS_SUB_DEPENDS in
- EXTRAS) message "the spell you are trying to cast is broken."
- message "Udev's sub_depends have changed, contact the maintainer."
;;
- GUDEV) is_depends_enabled $SPELL glib2 && return 0 ;;
- ACL) is_depends_enabled $SPELL acl && return 0 ;;
- HWDB) list_find "$UDEV_HWDB" --enable-hwdb ;;
- *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
- return 1;;
-esac
diff --git a/disk/udev/REPAIR^2546e42efb97f0db2ee2d49b8bf5dfce^PROVIDES
b/disk/udev/REPAIR^2546e42efb97f0db2ee2d49b8bf5dfce^PROVIDES
deleted file mode 100755
index 083c9a3..0000000
--- a/disk/udev/REPAIR^2546e42efb97f0db2ee2d49b8bf5dfce^PROVIDES
+++ /dev/null
@@ -1 +0,0 @@
-DEVICE-MANAGER
diff --git a/disk/udev/REPAIR^all^PRE_SUB_DEPENDS
b/disk/udev/REPAIR^all^PRE_SUB_DEPENDS
deleted file mode 100755
index 5922183..0000000
--- a/disk/udev/REPAIR^all^PRE_SUB_DEPENDS
+++ /dev/null
@@ -1,9 +0,0 @@
-case $THIS_SUB_DEPENDS in
- EXTRAS) message "the spell you are trying to cast is broken."
- message "Udev's sub_depends have changed, contact the maintainer."
;;
- GUDEV) is_depends_enabled $SPELL glib2 && return 0 ;;
- ACL) is_depends_enabled $SPELL acl && return 0 ;;
- HWDB) list_find "$UDEV_HWDB" --enable-hwdb ;;
- *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
- return 1;;
-esac
diff --git a/disk/udev/REPAIR^all^SUB_DEPENDS
b/disk/udev/REPAIR^all^SUB_DEPENDS
deleted file mode 100755
index f078172..0000000
--- a/disk/udev/REPAIR^all^SUB_DEPENDS
+++ /dev/null
@@ -1,9 +0,0 @@
-case "$THIS_SUB_DEPENDS" in
- EXTRAS) message "${PROBLEM_COLOR}EXTRAS is obsolete, please fix the
spell using it${DEFAULT_COLOR}" ;;
- GUDEV) depends glib2 '--enable-gudev' ;;
- ACL) depends acl '--enable-udev_acl' ;;
- HWDB) list_remove UDEV_HWDB '--disable-hwdb'
- list_add UDEV_HWDB '--enable-hwdb' ;;
- *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" &&
- return 1;;
-esac
diff --git a/disk/udev/SUB_DEPENDS b/disk/udev/SUB_DEPENDS
deleted file mode 100755
index f078172..0000000
--- a/disk/udev/SUB_DEPENDS
+++ /dev/null
@@ -1,9 +0,0 @@
-case "$THIS_SUB_DEPENDS" in
- EXTRAS) message "${PROBLEM_COLOR}EXTRAS is obsolete, please fix the
spell using it${DEFAULT_COLOR}" ;;
- GUDEV) depends glib2 '--enable-gudev' ;;
- ACL) depends acl '--enable-udev_acl' ;;
- HWDB) list_remove UDEV_HWDB '--disable-hwdb'
- list_add UDEV_HWDB '--enable-hwdb' ;;
- *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" &&
- return 1;;
-esac
diff --git a/disk/udev/UP_TRIGGERS b/disk/udev/UP_TRIGGERS
index 32b044d..8f6394b 100755
--- a/disk/udev/UP_TRIGGERS
+++ b/disk/udev/UP_TRIGGERS
@@ -1,5 +1 @@
-# when upgrading from udev-old also trigger init.d to refresh its depends
-
-if is_depends_enabled init.d udev-old; then
- up_trigger init.d cast_self
-fi
+up_trigger $SPELL dispel_self
diff --git a/disk/udev/init.d/coldplug b/disk/udev/init.d/coldplug
deleted file mode 100755
index 0f38ba6..0000000
--- a/disk/udev/init.d/coldplug
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-PROGRAM=/bin/false
-RUNLEVEL=DEV
-ESSENTIAL=yes
-NEEDS="udevd"
-
-# source function library
-. /etc/init.d/smgl_init
-. /etc/sysconfig/devices
-
-start()
-{
- if [[ $DEVICES = udev ]]; then
- echo "Triggering kernel device uevents..."
- /sbin/udevadm trigger
- evaluate_retval
- echo "Waiting for all events to be handled..."
- /sbin/udevadm settle --timeout=60
- fi
- evaluate_retval
-}
-
-stop() { exit 0; }
-restart() { exit 3; }
-reload() { exit 3; }
-force_reload() { exit 3; }
-status() { exit 3; }
diff --git a/disk/udev/init.d/copy-persistent-rules
b/disk/udev/init.d/copy-persistent-rules
deleted file mode 100755
index 7357201..0000000
--- a/disk/udev/init.d/copy-persistent-rules
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-PROGRAM=/bin/false
-RUNLEVEL=S
-NEEDS="+local_fs"
-
-. /etc/init.d/smgl_init
-
-start() {
- for rules in /dev/.udev/tmp-rules--*; do
- persistent_rules=${rules#/dev/.udev/tmp-rules--}
- if [ -e "$rules" -a ! -e "/etc/udev/rules.d/$persistent_rules" ]; then
- echo "Copying persistent rules to /etc/udev/rules.d/$persistent_rules"
- cp $rules /etc/udev/rules.d/$persistent_rules
- fi
- evaluate_retval
- done
-}
-
-stop() { exit 0; }
-restart() { exit 3; }
-reload() { exit 3; }
-force_reload() { exit 3; }
-status() { exit 3; }
-
-usage()
-{
- echo "Usage: $0 {start|stop}"
-}
diff --git a/disk/udev/init.d/udevd b/disk/udev/init.d/udevd
deleted file mode 100755
index d6b3024..0000000
--- a/disk/udev/init.d/udevd
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-PROGRAM=/lib/udev/udevd
-ARGS="--daemon"
-RUNLEVEL=DEV
-ESSENTIAL=yes
-NEEDS="devices"
-
-. /etc/init.d/smgl_init
diff --git a/disk/udev/kay.gpg b/disk/udev/kay.gpg
deleted file mode 100644
index 4f4c190..0000000
Binary files a/disk/udev/kay.gpg and /dev/null differ
diff --git a/disk/udev/modprobe.aliases b/disk/udev/modprobe.aliases
deleted file mode 100644
index d8c455f..0000000
--- a/disk/udev/modprobe.aliases
+++ /dev/null
@@ -1,9 +0,0 @@
-# These are needed by udev to autoload some modules
-alias pnp:dPNP0510 irtty-sir
-alias pnp:dPNP0511 irtty-sir
-alias pnp:dPNP0700 floppy
-alias pnp:dPNP0800 pcspkr
-alias pnp:dPNP0b00 rtc
-alias pnp:dPNP0303 atkbd
-alias pnp:dPNP0f13 psmouse
-alias pnp:dPNPb02f analog
diff --git a/disk/udev/rules/40-alsa.rules b/disk/udev/rules/40-alsa.rules
deleted file mode 100644
index c0c94cc..0000000
--- a/disk/udev/rules/40-alsa.rules
+++ /dev/null
@@ -1,14 +0,0 @@
-SUBSYSTEM=="sound", GROUP="audio"
-SUBSYSTEM=="snd", GROUP="audio"
-KERNEL=="controlC[0-9]*", NAME="snd/%k"
-KERNEL=="hwC[D0-9]*", NAME="snd/%k"
-KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k"
-KERNEL=="midiC[D0-9]*", NAME="snd/%k"
-KERNEL=="timer", NAME="snd/%k"
-KERNEL=="seq", NAME="snd/%k"
-SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8000/*",
RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx
-I /usr/share/alsa/firmware/usx2yloader/us428fw.ihx"
-SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8004/*",
RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx
-I /usr/share/alsa/firmware/usx2yloader/us224fw.ihx"
-SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8006/*",
RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx
-I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx"
-SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8001/*",
RUN+="/sbin/startproc /usr/bin/us428control"
-SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8005/*",
RUN+="/sbin/startproc /usr/bin/us428control"
-SUBSYSTEM=="sound", KERNEL=="hwC?D2", DRIVERS=="EMU10K1_Audigy",
RUN+="/etc/alsa.d/udev-soundfont"
diff --git a/disk/udev/rules/52-modules.rules
b/disk/udev/rules/52-modules.rules
deleted file mode 100644
index fac6f9c..0000000
--- a/disk/udev/rules/52-modules.rules
+++ /dev/null
@@ -1,35 +0,0 @@
-# Module loading rules for systems without hotplug
-
-# Autoload modules that lack aliases but have them defined in
-# /etc/modprobe.conf
-ENV{MODALIAS}!="?*", SUBSYSTEM=="pnp", RUN+="/bin/sh -c 'while read id; do
/sbin/modprobe pnp:d$$id; done < /sys$devpath/id'"
-
-# Check whether we need these rules for this event
-ACTION!="add", GOTO="modprobe_end"
-
-# Autoload modules with aliases
-ATTRS{modalias}=="?*", ACTION=="add", RUN+="/sbin/modprobe $env{MODALIAS}"
-
-# PCMCIA
-SUBSYSTEM=="pcmcia_socket", RUN+="/sbin/modprobe pcmcia"
-
-# I2O
-SUBSYSTEM!="i2o", GOTO="i2o_end"
-RUN+="/sbin/modprobe i2o-block"
-LABEL="i2o_end"
-
-# MMC
-SUBSYSTEM!="mmc", GOTO="mmc_end"
-RUN+="/sbin/modprobe mmc-block"
-LABEL="mmc_end"
-
-# SCSI
-SUBSYSTEM!="scsi_device", GOTO="scsi_device_end"
-ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod"
-ATTRS{type}=="1", ATTRS{vendor}=="Onstream", ATTRS{model}!="ADR*"
RUN+="/sbin/modprobe osst"
-ATTRS{type}=="1", RUN+="/sbin/modprobe st"
-ATTRS{type}=="[345]", RUN+="/sbin/modprobe sr_mod"
-RUN+="/sbin/modprobe sg"
-LABEL="scsi_device_end"
-
-LABEL="modprobe_end"
diff --git a/disk/udev/rules/76-cdrom_perms.rules
b/disk/udev/rules/76-cdrom_perms.rules
deleted file mode 100644
index a0409a5..0000000
--- a/disk/udev/rules/76-cdrom_perms.rules
+++ /dev/null
@@ -1,3 +0,0 @@
-# cdrom device symlinks and permissions
-ENV{ID_CDROM}=="?*", GROUP="cdrom"
-ENV{ID_CDROM_CD_R}=="?*", MODE="0660", GROUP="burning"
diff --git a/disk/udev/rules/README b/disk/udev/rules/README
deleted file mode 100644
index 00a082a..0000000
--- a/disk/udev/rules/README
+++ /dev/null
@@ -1,11 +0,0 @@
-The files which name ends in ".rules" will be read by udev in lexical order.
-Any others will be ignored.
-There are some example rules in rules.examples, take a look at those for
-an idea of what's possible with udev.
-
-When a rule matches in one file, a different rule in another file will be
-ignored, so be sure to name your own files properly.
-
-Be sure to leave rules files installed by the spell as they are, so the
-spell can update them when needed. If you need to make changes, always
-add your own rules files when possible.
diff --git a/disk/udev/rules/rules.examples b/disk/udev/rules/rules.examples
deleted file mode 100644
index 16cc41e..0000000
--- a/disk/udev/rules/rules.examples
+++ /dev/null
@@ -1,42 +0,0 @@
-# There are a number of modifiers that are allowed to be used in some of the
-# fields. See the udev man page for a full description of them.
-# These are just some examples, check the manpage for the full options
-
-# Looking for scsi bus id 42:0:0:1
-#SUBSYSTEMS=="scsi", PROGRAM="/bin/echo -n test-%b", RESULT="test-42:0:0:1",
NAME="%c"
-
-# A usb camera.
-#SUBSYSTEMS=="usb", ATTRS{vendor}=="FUJIFILM", ATTRS{model}=="M100",
NAME="camera%n"
-
-# USB Epson printer to be called lp_epson
-#SUBSYSTEMS="usb", ATTRS{serial}="HXOLL0012202323480", NAME="lp_epson"
-
-# USB HP printer to be called lp_hp
-#SUBSYSTEMS="usb", ATTRS{serial}="W09090207101241330", NAME="lp_hp"
-
-# sound card with PCI bus id 00:0b.0 to be the first sound card
-#SUBSYSTEMS=="pci", KERNELS=="00:0b.0", NAME="dsp"
-
-# sound card with PCI bus id 00:07.1 to be the second sound card
-#SUBSYSTEMS=="pci", KERNELS=="00:07.1", NAME="dsp1"
-
-# USB mouse plugged into the third port of the first hub to be called mouse0
-#SUBSYSTEMS=="usb", PLACE=="1.3", NAME="mouse0"
-
-# USB tablet plugged into the third port of the second hub to be called
mouse1
-#SUBSYSTEMS=="usb", PLACE=="2.3", NAME="mouse1"
-#SUBSYSTEMS=="usb", PLACE=="2.4", NAME="mouse2"
-
-# ttyUSB1 should always be called visor
-#KERNEL=="ttyUSB1", NAME="visor"
-#KERNEL=="ttyUSB0", NAME="pl2303"
-
-# a devfs like way to name some tty devices
-#KERNEL=="ttyS*", NAME="tts/%n"
-#KERNEL=="tty*", NAME="vc/%n"
-
-# if this is a ide cdrom, name it the default name, and create a symlink to
cdrom
-#SUBSYSTEMS=="ide", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT=="cdrom",
NAME="%k", SYMLINK="cdrom"
-
-# DRI devices always go into a subdirectory (as per the LSB spec)
-#KERNEL=="card*", NAME="dri/card%n"
diff --git a/disk/udev/udev.conf b/disk/udev/udev.conf
deleted file mode 100644
index 8680f17..0000000
--- a/disk/udev/udev.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-# udev.conf
-# The main config file for udev
-#
-# This file can be used to override some of udev's default values
-# for where it looks for files, and where it places device nodes.
-#
-# NOTICE: The udev_root setting is needed by the devices init script.
-
-# Specifies where to place the device nodes in the filesystem.
-udev_root="/dev"
-
-# The logging priority. Valid values are the numerical syslog priorities
-# or their textual representations: err, info and debug.
-udev_log="err"
diff --git a/disk/udev/udev.missing b/disk/udev/udev.missing
deleted file mode 100644
index 4a210ed..0000000
--- a/disk/udev/udev.missing
+++ /dev/null
@@ -1,32 +0,0 @@
-# /etc/udev/udev.missing
-#
-# this file contains a list of devices that udev doesn't create because
-# they are missing from sysfs
-# /etc/init.d/runlevels/%DEV/devices will read this file and create the
-# device nodes
-#
-# format:
-# devname:type:major:minor:permissions:owner:group
-# devname = name of the device, e.g. 'ppp'
-# type = type of the device, "c" for character, "b" for block devices
-# major = major number of the device
-# minor = minor number of the device
-# permissions = permission string as accepted by chmod
-# owner = owner of the device
-# group = group of the device
-# example: ppp:c:108:0:0660:root:ppp
-# would create /dev/ppp as a char device with major 108 minor 0,
-# permissions set to rw-rw---- owned by root, group ppp
-#
-# lines starting with a '#' are comments and ignored
-dazuko:c:33:0:0660:root:root
-#ppp:c:108:0:0644:root:root
-nvidia0:c:195:0:0666:root:root
-nvidia1:c:195:1:0666:root:root
-nvidia2:c:195:2:0666:root:root
-nvidia3:c:195:3:0666:root:root
-nvidia4:c:195:4:0666:root:root
-nvidia5:c:195:5:0666:root:root
-nvidia6:c:195:6:0666:root:root
-nvidia7:c:195:7:0666:root:root
-nvidiactl:c:195:255:0666:root:root



  • [SM-Commit] GIT changes to master grimoire by Remko van der Vossen (e97e1cf5f1c726a44094caa67ebcdca250907f4f), Remko van der Vossen, 08/12/2017

Archive powered by MHonArc 2.6.24.

Top of Page