From owner-freebsd-usb@FreeBSD.ORG Sun Dec 23 09:44:01 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BDACD2F; Sun, 23 Dec 2012 09:44:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 5BCFD8FC19; Sun, 23 Dec 2012 09:43:59 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 362541490; Sun, 23 Dec 2012 10:38:50 +0100 From: Hans Petter Selasky To: Xiaofan Chen Subject: Re: usb/173666: [USB, LIBUSB] usb_reset() behavior different between GNU/Linux and FreeBSD Date: Sun, 23 Dec 2012 10:40:25 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <201211162247.qAGMlTm2057387@red.freebsd.org> <201212210838.32260.hselasky@c2i.net> In-Reply-To: X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201212231040.25892.hselasky@c2i.net> Cc: "Wojciech A. Koszek" , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 09:44:01 -0000 On Saturday 22 December 2012 11:17:15 Xiaofan Chen wrote: > On Fri, Dec 21, 2012 at 3:38 PM, Hans Petter Selasky wrote: > > If you look in the old libusb-0.1 code you'll see something different I > > think. Could you check that? > > Not much differences in reality. I believe it is a document bug for the > libusb-0.1. > > Both old libusb-0.1 code and libusb-1.0 use the same IOCTL under Linux > and the behavior should be similar. > > Please refer to the following code listing and take note even though > the name of the IOCTL is different but they are the same if you > look at the defines. Can you create a thread for this at the libusb lists? --HPS