Re: [Bugme-new] [Bug 8510] New: OHCI constantly attempts suspending root hub on ALi motherboard

Andrey Borzenkov <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sunday 20 May 2007, Alan Stern wrote:
> On Sun, 20 May 2007, Andrey Borzenkov wrote:
> > On Sunday 20 May 2007, David Brownell wrote:
> > > On Saturday 19 May 2007, David Brownell wrote:
> > > > On Saturday 19 May 2007, Andrew Morton wrote:
> > > > > On Sat, 19 May 2007 10:08:40 -0700 [email protected]
> >
> > wrote:
> > > > > > http://bugzilla.kernel.org/show_bug.cgi?id=8510
> > > > >
> > > > > A regression.
> > > >
> > > > From 2.6.16, yes... this has been around for a while, but nobody
> > > > came up with a patch.
> > > >
> > > > I suggest someone with the hardware just provide an update to the
> > > > drivers/usb/host/ohci-pci.c file using the
> > > >
> > > >                 PCI_DEVICE(PCI_VENDOR_ID_ITE, 0x8152),
> > > >
> > > > quirk table entry as a model.
> > >
> > > Grr, better yet:  find out why the existing quirk entry for this
> > > particular laptop doesn't trigger.
> >
> > Because it is usig wrong subvendor. Runtime tested:
>
> Does this fix the regression described in your email
>
> 	"2.6.22-rc2:  regression: STD fails with pci_device_suspend():
> 	usb_hcd_pci_suspend+0x0/0x160 [usbcore]()  returns -16"
>
> ?
>

No. Unfortunately. Here is dmesg with patch and USB_DEBUG

swsusp: Marking nosave pages: 000000000009f000 - 0000000000100000
swsusp: Basic memory bitmaps created
Stopping tasks ... done.
Shrinking memory... done (61536 pages freed)
Freed 246144 kbytes in 1.99 seconds (123.69 MB/s)
Suspending console(s)
hub 1-0:1.0: hub_suspend
ohci_hcd 0000:00:02.0: suspend root hub
usb usb1: usb suspend
usb usb1: usb resume
usb usb1: finish resume
hub 1-0:1.0: hub_resume
ohci_hcd 0000:00:02.0: wakeup root hub
sd 0:0:0:0: [sda] Synchronizing SCSI cache
pnp: Device 00:09 disabled.
Trying to free already-free IRQ 11
ACPI: PCI interrupt for device 0000:00:06.0 disabled
ACPI: Unable to derive IRQ for device 0000:00:04.0
pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x230 [usbcore]() returns -16
suspend_device(): pci_device_suspend+0x0/0x70() returns -16
Could not suspend device 0000:00:02.0: error -16
PM: Writing back config space on device 0000:00:04.0 at offset 1 (was 2900001, 
writing 2900005)
ACPI: Unable to derive IRQ for device 0000:00:04.0
ACPI: PCI Interrupt 0000:00:04.0[A]: no GSI
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [LNKH] -> GSI 11 (level, low) -> 
IRQ 11
ata1.00: ata_hpa_resize 1: sectors = 39070080, hpa_sectors = 39070080
ata1.00: ata_hpa_resize 1: sectors = 39070080, hpa_sectors = 39070080
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] 39070080 512-byte hardware sectors (20004 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support 
DPO or FUA
PM: Writing back config space on device 0000:00:0a.0 at offset f (was 
38080100, writing 3808010b)
PM: Writing back config space on device 0000:00:0a.0 at offset 6 (was 0, 
writing f7d00000)
PM: Writing back config space on device 0000:00:0a.0 at offset 5 (was 1, 
writing eb41)
PM: Writing back config space on device 0000:00:0a.0 at offset 4 (was 0, 
writing f7efd000)
PM: Writing back config space on device 0000:00:0a.0 at offset 3 (was 0, 
writing 4008)
PM: Writing back config space on device 0000:00:0a.0 at offset 1 (was 2900000, 
writing 2900007)
ata2.00: configured for UDMA/33
pnp: Failed to activate device 00:05.
pnp: Failed to activate device 00:06.
pnp: Device 00:09 activated.
sd 0:0:0:0: [sda] Starting disk
eth1: PRI 31 variant 2 version 9.48
eth1: NIC 5 variant 2 version 1.02
Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
usb usb1: remote wakeup needed for autosuspend
done.
swsusp: Basic memory bitmaps freed
input: Power Button (FF) as /class/input/input8
ACPI: Power Button (FF) [PWRF]
input: Lid Switch as /class/input/input9
ACPI: Lid Switch [LID]
eth1: PRI 31 variant 2 version 9.48
eth1: NIC 5 variant 2 version 1.02
eth1: PRI 31 variant 2 version 9.48
eth1: NIC 5 variant 2 version 1.02
eth1: PRI 31 variant 2 version 9.48
eth1: NIC 5 variant 2 version 1.02


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.