2001-07-21 15:43:19

by Igmar Palsenberg

[permalink] [raw]
Subject: [2.4.6] USB thinks I've got 2 keyboards


A HP pavilion with a USB keyboard and mouse :

Kernel : 2.4.6

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 9 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
uhci.c: USB UHCI at I/O 0xa400, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
uhci.c: :USB Universal Host Controller Interface driver
usb.c: registered new driver hid
hid.c: v1.16:USB HID support drivers

hub.c: USB new device connect on bus1/1, assigned device number 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: USB new device connect on bus1/2, assigned device number 3
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: USB new device connect on bus1/1/1, assigned device number 4
event0: Event device for input0
keybdev.c: Adding keyboard: input0
input0: USB HID v1.00 Keyboard [HP Multimedia Keyboard Hub] on usb1:4.0
event1: Event device for input1
keybdev.c: Adding keyboard: input1
input1: USB HID v1.00 Device [HP Multimedia Keyboard Hub] on usb1:4.1
hub.c: USB new device connect on bus1/2/1, assigned device number 5
event2: Event device for input2
mouse0: PS/2 mouse device for input2
input2: USB HID v1.00 Mouse [Logitech] on usb1:5.0
keyboard: Timeout - AT keyboard not present?

input0 and input1 are the same device actually.


Igmar


--

Igmar Palsenberg
JDI Media Solutions

Boulevard Heuvelink 102
6828 KT Arnhem
The Netherlands

mailto: [email protected]
PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar


2001-07-21 15:51:00

by James Simmons

[permalink] [raw]
Subject: Re: [2.4.6] USB thinks I've got 2 keyboards


I have seen this. Look for a USB port on your keyboard. Some keyboards
come with a port to plug a USB mouse into. The USB detects this other port
and the HID layer reports it as a USB mouse. It is very normal.

2001-07-21 15:54:00

by Igmar Palsenberg

[permalink] [raw]
Subject: Re: [2.4.6] USB thinks I've got 2 keyboards


> I have seen this. Look for a USB port on your keyboard. Some keyboards
> come with a port to plug a USB mouse into. The USB detects this other port
> and the HID layer reports it as a USB mouse. It is very normal.

The keyboard indeed does have 2 USB ports. The reported mouse is actually
there, and not connected to the keyboard.

Igmar

--

Igmar Palsenberg
JDI Media Solutions

Boulevard Heuvelink 102
6828 KT Arnhem
The Netherlands

mailto: [email protected]
PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar

2001-07-21 16:45:39

by Greg KH

[permalink] [raw]
Subject: Re: [2.4.6] USB thinks I've got 2 keyboards

On Sat, Jul 21, 2001 at 05:42:36PM +0200, Igmar Palsenberg wrote:
>
> A HP pavilion with a USB keyboard and mouse :
>
> Kernel : 2.4.6

Can you send the result of /proc/bus/usb/devices when this device is
plugged in?

thanks,

greg k-h

2001-07-21 17:15:34

by Greg KH

[permalink] [raw]
Subject: Re: [2.4.6] USB thinks I've got 2 keyboards

On Sat, Jul 21, 2001 at 07:09:03PM +0200, Igmar Palsenberg wrote:
>
> > > A HP pavilion with a USB keyboard and mouse :
> > >
> > > Kernel : 2.4.6
> >
> > Can you send the result of /proc/bus/usb/devices when this device is
> > plugged in?
>
> /proc/bus/usb/ is empty here.

Could you mount usbdevfs at /proc/bus/usb?
See the FAQ at http://www.linux-usb.org/ on how to do this if you need
some more information.

thanks,

greg k-h

2001-07-21 17:09:41

by Igmar Palsenberg

[permalink] [raw]
Subject: Re: [2.4.6] USB thinks I've got 2 keyboards


> > A HP pavilion with a USB keyboard and mouse :
> >
> > Kernel : 2.4.6
>
> Can you send the result of /proc/bus/usb/devices when this device is
> plugged in?

/proc/bus/usb/ is empty here.

/proc/driver/uhci/hc0 lists :

HC status
usbcmd = 00c1 Maxp64 CF RS
usbstat = 0000
usbint = 000f
usbfrnum = (0)3bc
flbaseadd = 0125c3bc
sof = 40
stat1 = 0095 PortEnabled PortConnected
stat2 = 0095 PortEnabled PortConnected
Frame List
Skeleton TD's
- skel_term_td
[c12611b0] link (012611b0) e0 Length=0 MaxLen=7ff DT0 EndPt=0 Dev=7f,
PID=69(IN) (buf=00000000)
- skel_int128_td
[c12611e0] link (01261210) e0 IOC Active NAK Length=7ff MaxLen=0 DT0
EndPt=1 Dev=2, PID=69(IN) (buf=07f9d528)
[c1261210] link (01261270) e0 IOC Active NAK Length=7ff MaxLen=0 DT1
EndPt=1 Dev=3, PID=69(IN) (buf=07f9d5a8)
[c1261270] link (01261120) e0 IOC Active NAK Length=7ff MaxLen=3 DT1
EndPt=2 Dev=5, PID=69(IN) (buf=07ce0c90)
- skel_int8_td
[c1261240] link (012612a0) e0 IOC Active NAK Length=7ff MaxLen=7 DT1
EndPt=1 Dev=5, PID=69(IN) (buf=07d36c90)
[c12612a0] link (01261060) e0 LS IOC Active NAK Length=7ff MaxLen=7
DT0 EndPt=1 Dev=4, PID=69(IN) (buf=07d38c90)
Skeleton QH's

A recompile is not a problem here, so if you need other info..

> greg k-h


Igmar

--

Igmar Palsenberg
JDI Media Solutions

Boulevard Heuvelink 102
6828 KT Arnhem
The Netherlands

mailto: [email protected]
PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar

2001-07-21 17:20:34

by Igmar Palsenberg

[permalink] [raw]
Subject: Re: [2.4.6] USB thinks I've got 2 keyboards


> Could you mount usbdevfs at /proc/bus/usb?

Ugh.. I'm not very awake today..

/proc/bus/usb/devices :

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=170/900 us (19%), #Int= 5, #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-alt Root Hub
S: SerialNumber=a400
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.03
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#= 5 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.03
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=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 4
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=058f ProdID=9254 Rev= 1.00
S: Manufacturer=ALCOR
S: Product=Generic USB 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=03 Port=00 Cnt=01 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=10.00
S: Manufacturer=Logitech
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 36mA
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

> thanks,
>
> greg k-h


Igmar

--

Igmar Palsenberg
JDI Media Solutions

Boulevard Heuvelink 102
6828 KT Arnhem
The Netherlands

mailto: [email protected]
PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar