From owner-freebsd-usb@freebsd.org Wed May 17 18:21:49 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3ADFED7190D for ; Wed, 17 May 2017 18:21:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2AE261EE5 for ; Wed, 17 May 2017 18:21:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4HILmE8007268 for ; Wed, 17 May 2017 18:21:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 219220] syscalls (ioctls) on USB devices are very slow Date: Wed, 17 May 2017 18:21:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2017 18:21:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219220 --- Comment #27 from Matthias Apitz --- part of the problem (if not at all its base) seems to be that sometimes on = boot (i.e. if the card is already connect before boot) or later the card plug-in= is not seen; I have here the example of two boots: egrep 'OMNIKEY|boot' /var/log/messages ... May 17 19:58:48 c720-r314251 syslogd: kernel boot file is /boot/kernel/kern= el May 17 20:02:33 c720-r314251 syslogd: kernel boot file is /boot/kernel/kern= el May 17 20:02:33 c720-r314251 kernel: ugen0.2: at usbus0 May 17 20:02:56 c720-r314251 kernel: ugen0.2: at usbus0 (disconnected) May 17 20:03:00 c720-r314251 kernel: ugen0.2: at usbus0 the 1st boot at 19:48 did not see the card, the 2nd at 20:02 could see it a= nd the kernel notes the withdraw and re-connect as well; when the card is not seen, only reboot helps to get it noticed; when the card is seen fine, any start of the pcscd daemon as well works fin= e; is this some kind of timing issue on the USB bus? --=20 You are receiving this mail because: You are the assignee for the bug.=