Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2015 20:43:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197267] devd no longer matches kernel/ugen events
Message-ID:  <bug-197267-8-EmDzJIsC04@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197267-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197267-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197267

--- Comment #3 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

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.

--HPS

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197267-8-EmDzJIsC04>