From nobody@FreeBSD.ORG  Tue Jul 25 07:00:23 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id DDE9637B51F; Tue, 25 Jul 2000 07:00:22 -0700 (PDT)
Message-Id: <20000725140022.DDE9637B51F@hub.freebsd.org>
Date: Tue, 25 Jul 2000 07:00:22 -0700 (PDT)
From: celacunza@yahoo.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: 4.1-RC[23]: usb keyboard and mouse no longer work
X-Send-Pr-Version: www-1.0

>Number:         20176
>Category:       kern
>Synopsis:       4.1-RC[23]: usb keyboard and mouse no longer work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    n_hibma
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 25 07:10:00 PDT 2000
>Closed-Date:    Wed Aug 9 05:36:48 PDT 2000
>Last-Modified:  Wed Aug 09 05:37:21 PDT 2000
>Originator:     Christian Lacunza
>Release:        4.1-RC2
>Organization:
>Environment:
FreeBSD 4.1-RC2 #0: Wed Jul 19 02:01:03 GMT 2000
    root@widget.osd.bsdi.com:/usr/src/sys/compile/GENERIC

>Description:
after upgrading to 4.1-RC2 (from 4.0-RELEASE), 
usb keyboard/mouse no longer work,
with or without bios legacy usb support.
(didn't see any way to turn plug-n-play on or off)

is it possible to use this kbd/mouse?

some dmesg output:

bios32: Found BIOS32 Service Directory header at 0xc00f8140
bios32: Entry = 0xfd6e0 (c00fd6e0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x12c
pnpbios: Found PnP BIOS data at 0xc00f8190
pnpbios: Entry = f0000:ac15  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f8170
...
uhci0: <VIA 83C572 USB controller> port 0x18c0-0x18df irq 9 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port 1 power on failed, IOERROR
uhub0: port 2 power on failed, IOERROR
uhub1: HP Multimedia Keyboard Hub, class 9/0, rev 1.10/0.01, addr 2
uhub1: 3 ports with 2 removable, bus powered
ukbd0: HP Multimedia Keyboard Hub, rev 1.10/0.01, addr 3, iclass 3/1
kbd: new array size 4
kbd1 at ukbd0
kbd1: ukbd0, generic (0), config:0x0, flags:0x1d0000
uhid0: HP Multimedia Keyboard Hub, rev 1.10/0.01, addr 3, iclass 3/0
ums0: Logitech N48, rev 1.00/4.01, addr 4, iclass 3/1
ums0: 3 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xfce0-0xfcff irq 0 at device 4.3 on pci0
uhci1: Invalid irq 0
uhci1: Please switch on USB support and switch PNP-OS to 'No' in BIOS
device_probe_and_attach: uhci1 attach returned 6

>How-To-Repeat:
i get the same errors (and non-functioning keyboard and mouse)
if i boot from the -RC3 floppies.


>Fix:
keyboard and mouse work if you use 4.0-RELEASE + legacy usb
support in the bios, but it would be nice to be able to use
4.1-RELEASE when it comes out.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->n_hibma 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Jul 25 07:32:12 PDT 2000 
Responsible-Changed-Why:  
Nick's area. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20176 

From: Nick Hibma <n_hibma@calcaphon.com>
To: freebsd-gnats-submit@FreeBSD.org, celacunza@yahoo.com
Cc:  
Subject: Re: kern/20176: 4.1-RC[23]: usb keyboard and mouse no longer work
Date: Tue, 25 Jul 2000 17:32:53 +0100

 First of all, thanks for the extensive bug report.
 
 In the dmesg you cut&pasted into the PR you can see that the uhci
 controller has problems attaching to the hardware:
 
 uhci1: <VIA 83C572 USB controller> port 0xfce0-0xfcff irq 0 at device
 4.3 on pci0
      uhci1: Invalid irq 0
      uhci1: Please switch on USB support and switch PNP-OS to 'No' in
 BIOS
      device_probe_and_attach: uhci1 attach returned 6
 
 The problem is that your BIOS has switched on the UHCI PCI controller,
 but not assigned it an IRQ.
 
 Could you have a look again in your BIOS and tell me exactly which
 settings there are that relate to either
 
     legacy hardware support
 
 or mention the word
 
     USB
 
 In any other case, the answer to your question is unfortunately no. Your
 BIOS has a broken implementation of the PnP specification and does not
 assign all the resources correctly. Windows does the PnP allocation
 itself, so it won't be a problem there. FreeBSD will at some stage
 include better support for PnP devices, but until then you are out of
 luck. The only thing you can do is not compile in support for USB into
 your FreeBSD kernel and use keyboard and mouse in legacy mode.
 
 Nick
 
 --
 Work: n_hibma@qubesoft.com             Personal: n_hibma@webweaving.org
 
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: n_hibma 
State-Changed-When: Tue Jul 25 09:42:06 PDT 2000 
State-Changed-Why:  
Requested feedback from submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20176 

From: Christian Lacunza <celacunza@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/20176: 4.1-RC[23]: usb keyboard and mouse no longer work
Date: Wed, 26 Jul 2000 09:28:42 -0700 (PDT)

 i looked through the BIOS, but didn't see anything.
 i guess i am out of luck.
 
 
 __________________________________________________
 Do You Yahoo!?
 Get Yahoo! Mail - Free email you can access from anywhere!
 http://mail.yahoo.com/
 
State-Changed-From-To: feedback->closed 
State-Changed-By: n_hibma 
State-Changed-When: Wed Aug 9 05:36:48 PDT 2000 
State-Changed-Why:  
There is nothing we can do until we have PnP enumeration in 
FreeBSD.  

http://www.freebsd.org/cgi/query-pr.cgi?pr=20176 
>Unformatted:
