Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633400 - sys-apps/systemd-233-r4: udev does not create /dev/input/mice
Summary: sys-apps/systemd-233-r4: udev does not create /dev/input/mice
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 16:49 UTC by Pacho Ramos
Modified: 2017-10-04 20:52 UTC (History)
1 user (show)

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


Attachments
dmesg (dmesg,53.29 KB, text/plain)
2017-10-03 16:49 UTC, Pacho Ramos
Details
journalctl -b compressed zwith xz (journalctl.xz,50.36 KB, application/x-xz)
2017-10-03 16:50 UTC, Pacho Ramos
Details
lsusb (lsusb,13.50 KB, text/plain)
2017-10-03 16:50 UTC, Pacho Ramos
Details
/proc/config.gz (config.gz,27.10 KB, application/gzip)
2017-10-04 08:49 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-10-03 16:49:47 UTC
Created attachment 497540 [details]
dmesg

I don't know why udev is not creating /dev/input/mice link to /dev/input/event12 (my mouse device). This causes gpm to fail to start but, before hardcoding the path, I would like to clarify why the link is not being created in one of the machines I admin while still works in others
Comment 1 Pacho Ramos gentoo-dev 2017-10-03 16:50:45 UTC
Created attachment 497542 [details]
journalctl -b compressed zwith xz
Comment 2 Pacho Ramos gentoo-dev 2017-10-03 16:50:59 UTC
Created attachment 497544 [details]
lsusb
Comment 3 Pacho Ramos gentoo-dev 2017-10-03 16:51:35 UTC
# emerge --info systemd
Portage 2.3.10 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r4, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-6600_CPU_@_3.30GHz-with-gentoo-2.3
KiB Mem:    16316888 total,  12118224 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 02 Oct 2017 00:45:01 +0000
Head commit of repository gentoo: 667d915a8e649c3972643f9bbaa9fb33e40d40b5
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fno-stack-protector"
DISTDIR="/usr/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 applet avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr chm cli colord cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi ebook eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gif git glamor gnome gnome-keyring gnome-online-accounts google googledrive gphoto2 gpm gromacs gstreamer gtk gtk3 gtkstyle hfs http iconv infinality introspection ios irc jabber jpeg kpathsea latex lcms ldap libass libnotify libsecret libvisual lyx mad mms mng mobi modules monolithic-build mp3 mp4 mpeg mtp multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl ntfs ntp numa offensive ogg opengl openmp optimized-qmake pam pango pch pdf pdfimport png policykit ppds pulseaudio qt3support qt4 readline reiserfs scanner sdl seccomp sendto session smp sna snmp spell squashfs ssl startup-notification svg systemd t1lib tcpd theora threads tiff tracker truetype udev udisks unicode upnp upnp-av upower usb v4l vaapi vala vcd vlc vorbis wifi wxwidgets x264 x265 xattr xcb xfs xml xmpp xv xvid youtube zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="es es-ES en en-US fr fr-FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES en en_US fr fr_FR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/systemd-233-r4::gentoo was built with the following:
USE="acl gcrypt http kmod lz4 pam policykit seccomp ssl (-apparmor) -audit -build -cryptsetup -curl -doc -elfutils -gnuefi -idn -importd -lzma -nat -qrcode (-selinux) -sysv-utils -test -vanilla -xkb" ABI_X86="32 (64) (-x32)"
Comment 4 Mike Gilbert gentoo-dev 2017-10-03 16:53:52 UTC
/dev/input/mice should be a device node created by the kernel, not a symlink managed by udev.

% ls -l /dev/input/mice
crw-rw---- 1 root input 13, 63 Sep 10 22:53 /dev/input/mice

Perhaps you have disabled some kernel option?
Comment 5 Mike Gilbert gentoo-dev 2017-10-03 17:03:18 UTC
It looks like /dev/input/mice is created by the mousedev driver, which is only built if CONFIG_INPUT_MOUSE is enabled in your kernel config.
Comment 6 Pacho Ramos gentoo-dev 2017-10-04 08:49:43 UTC
Created attachment 497584 [details]
/proc/config.gz

Yeah, I was reviewing kernel options deeply but the node is still missing. I attach the full config, but you can see that I have CONFIG_INPUT_MOUSE=y 

Should I reassign this to kernel people then? Thanks
Comment 7 Mike Gilbert gentoo-dev 2017-10-04 19:25:14 UTC
My kernel log (4.9.34) has this:

Sep 10 22:53:36 localhost kernel: mousedev: PS/2 mouse device common for all mice

Your dmesg output does not contain any output from the mousedev driver.
Comment 8 Mike Gilbert gentoo-dev 2017-10-04 19:27:26 UTC
> Should I reassign this to kernel people then? Thanks

This is clearly not a systemd bug. I don't think it's a kernel bug either, but rather some configuration issue (different hardware or kernel options).
Comment 9 Pacho Ramos gentoo-dev 2017-10-04 19:53:00 UTC
Maybe they know what option needs to be enabled for this :/
Comment 10 Mike Gilbert gentoo-dev 2017-10-04 20:38:15 UTC
From your config.gz dump:

# CONFIG_INPUT_MOUSEDEV is not set

Try turning that one on. ;)
Comment 11 Pacho Ramos gentoo-dev 2017-10-04 20:52:48 UTC
Thanks! I will try :D