From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 29 09:25:38 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40F45106564A for ; Sat, 29 Sep 2012 09:25:38 +0000 (UTC) (envelope-from geoffrey.levand@mail.ru) Received: from fallback8.mail.ru (fallback8.mail.ru [94.100.176.136]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3D78FC12 for ; Sat, 29 Sep 2012 09:25:37 +0000 (UTC) Received: from f89.mail.ru (f89.mail.ru [128.140.169.161]) by fallback8.mail.ru (mPOP.Fallback_MX) with ESMTP id 5142F8A3FDC for ; Sat, 29 Sep 2012 13:25:29 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Type:Message-ID:Reply-To:In-Reply-To:References:Date:Mime-Version:Subject:Cc:To:From; bh=7eY0ez6fdM3E0yxk6SMeGED21ssIgzXucKBVGTLfcV0=; b=oqBGbkIX5190xiJQGVZvWsICfr26wtkYUQsBW9UyHOW/lYUKG+KJR3PP+EkesZU/d5PbU6db17wxOWotJHSbJZfhTU9StWyp0Xxjf6WFt3l0xbN857KEFEKXRTMc8H3R; Received: from mail by f89.mail.ru with local (envelope-from ) id 1THtIX-0006rS-C2; Sat, 29 Sep 2012 13:25:21 +0400 Received: from [46.5.59.53] by e.mail.ru with HTTP; Sat, 29 Sep 2012 13:25:21 +0400 From: =?UTF-8?B?Z2VvZmZyZXkgbGV2YW5k?= To: =?UTF-8?B?SGFucyBQZXR0ZXIgU2VsYXNreQ==?= Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [46.5.59.53] Date: Sat, 29 Sep 2012 13:25:21 +0400 References: <1348410653.373800982@f180.mail.ru> <201209241820.07558.hselasky@c2i.net> In-Reply-To: <201209241820.07558.hselasky@c2i.net> X-Priority: Message-ID: <1348910721.385146900@f89.mail.ru> X-Spam: Not detected X-Mras: Ok Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re[2]: How to claim only some of USB interfaces of a composite USB device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?UTF-8?B?Z2VvZmZyZXkgbGV2YW5k?= List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2012 09:25:38 -0000 SGksCgp0aGFua3MgZm9yIHRoZSBpbmZvLCBpdCBoZWxwZWQgbWUgdG8gZmluZCBhIHNvbHV0aW9u IGJ1dCBub3Qgc3VyZSBpZiBpdCdzIGEgcHJvcGVyIG9uZS4KSGVyZSBpcyB0aGUgcGF0Y2ggaSB1 c2VkIHRvIGZpeCB0aGUgcHJvYmxlbSBvbiBGcmVlQlNEIDkuMS4KCkluZGV4OiBzeXMvbmV0Z3Jh cGgvYmx1ZXRvb3RoL2RyaXZlcnMvdWJ0L25nX3VidC5jCj09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5cy9uZXRn cmFwaC9ibHVldG9vdGgvZHJpdmVycy91YnQvbmdfdWJ0LmMgKHJldmlzaW9uIDI0MDg0NikKKysr IHN5cy9uZXRncmFwaC9ibHVldG9vdGgvZHJpdmVycy91YnQvbmdfdWJ0LmMgKHdvcmtpbmcgY29w eSkKQEAgLTQzOSw2ICs0MzksNyBAQArCoMKgwqDCoMKgwqDCoCBzdHJ1Y3QgdWJ0X3NvZnRjwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICpzYyA9IGRldmljZV9nZXRfc29mdGMoZGV2KTsK wqDCoMKgwqDCoMKgwqAgc3RydWN0IHVzYl9lbmRwb2ludF9kZXNj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