Re: Sony Laptop: APM problems due to PCI code

Martin Mares (mj@ucw.cz)
Sun, 15 Aug 1999 10:06:07 +0200


Hello,

> Ok, the symptoms were: APM dies on second suspend, even if rebooted
> between the suspends. Happens with 2.2.x kernels. 2.0.x kernels and
> FreeBSD worked fine. I spend a _lot_ of time trying to figure out
> what was going on.
>
> It turns out that it is the USB device that causing the problem. The
> I/O for
>
> 00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
>
> (device 8086:7112) is being enabled at boot by the kernel. (In fact
> the kernel enables a bunch of stuff that it doesn't use). This can be
> fixed after boot by installing pci-utils and doing:
>
> setpci -s 0:7.2 command=0
>
> I'm not sure if there is a kernel fix for this, other than disabling
> pcibios_fixup_devices() and letting the drivers themselves enable the
> devices if they are used. (No sense in enabling a winmodem or
> firewire if the kernel never uses it.)

Can you send me 'lspci -vvx' output for this machine and all PCI-related
messages printed during kernel boot?

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Entropy isn't what it used to be."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/