Re: ohci: USB devices only detected at boot time
Raphael Assenat <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
David Brownell wrote: > On Monday 19 February 2007 8:59 am, Raphael Assenat wrote: > > >>How about adding an OHCI_QUIRK_NO_RH_SUSPEND flag in struct ohci_hcd >> and using it to disable suspend for this chip? The flag can be set >>automatically in ohci-pci.c. The only thing I'm not sure about is >>the appropriate place to handle this flag in ohci-hub.c.... >> >>A patch that does this is attached to this email. Please comment. > > > As Alan noted, do this against the current kernel. Compare for > example this patch (needs testing). It works on my box. Here's a patch which adds my device to the list. Best regards, -- Raphael Assenat 8D Technologies Inc. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
ite8152_broken_suspend.diff
(text/plain, 799 B)
This patch enables the broken suspend quirk for the PCI OHCI controller present in the IT8152F/G RISC-to-PCI Companion Chip. Signed-off-by: Raphael Assenat <[email protected]> diff -Nru -X linux-2.6.21-rc2/Documentation/dontdiff linux-2.6.21-rc2/drivers/usb/host/ohci-pci.c linux-2.6.21-rc2-8d/drivers/usb/host/ohci-pci.c --- linux-2.6.21-rc2/drivers/usb/host/ohci-pci.c 2007-03-01 15:30:01.000000000 -0500 +++ linux-2.6.21-rc2-8d/drivers/usb/host/ohci-pci.c 2007-03-01 15:31:12.000000000 -0500 @@ -141,6 +141,10 @@ .subdevice = 0x0004, .driver_data = (unsigned long) broken_suspend, }, + { + PCI_DEVICE(PCI_VENDOR_ID_ITE, 0x8152), + .driver_data = (unsigned long) broken_suspend, + }, /* FIXME for some of the early AMD 760 southbridges, OHCI * won't work at all. blacklist them. */