linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PROBLEM: USB keyboards works only 4 per PC host port
@ 2008-08-08  6:02 Aivils Stoss
  2008-08-09 10:42 ` Samuel Thibault
  0 siblings, 1 reply; 20+ messages in thread
From: Aivils Stoss @ 2008-08-08  6:02 UTC (permalink / raw)
  To: linux-input, jkosina, linux-kernel, linuxconsole-dev

Hello All!

PROBLEM: USB keyboards works only 4 per PC host port.

I work for project which will use 15 - 25 keyboards for children teaching.
I discover current Linux 2.6.22 , 2.6.24, 2.6.26 dot not support more
than 4 keyboards per single PC host port. All plugged in keyboards
are listed as USB devices, listed as input devices, but capable to
send input events are only 4 keyboards, no matter where keyboards
are plugged in to HUB cascade. All plugged in keyboards switch LED's,
when i press NumLock.

I tested various usb-hub units and various host PC hardware, i even
replace hub power supplay units from 5V1A to 5V3A. All tested cases
give best results - 4 keyboards per PC host port and worstest - some PC
cannot do more than 8 keyboards at all.
I suppose this is Linux kernel bug because i test keyboards under
Windows, which support any schema of cascading of usb hubs.

I will send any log file if that is necessary, but trouble will pop up
in a row of kernels. 2.6.22 didn't have error messages. 2.6.24, 2.6.26
tend to total slow down with eternal reset messages:
Jul 25 07:16:00 awork kernel: input,hiddev97: USB HID v1.10 Mouse 
[USB-compliant keyboard] on usb-0000:00:1d.0-1.1.2
Jul 25 07:16:01 awork kernel: usb 2-1.1.1: reset low speed USB device using 
uhci_hcd and address 17
Jul 25 07:16:01 awork kernel: usb 2-1.1.2: reset low speed USB device using 
uhci_hcd and address 18
Jul 25 07:16:02 awork kernel: usb 2-1.1.1: reset low speed USB device using 
uhci_hcd and address 17


Best regards,
Aivils Stoss

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: PROBLEM: USB keyboards works only 4 per PC host port
@ 2008-08-19 21:06 juanslayton
  0 siblings, 0 replies; 20+ messages in thread
From: juanslayton @ 2008-08-19 21:06 UTC (permalink / raw)
  To: Alan Stern
  Cc: David Brownell, juanslayton, Aivils Stoss, jkosina, lud,
	linux-kernel, Randy Dunlap, linuxconsole-dev, linux-input




Thanks for the clarification.

John


^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: PROBLEM: USB keyboards works only 4 per PC host port
@ 2008-08-19 16:40 juanslayton
  2008-08-19 18:21 ` Alan Stern
  0 siblings, 1 reply; 20+ messages in thread
From: juanslayton @ 2008-08-19 16:40 UTC (permalink / raw)
  To: Alan Stern
  Cc: Aivils Stoss, jkosina, lud, linux-kernel, Randy Dunlap,
	linuxconsole-dev, linux-input




I have to apologize for my limited knowledge, but mere ignorance never yet
kept a teacher quiet.  I am trying to follow this discussion because
Aivils and I are  basically trying to do the same thing.  In my case I am
presently running 20 keyboards on a 2.6.26 kernel, using an EHCI
controller, and they all work fine.

If I understand your analysis, Aivils' problem is because the UHCI
controllers are too slow.  (I just happened to get lucky with another
controller.)  I am left with two questions.

1.  What if Aivils needs more than 16 keyboards?  (Standard class sizes
here in California run from 20 to about 30.)  Is there any way he can do
this without a faster controller?

2.  What does the bandwidth limitation say about the maximum number of
boards with the EHCI controller?  I modified the kernel evdev.c and
input.c files to raise the maximum events from 32 to 64, but I hadn't
figured in the effects of bandwidth.

> Now if you plugged some of these keyboards into different UHCI
> controllers on the computer, then the problem wouldn't arise.  Each of
> your four UHCI controllers has two ports.  So without using any hubs at
> all, you can plug 8 keyboards into the computer and they will all work.
>
> If you use some extra hubs as well then you can plug four keyboards
> into each controller, allowing you to use 16 keyboards total.
>
> Alan Stern
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Linuxconsole-dev mailing list
> Linuxconsole-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxconsole-dev
>


^ permalink raw reply	[flat|nested] 20+ messages in thread
* PROBLEM: USB keyboards works only 4 per PC host port
@ 2008-08-02  6:05 Aivils Stoss
  0 siblings, 0 replies; 20+ messages in thread
From: Aivils Stoss @ 2008-08-02  6:05 UTC (permalink / raw)
  To: linux-input, jkosina, linux-kernel, linuxconsole-dev

Hello All!

PROBLEM: USB keyboards works only 4 per PC host port.

I work for project which will use 15 - 25 keyboards for children teaching.
I discover current Linux 2.6.22 , 2.6.24, 2.6.26 dot not support more
than 4 keyboards per single PC host port. All plugged in keyboards
are listed as USB devices, listed as input devices, but capable to
send input events are only 4 keyboards, no matter where keyboards
are plugged in to HUB cascade. All plugged in keyboards switch LED's,
when i press NumLock.

I tested various usb-hub units and various host PC hardware, i even
replace hub power supplay units from 5V1A to 5V3A. All tested cases
give best results - 4 keyboards per PC host port and worstest - some PC
cannot do more than 8 keyboards at all.
I suppose this is Linux kernel bug because i test keyboards under
Windows, which support any schema of cascading of usb hubs.

I will send any log file if that is necessary, but trouble will pop up
in a row of kernels. 2.6.22 didn't have error messages. 2.6.24, 2.6.26
tend to total slow down with eternal reset messages:
Jul 25 07:16:00 awork kernel: input,hiddev97: USB HID v1.10 Mouse 
[USB-compliant keyboard] on usb-0000:00:1d.0-1.1.2
Jul 25 07:16:01 awork kernel: usb 2-1.1.1: reset low speed USB device using 
uhci_hcd and address 17
Jul 25 07:16:01 awork kernel: usb 2-1.1.2: reset low speed USB device using 
uhci_hcd and address 18
Jul 25 07:16:02 awork kernel: usb 2-1.1.1: reset low speed USB device using 
uhci_hcd and address 17
Jul 25 07:16:03 awork kernel: usb 2-1.1.2: reset low speed USB device using 
uhci_hcd and address 18
Jul 25 07:16:04 awork kernel: usb 2-1.1.1: reset low speed USB device using 
uhci_hcd and address 17
Jul 25 07:16:05 awork kernel: usb 2-1.1.2: reset low speed USB device using 
uhci_hcd and address 18


Best regards,
Aivils Stoss

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2008-08-20  5:40 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-08  6:02 PROBLEM: USB keyboards works only 4 per PC host port Aivils Stoss
2008-08-09 10:42 ` Samuel Thibault
2008-08-10  3:08   ` Aivils Stoss
2008-08-15  1:49     ` Randy Dunlap
2008-08-18 11:12       ` Aivils Stoss
2008-08-18 15:14         ` Jiri Kosina
2008-08-18 15:14         ` Randy Dunlap
2008-08-19  9:57           ` Aivils Stoss
2008-08-19 15:03             ` Alan Stern
2008-08-19 15:19             ` Randy Dunlap
2008-08-19 15:23               ` Jiri Kosina
2008-08-19 17:55                 ` Dmitry Torokhov
2008-08-20  5:40                 ` Aivils Stoss
  -- strict thread matches above, loose matches on Subject: below --
2008-08-19 21:06 juanslayton
2008-08-19 16:40 juanslayton
2008-08-19 18:21 ` Alan Stern
2008-08-19 19:12   ` David Brownell
2008-08-19 20:04     ` Alan Stern
2008-08-19 21:05       ` juanslayton
2008-08-02  6:05 Aivils Stoss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).