Re: usb/79656: [usb] RHSC interrupts lost

2007-06-29 Thread Mark Linimon
Synopsis: [usb] RHSC interrupts lost

State-Changed-From-To: closed-analyzed
State-Changed-By: linimon
State-Changed-When: Fri Jun 29 23:06:46 UTC 2007
State-Changed-Why: 
Change this to note that although it's fixed in p4, it is not yet fixed
in CVS.  Closing it early was my mistake.

http://www.freebsd.org/cgi/query-pr.cgi?pr=79656
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/79656: [usb] RHSC interrupts lost

2007-06-11 Thread Mark Linimon
Synopsis: [usb] RHSC interrupts lost

State-Changed-From-To: feedback-closed
State-Changed-By: linimon
State-Changed-When: Tue Jun 12 05:05:47 UTC 2007
State-Changed-Why: 
hps: may I conclude that this is fixed in your implementation in Perforce?

http://www.freebsd.org/cgi/query-pr.cgi?pr=79656
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/79656: [usb] RHSC interrupts lost

2006-02-25 Thread Hans Petter Selasky
On Saturday 25 February 2006 04:55, Ian Dowse wrote:
 Synopsis: [usb] RHSC interrupts lost

 State-Changed-From-To: open-feedback
 State-Changed-By: iedowse
 State-Changed-When: Sat Feb 25 03:53:50 UTC 2006
 State-Changed-Why:

 If possible, could you provide information about how to reproduce
 this problem, and a patch to fix it?

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

Symptom: You plug a USB device and it is not detected at all.

I am not using the old USB driver, but basically what you need to do is this:

ehci.c
==

void
ehci_pcd_enable(void *v_sc)
{
ehci_softc_t *sc = v_sc;

ehci_pcd_able(sc, 1);

+/* acknowledge any PCD interrupt */
+EOWRITE4(sc, EHCI_USBSTS, EHCI_STS_PCD);

+ehci_pcd(sc, sc-sc_intrxfer);
}

ohci.c
==

void
ohci_rhsc_enable(void *v_sc)
{
ohci_softc_t *sc = v_sc;
int s;

s = splhardusb();
ohci_rhsc_able(sc, 1);
splx(s);

+/* acknowledge any RHSC interrupt */
+OWRITE4(sc, OHCI_INTERRUPT_STATUS, OHCI_RHSC);

+ohci_rhsc(sc, sc-sc_intrxfer);
}

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]