First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 191813
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: udev maintainers <udev-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michal Suchanek <hramrach@centrum.cz>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
udev.log udevmonitor output text/plain Michal Suchanek 2007-09-10 14:34 0000 4.92 KB Details
modprobe1.log output of the first command text/plain Michal Suchanek 2007-09-10 18:46 0000 5.05 KB Details
modprobe2.log output of the second command text/plain Michal Suchanek 2007-09-10 18:52 0000 4.62 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 191813 depends on: Show dependency tree
Bug 191813 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-09 11:33 0000
when I connect an USB gamepad it is correctly recognized, and some stuff is
loaded. However, to make use of the device I have to manually modprobe joydev.

Reproducible: Always

Steps to Reproduce:
1. boot system
2. plug in a gamepad
3. start a software that uses it

Actual Results:  
the gamepad is not recognized because /dev/js* is not present

Expected Results:  
joydev is loaded and creates /dev/js0

[I] sys-fs/udev
     Available versions:  104-r12 104-r13 ~111 ~111-r1 ~111-r3 ~112 ~112-r1
~113 ~113-r1 ~113-r2 114 ~114-r1 ~114-r2 ~115 ~115-r1 [M]~115-r2 {selinux}
     Installed versions:  114(08:53:53 PM 08/27/2007)(-selinux)

Portage 2.1.2.12 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4,
2.6.22-gentoo-r5-src i686)
=================================================================
System uname: 2.6.22-gentoo-r5-src i686 Intel(R) Celeron(R) CPU 420 @ 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 06 Sep 2007 17:30:09 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse3 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -msse3 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US en_GB cs cs_CZ sk ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /opt/x4x-portage /opt/mabi"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amr berkdb bitmap-fonts bzip2 cairo cdr cjk cli
cracklib crypt cups d debug dga doc dri dvd dvdr dvi enca encode examples fbcon
ffmpeg firefox fontconfig fortran gcj gdbm gif glitz gpm gtk gtk2 iconv
ion3-voidupstreamsupport-truetype iontruetype ipv6 isdnlog javascript jpeg
jpeg2k lm_sensors mad midi mmap mmx mozdevelop mozilla mp3 mp4 mpeg mudflap
ncurses nls nodrm nptl nptlonly nsplugin objc ogg opengl openmp pam pcre pdf
perl png ppds pppd python readline reflection ruby sdl session spl srt sse sse2
sse3 ssl svg test theora threads tiff truetype truetype-fonts type1-fonts
unicode vorbis x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev
keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633
glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB cs cs_CZ
sk ja" USERLAND="GNU" VIDEO_CARDS="i810 i915 ati radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Matthias Schwarzott 2007-09-09 21:40:12 0000 -------
Please attach output of udevmonitor --env running in parallel to plugging the
gamepad in, output of lsusb, and output of modinfo joydev.

But in general I guess this is no bug in udev itself, but either a kernel one
or a local problem of your system.

------- Comment #2 From Michal Suchanek 2007-09-10 14:34:07 0000 -------
Created an attachment (id=130494) [edit]
udevmonitor output

The reason I think it's udev is because it used to work. But I also upgraded
the kernel.

------- Comment #3 From Michal Suchanek 2007-09-10 14:35:16 0000 -------
Bus 005 Device 008: ID 0583:a000 Padix Co., Ltd (Rockfire) 
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 005: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 004: ID 046d:c309 Logitech, Inc. Internet Keyboard
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 015: ID 058f:6362 Alcor Micro Corp. 
Bus 001 Device 001: ID 0000:0000  

filename:      
/lib/modules/2.6.22-gentoo-r5-src/kernel/drivers/input/joydev.ko
license:        GPL
description:    Joystick device interfaces
author:         Vojtech Pavlik <vojtech@ucw.cz>
srcversion:     46BE1E4FE75E0F634FE4A5F
alias:          input:b*v*p*e*-e*3,*k*r*a*6,*m*l*s*f*w*
alias:          input:b*v*p*e*-e*3,*k*r*a*8,*m*l*s*f*w*
alias:          input:b*v*p*e*-e*3,*k*r*a*0,*m*l*s*f*w*
depends:        
vermagic:       2.6.22-gentoo-r5-src SMP mod_unload CORE2 

------- Comment #4 From Matthias Schwarzott 2007-09-10 16:19:20 0000 -------
Maybe the problem is in out modprobe.sh wrapper.
Can you please attach output of
sh -x /lib/udev/modprobe.sh
input:b0003v0583pA000e0110-e0,1,3,k120,121,122,123,124,125,126,127,ra0,1,mlsfw
and
sh -x /lib/udev/modprobe.sh usb:v0583pA000d0100dc00dsc00dp00ic03isc00ip00

But as I looked into some wikis it seems joydev has to be added to some
autoload-file, or loading it by a entry in modules.d/ files before/after some
other input module.

------- Comment #5 From Michal Suchanek 2007-09-10 18:46:57 0000 -------
Created an attachment (id=130529) [edit]
output of the first command

------- Comment #6 From Michal Suchanek 2007-09-10 18:52:46 0000 -------
Created an attachment (id=130532) [edit]
output of the second command

I have added the joydev to my autoload file, sure. But that's the work of udev
to load the modules that are needed.

Similarily there was time when I had to manually load ide-cd for cdroms (which
was probably fixed by switching to libata where sr is loaded automatically) or
sd for usb-storage (which certainly works for quite some time by now). All
these cases are quite disappointing.

------- Comment #7 From Matthias Schwarzott 2007-09-11 21:52:11 0000 -------
udev-115-r3 does no longer use a shell-wrapper around modprobe, so should also
load joydev fine.

------- Comment #8 From Jakub Moc (RETIRED) 2007-10-09 18:37:56 0000 -------
WFM w/ udev-115-r6 -> FIXED.

First Last Prev Next    No search results available      Search page      Enter new bug