Date: Fri, 15 Jun 2012 16:33:19 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG, wblock@wonkity.com Subject: Re: devd problem with 9-stable Message-ID: <201206151433.q5FEXJC6073094@lurza.secnetix.de> In-Reply-To: <alpine.BSF.2.00.1206150746510.25418@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Warren Block wrote: > [...] > > > > > attach 50 { > [...] > > Even with those changes, devd is not triggering on my scanner attach: > > match "subsystem" "DEVICE"; > match "type" "ATTACH"; > match "cdev" "ugen[0-9]+.[0-9]+"; > match "vendor" "0x04b8"; > match "product" "0x010a"; > action "echo HERE! $cdev > /tmp/zoot"; Have you tried to put those lines inside a "notify" block instead of an "attach" block? The documentation is not very clear about the difference between an "attach" block an a "notify" block with $type=ATTACH, but it probably wouldn't hurt to try both. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206151433.q5FEXJC6073094>