i have upgraded udevd to version 0.81 now i am unable to see dev entries for i2c module i2c-dev is loaded. emerge info: Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Pentium III (Katmai) Gentoo Base System version 1.12.0_pre14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-pipe -march=pentium3 -O3 -funroll-all-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -march=pentium3 -O3 -funroll-all-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distcc distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://trumpetti.atm.tut.fi/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.se.gentoo.org/gentoo-portage" USE="x86 X berkdb bitmap-fonts bzip2 caps chroot crypt eds emboss expat gd glibc-omitfp gpm gstreamer gtk gtk2 hardened hpn jpeg lcms minimal mmx mng mp3 ncurses nptl nptlonly ogg pam pam_chroot pam_timestamp pcre perl png pthreads python readline sftplogging slang speex sse ssl symlink tcpd threads truetype type1-fonts udev userlocales vorbis zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY 1g ~ # ls -l /dev/i2c ls: /dev/i2c: No such file or directory
Did this work on any other version of udev? What does 'tree /sys/class/i2c-dev' show?
although not sure 100% i believe it has worked before as expected (that is, sensors-detect script worked, which depend on /dev/i2c entries) /sys/class/i2c-dev is empty, although /sys/bus/i2c tree follows: /sys/bus/i2c/drivers /sys/bus/i2c/drivers/eeprom /sys/bus/i2c/drivers/eeprom/bind /sys/bus/i2c/drivers/eeprom/unbind /sys/bus/i2c/drivers/eeprom/module /sys/bus/i2c/drivers/dev_driver /sys/bus/i2c/drivers/dev_driver/bind /sys/bus/i2c/drivers/dev_driver/unbind /sys/bus/i2c/drivers/dev_driver/module /sys/bus/i2c/drivers/lm78-isa /sys/bus/i2c/drivers/lm78-isa/9191-0290 /sys/bus/i2c/drivers/lm78-isa/bind /sys/bus/i2c/drivers/lm78-isa/unbind /sys/bus/i2c/drivers/lm78-isa/module /sys/bus/i2c/drivers/lm78 /sys/bus/i2c/drivers/lm78/bind /sys/bus/i2c/drivers/lm78/unbind /sys/bus/i2c/drivers/lm78/module /sys/bus/i2c/drivers/i2c_adapter /sys/bus/i2c/drivers/i2c_adapter/bind /sys/bus/i2c/drivers/i2c_adapter/unbind /sys/bus/i2c/drivers/i2c_adapter/module /sys/bus/i2c/devices /sys/bus/i2c/devices/9191-0290
quick note link in the 'devices' dir reads: lrwxrwxrwx 1 root root 0 Jan 23 20:30 9191-0290 -> ../../../devices/platform/i2c-9191/9191-0290
same here , all i2c support disappeared in moving from 079-r1 to 081-r1 previously working sensors no longer exist , all steps to detect sensors fail : no sensors , no devices etc.
This is a sensors-detect issue, not a udev issue.
hmm here we have a situation where something that has worked before (sensors-detect) has not changed but something thats responsible for that failure (udev) has changed. would you please elaborate on why its sensors-detect responsible and not recent changes to udev ?
Because the sensors-detect code was trying to do odd things in detecting udev (there is a standard way to do it...) udev changed and sensors-detect didn't get fixed...