udev-068 fails to process my rules correctly, and does not create /dev/snd/* or /dev/video/*. I have tried modifying my rules, reverting to the default /etc/udev/rules.d/50-udev.rules, and loads of other stuff but to no avail. See http://forums.gentoo.org/viewtopic-p-2704728.html#2704728 for more infotion. I have downgraded to udev-058 (the previous stable version) and this problem dissapears. Reproducible: Always Steps to Reproduce: 1. emerge "=udev-0.68" 2. Reboot 3. /dev/snd/* and /dev/video/* are not created I am using 2.6.12-nitro5, but have also tried 2.6.13-gentoo which doesn't work either. System info:Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr ftp://ftp.rhnet.is/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo" LINGUAS="en_GB" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X alsa apache2 apm avi bash-completion bitmap-fonts bluetooth bonobo crypt cups curl dba directfb dvd dvdr dvdread dvdrw eds emboss encode fam firefox flac foomaticdb fortran gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 irmc jack java jpeg junit kde kqemu libg++ libwww mad mikmod mmx mmxext mono motif mozilla mozsvg mozxmlterm mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png ppds python quicktime readline real scanner sdl spell sqlite sse ssl subversion svg svga svn symlink tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb v4l vorbis webservices xine xinerama xml xml2 xmms xprint xv xvid zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
What does 'tree /sys/class/sound' show? Also, what does 'udevtest /sys/class/sound/controlC0 sound' run as root show? This works fine for me here...
Appologies for the delay, but I have been rather busy lately as I am back to college. With udev-58: fe04 ~ # udevtest /sys/class/sound/controlC0 sound udevtest.c: looking at device '/class/sound/controlC0' from subsystem 'sound' udev_rules_parse.c: unknown key 'USER' udev_rules_parse.c: parse error /etc/udev/rules.d/10-local.rules, line 9:57, rule skipped udev_rules_parse.c: unknown key 'USER' udev_rules_parse.c: parse error /etc/udev/rules.d/10-local.rules, line 12:63, rule skipped udevtest.c: opened class_dev->name='controlC0' udev_rules.c: configured rule in '/etc/udev/rules.d/50-udev.rules[46]' applied, 'controlC0' becomes 'snd/%k' udev_add.c: creating device node '/dev/snd/controlC0', major = '116', minor = '0', mode = '0660', uid = '0', gid = '18' fe04 ~ # tree /sys/class/sound /sys/class/sound |-- adsp | `-- dev |-- audio | `-- dev |-- controlC0 | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:02.7 |-- dsp | `-- dev |-- mixer | `-- dev |-- pcmC0D0c | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:02.7 |-- pcmC0D0p | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:02.7 |-- pcmC0D1c | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:02.7 |-- seq | `-- dev |-- sequencer | `-- dev |-- sequencer2 | `-- dev `-- timer `-- dev 16 directories, 12 files With udev-068-r1: fe04 ~ # udevtest /sys/class/sound/controlC0 sound main: looking at device '/class/sound/controlC0' from subsystem 'sound' add_to_rules: unknown key 'USER', in 'SUBSYSTEM' add_to_rules: unknown key 'USER', in 'SUBSYSTEM' main: opened class_dev->name='controlC0' udev_rules_get_name: rule applied, 'controlC0' becomes 'controlC0' create_node: creating device node '/dev/controlC0', major = '116', minor = '0', mode = '0666', uid = '0', gid = '18' fe04 ~ # tree /sys/class/sound /sys/class/sound |-- adsp | `-- dev |-- audio | `-- dev |-- controlC0 | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:02.7 |-- dsp | `-- dev |-- mixer | `-- dev |-- pcmC0D0c | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:02.7 |-- pcmC0D0p | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:02.7 |-- pcmC0D1c | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:02.7 |-- seq | `-- dev |-- sequencer | `-- dev |-- sequencer2 | `-- dev `-- timer `-- dev 16 directories, 12 files It seems that it doesn't really like processing my new rules, which are as follows (basically the same as before, but with some stuff for my pendrive): fe04 ~ # cat /etc/udev/rules.d/10-local.rules # Optical drives KERNEL="hdc", SYMLINK="dvd", MODE="0666" KERNEL="hdd", SYMLINK="dvdrw", MODE="0666" # Pendrive SUBSYSTEM="block", SYSFS{dev}=="180:32", SYSFS{product}=="USB DISK Pro", SYSFS{serial}=="07410E480006", NAME="%k", SYMLINK="pendrive" # Sound SUBSYSTEM="sound", NAME="%k", GROUP="audio", USER="audio", MODE="0666" # v4l SUBSYSTEM="video4linux", NAME="%k", GROUP="video", USER="video", MODE="0666"
Forgot to reopen.
I am having the same issue on two machines. "udevstart" is solving the issue for me, I read in some other forums that adding this into the /etc/init.d/alsasound might help. I will test this later...
Please fix your local rules up first, and get them to work properly, before worrying about the sound ones. And, does the 070 release fix your problems?
Alrighty, just upgrading and fixing the errors alone did not fix it, but the problem seems to be that it was a bug in the earlier version. I now have the following in my 10-local.rules (just appropriate ones), which are exactly the same as the original ones except without USER="audio",: # Sound SUBSYSTEM="sound", NAME="%k", GROUP="audio", MODE="0666" # v4l SUBSYSTEM="video4linux", NAME="%k", GROUP="video", MODE="0666" This is overriding the default ones, so it just puts them in /dev/. *sigh* If I put NAME="snd/%k" for the sound stuff (or just remove it), as expected it works fine. This must have been fixed somewhere after 058, which is why it no longer worked for me. Thanks for your help, and sorry for my stupidity. :P Stonki, did you get your problem sorted? If not post you info and we can have a look through it.