From owner-freebsd-mobile Mon Jun 21 2:51:14 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from smtp1.vnet.net (smtp1.vnet.net [166.82.1.31]) by hub.freebsd.org (Postfix) with ESMTP id 787D114C13 for ; Mon, 21 Jun 1999 02:51:06 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp1.vnet.net (8.9.1a/8.9.1) with ESMTP id FAA04268; Mon, 21 Jun 1999 05:51:29 -0400 (EDT) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id FAA01946; Mon, 21 Jun 1999 05:51:01 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.9.2/8.6.9) id FAA95362; Mon, 21 Jun 1999 05:51:01 -0400 (EDT) Date: Mon, 21 Jun 1999 05:51:01 -0400 (EDT) From: Thomas David Rivers Message-Id: <199906210951.FAA95362@lakes.dignus.com> To: hosokawa@itc.keio.ac.jp, rivers@dignus.com Subject: Re: Fix to readcis.c for "bad" cards (EP-210 is such a card.) Cc: freebsd-mobile@freebsd.org, rivers@lakes.dignus.com In-Reply-To: <199906210534.OAA27735@afs.ntc.mita.keio.ac.jp> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > >> I thought it might be better to have a "?" instead of random > >> trash, which lets my EP-210 card work reliably. (All of the code > >> in pccardd assumes that the `vers' field of a tuple is a valid string.) > > PAO pccardd can use regular expression for these fields and maybe you > can use ".*" for "vers" field. Yes - you can use ".*" when the field is consistent. Being a random pointer, sometimes it was some 'real' memory... sometimes it was NULL. When it was NULL ".*" didn't match. Also, often the pointer pointed to bad memory, etc... > > Now I'm working on integrating this feature into -current. > Thanks! It will be nice to be able to directly install my laptop without having to dedicate another machine to it. > > I know there's a card that uses JIS-X0201 kana character (> 0x80) in > "vers" field, and it can be used with this workaround. It wasn't that the "vers" field was > 0x80 - it was that it was missing. It wasn't there at all, because the length of the tuple was incorrect, readcis.c didn't set the pointer. Also - if possible - could this go into PAO3 so the next FreeBSD 3.x upgrade will have it as well... thanks again for all of your work! - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message