From owner-freebsd-usb@freebsd.org Mon May 22 12:11:39 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 61237D77C91 for ; Mon, 22 May 2017 12:11:39 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 2C7831980 for ; Mon, 22 May 2017 12:11:38 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id CFD80260823; Mon, 22 May 2017 14:11:36 +0200 (CEST) Subject: Re: GnuPG && card readers To: Matthias Apitz , freebsd-usb@freebsd.org References: <20170509094729.GA3668@c720-r314251> <20170509213637.Horde.u9PInhb6UaNmyy2nhXlnMGr@webmail.leidinger.net> <20170510073903.GA2836@c720-r314251> <20170511065844.GA25086@c720-r314251> <20170511090230.GA26224@c720-r314251> From: Hans Petter Selasky Message-ID: <739d3542-6c62-7ece-6832-81d76a994bc7@selasky.org> Date: Mon, 22 May 2017 14:09:37 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: <20170511090230.GA26224@c720-r314251> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 22 May 2017 12:11:39 -0000 On 05/11/17 11:02, Matthias Apitz wrote: > root@c720-r314251:~ # /usr/local/sbin/pcscd --debug --foreground > 00000000 pcscdaemon.c:346:main() pcscd set to foreground with debug send to stdout > 00000550 configfile.l:358:DBGetReaderList() Parsing conf file: /usr/local/etc/reader.conf.d > 00000049 pcscdaemon.c:655:main() pcsc-lite 1.8.20 daemon ready. > > i.e. the line about hotplug_libusb.c:440:HPEstablishUSBNotifications() > does not show up; and a truss shows that is is doing/waiting on > something on a dev; it is very slow doing some ioctls: > > openat(AT_FDCWD,"/dev/usbctl",O_RDONLY,00) = 11 (0xb) > ioctl(11,USB_READ_DIR,0xdfdfcb38) = 0 (0x0) > openat(AT_FDCWD,"/dev/ugen1.1",O_RDWR,00) = 12 (0xc) > ioctl(12,USB_GET_PLUGTIME,0xdfdfcb1c) = 0 (0x0) > ioctl(12,USB_GET_DEVICE_DESC,0xdfdfcb20) = 0 (0x0) > ioctl(12,USB_GET_DEVICEINFO,0xdfdfccb0) = 0 (0x0) Hi, Did you try this device with another real machine? Maybe it is a bug with the Acer C720 netbook's USB controllers that someone needs to look into? --HPS