Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 23:28:28 +0900
From:      Haruo Okamoto <hallow@dream.com>
To:        ports@FreeBSD.org
Subject:   picturebook patch
Message-ID:  <E0B953A2-679E-11D8-A8E3-000393DBD442@dream.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail-17-627860254
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Hi I'm hallow.

I use vaio PCG-GT1 and picturebook-20010422_2 in FreeBSD 5.2.

when i push "zoom key" in PCG-GT1,
picturebook change "jpeg small mode" to "jpeg large mode".

so, i make a pach not to change "jpeg mode".


--Apple-Mail-17-627860254
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0777;
	name="patch-bc"
Content-Disposition: attachment;
	filename=patch-bc

--- sonypi.c.org	Wed Feb 25 22:42:15 2004
+++ sonypi.c	Wed Feb 25 22:42:34 2004
@@ -294,6 +294,7 @@
 	v1 = inb(SPIC_PORT1);
 	v2 = inb(SPIC_PORT2);
 	if ((v2 & 0x10) == 0 || v1 == 0) return 0;
+	if (v1 != 0x01 && v1 != 0x1f) return 0;
 	/* the following clears the evnet bits */
 	spic_call2(0x81, 0xff);
 	return (signed char)v1;

--Apple-Mail-17-627860254
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed



Why don't you do your best.
Haruo Okamoto(JDS NATSUSHIO ASST OPP OFF)
E-mail:hallow@dream.com
Homepage:http://www33.ocn.ne.jp/~hallow
--Apple-Mail-17-627860254--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0B953A2-679E-11D8-A8E3-000393DBD442>