From: Carl <crazy@wi.rr.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] sonypi and byteswapped apm minutes.
Date: Thu, 23 Aug 2001 09:41:35 -0500 [thread overview]
Message-ID: <3B85161F.7060908@wi.rr.com> (raw)
Hello,
I have a Sony Viao SR-33, and the sonypi driver would not work until I
applied this patch.
--- linux-2.4.9.orig/drivers/char/sonypi.c Wed Jul 4 16:41:33 2001
+++ linux-2.4.9/drivers/char/sonypi.c Thu Aug 23 09:17:06 2001
@@ -630,7 +630,7 @@
sonypi_call1(0x82);
sonypi_call2(0x81, 0xff);
- sonypi_call1(0x92);
+ sonypi_call1(0x82);
printk(KERN_INFO "sonypi: Sony Programmable I/O Controller
driver v%d.%d
.\n",
SONYPI_DRIVER_MAJORVERSION,
I don't know if this works for the general case or if this machine is a
special case. I hope people with other vaio models will check.
Also this machine suffers from the swap_apm issue, here is a patch.
--- linux-2.4.9.orig/arch/i386/kernel/dmi_scan.c Mon Aug 13
18:39:28 2001
+++ linux-2.4.9/arch/i386/kernel/dmi_scan.c Thu Aug 23 09:03:41 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", { /* Handle
problems with APM on Sony Vaio PCG-SR33 */
+ MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"),
+ MATCH(DMI_BIOS_VERSION, "R0211D1"),
+ MATCH(DMI_BIOS_DATE, "05/30/01"), NO_MATCH
+ } },
{ NULL, }
};
Thanks.
reply other threads:[~2001-08-23 14:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B85161F.7060908@wi.rr.com \
--to=crazy@wi.rr.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox