From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 19:25:35 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EF8E106564A for ; Thu, 1 Jan 2009 19:25:35 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from hosting.lissyara.su (hosting.lissyara.su [77.221.149.162]) by mx1.freebsd.org (Postfix) with ESMTP id 117ED8FC19 for ; Thu, 1 Jan 2009 19:25:34 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from [89.178.138.186] (port=55003 helo=HP.lissyara.su) by hosting.lissyara.su with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LITAh-000NH5-SN; Thu, 01 Jan 2009 22:25:31 +0300 Message-ID: <495D18AB.4080402@lissyara.su> Date: Thu, 01 Jan 2009 22:25:31 +0300 From: Alex Keda User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.18) Gecko/20081124 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Luigi Rizzo References: <20090101183026.GA15385@onelab2.iet.unipi.it> In-Reply-To: <20090101183026.GA15385@onelab2.iet.unipi.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: hosting.lissyara.su Cc: current@freebsd.org Subject: Re: RFC: new utility, kmodpatch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2009 19:25:35 -0000 Luigi Rizzo ?????: > A couple of real life examples: > > kmodpatch umass.ko - @0 0x4050 0x4a5 0x0101 0x4200 > set the kernel to use flags UMASS_PROTO_SCSI | UMASS_PROTO_BBB and > quirks WRONG_CSWSIG | NO_SYNCHRONIZE_CACHE for a certain GSM phone > that implements the umass interface; > > kmodpatch uscanner.ko - @0 0x04b8 0x084a 0 > let uscanner.ko recognise a newly introduced MFP scanner device. It's very good idea! Now I will be able to replace WiFi in my HP laptop with Broadcom --> Intel, previously overwritten it identifier from Broadcom =))) (In HP laptops work only devices whose ID's contains in BIOS.)