From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Frank Subject: Fwd: [Swsusp-devel] TWEAK/PATCH for 2.4.22: Fixing yenta with ToPIC95 on resume from swsusp Date: Sat, 27 Sep 2003 02:30:37 +0800 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <200309270230.37064.mhf@linuxmail.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org PCMCIA in a Toshiba libretto L2 failed to work on resume from swsusp/S4. Modules were unloaded on suspend and reloaded on resume. Firstly, the controller ends up being disabled and secondly shared interrupts break. This is an applicable chipset. 00:12.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32) Subsystem: Toshiba America Info Systems: Unknown device 0001 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- SERR- Reset- 16bInt- PostWrite- 16-bit legacy interface ports at 0001 To reenable the controller on resume: # pcitweak -w 00:12:0 0x84 -b 0 It also had trouble with shared interrupts on resume. Applicable chipset: 0:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] Subsystem: Toshiba America Info Systems: Unknown device 0004 Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- device)); return_VALUE(-ENODEV); } else { - acpi_irq_penalty[link->irq.active] += 100; + acpi_irq_penalty[link->irq.active] += 1000000; printk(PREFIX "%s [%s] enabled at IRQ %d\n", acpi_device_name(link->device), acpi_device_bid(link->device), link->irq.active); With the tweaks presented, this machine is fully functional on resume from swsusp/S4 including PCMCIA, USB and network using swsusp-1.1-rc9 on 2.4.22. Regards Michael ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ swsusp-devel mailing list swsusp-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/swsusp-devel ------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf