Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98824 - Misplaced rule in udev-062 (raw1394)
Summary: Misplaced rule in udev-062 (raw1394)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-12 15:05 UTC by Kjell Claesson
Modified: 2005-07-12 15:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kjell Claesson 2005-07-12 15:05:56 UTC
I use the raw1394 for video capture. Now using udev-062 and kernel
2.6.12-gentoo-r4, i was under the impression that the raw1394 device should be
created automaticly.

But this rule:
KERNEL=="raw[0-9]*",    NAME="raw/%k", GROUP="disk"

Is presented before this:
KERNEL=="raw1394", NAME="%k", GROUP="video"
In /etc/udev/rules.d/50-udev.rules

Therfore i only get /dev/raw/raw1394 as root.disk.

Beqause the raw[0.9]* catch the raw1394 and name it before the
real raw1394 rule. So by moving the 

# IEEE1394 (firewire) devices
KERNEL=="raw1394", NAME="%k", GROUP="video"
KERNEL=="dv1394*", NAME="dv1394/%n", GROUP="video"
KERNEL=="video1394*", NAME="video1394/%n", GROUP="video"

part before the raw device it works.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Celeron(TM) CPU                1400MHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.du.se/pub/os/gentoo
http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo"
LANG="sv_SE"
LC_ALL="sv_SE"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa apache2 apm avi berkdb bitmap-fonts blender-game
bonobo cdr crypt css cups curl dba directfb divx4linux dv dvd dvdr dvdread eds
emboss encode esd fam fbcon flac flash font-server foomaticdb fortran gd gdbm
gif gimpprint glut gnome gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal
ieee1394 imagemagick imlib innodb java joystick jpeg junit kde libg++ libwww
live lm_sensors mad mikmod ming mmx motif mozilla mp3 mpeg mpm-prefork mysql
mysqli ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl
php png ppds python qt quicktime readline samba scanner sdl slang speex spell
sse ssl svga tcltk tcpd tetex tiff timidity transcode truetype truetype-fonts
type1 type1-fonts unicode usb userlocales v4l vcd vcdimager vorbis win32codecs
xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-07-12 15:47:14 UTC
Thanks, have checked this into the main udev tree, will be in the next release.