Subject: kern/11070: pcic doesn't work when you use a USB keyboard
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 09/23/2000 08:23:21
>Number:         11070
>Category:       kern
>Synopsis:       pcic doesn't work when you use a USB keyboard
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 23 08:29:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Ernesti
>Release:        NetBSD-current 16-Sep-2000
>Organization:
	
>Environment:
	
System: NetBSD arresum.inka.de 1.5E NetBSD 1.5E (ARRESUM) #491: Tue Sep 19 22:32:04 CEST 2000 bernd@arresum.inka.de:/home/work/obj_i386/src.i386/sys/arch/i386/compile/ARRESUM i386


>Description:
	I have a ISA pnp pcmcia adapter which works fine when I use a
	normal keyboard, but it no longer finds any cards when I use a
	USB keyboard.
	I reserved two irq's in the BIOS for ISA cards: 9 and 11.
	They are not used by any other driver.
>How-To-Repeat:
	Working hardware configuration:

pckbc0 at pnpbios0 index 5 (PNP0F13): aux port
pckbc1 at pnpbios0 index 10 (PNP0303): kbd port
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
[..]
uhci0 at pci0 dev 4 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
[..]
isapnp0: read port 0x203
pcic0 at isapnp0 port 0x3e0/2
pcic0: SCM SwapBox Plug and Play (ident 0x83 OK): using iomem 0xc8000 iosiz 0x4000
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
[..]
pcic0: controller 0 detecting irqs with mask 0xdeb8:..9..11
pcic0: using irq 9 for socket events
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
pcmcia1: CIS version PC Card Standard 5.0
pcmcia1: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, 
pcmcia1: Manufacturer code 0x156, product 0x2
pcmcia1: function 0: network adapter, ccr addr 3e0 mask 1
pcmcia1: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqpulse irqlevel
wi0 at pcmcia1 function 0 port 0x440-0x47f
wi0: address 00:60:1d:xx:xx:xx

	Not working hardware configuration:

pckbc0 at pnpbios0 index 10 (PNP0303): kbd port
[..]
uhci0 at pci0 dev 4 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
[..]
pcic0 at isapnp0 port 0x3e0/2
pcic0: SCM SwapBox Plug and Play (ident 0x83 OK): using iomem 0xc8000 iosiz 0x4000
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
[..]
pcic0: controller 0 detecting irqs with mask 0xdeb8:..9..11
pcic0: using irq 9 for socket events
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
uhub1 at uhub0 port 1
uhub1: Cherry Mikroschalter GmbH My3000 hub, class 9/1, rev 1.00/6.04, addr 2
uhub1: 5 ports with 4 removable, bus powered
ukbd0 at uhub1 port 4 configuration 1 interface 0
ukbd0: Cherry Mikroschalter GmbH My3000 keyboard, rev 1.00/6.04, addr 3, iclass 3/1
wskbd0 at ukbd0 mux 1
ums0 at uhub0 port 2 configuration 1 interface 0
ums0: Logitech N48, rev 1.00/4.01, addr 4, iclass 3/1
ums0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: