From owner-freebsd-ports@FreeBSD.ORG Wed Feb 25 06:24:58 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2105C16A4CE for ; Wed, 25 Feb 2004 06:24:58 -0800 (PST) Received: from aa.mbn.or.jp (aa.mbn.or.jp [220.111.47.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id B15D243D1D for ; Wed, 25 Feb 2004 06:24:57 -0800 (PST) (envelope-from hallow@dream.com) Received: from [220.159.80.28] (t580028.ipgw.phs.yoyogi.mopera.ne.jp [220.159.80.28]) by aa.mbn.or.jp (Postfix) with ESMTP id C824A8A4 for ; Wed, 25 Feb 2004 23:24:42 +0900 (JST) Mime-Version: 1.0 (Apple Message framework v612) To: ports@FreeBSD.org Message-Id: Content-Type: multipart/mixed; boundary=Apple-Mail-17-627860254 From: Haruo Okamoto Date: Wed, 25 Feb 2004 23:28:28 +0900 X-Mailer: Apple Mail (2.612) Subject: picturebook patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 14:24:58 -0000 --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--