From owner-freebsd-usb@FreeBSD.ORG Sun Feb 2 14:29:13 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54DCE523 for ; Sun, 2 Feb 2014 14:29:13 +0000 (UTC) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 132D910B0 for ; Sun, 2 Feb 2014 14:29:12 +0000 (UTC) Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout1.freenet.de with esmtpa (ID perox@freenet.de) (port 25) (Exim 4.80.1 #4) id 1W9y2o-0004S9-15; Sun, 02 Feb 2014 15:29:10 +0100 Received: from localhost ([::1]:48423 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9y2n-0007I1-T9; Sun, 02 Feb 2014 15:29:10 +0100 Received: from mx13.freenet.de ([195.4.92.23]:47602) by mjail0.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9xzA-0005mI-US; Sun, 02 Feb 2014 15:25:24 +0100 Received: from web5.emo.freenet-rz.de ([194.97.107.218]:34188) by mx13.freenet.de with esmtpa (ID perox@freenet.de) (port 587) (Exim 4.80.1 #4) id 1W9xzA-0006Ul-Ps; Sun, 02 Feb 2014 15:25:24 +0100 Received: from localhost ([127.0.0.1] helo=emo.freenet.de) by web5.emo.freenet-rz.de with esmtpa (Exim 4.72 1 (Panther_1)) id 1W9xzA-0003xg-A9; Sun, 02 Feb 2014 15:25:24 +0100 Date: Sun, 02 Feb 2014 15:25:24 +0100 From: perox@freenet.de Subject: RE: RE: Entering password at GELI prompt using USB keyboard To: Hans Petter Selasky , freebsd-usb@freebsd.org X-Priority: 3 MIME-Version: 1.0 X-Abuse: 500871696 / 91.19.56.244 Message-Id: <4b08632b02708f16a250673464e87ffd@email.freenet.de> User-Agent: freenetMail Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Originated-At: 91.19.56.244!45626 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 14:29:13 -0000 Rmlyc3QgcmVzdWx0cyBhZnRlciBlbmFibGluZyBkZWJ1ZyBvdXRwdXQgZm9yIHVrYmQ6DQoNCk15 IGtleSBwcmVzc2VzIGFyZSBiZWluZyBwcm9jZXNzZWQsIEkgc2VlIHZhcmlvdXMgdWtiZF9pbnRy Li4uIGFuZCBrZXlfcHJlc3NlZCBtZXNzYWdlcy4gU28geW91IHdlcmUgcmlnaHQgLSB0aGUgVVNC IGRyaXZlciBpcyBub3QgdG8gYmxhbWUuDQoNCkFwcGFyZW50bHlob3dldmVyLCBHRUxJICBkb2Vz bid0IHJlY2VpdmUgYW55IGtleSBldmVudHMuIEkgZW5hYmxlZCBrZXJuLmdlb20uZWxpLnZpc2li bGVfcGFzc3BocmFzZSBidXQgdGhlIEdFTEkgcHJvbXB0IGRvZXNuJ3Qgc2hvdyBhbnl0aGluZy4g UXVpdGUgc3RyYW5nZS4uLg0KDQpJJ2xsIGNoZWNrIGdlb21fZWxpLmMgYWdhaW4gdG8gbWF5YmUg aWRlbnRpZnkgdGhlIGNoYW5nZXMgZnJvbSA5LjAgdG8gOS4xIHRoYXQgY291bGQgYmUgcmVzcG9u c2libGUuIElmIGFueW9uZSBoYXMgYSBiZXR0ZXIgc3VnZ2VzdGlvbiwgSSdkIGdsYWRseSBnaXZl IGl0IGEgdHJ5Lg0KDQogLQ0KDQoKCi0tLQpBbGxlIFBvc3Rmw6RjaGVyIGFuIGVpbmVtIE9ydC4g SmV0enQgd2VjaHNlbG4gdW5kIEUtTWFpbC1BZHJlc3NlIG1pdG5laG1lbiEgaHR0cDovL2VtYWls LmZyZWVuZXQuZGUvYmFzaWMvSW5mb3JtYXRpb25lbgo= From owner-freebsd-usb@FreeBSD.ORG Sun Feb 2 14:58:06 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A6A41AF for ; Sun, 2 Feb 2014 14:58:06 +0000 (UTC) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C18821275 for ; Sun, 2 Feb 2014 14:58:05 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id p61so1275603wes.31 for ; Sun, 02 Feb 2014 06:58:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-type; bh=BRJKLgayU6cdHH/4HrHfmc0sjNiWSlvxGZnyj2PhnQw=; b=i3bIjtnrVZaIEMqVFTXj88LdMoH9RvgW7fMox/tbUq1Cscn4aiYR4Lk5CLyMMQIq9Q bEpXUlX8X+iySmlrQ/9pfRgpxATcf23BGvKt/YlMVKlepRyPMok+ZoD1p/YlnKykcSja HNytb9WzWgx4sYksxJFCONC1woojfYej5KiAxhzYFkuoPCPyPsKQzY61YiMk7iWdjw/D isb1eIMQKqn1xR36mt6GP8mmxs9YlumeAQiI9gWz856JxZTd8Zx93M2/eoXYDTFFVWkt vThzxzkpeYoXGm1ga9X4oBAn6ZbH7oqwR8raCA4BAE009YAd6pcZmerAznXSN6ywOfBk oAew== X-Received: by 10.180.189.169 with SMTP id gj9mr5638620wic.17.1391353084138; Sun, 02 Feb 2014 06:58:04 -0800 (PST) Received: from dragon.dg ([197.87.115.177]) by mx.google.com with ESMTPSA id fo6sm16714194wib.7.2014.02.02.06.58.02 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 02 Feb 2014 06:58:03 -0800 (PST) Sender: David Naylor From: David Naylor To: Hans Petter Selasky Subject: Re: usb/185747: Patcf that fix support for USB key " Kingston DT 101 G2" Date: Sun, 02 Feb 2014 16:57:56 +0300 Message-ID: <1573956.gHiFkBECOd@dragon.dg> Organization: FreeBSD User-Agent: KMail/4.10.5 (FreeBSD/9.2-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: <52E8E2DC.5020505@bitfrost.no> References: <201401281920.s0SJK1K1081308@freefall.freebsd.org> <52E8E2DC.5020505@bitfrost.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5415631.THBOsseSpH"; micalg="pgp-sha1"; protocol="application/pgp-signature" Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 14:58:06 -0000 --nextPart5415631.THBOsseSpH Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" On Wednesday, 29 January 2014 12:15:40 Hans Petter Selasky wrote: > On 01/28/14 20:20, David Naylor wrote: > > The following reply was made to PR usb/185747; it has been noted by GNATS. > > > > From: David Naylor > > To: bug-followup@freebsd.org, olivier@cochard.me > > Cc: > > Subject: Re: usb/185747: Patcf that fix support for USB key "Kingston > > DT 101 G2" Date: Tue, 28 Jan 2014 21:17:57 +0300 > > Is this a problem on the latest 9-stable too? Yes (built 29 January 2014) and on 10.0-release. Regards --nextPart5415631.THBOsseSpH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iKYEABECAGYFAlLuXPdfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY1NDBCNDdDNTRBQTNFQkFCMjNCNThBQzUx QTY4NTgwRkY2OTE2QjIACgkQUaaFgP9pFrLwVwCfRf9TgS1fZcbu8deNb+sfswin lzoAnRD24MWbBZlgD5QDNipfh7wSn1Ny =8gqv -----END PGP SIGNATURE----- --nextPart5415631.THBOsseSpH-- From owner-freebsd-usb@FreeBSD.ORG Sun Feb 2 15:09:22 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12C1D4E1 for ; Sun, 2 Feb 2014 15:09:22 +0000 (UTC) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C18211328 for ; Sun, 2 Feb 2014 15:09:21 +0000 (UTC) Received: from [195.4.92.141] (helo=mjail1.freenet.de) by mout3.freenet.de with esmtpa (ID perox@freenet.de) (port 25) (Exim 4.80.1 #4) id 1W9yff-0000NZ-PB; Sun, 02 Feb 2014 16:09:19 +0100 Received: from localhost ([::1]:56473 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9yff-0003aA-L9; Sun, 02 Feb 2014 16:09:19 +0100 Received: from mx18.freenet.de ([195.4.92.28]:51591) by mjail1.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1W9yd3-0002P5-0G; Sun, 02 Feb 2014 16:06:37 +0100 Received: from web3.emo.freenet-rz.de ([194.97.107.236]:37338 helo=web9.emo.freenet-rz.de) by mx18.freenet.de with esmtpa (ID perox@freenet.de) (port 587) (Exim 4.80.1 #4) id 1W9yd2-0005A4-Rp; Sun, 02 Feb 2014 16:06:36 +0100 Received: from localhost ([127.0.0.1] helo=emo.freenet.de) by web9.emo.freenet-rz.de with esmtpa (Exim 4.72 1 (Panther_1)) id 1W9yd2-0000Pm-E8; Sun, 02 Feb 2014 16:06:36 +0100 Date: Sun, 02 Feb 2014 16:06:36 +0100 From: perox@freenet.de Subject: RE: RE: Entering password at GELI prompt using USB keyboard To: Hans Petter Selasky , freebsd-usb@freebsd.org X-Priority: 3 MIME-Version: 1.0 X-Abuse: 500871696 / 91.19.56.244 Message-Id: User-Agent: freenetMail Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Originated-At: 91.19.56.244!56956 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 15:09:22 -0000 SSByZXZlcnRlZCB0byBHRU9NIGZyb20gOS4wICh3aXRoIHRoZSByZXN0IG9mIHRoZSBrZXJuZWwg ZnJvbSAxMC4wKSBhbmQgdGhlIHByb2JsZW0gcGVyc2lzdHMuIEhvd2V2ZXIgYWZ0ZXIgcHJlc3Np bmcgYSBsb3Qgb2Yga2V5cywgdGhlcmUgaW5kZWVkIHdhcyBzb21lIHJlc3BvbnNlIGZyb20gR0VM SSB0ZWxsaW5nIG15ICd3cm9uZyBwYXNzcGhyYXNlJy4gDQoNCkludGVybWl0dGVudGx5LCBidXQg bm90IGZyb20gdGhlIGJlZ2lubmluZywgSSBzYXcgYSBsb3Qgb2YgdWtiZCBwb2xsaW5nIG1lc3Nh Z2VzLiBEdWUgdG8gYSBwcmV2aW91cyBlcnJvciBJIGhhdmUgc2V0IHRoZSBwb2xsaW5nIHJhdGUg dG8gaHcudXNiLnVrYmQucG9sbHJhdGU9MTAwLiBDaGFuZ2luZyB0aGlzIGhhcyBubyBlZmZlY3Qg d2hhdHNvZXZlci4NCg0KVGhlIGZpcnN0IHRlbiBvciBzbyBzZWNvbmRzLCBHRUxJIGRvZXNuJ3Qg cmVzcG9uZCBhdCBhbGwuIFRoZW4sIGZvciBubyBhcHBhcmVudCByZWFzb24sIGEgcG9sbGluZyBs b29wIGNvbW1lbmNlcyB0aGF0IHNvbWVob3cgc3BhcnNlbHkgcGFzc2VzIHRocm91Z2ggaW5kaXZp ZHVhbCBrZXkgcHJlc3Nlcy4NCg0KVGhlIHByb2JsZW0gc2VlbXMgdGhlcmVmb3JlIG5vdCB0byBi ZSBpbiBHRU9NIGFuZCBub3QgaW4gdWtiZCBidXQgcmF0aGVyIGluIHRoZSBpbnRlcnBsYXkgb2Yg Ym90aCAodmlhIHN5c2NvbnM/KS4gSGF2ZSB0aGVyZSBiZWVuIGFueSBzaWduaWZpY2FudCBjaGFu Z2VzIGZyb20gOS4wIHRvID49IDkuMT8NCg0Kb2ZmLXRvcGljOiBQbGVhc2UgZXhjdXNlIHRoaXMg dGVycmlibGUgd2VibWFpbCBzdHVmZiwgSSBjYW5ub3QgZXZlbiByZXNwb25kIHRvIHRoZSBwcm9w ZXIgbWVzc2FnZS4gR29pbmcgdG8gY2hhbmdlIG15IHByb3ZpZGVyIHNvb24gOi8NCg0KDQoKCi0t LQpBbGxlIFBvc3Rmw6RjaGVyIGFuIGVpbmVtIE9ydC4gSmV0enQgd2VjaHNlbG4gdW5kIEUtTWFp bC1BZHJlc3NlIG1pdG5laG1lbiEgaHR0cDovL2VtYWlsLmZyZWVuZXQuZGUvYmFzaWMvSW5mb3Jt YXRpb25lbgo= From owner-freebsd-usb@FreeBSD.ORG Mon Feb 3 11:06:56 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1A9851DD for ; Mon, 3 Feb 2014 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F08CB1A62 for ; Mon, 3 Feb 2014 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s13B6t02022815 for ; Mon, 3 Feb 2014 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s13B6t3K022813 for freebsd-usb@FreeBSD.org; Mon, 3 Feb 2014 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Feb 2014 11:06:55 GMT Message-Id: <201402031106.s13B6t3K022813@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 11:06:56 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/186317 usb ums module not loaded by devd for Razer Lachesis mouse o usb/186110 usb connected over USB, only first document is printed o usb/185968 usb PocketBook Pro 912 USB connection problem o usb/185838 usb Sony DSC-H5 not connecting on USB o usb/185837 usb [umass] Pendrive Kingston DataTraveler 8G not recogniz o usb/185747 usb Patcf that fix support for USB key "Kingston DT 101 G2 o usb/185628 usb usbd_req_re_enumerate set address failed USB_ERR_STALL o usb/185454 usb libusb lacks libusb_handle_events_completed() o kern/185208 usb (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error o usb/184014 usb USB storage devices do not work in FreeBSD 9.2 or high o usb/183728 usb libusb20 examples filenames cause problems on windows. o usb/183505 usb [usb] Arduino Leonardo exposes three interface descrip f usb/183409 usb USB Class 2 audio device playback issue o usb/183302 usb USB no proper work o usb/183090 usb Logitech USB microphone failure o usb/182936 usb [patch] [usbdevs] if_run update for Beklin F6D4050v2 o usb/182820 usb usbusX if destroy page fault panic o usb/182361 usb [panic] Suspend when using USB disc as root causes ker o usb/181987 usb USB isochronous transfer of the USB driver (Mentor Gra o usb/181425 usb USB keyboard with full N-key rollover not working o usb/181159 usb Problem attaching USB device o usb/180837 usb [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk ( o usb/180726 usb XHCI umass support breaks between r248085 and r252560 o usb/180657 usb [PATCH] Filco Majestouch 2 keyboard recognized as keyb o usb/180617 usb New quirk (another member of Western Digital My Passpo o usb/180254 usb FreeBSD 9.1 on 384GB memory server o usb/180119 usb FreeBSD 9.1 umass driver does not correctly handle Pan o usb/179505 usb Kernel detaches Arduino Leonardo (and similar) board u o usb/179342 usb Freebsd 10.0-current USB 3.0 not working (xhci_do_coma o usb/179109 usb After detach USB Flash a keyboard does not work. o usb/179107 usb [usb] After detach USB Flash a keyboard does not work. o usb/178773 usb [usbdevs] [patch] Huawei E303 USB 3G modem support o usb/178771 usb [usbdevs] [patch] Western Digital My Passport HD o usb/178722 usb FreeBSD 9.1-STABLE r250561 breaks support for webcam L o usb/178267 usb [usb] USB causing interrupt storm on irq16 o usb/177897 usb [u3g][patch] add support for the Huawei E352 modem o usb/177896 usb man page for usb_quirk suggests adding device to kerne o usb/177895 usb similar 1TB Western Digital "My Passports" - some load o usb/177666 usb [usbdevs] [patch] Add support for Texas Instruments / o usb/176913 usb [ehci] High interrupt load with ehci o usb/176841 usb [umass] Sony DSC-H2 USB connection fails o usb/176417 usb [xhci][cam][umass] kernelpanic while removing plugged o usb/175731 usb detaching USB keyboard freezes other USB keyboards o usb/175639 usb not detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usb Seagate 2TB USB extern hard disk have errors with Free o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb [xhci] xhci driver bug after suspend to RAM (ACPI S3 m o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony Cybershot not recognized as USB mem stick o usb/172199 usb [xhci] high interrupts load xhci o usb/171354 usb [umass] Medium not present error on flash drive [regre o usb/171262 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 kernel panic at boot - usb locking issue o usb/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while f kern/153514 usb [cam] [panic] CAM related panic o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o kern/138292 usb [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] [patch] Adding usb quirk for Sony USB flash dr o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader f usb/128745 usb [zyd] zyd theoretically supported usb device makes ker o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a f usb/117150 usb [zyd] usb zyd device under moderate load panics system o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R f usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati f usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s usb/52026 usb [new driver] [request] umass driver support for InSyst s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 333 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Feb 3 12:29:41 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E676D137 for ; Mon, 3 Feb 2014 12:29:41 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC8BD130F for ; Mon, 3 Feb 2014 12:29:41 +0000 (UTC) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id B84E06A6006 for ; Mon, 3 Feb 2014 13:29:37 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 03 Feb 2014 13:29:37 +0100 From: Lars Engels To: freebsd-usb@freebsd.org Subject: RE: RE: Entering password at GELI prompt using USB keyboard In-Reply-To: References: Message-ID: <092b0303f8a935521fc51509ccfab7f1@mail.0x20.net> X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.7 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 12:29:42 -0000 Am 2014-02-02 16:06, schrieb perox@freenet.de: > I reverted to GEOM from 9.0 (with the rest of the kernel from 10.0) > and the problem persists. However after pressing a lot of keys, there > indeed was some response from GELI telling my 'wrong passphrase'. Set "kern.geom.eli.visible_passphrase=2" to see "*" for every keypress. Maybe some keys are not recognized. From owner-freebsd-usb@FreeBSD.ORG Tue Feb 4 08:40:02 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 018C2A1B for ; Tue, 4 Feb 2014 08:40:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C568F118A for ; Tue, 4 Feb 2014 08:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s148e1B4056991 for ; Tue, 4 Feb 2014 08:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s148e1GQ056990; Tue, 4 Feb 2014 08:40:01 GMT (envelope-from gnats) Date: Tue, 4 Feb 2014 08:40:01 GMT Message-Id: <201402040840.s148e1GQ056990@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/185968: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 08:40:02 -0000 The following reply was made to PR usb/185968; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/185968: commit references a PR Date: Tue, 4 Feb 2014 08:38:03 +0000 (UTC) Author: hselasky Date: Tue Feb 4 08:37:47 2014 New Revision: 261464 URL: http://svnweb.freebsd.org/changeset/base/261464 Log: MFC r261003: Add new quirk. PR: usb/185968 Modified: stable/9/sys/dev/usb/quirk/usb_quirk.c stable/9/sys/dev/usb/usbdevs Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/usb/quirk/usb_quirk.c ============================================================================== --- stable/9/sys/dev/usb/quirk/usb_quirk.c Tue Feb 4 08:37:39 2014 (r261463) +++ stable/9/sys/dev/usb/quirk/usb_quirk.c Tue Feb 4 08:37:47 2014 (r261464) @@ -285,6 +285,7 @@ static struct usb_quirk_entry usb_quirks UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_IGNORE_RESIDUE), USB_QUIRK(NETCHIP, CLIK_40, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_ATAPI, UQ_MSC_NO_INQUIRY), + USB_QUIRK(NETCHIP, POCKETBOOK, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(NIKON, D300, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI), USB_QUIRK(OLYMPUS, C1, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, Modified: stable/9/sys/dev/usb/usbdevs ============================================================================== --- stable/9/sys/dev/usb/usbdevs Tue Feb 4 08:37:39 2014 (r261463) +++ stable/9/sys/dev/usb/usbdevs Tue Feb 4 08:37:47 2014 (r261464) @@ -3108,6 +3108,7 @@ product NETCHIP TURBOCONNECT 0x1080 Turb product NETCHIP CLIK_40 0xa140 USB Clik! 40 product NETCHIP GADGETZERO 0xa4a0 Linux Gadget Zero product NETCHIP ETHERNETGADGET 0xa4a2 Linux Ethernet/RNDIS gadget on pxa210/25x/26x +product NETCHIP POCKETBOOK 0xa4a5 PocketBook /* Netgear products */ product NETGEAR EA101 0x1001 Ethernet _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue Feb 4 08:40:03 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14A9EA1C for ; Tue, 4 Feb 2014 08:40:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D90A9118B for ; Tue, 4 Feb 2014 08:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s148e22p056999 for ; Tue, 4 Feb 2014 08:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s148e27M056998; Tue, 4 Feb 2014 08:40:02 GMT (envelope-from gnats) Date: Tue, 4 Feb 2014 08:40:02 GMT Message-Id: <201402040840.s148e27M056998@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/185968: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 08:40:03 -0000 The following reply was made to PR usb/185968; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/185968: commit references a PR Date: Tue, 4 Feb 2014 08:37:48 +0000 (UTC) Author: hselasky Date: Tue Feb 4 08:37:39 2014 New Revision: 261463 URL: http://svnweb.freebsd.org/changeset/base/261463 Log: MFC r261003: Add new quirk. PR: usb/185968 Modified: stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/dev/usb/usbdevs Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/usb/quirk/usb_quirk.c ============================================================================== --- stable/10/sys/dev/usb/quirk/usb_quirk.c Tue Feb 4 07:13:56 2014 (r261462) +++ stable/10/sys/dev/usb/quirk/usb_quirk.c Tue Feb 4 08:37:39 2014 (r261463) @@ -286,6 +286,7 @@ static struct usb_quirk_entry usb_quirks UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_IGNORE_RESIDUE), USB_QUIRK(NETCHIP, CLIK_40, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_ATAPI, UQ_MSC_NO_INQUIRY), + USB_QUIRK(NETCHIP, POCKETBOOK, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(NIKON, D300, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI), USB_QUIRK(OLYMPUS, C1, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, Modified: stable/10/sys/dev/usb/usbdevs ============================================================================== --- stable/10/sys/dev/usb/usbdevs Tue Feb 4 07:13:56 2014 (r261462) +++ stable/10/sys/dev/usb/usbdevs Tue Feb 4 08:37:39 2014 (r261463) @@ -3083,6 +3083,7 @@ product NETCHIP TURBOCONNECT 0x1080 Turb product NETCHIP CLIK_40 0xa140 USB Clik! 40 product NETCHIP GADGETZERO 0xa4a0 Linux Gadget Zero product NETCHIP ETHERNETGADGET 0xa4a2 Linux Ethernet/RNDIS gadget on pxa210/25x/26x +product NETCHIP POCKETBOOK 0xa4a5 PocketBook /* Netgear products */ product NETGEAR EA101 0x1001 Ethernet _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue Feb 4 10:20:02 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95123AA for ; Tue, 4 Feb 2014 10:20:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 810C11A49 for ; Tue, 4 Feb 2014 10:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s14AK2lc079897 for ; Tue, 4 Feb 2014 10:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s14AK2iF079895; Tue, 4 Feb 2014 10:20:02 GMT (envelope-from gnats) Date: Tue, 4 Feb 2014 10:20:02 GMT Message-Id: <201402041020.s14AK2iF079895@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/185454: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 10:20:02 -0000 The following reply was made to PR usb/185454; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/185454: commit references a PR Date: Tue, 4 Feb 2014 10:18:37 +0000 (UTC) Author: hselasky Date: Tue Feb 4 10:18:29 2014 New Revision: 261482 URL: http://svnweb.freebsd.org/changeset/base/261482 Log: MFC r260315: Implement two new libusb API functions. PR: usb/185454 Modified: stable/10/lib/libusb/Makefile stable/10/lib/libusb/libusb.3 stable/10/lib/libusb/libusb.h stable/10/lib/libusb/libusb10_io.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libusb/Makefile ============================================================================== --- stable/10/lib/libusb/Makefile Tue Feb 4 09:47:14 2014 (r261481) +++ stable/10/lib/libusb/Makefile Tue Feb 4 10:18:29 2014 (r261482) @@ -130,6 +130,8 @@ MLINKS += libusb.3 libusb_event_handler_ MLINKS += libusb.3 libusb_lock_event_waiters.3 MLINKS += libusb.3 libusb_unlock_event_waiters.3 MLINKS += libusb.3 libusb_wait_for_event.3 +MLINKS += libusb.3 libusb_handle_events_timeout_completed.3 +MLINKS += libusb.3 libusb_handle_events_completed.3 MLINKS += libusb.3 libusb_handle_events_timeout.3 MLINKS += libusb.3 libusb_handle_events.3 MLINKS += libusb.3 libusb_handle_events_locked.3 Modified: stable/10/lib/libusb/libusb.3 ============================================================================== --- stable/10/lib/libusb/libusb.3 Tue Feb 4 09:47:14 2014 (r261481) +++ stable/10/lib/libusb/libusb.3 Tue Feb 4 10:18:29 2014 (r261482) @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 7, 2013 +.Dd January 5, 2014 .Dt LIBUSB 3 .Os .Sh NAME @@ -485,11 +485,40 @@ transfer completes or another thread sto timeout expired. .Pp .Ft int +.Fn libusb_handle_events_timeout_completed "libusb_context *ctx" "struct timeval *tv" "int *completed" +Handle any pending events by checking if timeouts have expired and by +checking the set of file descriptors for activity. +If the +.Fa completed +argument is not equal to NULL, this function will +loop until a transfer completion callback sets the variable pointed to +by the +.Fa completed +argument to non-zero. +If the +.Fa tv +argument is not equal to NULL, this function will return +LIBUSB_ERROR_TIMEOUT after the given timeout. +Returns 0 on success, or a LIBUSB_ERROR code on failure or timeout. +.Pp +.Ft int +.Fn libusb_handle_events_completed "libusb_context *ctx" "int *completed" +Handle any pending events by checking the set of file descriptors for activity. +If the +.Fa completed +argument is not equal to NULL, this function will +loop until a transfer completion callback sets the variable pointed to +by the +.Fa completed +argument to non-zero. +Returns 0 on success, or a LIBUSB_ERROR code on failure. +.Pp +.Ft int .Fn libusb_handle_events_timeout "libusb_context *ctx" "struct timeval *tv" Handle any pending events by checking if timeouts have expired and by checking the set of file descriptors for activity. Returns 0 on success, or a -LIBUSB_ERROR code on failure. +LIBUSB_ERROR code on failure or timeout. .Pp .Ft int .Fn libusb_handle_events "libusb_context *ctx" @@ -508,7 +537,7 @@ Must be called with the event lock held. Determine the next internal timeout that libusb needs to handle. Returns 0 if there are no pending timeouts, 1 if a timeout was returned, or a LIBUSB_ERROR -code on failure. +code on failure or timeout. .Pp .Ft void .Fn libusb_set_pollfd_notifiers "libusb_context *ctx" "libusb_pollfd_added_cb added_cb" "libusb_pollfd_removed_cb remove_cb" "void *user_data" Modified: stable/10/lib/libusb/libusb.h ============================================================================== --- stable/10/lib/libusb/libusb.h Tue Feb 4 09:47:14 2014 (r261481) +++ stable/10/lib/libusb/libusb.h Tue Feb 4 10:18:29 2014 (r261482) @@ -438,6 +438,8 @@ int libusb_event_handler_active(libusb_c void libusb_lock_event_waiters(libusb_context * ctx); void libusb_unlock_event_waiters(libusb_context * ctx); int libusb_wait_for_event(libusb_context * ctx, struct timeval *tv); +int libusb_handle_events_timeout_completed(libusb_context * ctx, struct timeval *tv, int *completed); +int libusb_handle_events_completed(libusb_context * ctx, int *completed); int libusb_handle_events_timeout(libusb_context * ctx, struct timeval *tv); int libusb_handle_events(libusb_context * ctx); int libusb_handle_events_locked(libusb_context * ctx, struct timeval *tv); Modified: stable/10/lib/libusb/libusb10_io.c ============================================================================== --- stable/10/lib/libusb/libusb10_io.c Tue Feb 4 09:47:14 2014 (r261481) +++ stable/10/lib/libusb/libusb10_io.c Tue Feb 4 10:18:29 2014 (r261482) @@ -336,29 +336,50 @@ libusb_wait_for_event(libusb_context *ct } int -libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) +libusb_handle_events_timeout_completed(libusb_context *ctx, + struct timeval *tv, int *completed) { - int err; + int err = 0; ctx = GET_CONTEXT(ctx); - DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout enter"); + DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout_completed enter"); libusb_lock_events(ctx); - err = libusb_handle_events_locked(ctx, tv); + while (1) { + if (completed != NULL) { + if (*completed != 0 || err != 0) + break; + } + err = libusb_handle_events_locked(ctx, tv); + if (completed == NULL) + break; + } libusb_unlock_events(ctx); - DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout leave"); + DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout_completed exit"); return (err); } int +libusb_handle_events_completed(libusb_context *ctx, int *completed) +{ + return (libusb_handle_events_timeout_completed(ctx, NULL, completed)); +} + +int +libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) +{ + return (libusb_handle_events_timeout_completed(ctx, tv, NULL)); +} + +int libusb_handle_events(libusb_context *ctx) { - return (libusb_handle_events_timeout(ctx, NULL)); + return (libusb_handle_events_timeout_completed(ctx, NULL, NULL)); } int @@ -371,8 +392,9 @@ libusb_handle_events_locked(libusb_conte if (libusb_event_handling_ok(ctx)) { err = libusb10_handle_events_sub(ctx, tv); } else { - libusb_wait_for_event(ctx, tv); - err = 0; + err = libusb_wait_for_event(ctx, tv); + if (err != 0) + err = LIBUSB_ERROR_TIMEOUT; } return (err); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue Feb 4 10:30:01 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C57308BA for ; Tue, 4 Feb 2014 10:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B0B721B2A for ; Tue, 4 Feb 2014 10:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s14AU1BV081962 for ; Tue, 4 Feb 2014 10:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s14AU1iQ081961; Tue, 4 Feb 2014 10:30:01 GMT (envelope-from gnats) Date: Tue, 4 Feb 2014 10:30:01 GMT Message-Id: <201402041030.s14AU1iQ081961@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/185454: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 10:30:01 -0000 The following reply was made to PR usb/185454; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/185454: commit references a PR Date: Tue, 4 Feb 2014 10:22:37 +0000 (UTC) Author: hselasky Date: Tue Feb 4 10:22:28 2014 New Revision: 261483 URL: http://svnweb.freebsd.org/changeset/base/261483 Log: MFC r260315: Implement two new libusb API functions. PR: usb/185454 Modified: stable/9/lib/libusb/Makefile stable/9/lib/libusb/libusb.3 stable/9/lib/libusb/libusb.h stable/9/lib/libusb/libusb10_io.c Directory Properties: stable/9/lib/ (props changed) stable/9/lib/libusb/ (props changed) Modified: stable/9/lib/libusb/Makefile ============================================================================== --- stable/9/lib/libusb/Makefile Tue Feb 4 10:18:29 2014 (r261482) +++ stable/9/lib/libusb/Makefile Tue Feb 4 10:22:28 2014 (r261483) @@ -98,6 +98,8 @@ MLINKS += libusb.3 libusb_event_handler_ MLINKS += libusb.3 libusb_lock_event_waiters.3 MLINKS += libusb.3 libusb_unlock_event_waiters.3 MLINKS += libusb.3 libusb_wait_for_event.3 +MLINKS += libusb.3 libusb_handle_events_timeout_completed.3 +MLINKS += libusb.3 libusb_handle_events_completed.3 MLINKS += libusb.3 libusb_handle_events_timeout.3 MLINKS += libusb.3 libusb_handle_events.3 MLINKS += libusb.3 libusb_handle_events_locked.3 Modified: stable/9/lib/libusb/libusb.3 ============================================================================== --- stable/9/lib/libusb/libusb.3 Tue Feb 4 10:18:29 2014 (r261482) +++ stable/9/lib/libusb/libusb.3 Tue Feb 4 10:22:28 2014 (r261483) @@ -485,11 +485,40 @@ transfer completes or another thread sto timeout expired. .Pp .Ft int +.Fn libusb_handle_events_timeout_completed "libusb_context *ctx" "struct timeval *tv" "int *completed" +Handle any pending events by checking if timeouts have expired and by +checking the set of file descriptors for activity. +If the +.Fa completed +argument is not equal to NULL, this function will +loop until a transfer completion callback sets the variable pointed to +by the +.Fa completed +argument to non-zero. +If the +.Fa tv +argument is not equal to NULL, this function will return +LIBUSB_ERROR_TIMEOUT after the given timeout. +Returns 0 on success, or a LIBUSB_ERROR code on failure or timeout. +.Pp +.Ft int +.Fn libusb_handle_events_completed "libusb_context *ctx" "int *completed" +Handle any pending events by checking the set of file descriptors for activity. +If the +.Fa completed +argument is not equal to NULL, this function will +loop until a transfer completion callback sets the variable pointed to +by the +.Fa completed +argument to non-zero. +Returns 0 on success, or a LIBUSB_ERROR code on failure. +.Pp +.Ft int .Fn libusb_handle_events_timeout "libusb_context *ctx" "struct timeval *tv" Handle any pending events by checking if timeouts have expired and by checking the set of file descriptors for activity. Returns 0 on success, or a -LIBUSB_ERROR code on failure. +LIBUSB_ERROR code on failure or timeout. .Pp .Ft int .Fn libusb_handle_events "libusb_context *ctx" @@ -508,7 +537,7 @@ Must be called with the event lock held. Determine the next internal timeout that libusb needs to handle. Returns 0 if there are no pending timeouts, 1 if a timeout was returned, or a LIBUSB_ERROR -code on failure. +code on failure or timeout. .Pp .Ft void .Fn libusb_set_pollfd_notifiers "libusb_context *ctx" "libusb_pollfd_added_cb added_cb" "libusb_pollfd_removed_cb remove_cb" "void *user_data" Modified: stable/9/lib/libusb/libusb.h ============================================================================== --- stable/9/lib/libusb/libusb.h Tue Feb 4 10:18:29 2014 (r261482) +++ stable/9/lib/libusb/libusb.h Tue Feb 4 10:22:28 2014 (r261483) @@ -436,6 +436,8 @@ int libusb_event_handler_active(libusb_c void libusb_lock_event_waiters(libusb_context * ctx); void libusb_unlock_event_waiters(libusb_context * ctx); int libusb_wait_for_event(libusb_context * ctx, struct timeval *tv); +int libusb_handle_events_timeout_completed(libusb_context * ctx, struct timeval *tv, int *completed); +int libusb_handle_events_completed(libusb_context * ctx, int *completed); int libusb_handle_events_timeout(libusb_context * ctx, struct timeval *tv); int libusb_handle_events(libusb_context * ctx); int libusb_handle_events_locked(libusb_context * ctx, struct timeval *tv); Modified: stable/9/lib/libusb/libusb10_io.c ============================================================================== --- stable/9/lib/libusb/libusb10_io.c Tue Feb 4 10:18:29 2014 (r261482) +++ stable/9/lib/libusb/libusb10_io.c Tue Feb 4 10:22:28 2014 (r261483) @@ -331,29 +331,50 @@ libusb_wait_for_event(libusb_context *ct } int -libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) +libusb_handle_events_timeout_completed(libusb_context *ctx, + struct timeval *tv, int *completed) { - int err; + int err = 0; ctx = GET_CONTEXT(ctx); - DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout enter"); + DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout_completed enter"); libusb_lock_events(ctx); - err = libusb_handle_events_locked(ctx, tv); + while (1) { + if (completed != NULL) { + if (*completed != 0 || err != 0) + break; + } + err = libusb_handle_events_locked(ctx, tv); + if (completed == NULL) + break; + } libusb_unlock_events(ctx); - DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout leave"); + DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout_completed exit"); return (err); } int +libusb_handle_events_completed(libusb_context *ctx, int *completed) +{ + return (libusb_handle_events_timeout_completed(ctx, NULL, completed)); +} + +int +libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) +{ + return (libusb_handle_events_timeout_completed(ctx, tv, NULL)); +} + +int libusb_handle_events(libusb_context *ctx) { - return (libusb_handle_events_timeout(ctx, NULL)); + return (libusb_handle_events_timeout_completed(ctx, NULL, NULL)); } int @@ -366,8 +387,9 @@ libusb_handle_events_locked(libusb_conte if (libusb_event_handling_ok(ctx)) { err = libusb10_handle_events_sub(ctx, tv); } else { - libusb_wait_for_event(ctx, tv); - err = 0; + err = libusb_wait_for_event(ctx, tv); + if (err != 0) + err = LIBUSB_ERROR_TIMEOUT; } return (err); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue Feb 4 10:30:02 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBC0F8BB for ; Tue, 4 Feb 2014 10:30:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C27D21B2C for ; Tue, 4 Feb 2014 10:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s14AU2dJ081970 for ; Tue, 4 Feb 2014 10:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s14AU2tI081969; Tue, 4 Feb 2014 10:30:02 GMT (envelope-from gnats) Date: Tue, 4 Feb 2014 10:30:02 GMT Message-Id: <201402041030.s14AU2tI081969@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/185454: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 10:30:02 -0000 The following reply was made to PR usb/185454; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/185454: commit references a PR Date: Tue, 4 Feb 2014 10:25:45 +0000 (UTC) Author: hselasky Date: Tue Feb 4 10:25:31 2014 New Revision: 261484 URL: http://svnweb.freebsd.org/changeset/base/261484 Log: MFC r260315: Implement two new libusb API functions. PR: usb/185454 Modified: stable/8/lib/libusb/Makefile stable/8/lib/libusb/libusb.3 stable/8/lib/libusb/libusb.h stable/8/lib/libusb/libusb10_io.c Directory Properties: stable/8/lib/ (props changed) stable/8/lib/libusb/ (props changed) Modified: stable/8/lib/libusb/Makefile ============================================================================== --- stable/8/lib/libusb/Makefile Tue Feb 4 10:22:28 2014 (r261483) +++ stable/8/lib/libusb/Makefile Tue Feb 4 10:25:31 2014 (r261484) @@ -96,6 +96,8 @@ MLINKS += libusb.3 libusb_event_handler_ MLINKS += libusb.3 libusb_lock_event_waiters.3 MLINKS += libusb.3 libusb_unlock_event_waiters.3 MLINKS += libusb.3 libusb_wait_for_event.3 +MLINKS += libusb.3 libusb_handle_events_timeout_completed.3 +MLINKS += libusb.3 libusb_handle_events_completed.3 MLINKS += libusb.3 libusb_handle_events_timeout.3 MLINKS += libusb.3 libusb_handle_events.3 MLINKS += libusb.3 libusb_handle_events_locked.3 Modified: stable/8/lib/libusb/libusb.3 ============================================================================== --- stable/8/lib/libusb/libusb.3 Tue Feb 4 10:22:28 2014 (r261483) +++ stable/8/lib/libusb/libusb.3 Tue Feb 4 10:25:31 2014 (r261484) @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 7, 2012 +.Dd January 5, 2014 .Dt LIBUSB 3 .Os .Sh NAME @@ -472,11 +472,40 @@ transfer completes or another thread sto timeout expired. .Pp .Ft int +.Fn libusb_handle_events_timeout_completed "libusb_context *ctx" "struct timeval *tv" "int *completed" +Handle any pending events by checking if timeouts have expired and by +checking the set of file descriptors for activity. +If the +.Fa completed +argument is not equal to NULL, this function will +loop until a transfer completion callback sets the variable pointed to +by the +.Fa completed +argument to non-zero. +If the +.Fa tv +argument is not equal to NULL, this function will return +LIBUSB_ERROR_TIMEOUT after the given timeout. +Returns 0 on success, or a LIBUSB_ERROR code on failure or timeout. +.Pp +.Ft int +.Fn libusb_handle_events_completed "libusb_context *ctx" "int *completed" +Handle any pending events by checking the set of file descriptors for activity. +If the +.Fa completed +argument is not equal to NULL, this function will +loop until a transfer completion callback sets the variable pointed to +by the +.Fa completed +argument to non-zero. +Returns 0 on success, or a LIBUSB_ERROR code on failure. +.Pp +.Ft int .Fn libusb_handle_events_timeout "libusb_context *ctx" "struct timeval *tv" Handle any pending events by checking if timeouts have expired and by checking the set of file descriptors for activity. Returns 0 on success, or a -LIBUSB_ERROR code on failure. +LIBUSB_ERROR code on failure or timeout. .Pp .Ft int .Fn libusb_handle_events "libusb_context *ctx" @@ -495,7 +524,7 @@ Must be called with the event lock held. Determine the next internal timeout that libusb needs to handle. Returns 0 if there are no pending timeouts, 1 if a timeout was returned, or a LIBUSB_ERROR -code on failure. +code on failure or timeout. .Pp .Ft void .Fn libusb_set_pollfd_notifiers "libusb_context *ctx" "libusb_pollfd_added_cb added_cb" "libusb_pollfd_removed_cb remove_cb" "void *user_data" Modified: stable/8/lib/libusb/libusb.h ============================================================================== --- stable/8/lib/libusb/libusb.h Tue Feb 4 10:22:28 2014 (r261483) +++ stable/8/lib/libusb/libusb.h Tue Feb 4 10:25:31 2014 (r261484) @@ -434,6 +434,8 @@ int libusb_event_handler_active(libusb_c void libusb_lock_event_waiters(libusb_context * ctx); void libusb_unlock_event_waiters(libusb_context * ctx); int libusb_wait_for_event(libusb_context * ctx, struct timeval *tv); +int libusb_handle_events_timeout_completed(libusb_context * ctx, struct timeval *tv, int *completed); +int libusb_handle_events_completed(libusb_context * ctx, int *completed); int libusb_handle_events_timeout(libusb_context * ctx, struct timeval *tv); int libusb_handle_events(libusb_context * ctx); int libusb_handle_events_locked(libusb_context * ctx, struct timeval *tv); Modified: stable/8/lib/libusb/libusb10_io.c ============================================================================== --- stable/8/lib/libusb/libusb10_io.c Tue Feb 4 10:22:28 2014 (r261483) +++ stable/8/lib/libusb/libusb10_io.c Tue Feb 4 10:25:31 2014 (r261484) @@ -331,29 +331,50 @@ libusb_wait_for_event(libusb_context *ct } int -libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) +libusb_handle_events_timeout_completed(libusb_context *ctx, + struct timeval *tv, int *completed) { - int err; + int err = 0; ctx = GET_CONTEXT(ctx); - DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout enter"); + DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout_completed enter"); libusb_lock_events(ctx); - err = libusb_handle_events_locked(ctx, tv); + while (1) { + if (completed != NULL) { + if (*completed != 0 || err != 0) + break; + } + err = libusb_handle_events_locked(ctx, tv); + if (completed == NULL) + break; + } libusb_unlock_events(ctx); - DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout leave"); + DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_handle_events_timeout_completed exit"); return (err); } int +libusb_handle_events_completed(libusb_context *ctx, int *completed) +{ + return (libusb_handle_events_timeout_completed(ctx, NULL, completed)); +} + +int +libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) +{ + return (libusb_handle_events_timeout_completed(ctx, tv, NULL)); +} + +int libusb_handle_events(libusb_context *ctx) { - return (libusb_handle_events_timeout(ctx, NULL)); + return (libusb_handle_events_timeout_completed(ctx, NULL, NULL)); } int @@ -366,8 +387,9 @@ libusb_handle_events_locked(libusb_conte if (libusb_event_handling_ok(ctx)) { err = libusb10_handle_events_sub(ctx, tv); } else { - libusb_wait_for_event(ctx, tv); - err = 0; + err = libusb_wait_for_event(ctx, tv); + if (err != 0) + err = LIBUSB_ERROR_TIMEOUT; } return (err); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Tue Feb 4 16:49:06 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 107171AB; Tue, 4 Feb 2014 16:49:06 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5F491143; Tue, 4 Feb 2014 16:49:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s14Gn5ov073179; Tue, 4 Feb 2014 16:49:05 GMT (envelope-from tijl@freefall.freebsd.org) Received: (from tijl@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s14Gn5JP073178; Tue, 4 Feb 2014 17:49:05 +0100 (CET) (envelope-from tijl) Date: Tue, 4 Feb 2014 17:49:05 +0100 (CET) Message-Id: <201402041649.s14Gn5JP073178@freefall.freebsd.org> To: tijl@FreeBSD.org, tijl@FreeBSD.org, freebsd-usb@FreeBSD.org From: tijl@FreeBSD.org Subject: Re: usb/185454: libusb lacks libusb_handle_events_completed() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 16:49:06 -0000 Synopsis: libusb lacks libusb_handle_events_completed() State-Changed-From-To: open->closed State-Changed-By: tijl State-Changed-When: Tue Feb 4 17:48:25 CET 2014 State-Changed-Why: MFCed down to stable/8. http://www.freebsd.org/cgi/query-pr.cgi?pr=185454 From owner-freebsd-usb@FreeBSD.ORG Wed Feb 5 14:07:59 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FA6E282; Wed, 5 Feb 2014 14:07:59 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2AE061CB6; Wed, 5 Feb 2014 14:07:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s15E7wLn006310; Wed, 5 Feb 2014 14:07:58 GMT (envelope-from brueffer@freefall.freebsd.org) Received: (from brueffer@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s15E7wmv006309; Wed, 5 Feb 2014 15:07:58 +0100 (CET) (envelope-from brueffer) Date: Wed, 5 Feb 2014 15:07:58 +0100 (CET) Message-Id: <201402051407.s15E7wmv006309@freefall.freebsd.org> To: peter.sopko@backbone.sk, brueffer@FreeBSD.org, freebsd-usb@FreeBSD.org, brueffer@FreeBSD.org From: brueffer@FreeBSD.org Subject: Re: usb/178773: [usbdevs] [patch] Huawei E303 USB 3G modem support X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 14:07:59 -0000 Synopsis: [usbdevs] [patch] Huawei E303 USB 3G modem support State-Changed-From-To: open->feedback State-Changed-By: brueffer State-Changed-When: Wed Feb 5 15:01:03 CET 2014 State-Changed-Why: These product IDs were added as Huawei E3131 in r238493, can you confirm this works with your device? They are both in 10-STABLES and 9-STABLE. Sorry for the delay in processing this PR! Responsible-Changed-From-To: freebsd-usb->brueffer Responsible-Changed-By: brueffer Responsible-Changed-When: Wed Feb 5 15:01:03 CET 2014 Responsible-Changed-Why: These product IDs were added as Huawei E3131 in r238493, can you confirm this works with your device? They are both in 10-STABLES and 9-STABLE. Sorry for the delay in processing this PR! http://www.freebsd.org/cgi/query-pr.cgi?pr=178773 From owner-freebsd-usb@FreeBSD.ORG Fri Feb 7 08:29:03 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9FF17691; Fri, 7 Feb 2014 08:29:03 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 56C63105C; Fri, 7 Feb 2014 08:29:03 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 6D3AA17FC36; Fri, 7 Feb 2014 09:28:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 193FC161168; Fri, 7 Feb 2014 09:29:54 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kyvTYpiCGSup; Fri, 7 Feb 2014 09:29:52 +0100 (CET) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 8658B161167; Fri, 7 Feb 2014 09:29:52 +0100 (CET) Message-ID: <52F49986.4050702@bitfrost.no> Date: Fri, 07 Feb 2014 09:29:58 +0100 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: FreeBSD Stable , FreeBSD Current , freebsd-questions@freebsd.org, "freebsd-usb@FreeBSD.org" Subject: [HEADS UP] MacBooks and Apple Trackpads Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 08:29:03 -0000 Hi, A new driver for the Apple Trackpad named "wsp" has been committed and MFC'ed to 9-stable and 10-stable from -current. The trackpad will appear non-working in X.org until HAL is recompiled with support for "wsp" devices. This happens when I MFC "etc/usb.conf" to 9-stable and 10-stable which then automatically loads the "wsp" kernel module when "devd" is started. This has not yet been done. As an alternative workaround: rm /boot/kernel/wsp.ko kldunload wsp Thank you for the attention! --HPS Reference: http://www.freshports.org/sysutils/hal/ From owner-freebsd-usb@FreeBSD.ORG Fri Feb 7 19:47:41 2014 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31121B8C; Fri, 7 Feb 2014 19:47:41 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F40711266; Fri, 7 Feb 2014 19:47:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s17Jle1A031323; Fri, 7 Feb 2014 19:47:40 GMT (envelope-from brueffer@freefall.freebsd.org) Received: (from brueffer@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s17JleIw031322; Fri, 7 Feb 2014 20:47:40 +0100 (CET) (envelope-from brueffer) Date: Fri, 7 Feb 2014 20:47:40 +0100 (CET) Message-Id: <201402071947.s17JleIw031322@freefall.freebsd.org> To: kwhite@site.uottawa.ca, brueffer@FreeBSD.org, freebsd-usb@FreeBSD.org From: brueffer@FreeBSD.org Subject: Re: usb/182936: [patch] [usbdevs] if_run update for Beklin F6D4050v2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 19:47:41 -0000 Synopsis: [patch] [usbdevs] if_run update for Beklin F6D4050v2 State-Changed-From-To: open->closed State-Changed-By: brueffer State-Changed-When: Fri Feb 7 20:45:31 CET 2014 State-Changed-Why: This patch was applied in r256500 and merged back to the 10 and 9 branches. Thanks for the submission! http://www.freebsd.org/cgi/query-pr.cgi?pr=182936 From owner-freebsd-usb@FreeBSD.ORG Fri Feb 7 20:14:00 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 298002E8; Fri, 7 Feb 2014 20:14:00 +0000 (UTC) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0A914EF; Fri, 7 Feb 2014 20:13:59 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 45E841E00219; Fri, 7 Feb 2014 21:13:52 +0100 (CET) Received: from enceladus10.kn-bremen.de (noident@localhost [127.0.0.1]) by enceladus10.kn-bremen.de (8.14.5/8.14.5) with ESMTP id s17KC9JO060002; Fri, 7 Feb 2014 21:12:09 +0100 (CET) (envelope-from nox@enceladus10.kn-bremen.de) Received: (from nox@localhost) by enceladus10.kn-bremen.de (8.14.5/8.14.5/Submit) id s17KC9IT060001; Fri, 7 Feb 2014 21:12:09 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Fri, 7 Feb 2014 21:12:08 +0100 To: freebsd-emulation@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: linux libusb again, I made an updated port... Message-ID: <20140207201208.GA59695@enceladus10.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: bapt@FreeBSD.org, "Wojciech A. Koszek" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 20:14:00 -0000 Hi! This came up on irc so I tried to build a linux libusb port (before I learned about ports/146895), mine uses linux_base-gentoo-stage3 like linux_kdump with a src/lib/libusb head snapshot so it's more up to date than wkoszek's build (ports/146895), and it's really easy to update it again. Also maybe it can be used as linux libusb-1.0.so too; I didn't actually test it tho. Should this be committed? Is wkoszek's version better since it also builds on < 10.x? Comments welcome... wkoszek's version: http://www.freebsd.org/cgi/query-pr.cgi?pr=146895 Mine: http://people.freebsd.org/~nox/tmp/linux_libusb.shar Distfile: http://people.freebsd.org/~nox/tmp/distfiles/linux_libusb-11.0r261448.tar.bz2 10/amd64 package: http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448.txz (built via: poudriere bulk -v -j 10amd64 -p custom devel/linux_libusb - btw for some reason the dependency emulators/linux_base-gentoo-stage3 doesn't build for 10i386 in poudriere bulk, I get a pkg segfault. bapt Cc'd...) Thanx, Juergen From owner-freebsd-usb@FreeBSD.ORG Fri Feb 7 21:08:10 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8CDFC1EB; Fri, 7 Feb 2014 21:08:10 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C1C3018F5; Fri, 7 Feb 2014 21:08:09 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id s17KnSgn082855; Fri, 7 Feb 2014 20:49:28 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.5/8.14.5/Submit) id s17KnSBe082854; Fri, 7 Feb 2014 20:49:28 GMT (envelope-from wkoszek) Date: Fri, 7 Feb 2014 20:49:28 +0000 From: "Wojciech A. Koszek" To: Juergen Lock Subject: Re: linux libusb again, I made an updated port... Message-ID: <20140207204928.GD12994@FreeBSD.org> References: <20140207201208.GA59695@enceladus10.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140207201208.GA59695@enceladus10.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-0.4 required=5.0 tests=RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on freebsd.czest.pl X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [212.87.224.105]); Fri, 07 Feb 2014 20:49:32 +0000 (UTC) Cc: freebsd-emulation@FreeBSD.org, bapt@FreeBSD.org, freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 21:08:10 -0000 On piÄ…, lut 07, 2014 at 09:12:08 +0100, Juergen Lock wrote: > Hi! > > This came up on irc so I tried to build a linux libusb port (before > I learned about ports/146895), mine uses linux_base-gentoo-stage3 > like linux_kdump with a src/lib/libusb head snapshot so it's more > up to date than wkoszek's build (ports/146895), and it's really > easy to update it again. Also maybe it can be used as linux > libusb-1.0.so too; I didn't actually test it tho. > > Should this be committed? Is wkoszek's version better since it > also builds on < 10.x? Comments welcome... > > wkoszek's version: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=146895 > > Mine: > > http://people.freebsd.org/~nox/tmp/linux_libusb.shar > > Distfile: > > http://people.freebsd.org/~nox/tmp/distfiles/linux_libusb-11.0r261448.tar.bz2 > > 10/amd64 package: > > http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448.txz > > (built via: > > poudriere bulk -v -j 10amd64 -p custom devel/linux_libusb > > - btw for some reason the dependency emulators/linux_base-gentoo-stage3 > doesn't build for 10i386 in poudriere bulk, I get a pkg segfault. bapt > Cc'd...) > Juergen, What would be the reason for this update? My stuff may be out of date, but it was all tested and working. I verified it with Linux'ish lsusb(1) and USB-based FPGA JTAG programmer, for which this stuff was written. Can you show the diff between USB code from src/lib and from the distfile? Instead of having a port with .c code, I'd drive towards having src/lib changes (if any) be commited. And then that port only has to do: cp -rf src/lib/libusb port/tmp/dir and build it with different -DDEFINES if necessary. Thanks, -- Wojciech A. Koszek wkoszek@FreeBSD.czest.pl http://FreeBSD.czest.pl/~wkoszek/ From owner-freebsd-usb@FreeBSD.ORG Sat Feb 8 08:47:42 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA0B0F30; Sat, 8 Feb 2014 08:47:42 +0000 (UTC) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 4A92A179A; Sat, 8 Feb 2014 08:47:42 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 5ADF11E007B7; Sat, 8 Feb 2014 09:47:37 +0100 (CET) Received: from enceladus10.kn-bremen.de (noident@localhost [127.0.0.1]) by enceladus10.kn-bremen.de (8.14.5/8.14.5) with ESMTP id s188jljg074961; Sat, 8 Feb 2014 09:45:47 +0100 (CET) (envelope-from nox@enceladus10.kn-bremen.de) Received: (from nox@localhost) by enceladus10.kn-bremen.de (8.14.5/8.14.5/Submit) id s188jlgZ074960; Sat, 8 Feb 2014 09:45:47 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 8 Feb 2014 09:45:46 +0100 To: "Wojciech A. Koszek" Subject: Re: linux libusb again, I made an updated port... Message-ID: <20140208084546.GA74796@enceladus10.kn-bremen.de> References: <20140207201208.GA59695@enceladus10.kn-bremen.de> <20140207204928.GD12994@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140207204928.GD12994@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: bapt@FreeBSD.org, freebsd-emulation@FreeBSD.org, Juergen Lock , freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 08:47:42 -0000 On Fri, Feb 07, 2014 at 08:49:28PM +0000, Wojciech A. Koszek wrote: > On pi??, lut 07, 2014 at 09:12:08 +0100, Juergen Lock wrote: > > Hi! > > > > This came up on irc so I tried to build a linux libusb port (before > > I learned about ports/146895), mine uses linux_base-gentoo-stage3 > > like linux_kdump with a src/lib/libusb head snapshot so it's more > > up to date than wkoszek's build (ports/146895), and it's really > > easy to update it again. Also maybe it can be used as linux > > libusb-1.0.so too; I didn't actually test it tho. > > > > Should this be committed? Is wkoszek's version better since it > > also builds on < 10.x? Comments welcome... > > > > wkoszek's version: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=146895 > > > > Mine: > > > > http://people.freebsd.org/~nox/tmp/linux_libusb.shar > > > > Distfile: > > > > http://people.freebsd.org/~nox/tmp/distfiles/linux_libusb-11.0r261448.tar.bz2 > > > > 10/amd64 package: > > > > http://people.freebsd.org/~nox/tmp/packages/10amd64/linux_libusb-11.0r261448.txz > > > > (built via: > > > > poudriere bulk -v -j 10amd64 -p custom devel/linux_libusb > > > > - btw for some reason the dependency emulators/linux_base-gentoo-stage3 > > doesn't build for 10i386 in poudriere bulk, I get a pkg segfault. bapt > > Cc'd...) > > > > Juergen, Hi! > > What would be the reason for this update? > > My stuff may be out of date, but it was all tested and working. I verified > it with Linux'ish lsusb(1) and USB-based FPGA JTAG programmer, for which > this stuff was written. > I was just thinking an updated version may be useful, but if it's already working for everyone maybe less so... Or would it work as a linux libusb-1.0.so too? I know the libusb 1.0 stuff added some functions since 9.x at least... maybe hps would know (Cc'd.) > Can you show the diff between USB code from src/lib and from the distfile? > That's just a checkout from head, see the port Makefile for how it's generated. (.if defined(BOOTSTRAP)...) > Instead of having a port with .c code, I'd drive towards having src/lib > changes (if any) be commited. And then that port only has to do: > > cp -rf src/lib/libusb port/tmp/dir > > and build it with different -DDEFINES if necessary. > That's what I orginally had but hps suggested I check out from head instead. (Tho that was when I couldn't get it building at first, which turned out to be just a CFLAGS -I problem so the 10.0 code should now build this way as well.) Thanx, Juergen From owner-freebsd-usb@FreeBSD.ORG Sat Feb 8 09:14:48 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0B52314; Sat, 8 Feb 2014 09:14:48 +0000 (UTC) Received: from mta05.bitpro.no (mta05.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD281951; Sat, 8 Feb 2014 09:14:48 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta05.bitpro.no (Postfix) with ESMTPS id 5F4A417F867; Sat, 8 Feb 2014 10:14:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 2F1CD8F8400; Sat, 8 Feb 2014 10:15:34 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jYpMeBkhYkh0; Sat, 8 Feb 2014 10:15:33 +0100 (CET) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 6D24F8F7692; Sat, 8 Feb 2014 10:15:33 +0100 (CET) Subject: RE: linux libusb again, I made an updated port... From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Juergen_Lock?= , =?utf-8?Q?Wojciech_A=2E_Koszek?= Date: Sat, 8 Feb 2014 10:15:33 +0100 Mime-Version: 1.0 In-Reply-To: <20140208084546.GA74796@enceladus10.kn-bremen.de> References: <20140207201208.GA59695@enceladus10.kn-bremen.de> X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: =?utf-8?Q?bapt=40FreeBSD=2Eorg?= , =?utf-8?Q?freebsd-emulation=40FreeBSD=2Eorg?= , =?utf-8?Q?freebsd-usb=40FreeBSD=2Eorg?= , =?utf-8?Q?hselasky=40FreeBSD=2Eorg?= X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 09:14:49 -0000 Hi,=0D=0A=0D=0AIt is better to use the latest libusb code from -current, = because new libusb v1.0 APIs have been added.=0D=0A=0D=0A--HPS=0D=0A=20=0D= =0A>=20=0D=0A> I was just thinking an updated version may be useful, but= if it's=0D=0A> already working for everyone maybe less so...=0D=0A>=20=0D= =0A=0D=0A=0D=0A From owner-freebsd-usb@FreeBSD.ORG Sat Feb 8 14:14:18 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C39AFC5B for ; Sat, 8 Feb 2014 14:14:18 +0000 (UTC) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7B0461FA1 for ; Sat, 8 Feb 2014 14:14:18 +0000 (UTC) Received: from [195.4.92.141] (helo=mjail1.freenet.de) by mout2.freenet.de with esmtpa (ID perox@freenet.de) (port 25) (Exim 4.80.1 #4) id 1WC8fe-000351-U4; Sat, 08 Feb 2014 15:14:14 +0100 Received: from localhost ([::1]:55277 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1WC8fe-00073G-P2; Sat, 08 Feb 2014 15:14:14 +0100 Received: from mx5.freenet.de ([195.4.92.15]:33800) by mjail1.freenet.de with esmtpa (ID perox@freenet.de) (Exim 4.80.1 #4) id 1WC8dX-0000Ds-HM; Sat, 08 Feb 2014 15:12:03 +0100 Received: from web1.emo.freenet-rz.de ([194.97.107.234]:39443 helo=web17.emo.freenet-rz.de) by mx5.freenet.de with esmtpa (ID perox@freenet.de) (port 587) (Exim 4.80.1 #4) id 1WC8dX-0001vV-EC; Sat, 08 Feb 2014 15:12:03 +0100 Received: from localhost ([127.0.0.1] helo=emo.freenet.de) by web17.emo.freenet-rz.de with esmtpa (Exim 4.72 1 (Panther_1)) id 1WC8dW-0007jg-Pc; Sat, 08 Feb 2014 15:12:02 +0100 Date: Sat, 08 Feb 2014 15:12:02 +0100 From: perox@freenet.de Subject: RE: RE: Entering password at GELI prompt using USB keyboard To: Hans Petter Selasky , freebsd-usb@freebsd.org X-Priority: 3 MIME-Version: 1.0 X-Abuse: 500871696 / 91.19.14.56 Message-Id: User-Agent: freenetMail Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Originated-At: 91.19.14.56!20550 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 14:14:18 -0000 SGVsbG8gYWdhaW4sDQoNCmZpbmFsbHkgSSB3YXMgYWJsZSB0byAic29sdmUiIG15IHByb2JsZW0u IFRoZSBjdWxwcml0IHdhcyAtIGFzIHN1c3BlY3RlZCAtIHRoYXQNCkdFTEkgdXNlcyBjbmdldHMo KSBpbnN0ZWFkIG9mIGdldHMoKSBzaW5jZSA5LjEuIEkgdXNlZCB0aGUgb2xkIGdldHMoKSBhcyB3 ZWxsIGFzDQp0aGUgcmVsYXRlZCBjbmdldGMoKSBhbmQgY25jaGVja2MoKSBpbXBsZW1lbnRhdGlv bnMgZnJvbSA5LjAgYW5kIGNoYW5nZWQgdGhlDQpjYWxsIGluIEdFTEkgZnJvbSBjbmdldHMoKSB0 byBnZXRzX29sZCgpLiBBcyBhIHJlc3VsdCBvZiB0aGlzLCBJIGNhbiBub3cgZW50ZXINCnRoZSBw YXNzd29yZCBhdCB0aGUgR0VMSSBwcm9tcHQgYWdhaW4uIE5vdywgSSBhbSBub3Qgc3VyZSB3aGF0 IHJlYWxseSBjYXVzZXMgbXkNCnByb2JsZW0gYXMgY25nZXRzKCkgaXMgbm90IHRoYXQgZGlmZmVy ZW50IGZyb20gZ2V0cygpIGV4Y2VwdCBmb3IgdGhlIG5ldw0KY25ncmFiKCkgYW5kIGNudW5ncmFi KCkgY2FsbHMgYXMgd2VsbCBhcyB0aGUgdGhlIGNwdV9zcGlud2FpdCgpIGluIGNuZ2V0YygpIHRo YXQNCndhc24ndCBwcmVzZW50IGJlZm9yZS4gUGVyaGFwcyBjcHVfc3BpbndhaXQoKSBpcyBidWdn eSBvbiBteSBzeXN0ZW0/IE9yIHRoZQ0KZ3JhYi91bmdyYWIgdGhpbmdzIGRvbid0IHdvcmsgY29y cmVjdGx5Pw0KDQpJZiBJIHNlZSBpdCBjb3JyZWN0bHksIEFuZHJpeSBHYXBvbiBpcyByZXNwb25z aWJsZSBmb3IgdGhlc2UgbGFzdCBjaGFuZ2VzIHNvIEkNCnN1cHBvc2UgaXQgd291bGQgYmUgYmVz dCB0byBjb250YWN0IGhpbSBkaXJlY3RseSBhbmQgd29yayBvdXQgYSBzb2x1dGlvbj8NCg0KUmVn YXJkcw0KICAgICAtDQoNCg0KCgotLS0KQWxsZSBQb3N0ZsOkY2hlciBhbiBlaW5lbSBPcnQuIEpl dHp0IHdlY2hzZWxuIHVuZCBFLU1haWwtQWRyZXNzZSBtaXRuZWhtZW4hIGh0dHA6Ly9lbWFpbC5m cmVlbmV0LmRlL2Jhc2ljL0luZm9ybWF0aW9uZW4K From owner-freebsd-usb@FreeBSD.ORG Sat Feb 8 16:01:50 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8D0CB7 for ; Sat, 8 Feb 2014 16:01:50 +0000 (UTC) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6F0631767 for ; Sat, 8 Feb 2014 16:01:50 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id cm18so7193954qab.12 for ; Sat, 08 Feb 2014 08:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=31UuxraUQWobfCnAGpDSX/OSVMrNBp5Jvbs6oLLUzdM=; b=hWGeSU4sMFeFm7ii+VG4xsk3gZmMqW7FNWSHt2mDVA2iZQCZkmKz0DXdIPGlbbf8W7 sonLJVQkc52wyA1CEzaR6ihsvDyGpiJye6bdxnUaow/k3a/fIBuVeAYCSnU6MwSd3kuI f20CTUyCfmcsC+JQAikgtaahxzWyLaVDFZrSY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=31UuxraUQWobfCnAGpDSX/OSVMrNBp5Jvbs6oLLUzdM=; b=NyDGCgP9QNhGWQwazcrbB3xASXBN8aD352OL/v4OgcEuR/DD1IxJzrtByhocOlHzx0 EVjMzT+cRkMp9JVfvBmTg1OysrDdQefwj2hUAc0dwKO4ukX38nuwQ0nb6DUKY2Bnflbu Yqu0dAeNkIBcLO2JXp/kw/JOYDUdB8F5xNphZxEhkwG+bVKdY+IxH/8xQexOHrhjXYEK kqgn9nZxm1yQxLbVfCzCsPW+++w4WQTdBcXzQEwIlBQYCRdx0+seb2n9i8g4b9ba7KHT pkypY+XlS15XaDjTV8IgR0LjfWI748meQ2tMalmo0A4RqFI8sgL9HSNYDdrxLwdvRiU0 s/VQ== X-Gm-Message-State: ALoCoQkZH7i7TtaDo5zYuYyERFfvofy9KKomUH/zVMDou69zU5E9orR2/b0Mog47rodJzBqMA8Ew X-Received: by 10.224.44.8 with SMTP id y8mr32558175qae.44.1391875309562; Sat, 08 Feb 2014 08:01:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.175.169 with HTTP; Sat, 8 Feb 2014 08:01:19 -0800 (PST) In-Reply-To: References: From: Eitan Adler Date: Sat, 8 Feb 2014 11:01:19 -0500 Message-ID: Subject: Re: RE: Entering password at GELI prompt using USB keyboard To: perox@freenet.de, Andriy Gapon Content-Type: text/plain; charset=UTF-8 Cc: freebsd-usb@freebsd.org, Hans Petter Selasky X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Feb 2014 16:01:50 -0000 [ Andriy, see quoted paragraph below ] On Sat, Feb 8, 2014 at 9:12 AM, wrote: > Hello again, > > finally I was able to "solve" my problem. The culprit was - as suspected - that > GELI uses cngets() instead of gets() since 9.1. I used the old gets() as well as > the related cngetc() and cncheckc() implementations from 9.0 and changed the > call in GELI from cngets() to gets_old(). As a result of this, I can now enter > the password at the GELI prompt again. Now, I am not sure what really causes my > problem as cngets() is not that different from gets() except for the new > cngrab() and cnungrab() calls as well as the the cpu_spinwait() in cngetc() that > wasn't present before. Perhaps cpu_spinwait() is buggy on my system? Or the > grab/ungrab things don't work correctly? > > If I see it correctly, Andriy Gapon is responsible for these last changes so I > suppose it would be best to contact him directly and work out a solution? Just add him on CC (done) and work out the solution on a public list: this way it helps more than just you and people could learn from how the debugging is done too. :-) -- Eitan Adler