Since my upgrade to gentoo-sources-2.6.12-r4 when I plug in a usb gamepad /dev/input/js0 isn't created anymore instead another /dev/input/event? is created. Tried this with two different ps2usb converters both giving a correct message with dmesg: usb 1-2: new low speed USB device using ohci_hcd and address 7 input: USB HID v1.10 Joystick [GreenAsia Inc. USB Joystick ] on usb-0000:00:02.0-2 usb 2-1: new low speed USB device using ohci_hcd and address 3 input: USB HID v1.00 Joystick [0b43:0003] on usb-0000:00:02.1-1 Both functioned correctly with gentoo-sources-2.6.12-r1 and still do on my x86 desktop running gentoo-sources-2.6.12-r1 emerge --info: Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.8 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.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X accessibility acpi alsa amd64 avi berkdb bindist bitmap-fonts bonobo cdr crypt cups curl dga dvd dvdr eds encode esd evo faad fam font-server fortran gb gif gimpprint glx gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imap imlib ipv6 java jikes joystick jp2 jpeg kerberos lzw lzw-tiff mad mikmod mime motif mozilla mp3 mpeg ncurses network nls nomalloccheck nptl nptlonly ogg opengl oss pam pdflib perl pic plotutils png print python quicktime readline samba sasl scanner sdl sox spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales videos vorbis wmf wxwindows xml xml2 xosd xpm xprint xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS Reproducible: Always Steps to Reproduce: 1. plugin usb joystick Actual Results: dmesg: usb 2-1: new low speed USB device using ohci_hcd and address 3 input: USB HID v1.00 Joystick [0b43:0003] on usb-0000:00:02.1-1 ls /dev/input doesn't list a js? device, but another /dev/input/event? is created cat /dev/input/event? and moving joystick will generate output Expected Results: A /dev/input/js? device
*** Bug 98151 has been marked as a duplicate of this bug. ***
Could you upgrade your x86 desktop to 2.6.12-r4 (without changing other packages) and confirm if you see the same results there? The reason I ask, is because I think this may be a result of the udev upgrade, or something else. So if you could confirm or deny that the kernel changes from -r1 to -r4 cause this, then it would be useful.
I've updated my x86 desktop to gentoo-sources 2.6.12-r4 and rebooted with the new kernel. Plugging in my usb gamepad creates a /dev/input/js0, no problem! Both the amd64 and x86 have the same udev and hotplug: sys-apps/hotplug-base-20040401 sys-apps/hotplug-20040923 sys-fs/udev-060 etc-update shows no updates in config files on both systems. I did not tinker with config files for udev and hotplug! Rebooting the amd64 laptop and plugging in the gamepad creates /dev/input/event5 instead of /dev/input/js0.
Returned to gentoo-sources-2.6.12-r2, gamepad functioned, recompiled gentoo-source-2.6.12-r4 and now gamepad behaves correct, creating a /dev/input/js0