From owner-freebsd-current@freebsd.org Fri Nov 3 19:45:34 2017 Return-Path: Delivered-To: freebsd-current@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 BC0E4E5982C for ; Fri, 3 Nov 2017 19:45:34 +0000 (UTC) (envelope-from ludovic.rousseau@free.fr) Received: from mo29.mail-out.ovh.net (mo29.mail-out.ovh.net [178.32.228.29]) (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 82A4F708C5 for ; Fri, 3 Nov 2017 19:45:34 +0000 (UTC) (envelope-from ludovic.rousseau@free.fr) Received: from he20.mail.ovh.net (he20.mail.ovh.net [5.135.57.56]) by mo29.mail-out.ovh.net (Postfix) with ESMTP id 93CFA1D957; Fri, 3 Nov 2017 20:38:13 +0100 (CET) Received: from imac.apdu.fr (unknown [109.190.55.104]) by he20.mail.ovh.net (Postfix) with ESMTPSA id 1C3C148BD3C; Fri, 3 Nov 2017 20:38:11 +0100 (CET) Subject: Re: pcsc-lite hangs up after unplugging an USB card reader To: =?UTF-8?Q?Jairo_Montes_Gonz=c3=a1lez?= , Hans Petter Selasky , freebsd-current@freebsd.org, "Fernandez-Cueto, Roberto" References: <9b50e911-4a19-8f2c-75e9-17fa1b455edd@selasky.org> <27dc1898-074f-4e4b-849b-4985138eec1b@BW-EX-CASHUB.bally-wulff.de> From: Ludovic Rousseau Message-ID: Date: Fri, 3 Nov 2017 20:38:09 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <27dc1898-074f-4e4b-849b-4985138eec1b@BW-EX-CASHUB.bally-wulff.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 14242070875526538186 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedttddrgeekgdduudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm X-Mailman-Approved-At: Fri, 03 Nov 2017 20:04:55 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 19:45:34 -0000 Hello, Le 01/11/2017 à 12:05, Jairo Montes González a écrit : > Jairo Montes schrieb am 01.11.2017 11:04 > _____________________________________________________________________ > > The output from "procstat -ak" is attached to this email. > > > As you might see, I'm trying to debug it, but this is my first time using > > the GDB debugger, so I'm a bit lost with it's usage and I believe I'm not > > doing a good job with it. All I've found so far is that it keeps looping > > in somewhere and does not return correctly. > > > I forgot to mention in my first email that I added the lines to > > /etc/devd.conf that the pcsc-lite installation tells you to add for USB > > cardreaders. I also added /usr/local/etc/devd/pcscd.conf, attached here > > too, just in case it produces any kind of conflict. pcsc-lite has its own polling method. You should not need to use the /etc/devd.conf file I must add that I do not remember when I tested pcsc-lite with FreeBSD. Bye, -- Dr. Ludovic Rousseau