From owner-freebsd-stable@FreeBSD.ORG Thu Jun 14 10:11:44 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6652C1065670 for ; Thu, 14 Jun 2012 10:11:44 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 198AF8FC14 for ; Thu, 14 Jun 2012 10:11:43 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Sf71b-00042Z-Ro for freebsd-stable@freebsd.org; Thu, 14 Jun 2012 12:11:36 +0200 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Sf71c-0001ya-7c for freebsd-stable@freebsd.org; Thu, 14 Jun 2012 12:11:36 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-stable@freebsd.org References: Date: Thu, 14 Jun 2012 12:11:33 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.64 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40 autolearn=disabled version=3.2.5 X-Scan-Signature: 9090f8a1960d7f777b94d17b6f36e747 Subject: Re: devd problem with 9-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 10:11:44 -0000 On Thu, 14 Jun 2012 02:41:58 +0200, Kevin Oberman wrote: > Since updating my systems to 9-Stable, I am not getting my smartcard > reader attached when hot-plugged. > >> From devd.conf > attach 50 { > device-name "ugen[0-9]+"; > match "vendor" "0x0529"; > match "product" "0x0600"; > action "/usr/local/sbin/openct-control attach usb:529/600 usb > /dev/$dev$ > }; > detach 50 { > device-name "ugen[0-9]+"; > match "vendor" "0x0529"; > match "product" "0x0600"; > action "/usr/bin/pkill -fx '/usr/local/sbin/ifdhandler -H -p > [a-z0-9]+ $ > }; > > If I manually enter the "action" command, it works fine, but it fails > when I insert the device. It worked fine under version 8. I have > confirmed devd is seeing the device inserted just fine. the action > just does not seem to be carried out. > > Any idea where I should look? I saw a couple of threads on current > from others seeing something similar, but could find no resolution. > I have seen a Did you run devd with debug messages on? Options -D and -d are helpful. If you do does devd match the right devd.conf sections and start the action? Ronald.