2.4.9 breaks apm, ymfpci, pcmcia on VAIO + patch

From: Martin Mueller (mm@lunetix.de)
Date: Tue Aug 21 2001 - 09:06:28 EST


Hi,

I'm not subscribed to the list, so please cc: me in replies (if any).

Until recently I ran 2.4.6-pre8 on my Sony VAIO N505SX(DE), and had
the following problems:

   - after suspend to RAM and resume, no interrrupts where delivered
     for the ymfpci sound driver and PCMCIA wavelan card

   - hibernation worked fine if I unloaded ymfpci and pcmcia before
     
   - display of remaining battery time was wrong (the
     minute / reverse bytorder problem)

Linux 2.4.8 worked _extremely_ well, all problems except the wrong
battery display gone. I just could suspend the running laptop while
playing mp3s over NFS via the wavelan card and upon resume it just
continued playing without a glitch (except the volume settings where
wrong). BTW. the pcmcia resume/suspend thingy only works with
"irq_mode=0 pci_int=1 pci_csc=1" as opitions. When using
"irp_list=11 irq_mode=2" I have the same behaviour as with
2.4.6-pre8. The pcmcia package used is pcmcia-cs.17-Aug-01.tar.gz.

Linux 2.4.9 breaks this paradise. The Laptop freezes on resume after
turning on the display backlight no matter what drivers inserted, even
without any modules loaded and no drivers except IDE disk compiled in
the kernel. Nothing is logged via syslog or displayed. Trying to
hibernate the laptop hangs for about 3min and then finally hibernates
the system. Resume works in this case.

Sound doesn't work at all anymore. The messages from the driver are:

Aug 21 15:01:32 cicero kernel: PCI: Enabling device 00:09.0 (0000 -> 0003)
Aug 21 15:01:32 cicero kernel: PCI: Found IRQ 9 for device 00:09.0
Aug 21 15:01:32 cicero kernel: ymfpci: YMF744 at 0xfedf8000 IRQ 9
Aug 21 15:01:33 cicero kernel: ymfpci_codec_ready: codec 0 is not ready [0xffff]

This is with the ymfpci module shipped with the kernel tree, the
ALSA messages are roughly the same.

I compiled the kernel both with IO-APIC support and without, it's
all the same.

If someone needs more info just let me know. I'm also willing
to test any patches to get the "2.4.8 behaviour" back.

bye
   MM

Martin Mueller Phone: +49 39298 4125 e-mail: mm@sig21.net
                    ICQ: 99023536 mm@lunetix.de
PGP/GPG mail welcome, keys as well other stuff at: http://themm.net

PS.: This is the patch to fix the remaining battery time
     display in 2.4.9

--- dmi_scan.c.orig Tue Aug 21 15:52:33 2001
+++ dmi_scan.c Tue Aug 21 15:52:07 2001
@@ -354,6 +354,11 @@
                        MATCH(DMI_BIOS_VERSION, "R0121Z1"),
                        MATCH(DMI_BIOS_DATE, "05/11/00"), NO_MATCH
                        } },
+ { swab_apm_power_in_minutes, "Sony VAIO PCG-N505X(DE)", { /* Handle problems with APM on Sony Vaio PCG-N505X(DE) */
+ MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"),
+ MATCH(DMI_BIOS_VERSION, "R0206H"),
+ MATCH(DMI_BIOS_DATE, "08/23/99"), NO_MATCH
+ } },
        { NULL, }
 };
 

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



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:42 EST