[Bug 197267] devd no longer matches kernel/ugen events

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 4 20:43:03 UTC 2015


--- Comment #3 from Hans Petter Selasky <hselasky at FreeBSD.org> ---

I see in your action you hardcode the USB device. Use $cdev instead, and
substitute the last digit!

action "dd if=/usr/local/share/foo2zjs/firmware/sihp1020.dl of=/dev/usb/1.2.1";

/dev/usb/1.2.1 can be obtained like this in the devd config file:

realpath /dev/$cdev | sed -e "s/\.0/.1/g"

Address 1.0 does not exist, so the last .0 will always be matched.


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list