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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"