OHCI: fix regression caused by nVidia shutdown workaround commit 2b7aaf503d56216b847c8265421d2a7d9b42df3e upstream. This patch (as1463) fixes a regression caused by commit 3df7169e73fc1d71a39cffeacc969f6840cdf52b (OHCI: work around for nVidia shutdown problem). The original problem encountered by people using NVIDIA chipsets was that USB devices were not turning off when the system shut down. For example, the LED on an optical mouse would remain on, draining a laptop's battery. The problem was caused by a bug in the chipset; an OHCI controller in the Reset state would continue to drive a bus reset signal even after system shutdown. The workaround was to put the controllers into the Suspend state instead. It turns out that later NVIDIA chipsets do not suffer from this bug. Instead some have the opposite bug: If a system is shut down while an OHCI controller is in the Suspend state, USB devices remain powered! On other systems, shutting down with a Suspended controller causes the system to reboot immediately. Thus, working around the original bug on some machines exposes other bugs on other machines. The best solution seems to be to limit the workaround to OHCI controllers with a low-numbered PCI product ID. I don't know exactly at what point NVIDIA changed their chipsets; the value used here is a guess. So far it was worked out okay for all the people who have tested it. This fixes Bugzilla #35032. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Andre «Osku» Schmidt <andre.osku.schmidt@googlemail.com> Tested-by: Yury Siamashka <yurand2@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
commit 41aa11f295fb1faca60207bed9606aa1b88c5848 Author: Alan Stern <stern@rowland.harvard.edu> Date: Fri Sep 10 16:37:05 2010 -0400
OHCI: work around for nVidia shutdown problem commit 3df7169e73fc1d71a39cffeacc969f6840cdf52b upstream. This patch (as1417) fixes a problem affecting some (or all) nVidia chipsets. When the computer is shut down, the OHCI controllers continue to power the USB buses and evidently they drive a Reset signal out all their ports. This prevents attached devices from going to low power. Mouse LEDs stay on, for example, which is disconcerting for users and a drain on laptop batteries. The fix involves leaving each OHCI controller in the OPERATIONAL state during system shutdown rather than putting it in the RESET state. Although this nominally means the controller is running, in fact it's not doing very much since all the schedules are all disabled. However there is ongoing DMA to the Host Controller Communications Area, so the patch also disables the bus-master capability of all PCI USB controllers after the shutdown routine runs. The fix is applied only to nVidia-based PCI OHCI controllers, so it shouldn't cause problems on systems using other hardware. As an added safety measure, in case the kernel encounters one of these running controllers during boot, the patch changes quirk_usb_handoff_ohci() (which runs early on during PCI discovery) to reset the controller before anything bad can happen. Reported-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: David Brownell <david-b@pacbell.net>
http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.34/ChangeLog-2.6.34.10
А я сижу на зюзе 11.3 и думаю откуда у меня траблы?! Tested-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
←
1
2
3
→
Ответ на:
комментарий
от Gary
Ответ на:
комментарий
от ekzotech
Ответ на:
комментарий
от kss
Ответ на:
комментарий
от ekzotech
Ответ на:
комментарий
от Polugnom
Ответ на:
комментарий
от DNA_Seq
Ответ на:
комментарий
от ekzotech
Ответ на:
комментарий
от Eddy_Em
Ответ на:
комментарий
от Eddy_Em
Ответ на:
комментарий
от Eddy_Em
Ответ на:
комментарий
от RussianNeuroMancer
Ответ на:
комментарий
от Eddy_Em
Ответ на:
комментарий
от RussianNeuroMancer
Ответ на:
комментарий
от AX
Ответ на:
комментарий
от Eddy_Em
Ответ на:
комментарий
от Reset
Ответ на:
комментарий
от Eddy_Em
Ответ на:
комментарий
от Xenius
Ответ на:
комментарий
от Xenius
Ответ на:
комментарий
от megabaks
Ответ на:
комментарий
от RussianNeuroMancer
Ответ на:
комментарий
от AX
Ответ на:
комментарий
от Eddy_Em
Ответ на:
комментарий
от RussianNeuroMancer
Ответ на:
комментарий
от megabaks
Ответ на:
комментарий
от megabaks
Ответ на:
комментарий
от x3al
Ответ на:
комментарий
от Eddy_Em
Ответ на:
комментарий
от Xenius
Ответ на:
комментарий
от megabaks
Ответ на:
комментарий
от AX
Ответ на:
комментарий
от AX
Ответ на:
комментарий
от megabaks
Ответ на:
комментарий
от AX
Ответ на:
комментарий
от Eddy_Em
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Блоб NVIDIA 325.08 beta (2013)
- Форум Nvidia: кактус 319.32 (2013)
- Форум [drv] Nvidia 190.16 (beta) (2009)
- Форум Долгожданный драйвер 555 для Nvidia (2024)
- Форум Nvidia: кактус 319.23 (2013)
- Форум [история успеха][gnome3][amd]Linux is an important Os for AMD (2011)
- Форум Linux kernel 2.6.30.2 (2009)
- Форум тихо и незаметно (2011)
- Форум Причина закрытия раздела «NVIDIA Linux» на форуме nvnews.net (2012)
- Форум [12309] новое ядро, улучшения. (2010)