sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review
- From: Jeremy Blosser <jblosser-smgl AT firinn.org>
- To: Juuso Alasuutari <iuso AT sourcemage.org>
- Cc: duane_malcolm <d.malcolm AT auckland.ac.nz>, Unet <unet AT sourcemage.org>, SM-Commit Daemon <sm-commit AT lists.ibiblio.org>, Andrew Stitt <a AT t.armory.com>, Arjan Bouter <abouter AT sourcemage.org>, vladimir_marek <vlmarek AT volny.cz>, Maurizio Boriani <baux AT member.fsf.org>, Ethan Grammatikidis <eekee AT eekee.is-a-geek.org>, Gareth Clay <gareth AT caffeinefuelled.co.uk>
- Subject: Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review
- Date: Wed, 10 May 2006 16:07:03 -0500
On May 10, Perforce Review Daemon [p4review AT smee.org] wrote:
> Change 79107 by juuso_alasuutari@juuso_alasuutari-kamayuq on 2006/05/10
> 21:18:26
>
> Fixed usb printer node naming, added new rules, added new
> keywords
There's been a lot of this tweaking going on lately, and 50-default.rules
has 224 lines by now, and the spell is looking quite complex overall. Can
I ask for a sanity check... are we still installing only upstream + the
minimal config to make things work and leaving the rest for the local admin
to take care of? Or at least making all the helpful autoconfiguration
optional?
Just checking...
> Affected files ...
>
> ... //sgl/grimoires/devel/disk/udev/DETAILS#49 edit
> ... //sgl/grimoires/devel/disk/udev/HISTORY#86 edit
> ... //sgl/grimoires/devel/disk/udev/rules/50-default.rules#19 edit
>
> Differences ...
>
> ==== //sgl/grimoires/devel/disk/udev/DETAILS#49 (xtext) ====
>
> @@ -10,10 +10,10 @@
>
> WEB_SITE=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
> ENTERED=20030725
> UPDATED=20060107
> - PATCHLEVEL=9
> + PATCHLEVEL=10
> DOCS="ChangeLog COPYING FAQ README docs/* RELEASE-NOTES"
> LICENSE[0]=GPL
> - KEYWORDS="disk"
> + KEYWORDS="disk devices nodes modules"
> SHORT="Udev creates and removes device nodes"
> cat << EOF
> Udev creates and removes device nodes in /dev, based on events the kernel
>
> ==== //sgl/grimoires/devel/disk/udev/HISTORY#86 (text) ====
>
> @@ -1,3 +1,8 @@
> +2006-05-10 Juuso Alasuutari <iuso AT sourcemage.org>
> + * rules/50-default.rules: Fixed incorrect node naming for usb
> + printers, added new rules for various devices
> + * DETAILS: Updated PATCHLEVEL, added some new keywords
> +
> 2006-05-02 Juuso Alasuutari <iuso AT sourcemage.org>
> * INSTALL: Install early rules straight from source dir
> * rules/05-udev-early.rules: Deleted
>
> ==== //sgl/grimoires/devel/disk/udev/rules/50-default.rules#19 (text) ====
>
> @@ -28,6 +28,16 @@
> # permissions for SCSI CD devices
> BUS=="scsi", KERNEL=="s[grt][0-9]*", SYSFS{type}=="5", MODE="0660",
> GROUP="cdrom"
>
> +# tape devices
> +KERNEL=="ht*", NAME="%k"
> +KERNEL=="nht*", NAME="%k"
> +KERNEL=="pt*", NAME="%k"
> +KERNEL=="npt*", NAME="%k"
> +KERNEL=="st*", NAME="%k"
> +KERNEL=="nst*", NAME="%k"
> +KERNEL=="osst*", NAME="%k"
> +KERNEL=="nosst*", NAME="%k"
> +
> # sound devices
> KERNEL=="admmidi", NAME="sound/%k", SYMLINK="%k"
> KERNEL=="adsp", NAME="sound/%k", SYMLINK="%k"
> @@ -52,23 +62,37 @@
> KERNEL=="psaux", NAME="input/%k", SYMLINK="%k", MODE="0644"
>
> # misc devices
> +KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"
> KERNEL=="rtc", NAME="misc/%k", SYMLINK+="%k", MODE="0644"
> KERNEL=="uinput", NAME="misc/%k", SYMLINK+="%k"
> KERNEL=="inotify", NAME="misc/%k", SYMLINK+="%k", MODE="0666"
>
> -# console
> -KERNEL=="console", NAME="%k", MODE="0600"
> -KERNEL=="ptmx", NAME="%k", MODE="0666"
> -KERNEL=="tty", NAME="%k", MODE="0666"
> -
> # tty devices
> -KERNEL=="ttyS[0-9]*", NAME="%k", SYMLINK="tts/%n"
> -KERNEL=="ttyUSB[0-9]*", NAME="%k", SYMLINK="tts/USB%n", MODE="0660"
> +KERNEL=="console", NAME="%k", GROUP="tty", MODE="0600"
> +KERNEL=="tty", NAME="%k", GROUP="tty", MODE="0666"
> +KERNEL=="tty[0-9]*", NAME="vc/%n", SYMLINK="%k", GROUP="tty"
> +KERNEL=="ttyS[0-9]*", NAME="tts/%n", SYMLINK="%k", GROUP="tty"
> +KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n", SYMLINK="%k", GROUP="tty",
> MODE="0660"
> KERNEL=="ippp0", NAME="%k", GROUP="tty"
> KERNEL=="isdn*", NAME="%k", GROUP="tty"
> KERNEL=="dcbri*", NAME="%k", GROUP="tty"
> KERNEL=="ircomm*", NAME="%k", GROUP="tty"
>
> +# pty devices
> +KERNEL=="ptmx", NAME="%k", GROUP="tty", MODE="0666"
> +KERNEL=="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k", GROUP="tty"
> +KERNEL=="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k", GROUP="tty"
> +
> +# vc devices
> +KERNEL=="vcs", NAME="vcc/0", SYMLINK="%k", GROUP="tty"
> +KERNEL=="vcs[0-9]*", NAME="vcc/%n", SYMLINK="%k", GROUP="tty"
> +KERNEL=="vcsa", NAME="vcc/a0", SYMLINK="%k", GROUP="tty"
> +KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK="%k", GROUP="tty"
> +
> +# capi devices
> +KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
> +KERNEL="capi*", NAME="capi/%n"
> +
> # cpu devices
> KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid"
> KERNEL=="msr[0-9]*", NAME="cpu/%n/msr"
> @@ -150,12 +174,12 @@
> # ls120 devices
> KERNEL=="ls120", NAME="%k", GROUP="disk"
>
> -# printer
> +# printer (usb printer rule must be before the rest)
> +BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp", MODE="0660"
> KERNEL=="lp*", NAME="%k", GROUP="lp", MODE="0660"
> KERNEL=="irlpt", NAME="%k", GROUP="lp", MODE="0660"
> KERNEL=="usblp", NAME="%k", GROUP="lp", MODE="0660"
> KERNEL=="parport*", NAME="%k", GROUP="lp", MODE="0660"
> -BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp", MODE="0660"
>
> # v4l devices
> KERNEL=="video[0-9]*", NAME="v4l/video%n", SYMLINK="video%n",
> GROUP="video", MODE="0660"
> @@ -172,6 +196,9 @@
>
> # network devices
> KERNEL=="tun", NAME="net/%k"
> +KERNEL=="ippp*", NAME="net/%k", SYMLINK="%k", MODE="0644"
> +KERNEL=="ipstate*", NAME="net/%k", SYMLINK="%k", MODE="0660"
> +KERNEL=="spx", NAME="net/%k", SYMLINK="%k", MODE="0644"
>
> # diskonkey devices
> KERNEL=="diskonkey*", NAME="%k", GROUP="disk"
Attachment:
pgpHhV2IV4qzg.pgp
Description: PGP signature
-
[SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Perforce Review Daemon, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Jeremy Blosser, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Juuso Alasuutari, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Jeremy Blosser, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Arwed von Merkatz, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Andraž "ruskie" Levstik, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
seth, 05/10/2006
- Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review, Eric Sandall, 05/11/2006
- Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review, Arwed von Merkatz, 05/11/2006
- [SM-Commit] udev apology (Re: PERFORCE change 79107 by Juuso Alasuutari for review), Juuso Alasuutari, 05/11/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
seth, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Andraž "ruskie" Levstik, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Arwed von Merkatz, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Jeremy Blosser, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Juuso Alasuutari, 05/10/2006
-
Re: [SM-Commit] PERFORCE change 79107 by Juuso Alasuutari for review,
Jeremy Blosser, 05/10/2006
Archive powered by MHonArc 2.6.24.