Date: Mon, 22 May 2017 14:11:04 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Matthias Apitz <guru@unixarea.de>, freebsd-usb@freebsd.org Subject: Re: GnuPG && card readers Message-ID: <7060c429-2cc6-851b-3aa4-46f09dc7e355@selasky.org> In-Reply-To: <739d3542-6c62-7ece-6832-81d76a994bc7@selasky.org> References: <20170509094729.GA3668@c720-r314251> <20170509213637.Horde.u9PInhb6UaNmyy2nhXlnMGr@webmail.leidinger.net> <20170510073903.GA2836@c720-r314251> <20170511065844.GA25086@c720-r314251> <20170511090230.GA26224@c720-r314251> <739d3542-6c62-7ece-6832-81d76a994bc7@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/22/17 14:09, Hans Petter Selasky wrote: > 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? > There are some debug knobs under: sysctl -a hw.usb |grep debug which you might turn on and compare the output from the two systems, like: sysctl hw.usb.uhub.debug=16 --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7060c429-2cc6-851b-3aa4-46f09dc7e355>