Bug 426290

Summary: /class/input/input number too high when using USB hub
Product: [Fedora] Fedora Reporter: Roland Wolters <roland.wolters>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-09 05:33:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
/var/log/messages output during a problematic session none

Description Roland Wolters 2007-12-19 20:08:43 UTC
Description of problem:
I use an USB hub to manage the USB devices on my computer. Notable input 
devices are the mouse and the keyboard. Sometimes when plugging in an input 
device the input number assigned with that device exceeds the maximum of 32:

Dec 19 20:34:52 perricum kernel: input: Darfon USB Combo Keyboard 
as /class/input/input68
Dec 19 20:34:52 perricum kernel: evdev: no more free evdev devices
Dec 19 20:34:52 perricum kernel: input: failed to attach handler evdev to 
device input68, error: -23

As a result the keyboard/mouse doesn't work properly: the pressed keys are not 
detected right or not at all, and the num-lock light flashes sometimes. This 
makes the system unusable.

I attached the entire log output to this bug report: the first message is 
generated by attaching the USB hub (new high speed USB device), afterwards I 
attached the keyboard (new low speed USB device).

Version-Release number of selected component (if applicable):
$ uname -r                                                                                                                                                                
(12-19 20:59)

How reproducible:
Use the USB hub, connect a keyboard, and check if there are again problems 
with the evdev number.

Steps to Reproduce:
1. connect the USB hub
2. connect the keyboard
3. check for the device numbers
Actual results:
The assigned input device number is too high.

Expected results:
It should just work.

Additional info:
This is about external input devices on a laptop - the laptop already has a 
touch-pad and a keyboard so in summary these are four input devices. However, 
that does not justifies a number like 68! Is there a way to check which 
devices were allocated to which number?

Comment 1 Roland Wolters 2007-12-19 20:08:43 UTC
Created attachment 290053 [details]
/var/log/messages output during a problematic session

Comment 2 Roland Wolters 2007-12-19 20:15:54 UTC
Additional note: the error seems to appear first at the device input number 
42. This is easily reproducible by detaching and re-attaching the USB hub 
again and again. The device number increases every time by two (because there 
are two devices, mouse and keyboard, attached).

I wonder why the device number increases all the time, and why old device 
numbers are not used?

Comment 3 Bug Zapper 2008-11-26 09:04:56 UTC
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 4 Bug Zapper 2009-01-09 05:33:34 UTC
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.