* Possible Bug: 2.4.14 USB Keyboard
@ 2001-11-14 21:18 Martin McWhorter
2001-11-14 22:53 ` Greg KH
0 siblings, 1 reply; 14+ messages in thread
From: Martin McWhorter @ 2001-11-14 21:18 UTC (permalink / raw)
To: linux-kernel
Hello,
I wanted to try the new preemptive kernel patch so I downloaded the
2.4.14 sources from kernel.org and the preemptive patch for 2.4.14,
configured the kernel, built it, mkinitrded and liloed.
Everything came up fine, though my usb keyboard does not respond. The
currios thing is that when the kernel is boooting and sysinit starts the
USB devices they all report that they start ok:
Nov 14 09:42:01 m_mcwhorter rc.sysinit: Mounting USB filesystem: succeeded
Nov 14 09:42:01 m_mcwhorter rc.sysinit: Initializing USB controller
(usb-uhci): succeeded
Nov 14 09:42:01 m_mcwhorter rc.sysinit: Initializing USB HID interface:
succeeded
Nov 14 09:42:01 m_mcwhorter rc.sysinit: Initializing USB keyboard:
succeeded
Nov 14 09:42:01 m_mcwhorter rc.sysinit: Initializing USB mouse: succeeded
But the USB keyboard does not repond, though the mouse connected through
the keyboard hub works.
Is this a possible bug?
Linux 2.4.14 with preemptive patch
Redhat 7.1
HP Pavillion 9690C with supplied USB keyboard USB mouse
Intel Pentium III 800
Thanks,
Martin
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible Bug: 2.4.14 USB Keyboard
2001-11-14 21:18 Possible Bug: 2.4.14 USB Keyboard Martin McWhorter
@ 2001-11-14 22:53 ` Greg KH
2001-11-15 14:24 ` Martin McWhorter
[not found] ` <mailman.1005834780.32418.linux-kernel2news@redhat.com>
0 siblings, 2 replies; 14+ messages in thread
From: Greg KH @ 2001-11-14 22:53 UTC (permalink / raw)
To: Martin McWhorter; +Cc: linux-kernel
On Wed, Nov 14, 2001 at 03:18:55PM -0600, Martin McWhorter wrote:
>
> But the USB keyboard does not repond, though the mouse connected through
> the keyboard hub works.
>
> Is this a possible bug?
Do you have the same problem without the preemptive patch?
If so, can you send the results of /proc/bus/usb/devices and
/proc/bus/usb/drivers?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Possible Bug: 2.4.14 USB Keyboard
2001-11-14 22:53 ` Greg KH
@ 2001-11-15 14:24 ` Martin McWhorter
2001-11-15 17:00 ` Greg KH
[not found] ` <mailman.1005834780.32418.linux-kernel2news@redhat.com>
1 sibling, 1 reply; 14+ messages in thread
From: Martin McWhorter @ 2001-11-15 14:24 UTC (permalink / raw)
To: linux-kernel
Greg
Do you have the same problem without the preemptive patch?
Yes. I appoligize for not being clear. I get the same results with plain
2.4.14 w/out the preemptive patch.
If so, can you send the results of /proc/bus/usb/devices andT: Bus=01
Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=159/900 us (18%), #Int= 4, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 3
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=010c Rev= 0.01
S: Manufacturer=HP
S: Product=Multimedia Keyboard Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=020c Rev= 0.01
S: Manufacturer=HP
S: Product=Multimedia Keyboard Hub
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=82(I) Atr=03(Int.) MxPS= 4 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c001 Rev=11.01
S: Manufacturer=Logitech
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 26mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms
> /proc/bus/usb/drivers?
usbdevfs
hub
hid
keyboard
Thanks,
Martin
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Possible Bug: 2.4.14 USB Keyboard
2001-11-15 14:24 ` Martin McWhorter
@ 2001-11-15 17:00 ` Greg KH
2001-11-15 18:40 ` Martin McWhorter
0 siblings, 1 reply; 14+ messages in thread
From: Greg KH @ 2001-11-15 17:00 UTC (permalink / raw)
To: Martin McWhorter; +Cc: linux-kernel
On Thu, Nov 15, 2001 at 08:24:41AM -0600, Martin McWhorter wrote:
>
> Yes. I appoligize for not being clear. I get the same results with plain
> 2.4.14 w/out the preemptive patch.
Thanks for the files. It looks like the USB drivers are being bound to
your devices properly.
What does the kernel log say when you plug in your keyboard?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Possible Bug: 2.4.14 USB Keyboard
2001-11-15 17:00 ` Greg KH
@ 2001-11-15 18:40 ` Martin McWhorter
2001-11-15 18:55 ` Vojtech Pavlik
[not found] ` <mailman.1005850740.5583.linux-kernel2news@redhat.com>
0 siblings, 2 replies; 14+ messages in thread
From: Martin McWhorter @ 2001-11-15 18:40 UTC (permalink / raw)
To: Greg KH, linux-kernel
Greg,
Sorry I had a think-o. I sent you the info on the wrong kernel.
/proc/bus/usb/devices for 2.4.14 VANILLA
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=146/900 us (16%), #Int= 3, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 3
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=010c Rev= 0.01
S: Manufacturer=HP
S: Product=Multimedia Keyboard Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=020c Rev= 0.01
S: Manufacturer=HP
S: Product=Multimedia Keyboard Hub
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=82(I) Atr=03(Int.) MxPS= 4 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c001 Rev=11.01
S: Manufacturer=Logitech
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 26mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms
/proc/bus/usb/drivers
usbdevfs
hub
hid
keyboard
>
> What does the kernel log say when you plug in your keyboard?
>
Nov 15 12:38:10 m_mcwhorter kernel: usb.c: USB disconnect on device 2
Nov 15 12:38:10 m_mcwhorter kernel: usb.c: USB disconnect on device 3
Nov 15 12:38:10 m_mcwhorter kernel: usb-uhci.c: interrupt, status 3,
frame# 1572
Nov 15 12:38:10 m_mcwhorter kernel: usb.c: USB disconnect on device 4
Nov 15 12:38:12 m_mcwhorter kernel: hub.c: USB new device connect on
bus1/1, assigned device number 5
Nov 15 12:38:12 m_mcwhorter kernel: hub.c: USB hub found
Nov 15 12:38:12 m_mcwhorter kernel: hub.c: 3 ports detected
Nov 15 12:38:13 m_mcwhorter kernel: hub.c: USB new device connect on
bus1/1/1, assigned device number 6
Nov 15 12:38:13 m_mcwhorter kernel: input0: USB HID v1.00 Keyboard [HP
Multimedia Keyboard Hub] on usb1:6.0
Nov 15 12:38:13 m_mcwhorter kernel: : USB HID v1.00 Device [HP
Multimedia Keyboard Hub] on usb1:6.1
Nov 15 12:38:13 m_mcwhorter /etc/hotplug/usb.agent: ... no drivers for
USB product 3f0/10c/1
Nov 15 12:38:13 m_mcwhorter kernel: hub.c: USB new device connect on
bus1/1/3, assigned device number 7
Nov 15 12:38:13 m_mcwhorter kernel: input1: USB HID v1.00 Mouse
[Logitech] on usb1:7.0
Thanks again,
Martin
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Possible Bug: 2.4.14 USB Keyboard
2001-11-15 18:40 ` Martin McWhorter
@ 2001-11-15 18:55 ` Vojtech Pavlik
[not found] ` <mailman.1005850740.5583.linux-kernel2news@redhat.com>
1 sibling, 0 replies; 14+ messages in thread
From: Vojtech Pavlik @ 2001-11-15 18:55 UTC (permalink / raw)
To: Martin McWhorter; +Cc: Greg KH, linux-kernel
On Thu, Nov 15, 2001 at 12:40:03PM -0600, Martin McWhorter wrote:
> Greg,
>
> Sorry I had a think-o. I sent you the info on the wrong kernel.
Do you have the keybdev module loaded? Also, don't load the usbkbd
module, if you load hid ...
--
Vojtech Pavlik
SuSE Labs
^ permalink raw reply [flat|nested] 14+ messages in thread[parent not found: <mailman.1005850740.5583.linux-kernel2news@redhat.com>]
* Re: Possible Bug: 2.4.14 USB Keyboard
[not found] ` <mailman.1005850740.5583.linux-kernel2news@redhat.com>
@ 2001-11-15 19:30 ` Pete Zaitcev
2001-11-15 19:47 ` Vojtech Pavlik
0 siblings, 1 reply; 14+ messages in thread
From: Pete Zaitcev @ 2001-11-15 19:30 UTC (permalink / raw)
To: vojtech; +Cc: linux-kernel
> Do you have the keybdev module loaded? Also, don't load the usbkbd
> module, if you load hid ...
>
> --
> Vojtech Pavlik
> SuSE Labs
There is a small problem with this approach: users have no clue
how to control what modules are loaded, hotplug loads whatever
was built (and recorded in modules.usbmap), and some users
have keyboards that plainly refuse to work with hid, therefore
vendors have to build both modules.
See this little gem, for instance:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55878
I suspect some distributions can get away with "load the right
module" approach because their userbase is so small and technical
that they do not hit these cases often. I think something needs
fixing in hid.
-- Pete
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: Possible Bug: 2.4.14 USB Keyboard
2001-11-15 19:30 ` Pete Zaitcev
@ 2001-11-15 19:47 ` Vojtech Pavlik
0 siblings, 0 replies; 14+ messages in thread
From: Vojtech Pavlik @ 2001-11-15 19:47 UTC (permalink / raw)
To: Pete Zaitcev; +Cc: linux-kernel
On Thu, Nov 15, 2001 at 02:30:12PM -0500, Pete Zaitcev wrote:
> > Do you have the keybdev module loaded? Also, don't load the usbkbd
> > module, if you load hid ...
> >
> > --
> > Vojtech Pavlik
> > SuSE Labs
>
> There is a small problem with this approach: users have no clue
> how to control what modules are loaded, hotplug loads whatever
> was built (and recorded in modules.usbmap), and some users
> have keyboards that plainly refuse to work with hid, therefore
> vendors have to build both modules.
>
> See this little gem, for instance:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55878
>
> I suspect some distributions can get away with "load the right
> module" approach because their userbase is so small and technical
> that they do not hit these cases often. I think something needs
> fixing in hid.
Interesting. Could you by any chance try to run the 'evtest' program (i
can send it to you if you don't have it handy) on the /dev/input/event
device created for this keyboard? And/or dmesg with DEBUG enabled in
hid-core.c? Also, latest kernels should make even the extra keys of this
keyboard work ...
--
Vojtech Pavlik
SuSE Labs
^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.1005834780.32418.linux-kernel2news@redhat.com>]
end of thread, other threads:[~2001-11-15 23:05 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-14 21:18 Possible Bug: 2.4.14 USB Keyboard Martin McWhorter
2001-11-14 22:53 ` Greg KH
2001-11-15 14:24 ` Martin McWhorter
2001-11-15 17:00 ` Greg KH
2001-11-15 18:40 ` Martin McWhorter
2001-11-15 18:55 ` Vojtech Pavlik
[not found] ` <mailman.1005850740.5583.linux-kernel2news@redhat.com>
2001-11-15 19:30 ` Pete Zaitcev
2001-11-15 19:47 ` Vojtech Pavlik
[not found] ` <mailman.1005834780.32418.linux-kernel2news@redhat.com>
[not found] ` <200111151807.fAFI7XN30496@devserv.devel.redhat.com>
2001-11-15 18:44 ` Martin McWhorter
2001-11-15 19:14 ` Pete Zaitcev
2001-11-15 19:57 ` Martin McWhorter
[not found] ` <20011115152432.A26630@devserv.devel.redhat.com>
2001-11-15 21:30 ` Martin McWhorter
[not found] ` <20011115170148.A19715@devserv.devel.redhat.com>
[not found] ` <3BF43E55.80401@prairiegroup.com>
[not found] ` <20011115171751.A22915@devserv.devel.redhat.com>
2001-11-15 22:40 ` Martin McWhorter
2001-11-16 0:03 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox